CN104837064B - The control method and media player of the media player of open operating system - Google Patents

The control method and media player of the media player of open operating system 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
play position
media player
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510186274.9A
Other languages
Chinese (zh)
Other versions
CN104837064A (en
Inventor
左洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

This application discloses a kind of control methods and media player of the media player of open operating system.This method includes:When media player prepares to play a media file, user interface event processing thread and user interface event queue are created, and starts user interface event processing thread;It, will be in the corresponding user interface event write-in user interface event queue of the user interface operations and whenever receiving a user interface operations;Wherein, user interface event processing thread is successively read user interface event from user interface event queue, executes the corresponding operation of user interface event.Using these technical solutions, central processing unit (CPU) utilization rate can be improved, the appearance of playback error is effectively reduced.

Description

The control method and media player of the media player of open operating system
Technical field
This application involves technical field of media play more particularly to a kind of media plays applied to open operating system The control method and media player of device.
Background technology
In order to meet the video playing demand of user, the operating system installed on the subscriber terminal often provides included System plays device, for playing the media files such as audio, video.
In open operating system, such as Android system, system plays device directly invoke in operating system in player Core come execute user to system plays device some operation, such as click start play icon or button, click pause play Icon or button etc..Due to the diversity of hardware in the opening of source code in Android system and user terminal, Yong Hu When playing media file using system plays device, phenomena such as failure usually occur or block, playback error rate is higher, for example, Video can not be played on a player, malfunctioned suddenly during playing video or after user operates system plays device It blocks, the experience of user is affected to reduce the resource utilization of user terminal without any response.
Invention content
The present invention provides a kind of control methods and media player of the media player of open operating system, can Central processing unit (CPU) utilization rate is improved, the appearance of playback error is effectively reduced.
The technical proposal of the invention is realized in this way:
The present invention provides a kind of control methods of the media player of open operating system, when media player prepares When playing a media file, user interface event processing thread and user interface event queue are created, and start user interface thing Part handles thread;And whenever receiving a user interface operations, the corresponding user interface event of the user interface operations is write In access customer interface event queue;Wherein, user interface event processing thread is successively read use from user interface event queue Family interface event executes the corresponding operation of user interface event.
The present invention also provides a kind of media players, including:Creation module, for preparing to play one when media player When media file, user interface event processing thread and user interface event queue are created;Starting module connects for starting user Mouth event handling thread;Receiving module, for receiving user interface operations, whenever receiving a user interface operations just by the use Interface operation corresponding user interface event in family is triggered to writing module;And writing module, for being received whenever from receiving module Just the user interface event is written in user interface event queue to a user interface event;Wherein, at user interface event Lineation journey is successively read user interface event from user interface event queue, and executes the corresponding operation of user interface event.
The control method of the media player of open operating system provided by the invention is connect by creating and starting user Mouth event handling thread, improves cpu busy percentage, effectively reduces and plays failure, error, without the wrong appearance such as response, simultaneously The development efficiency for improving software developer, reduces development cost.
Description of the drawings
Fig. 1 is that the flow of the control method of the media player of the open operating system of an embodiment according to the present invention is shown It is intended to;
Fig. 2 is the interface schematic diagram of the reception user's operation of an embodiment according to the present invention;
Fig. 3 is the flow of the control method of the media player of the open operating system of another embodiment according to the present invention Schematic diagram;
Fig. 4 is the structural schematic diagram of the media player of an embodiment according to the present invention;
Fig. 5 is the structural schematic diagram of the media player of another embodiment according to the present invention;
Fig. 6 is the structural schematic diagram of the media player of another embodiment according to the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The present invention is applied to the media player carried in open operating system, when user is mounted on an electronic device One open operating system, such as Android system, then the media player carried in Android system is also mounted on the electricity In sub- equipment, the media files such as audio, video are played for users to use.
The media player can be based on the individual apparatus for media playing of open operating system, can also be located at Any electronic equipment based on open operating system with media play function, including but not limited to desktop computer, intelligence Energy mobile phone, palm PC, tablet computer, smart mobile phone etc..
Fig. 1 is that the flow of the control method of the media player of the open operating system of an embodiment according to the present invention is shown It is intended to.Referring to Fig. 1, this method includes:
Step 101, when media player prepares to play a media file, user interface event processing thread and use are created Family interface event queue, and start user interface event processing thread.
In an operating system, thread (Thread) refers to a single sequential control flow in program, in single program In can run multiple threads simultaneously to complete different work, referred to as multithreading parallel.Multiple thread shared data spaces, often A thread has the one group of CPU register and storehouse of oneself, the operation of thread to need memory source and CPU using computer.
In the present embodiment, special to create a user interface event processing thread for media player, for handling User interface event.For example, in Android system, by creating the example of a Thread class, to create a new thread. Meanwhile correspondingly, thread creation user interface event queue is handled for the user interface event.The user interface event queue is Data structure for storing user interface event can store user interface event, storage according to the principle of " first in first out " Mode can be that user interface event is together in series in a manner of chained list.
Step 102, whenever receiving a user interface operations, by the corresponding user interface event of the user interface operations It is written in user interface event queue, wherein user interface event processing thread is successively read from user interface event queue User interface event executes the corresponding operation of the user interface event.
User interface event corresponding with user interface operations includes:Start to play, pause broadcasting, stop playing and (broadcast Put end), forward play, retreat play, fast forward through broadcasting, rapid backward any one of plays or several arbitrary.By this In a little user interface event write-in user interface event queues, and notify that user interface event processing thread is handled.Then, User interface event processing thread is successively read the user interface event of foremost from user interface event queue, executes the use The corresponding operation of family interface event.
In one embodiment, user interface operations include user carried out in the operation interface of media player it is various defeated Enter operation, can also include the user interface operations of non-user operation, such as be automatically stopped broadcasting after playback of media files. Fig. 2 is the schematic diagram of the user interface 200 of an embodiment according to the present invention.User using media when putting device, Ke Yi Various operations are carried out to media file on user interface 200.As shown in Fig. 2, showing played media in block 210 The picture of file shows the duration " 00 of the currently playing media file in box 220:45 " and total duration " 05:13 ", Show that played file can be navigated to other positions by the progress of broadcasting, button 240 for user's sliding in box 230, Various operation buttons are provided in box 250, for example, broadcasting, pause, F.F., rewind, when media file all finishes When, then stop playing.Alternatively, the various operation buttons in box 250 can not also be shown in user interface 200, and It is that user's operation is received according to the gesture operation of user.
In the present embodiment, it when media player prepares to play a media file, creates user interface event and handles line Journey and user interface event queue, and start user interface event processing thread, it, will whenever receiving a user interface operations In the corresponding user interface event write-in user interface event queue of the user interface operations, wherein user interface event processing Thread is successively read user interface event from user interface event queue, executes the corresponding operation of the user interface event, can User interface event is executed to avoid player kernel is directly invoked in the prior art, but by these user interface events point The special user interface event processing thread of dispensing is handled, and can be improved cpu busy percentage, be effectively reduced broadcasting failure, goes out Appearance wrong, without the mistake such as response, while programming model is simplified, the development efficiency of software developer is improved, is reduced Development cost.
Fig. 3 is the flow of the control method of the media player of the open operating system of another embodiment according to the present invention Schematic diagram.Referring to Fig. 3, this method includes:
Step 301, when media player prepares to play a media file, user interface event processing thread and use are created Family interface event queue, and start user interface event processing thread.
Step 301 and step 101 describe identical, and details are not described herein.
Step 302, when media player prepares to play a media file, play position management thread is created and starts, Wherein, play position management thread reads the current play position of the media file and is stored in read play position interior In depositing.
Media player is when preparing to play a media file, when several with the relevant audio of media file, video, word etc. It after being ready to, creates play position and manages thread, and start play position management thread simultaneously.
In one embodiment, play position management thread reads the current broadcasting position of the media file at predetermined time intervals The play position set, and the play position stored in memory is updated to currently read.For example, the predetermined time can be 200 Millisecond, such play position management thread can read the current play position of the media file every 200 milliseconds, and update memory The play position of middle storage.In specific application, the numerical value of predetermined time can sets itself according to demand.Above-mentioned play position Information can refer to the current duration played of media file.
Interface as shown in Figure 2, what play position managed thread reading is the current play position of media file, works as media When file playing, play position manages thread can be every the duration that 200ms reading media files are played, such as button 240 signified positions, are then stored in memory.When reading next play position, last time for will being stored in memory Play position is updated to the play position currently read.If media file is suspended or stops playing, then play position pipe Lineation journey will be same numerical value every the play position of 200ms reading media files.
Step 303, media player accesses memory, obtains play position, and export play position by user interface.
After play position management thread completes reading and storage to play position in step 302, media player Play position can be directly obtained from Installed System Memory, then show the play position on a user interface.For example, in Fig. 2 institutes Current play position acquired in being shown in a manner of duration in the box 220 shown, i.e., " 00:45”.
Step 304, whenever receiving a user interface operations, by the corresponding user interface event of the user interface operations It is written in user interface event queue, and the corresponding scheduled wait time is set for each user interface event, wherein Yong Hujie Mouth event handling thread is successively read user interface event from user interface event queue, and it is corresponding to execute user interface event Operation.
In one embodiment, it is user interface event after the corresponding scheduled wait time is arranged in each user interface event Handling thread can be by calling the corresponding function of user interface event, then in the corresponding scheduled wait of the user interface event Return function executes corresponding operation within time.If within the scheduled wait time, user interface event processing thread is held Row finishes the corresponding operation of user interface event, then returns to called function immediately;If at the end of the scheduled wait time, use Interface event processing thread in family is still executing the corresponding operation of user interface event, also returns to called function.
For example, in Android system, the maximum latency of system is 5 seconds, and it is 2 that the scheduled wait time, which can be arranged, Second.If user interface event is to stop (stop) to play, then user interface event handles thread dispatching stop functions to stop It plays media file and temporarily frees up resource.If the stop functions complete operation within 2 seconds, immediately return to;If executing Time reaches 2 seconds, and stop functions are still executing, and also to return to the function.
Step 305, when detecting that media player is in halted state, error status or is closed, user is deleted Interface event handles thread and play position manages thread.
Media player can periodically detect itself state in which.Wherein, the state of media player includes standard Standby state, broadcast state, halted state, halted state, positioning states (player navigates to some play position), release conditions (resource that release player occupies), error status, recovery state (player restores from error status) etc..If detecting media Player is in halted state either error status or when detecting that user closes media player, then deletes user and connect Mouth event handling thread and play position manage thread.Then when playing media file next time, then user interface thing is created Part handles thread and play position manages thread.
In the present embodiment, it when media player prepares to play a media file, creates and starts play position management Thread, wherein play position management thread reads the current play position of the media file and deposits read play position It is stored in memory, media player accesses memory to obtain play position, and is in the prior art the user by media player Interface initiates to obtain the process of play position, and media player needs to call player kernel that could obtain play position.It compares The prior art, scheme provided in an embodiment of the present invention need not call player kernel, and directly accessing memory can rapidly obtain There is error condition of the program without response, reduce playback error rate in play position, reduction.In addition, by being connect for each user The corresponding scheduled wait time is arranged in mouth event, and user interface event handles thread and executes the corresponding operation of user interface event, It is returned within the user interface event corresponding scheduled wait time, can effectively control user interface event and handle thread to every The execution time of a user interface event, and then after effective time delay for controlling media player execution user's operation, raising execution The accuracy and success rate of continuous user's operation.For example, when user interface event is stopping event, it can ensure that media are broadcast as possible The release of device resource is put, the resource that the last time plays when appearing in this broadcasting is reduced and not yet discharges the problem of finishing.
Fig. 4 is the structural schematic diagram of the media player 400 of an embodiment according to the present invention.Media player 400 includes:
Creation module 410, for when media player prepares to play a media file, creating user interface event processing Thread and user interface event queue;
Starting module 420 handles thread for starting user interface event;
Receiving module 430 just meets the user whenever receiving a user interface operations for receiving user interface operations Mouth operates corresponding user interface event and is triggered to writing module 440;And
Writing module 440, for whenever receiving a user interface event just by the user interface thing from receiving module 430 Part is written in user interface event queue;Wherein, user interface event processing thread is read successively from user interface event queue User interface event is taken, and executes the corresponding operation of user interface event.
Fig. 5 is the structural schematic diagram of the media player 500 of another embodiment according to the present invention.Wherein,
Creation module 410 is further used for, when media player prepares to play a media file, creating play position pipe Lineation journey;
Starting module 420 is further used for starting play position management thread;Wherein, play position management thread is read Read play position is simultaneously stored in memory by the current play position of the media file.
In one embodiment, play position management thread reads the current broadcasting position of the media file at predetermined time intervals The play position set, and the play position stored in memory is updated to currently read.
Correspondingly, on the basis of 500 media player 400 shown in Fig. 4 of media player, further include:
Access modules 450 obtain play position for accessing memory;
Output module 460, the play position for being obtained by user interface output access module 450.
In one embodiment, media player 500 further includes:
Setup module 470, for the corresponding scheduled wait time to be arranged for each user interface event;Wherein, Yong Hujie Mouth event handling thread executes the corresponding operation of user interface event:User interface event handles thread dispatching user interface The corresponding function of event;The return function within the user interface event corresponding scheduled wait time.
In one embodiment, media player 500 further includes:
Detection module 480, for detecting media player state in which;
Removing module 490, for work as detection module 480 detect media player be in halted state, error status or When person is closed, deletes user interface event processing thread and play position manages thread.
Fig. 6 is the structural schematic diagram of the media player 600 of another embodiment according to the present invention.The media player 600 Including:Processor 610, memory 620, port 630 and bus 640.Processor 610 and memory 620 are mutual by bus 640 Connection.Processor 610 can send and receive data by port 630.Wherein,
Processor 610 is used to execute the machine readable instructions module of the storage of memory 620.
Memory 620 is stored with the executable machine readable instructions module of processor 610.The executable finger of processor 610 The module is enabled to include:Creation module 621, starting module 622, receiving module 623 and writing module 624.Wherein,
Creation module 621 can be when being executed by processor 610:When media player prepares to play a media file, Create user interface event processing thread and user interface event queue;
Starting module 622 can be when being executed by processor 610:Start user interface event and handles thread;
Receiving module 623 can be when being executed by processor 610:User interface operations are received, whenever receiving a user The corresponding user interface event of the user interface operations is just triggered to writing module 440 by interface operation;
Writing module 624 can be when being executed by processor 610:Whenever receiving a user interface from receiving module 430 Just the user interface event is written in user interface event queue for event;Wherein, user interface event handles thread from user It is successively read user interface event in interface event queue, and executes the corresponding operation of user interface event.
In one embodiment, can be further when creation module 621 is executed by processor 610:When media player standard When one media file of standby broadcasting, creates play position and manage thread;
Starting module 622 can be further when being executed by processor 610:Start play position and manages thread;Wherein, it broadcasts Location management thread is put to read the current play position of the media file and read play position is stored in memory.
Correspondingly, the executable instruction module of the processor 610 of the storage of memory 620 further includes:
Access modules 625 obtain play position for accessing memory;
Output module 626, the play position for being obtained by user interface output access module 625.
In one embodiment, the executable instruction module of the processor 610 of the storage of memory 620 further includes:
Setup module 627, for the corresponding scheduled wait time to be arranged for each user interface event;Wherein, Yong Hujie Mouth event handling thread executes the corresponding operation of user interface event:User interface event handles thread dispatching user interface The corresponding function of event;The return function within the user interface event corresponding scheduled wait time.
In one embodiment, the executable instruction module of the processor 610 of the storage of memory 620 further includes:
Detection module 628, for detecting media player state in which;
Removing module 629, for work as detection module 628 detect media player be in halted state, error status or When person is closed, deletes user interface event processing thread and play position manages thread.
It can thus be seen that when storing the instruction module in memory 620 and being executed by processor 610, it can be achieved that preceding State creation module 621 in each embodiment, starting module 622, receiving module 623, writing module 624, access modules 625, defeated Go out module 626, the various functions of setup module 627, detection module 628 and removing module 629.
In above-mentioned apparatus embodiment, modules and unit realize that the specific method of itself function is equal in embodiment of the method It is described, which is not described herein again.
In addition, each function module in each embodiment of the present invention can be integrated in a processing unit, it can also It is that modules physically exist alone, it can also be during two or more modules be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
In addition, each embodiment of the present invention can pass through the data processing by data processing equipment such as computer execution Program is realized.Obviously, data processor constitutes the present invention.In addition, being generally stored inside the data in a storage medium Processing routine by program by directly reading out storage medium or by installing or copying to data processing equipment by program It is executed in storage device (such as hard disk and/or memory).Therefore, such storage medium also constitutes the present invention.Storage medium can be with Use any kind of recording mode, such as paper storage medium (such as paper tape), magnetic storage medium (such as floppy disk, hard disk, flash memory Deng), optical storage media (such as CD-ROM), magnetic-optical storage medium (such as MO) etc..
Therefore, the invention also discloses a kind of storage mediums, wherein it is stored with data processor, the data processor Any type embodiment for executing the above method of the present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (8)

1. a kind of control method of the media player of open operating system, which is characterized in that including:
When the media player prepares to play a media file, user interface event processing thread and user interface thing are created Part queue, and start the user interface event processing thread;And
Whenever receiving a user interface operations, the user is written into the corresponding user interface event of the user interface operations In interface event queue;
Wherein, the user interface event processing thread is successively read user interface thing from the user interface event queue Part executes the corresponding operation of the user interface event;
The method further includes:For each user interface event, the corresponding scheduled wait time is set;
Wherein, corresponding operate of the user interface event processing thread execution user interface event includes:
The corresponding function of user interface event described in the user interface event processing thread dispatching;
The function is returned within the user interface event corresponding scheduled wait time;
The method further includes:
When the media player prepares to play a media file, creates and start play position management thread, wherein is described Play position management thread reads the current play position of the media file and read play position is stored in memory;
The media player accesses the memory, obtains the play position, and export the broadcasting position by user interface It sets.
2. according to the method described in claim 1, wherein, the play position management thread reads that the media file is current to be broadcast It puts position and read play position is stored in memory and include:
Play position management thread reads the current play position of the media file at predetermined time intervals, and by the memory The play position of middle storage is updated to the play position currently read.
3. according to the method described in claim 1, wherein, it is described the user interface event corresponding scheduled wait time it It is interior to return to the function and include:
If within the scheduled wait time, user interface event processing thread is finished the user interface event Corresponding operation then returns to the function;
If at the end of the scheduled wait time, the user interface event processing thread is still executing the user interface thing The corresponding operation of part, then return to the function.
4. according to the method described in claim 1, further including:
When detecting that the media player is in halted state, error status or is closed, the user interface is deleted Event handling thread and the play position manage thread.
5. method according to claim 1 to 4, wherein the user interface event include start play, temporarily Break and puts, stop broadcasting, forward play, retreat broadcasting, fast forward through any one of broadcasting, rapid backward broadcasting or arbitrary several .
6. a kind of media player, which is characterized in that including:
Creation module, for when the media player prepares to play a media file, creating user interface event and handling line Journey and user interface event queue;
Starting module handles thread for starting the user interface event;
Receiving module, for receiving user interface operations, whenever receiving a user interface operations just by the user interface operations Corresponding user interface event is triggered to writing module;And
Said write module, for whenever receiving a user interface event just by the user interface event from the receiving module It is written in the user interface event queue;
Wherein, the user interface event processing thread is successively read user interface thing from the user interface event queue Part, and execute the corresponding operation of the user interface event;
The media player further includes:
Setup module, for the corresponding scheduled wait time to be arranged for each user interface event;
Wherein, corresponding operate of the user interface event processing thread execution user interface event includes:
The corresponding function of user interface event described in the user interface event processing thread dispatching;
The function is returned within the user interface event corresponding scheduled wait time;
Wherein, the creation module is further used for, when the media player prepares to play a media file, creating and playing Location management thread;
The starting module is further used for starting the play position management thread;Wherein, the play position manages thread It reads the current play position of the media file and read play position is stored in memory;
The media player further includes:Access modules obtain the play position for accessing the memory;
Output module, for exporting the play position that the access modules obtain by user interface.
7. media player according to claim 6, wherein the play position management thread reads the media file and works as Read play position is simultaneously stored in memory and includes by preceding play position:
Play position management thread reads the current play position of the media file at predetermined time intervals, and by the memory The play position of middle storage is updated to the play position currently read.
8. media player according to claim 6, further includes:
Detection module, for detecting the media player state in which;
Removing module, for work as the detection module detect the media player be in halted state, error status or When being closed, the user interface event processing thread and play position management thread are deleted.
CN201510186274.9A 2015-04-20 2015-04-20 The control method and media player of the media player of open operating system Active CN104837064B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 Active CN104837064B (en) 2015-04-20 2015-04-20 The control method and media player of the media player of open operating system

Country Status (1)

Country Link
CN (1) CN104837064B (en)

Families Citing this family (2)

* 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
CN110401877B (en) * 2019-07-18 2023-02-10 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium

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
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
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
CN103747339A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for resolving no response condition of on-line video by using android device
CN103716709A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for same screen interaction
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
CN105474125B (en) For tracking the technology for waking up locking and using
JP5723968B2 (en) Convenient multitasking
CN105677431B (en) Background work and foreground is decoupling
CN105612485B (en) A kind of method and device running application program
CN109064538B (en) View rendering method and device, storage medium and intelligent terminal
CN102147756B (en) Methods and systems for testing terminal
CN105474127B (en) Virtual every processor timer for multicomputer system
CN102436387A (en) Fast computer startup
CN104011680A (en) Scheduling virtual central processing units of virtual machines among physical processing units
CN106462395A (en) Thread waiting in a multithreaded processor architecture
CN104866416B (en) The method and apparatus for realizing application program capacity analysis
CN107291626A (en) Date storage method and device
JPWO2013125160A1 (en) Virtual computer control device and virtual computer control method
US9239742B2 (en) Embedded systems and methods for threads and buffer management thereof
CN109960589A (en) Implementation method, device and the readable medium of the system software layer of embedded system
CN104837064B (en) The control method and media player of the media player of open operating system
US9372773B2 (en) User-level hardware branch records
JP6042454B2 (en) User-generated data center power saving
US11813538B2 (en) Videogame telemetry data and game asset tracker for session recordings
WO2013035246A1 (en) Virtual computer control apparatus, virtual computer control method, virtual computer control program, and integrated circuit
CN108958903A (en) Embedded multi-core central processing unit method for scheduling task and device
WO2023173726A1 (en) Interaction method and apparatus, and storage medium
CN109426563A (en) A kind of process management method and device
US20130067474A1 (en) Language independent application object
CN115098230A (en) Method and device for managing threads

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant