CN105812845B - A kind of media resource method for pushing, system and the media player based on android system - Google Patents

A kind of media resource method for pushing, system and the media player based on android system Download PDF

Info

Publication number
CN105812845B
CN105812845B CN201410849733.2A CN201410849733A CN105812845B CN 105812845 B CN105812845 B CN 105812845B CN 201410849733 A CN201410849733 A CN 201410849733A CN 105812845 B CN105812845 B CN 105812845B
Authority
CN
China
Prior art keywords
media resource
relevant information
class
server
terminal
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
CN201410849733.2A
Other languages
Chinese (zh)
Other versions
CN105812845A (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.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201410849733.2A priority Critical patent/CN105812845B/en
Publication of CN105812845A publication Critical patent/CN105812845A/en
Application granted granted Critical
Publication of CN105812845B publication Critical patent/CN105812845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of media resource method for pushing, system and the media player based on android system, to push the media resource of its preference to the user of the Intelligent television terminal based on Android Media-Player.The described method includes: media resource plays relevant information is sent to server by the terminal of the class MediaPlayer based on Android operation system;The server analyzes the behavioural characteristic of the user of the terminal of the class MediaPlayer based on Android operation system according to the media resource plays relevant information;The server pushes and the matched media resource of the behavioural characteristic and/or the media resource relevant information to the terminal in due course according to the behavioural characteristic of user obtained by the analysis.Technical solution provided by the invention can find the hobby of terminal user in time, the media resource to match with the hobby of terminal user be provided in due course, to can be improved the service quality of streaming media service using the stream media system of the method for the present invention.

Description

A kind of media resource method for pushing, system and the media based on android system are broadcast Put device
Technical field
The invention belongs to media play field more particularly to a kind of media resource method for pushing, system and it is based on Android The media player of system.
Background technique
The media player (MediaPlayer) of android system is a class extremely complex in android system, It comprises the playing functions of Audio and Video, on the interface of android system, two application programs of Audio and Video It is all that MediaPlayer is called to realize, MediaPlayer is realized in the library that bottom is based on OpenCore (PacketVideo). In order to construct a MediaPlayer program, upper layer further comprises the contents such as Inter-Process Communication, the basis of this Inter-Process Communication It is the Binder mechanism in the basic library Android.
The open source of android system, so that more and more operation systems of the Intelligent television terminal based on android system The class MediaPlayer (Android Media-Player or Android MediaPlayer used below) of system realizes media Broadcasting.These media sources are very extensive, including application resource file, local file, Content Provider and pass through URL The Streaming Media etc. of acquisition.Intelligent television terminal user can by video on demand (Video On Demand) advantageously obtained from Then the various media resources that oneself needs are played out using the class MediaPlayer of the operating system of Android.
As Intelligent television terminal manufacturer, if it is possible to know that Intelligent television terminal user is inclined in terms of media play It is good, then media resource can be pushed to it in due course.However, player is all broadcasting for licence plate side oneself in Intelligent television terminal Device is put, preference of the acquisition Intelligent television terminal user in terms of media play is relatively difficult, there is no a kind of method that can lead at present It crosses aforesaid way and obtains comprehensive user's broadcast information to the Intelligent television terminal based on Android Media-Player, and Accordingly media resource abundant more accurately is pushed to user.
Summary of the invention
The purpose of the present invention is to provide a kind of media resource method for pushing, system and based on the media of android system Player, to push the media resource of its preference to the user of the Intelligent television terminal based on Android Media-Player.
The invention is realized in this way a kind of media resource method for pushing, which comprises
Media resource plays relevant information is sent to by the terminal of the class MediaPlayer based on Android operation system Server;
For the server according to the media resource plays relevant information, analysis is described based on Android operation system The behavioural characteristic of the user of the terminal of class MediaPlayer;
The server pushes and the behavior to the terminal in due course according to the behavioural characteristic of user obtained by the analysis The media resource of characteristic matching and/or the media resource relevant information.
Another object of the present invention is to provide a kind of media resource supplying systems, the system comprises server and are based on The terminal of the class MediaPlayer of Android operation system, the class MediaPlayer's based on Android operation system Terminal includes resource information delivery module, and the server includes user behavior analysis module and resource information pushing module;
The resource information delivery module, for media resource plays relevant information to be sent to the server;
The user behavior analysis module, for being based on described in analysis according to the media resource plays relevant information The behavioural characteristic of the user of the terminal of the class MediaPlayer of Android operation system;
The pushing module, for the behavioural characteristic according to user obtained by the user behavior analysis module analysis, in due course To terminal push and the matched media resource of the behavioural characteristic and/or the media resource relevant information.
Another object of the present invention is to provide a kind of media player based on android system, the media play Device includes:
Resource information delivery module, for media resource plays relevant information to be sent to server;
Display module, for show the server push media resource and/or the media resource relevant information.
From aforementioned present invention technical solution it is found that due to the class MediaPlayer based on Android operation system terminal Media resource plays relevant information is sent to server, server can be analyzed according to the media resource plays relevant information The behavioural characteristic of user, in due course to terminal push and the matched media resource of behavioural characteristic and/or media resource relevant information.Cause This, technical solution provided by the invention can find the hobby of terminal user in time, provide in due course emerging with terminal user The media resource that interest hobby matches, to can be improved the service of streaming media service using the stream media system of the method for the present invention Quality.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram for the media resource method for pushing that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of media resource supplying system provided by Embodiment 2 of the present invention;
Fig. 3 is the structural schematic diagram for the media resource supplying system that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the media resource supplying system that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the media player based on android system that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the media player based on android system that the embodiment of the present invention six provides.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of media resource method for pushing, which comprises is based on Android operation system The terminal of class MediaPlayer media resource plays relevant information is sent to server;The server is according to the matchmaker Body resource plays relevant information, analyzes the row of the user of the terminal of the class MediaPlayer based on Android operation system It is characterized;The server pushes and the behavior to the terminal in due course according to the behavioural characteristic of user obtained by the analysis The media resource of characteristic matching and/or the media resource relevant information.The embodiment of the present invention also provides corresponding media resource Supplying system and media player based on android system.It is described in detail separately below.
Attached drawing 1 is please referred to, is the implementation process for the media resource method for pushing that the embodiment of the present invention one provides, this method can System applied to offer streaming media service comprising server and the class MediaPlayer based on Android operation system The terminal of (Media Player), the terminal can be the electronics such as smart television, PC, smart phone or tablet computer and set It is standby.
The exemplary media resource method for pushing of attached drawing 1 mainly includes the following steps that S101 to step S103:
The terminal of S101, the class MediaPlayer based on Android operation system pass media resource plays relevant information It send to server.
In embodiments of the present invention, the terminal of the class MediaPlayer based on Android operation system refers to being based on The terminal of android system, for example, smart television, PC or smart phone etc., media play-back application are The framework of the class MediaPlayer of Android operation system, it includes this classes of the MediaPlayer of Android operation system (class), and media resource plays relevant information further includes then other than including video hotspot position and/or video content The user of the terminal of class MediaPlayer based on Android operation system when playing media resource current play position, obtain Take the time of file, the height of acquired video playing, acquired video playing width, whether loop play, whether One of information such as broadcasting or pause or any several combination.
As one embodiment of the invention, the terminal of the class MediaPlayer based on Android operation system provides media Source broadcasting relevant information is sent to server can be based on BnMediaPlayerClient, and passes through following steps S1011 and step Rapid S1012 is realized, wherein BnMediaPlayerClient is the class in the class MediaPlayer of Android operation system (class), that is, it inherits in class MediaPlayer.BnMediaPlayerClient is mainly used for client modules and server mould Block communication, client modules herein are that the Android based on client/server (Client/Sever, C/S) framework is operated Client in the class MediaPlayer of system, and server module is the class of the Android operation system based on C/S framework Server in MediaPlayer, the both functional module of software.It should be noted that being based on BnMediaPlayerClient simultaneously passes through step S1011 and step S1012, and media resource plays relevant information is sent to clothes Business device refers to increasing be able to carry out step S1011 and step wherein by modifying this class of BnMediaPlayerClient The method of rapid S1012.Specifically, step S1011 and step S1012 are as follows:
S1011, record media resource play relevant information.
In embodiments of the present invention, it why by modification this class of BnMediaPlayerClient, is grasped in Android Make in the class MediaPlayer of system, some frameworks are stable frameworks, some frameworks are unstable frameworks.If modification Stable framework may cause system compatible problem.It, may be no longer after system upgrade if having modified unstable framework It works.For example, the PVPlayer of the class MediaPlayer of Android operation system belongs to the broadcasting framework of Android, but It is the framework that it is the bottom that possible be replaced, stable is top section.However, if modification The sightless steady component of the other applications such as BnMediaPlayerClient, then when other application calls these steady components It returns, anticipatory behavior will not be impacted still according to the return value before it;On the other hand, by right The modification of BnMediaPlayerClient, even if the player of licence plate side or other third-party players need replacing, This class above-mentioned modification can have been made from the BnMediaPlayerClient of the class MediaPlayer of its Android operation system Intelligent television terminal get the broadcasting behavioural characteristic of active user, thus solve that background technique refers to because of smart television end The player at end is all the player of licence plate side oneself and is difficult to obtain Intelligent television terminal user inclined in terms of media play This good industry technical problem.
In embodiments of the present invention, it can be and the matchmaker recorded and saved with JASON or JavaScript file format Body resource plays relevant information.These media resource plays relevant informations include video hotspot position, video content, are based on The user of the terminal of the class MediaPlayer of Android operation system current play position, acquisition text when playing media resource The time of part, the height of acquired video playing, acquired video playing width, whether loop play, whether be playing Or one of the information such as pause or any several combination.
The media resource plays relevant information of record is sent to server in a manner of http long connection request by S1012.
After the media resource plays relevant information of record is sent to server in a manner of http long connection request, it is based on The response of the terminal waiting for server of the class MediaPlayer of Android operation system.Since http long connection request is asynchronous Request, terminal can work on, for example, initiating other ajax request etc..
It should be noted that above-mentioned steps S1011 and step S1012 can be executed respectively by two functional units, be completed, it It executed, completed by two functional units so being divided to, being because in this way can be to avoid the obstruction in calling process.
S102, server analyze the class based on Android operation system according to media resource plays relevant information The behavioural characteristic of the user of the terminal of MediaPlayer.
As one embodiment of the invention, server is grasped according to media resource plays relevant information, analysis based on Android The behavioural characteristic for making the user of the terminal of the class MediaPlayer of system may is that server according to the media resource plays The video hotspot position for including in relevant information and/or video content, thus it is speculated that the class based on Android operation system The behavioural characteristic of the user of the terminal of MediaPlayer, wherein the behavioural characteristic of user includes the interest of user, character trait Or shopping feature etc..
S103, server analyze the behavioural characteristic of gained user according to step S102, in due course to based on Android operation system Terminal push and the matched media resource of the behavioural characteristic and/or the media resource relevant information of the class MediaPlayer of system.
Server analysis goes out the behavioural characteristic of the user of the terminal of the class MediaPlayer based on Android operation system Afterwards, so that it may according to these behavioural characteristics, be pushed in due course to the terminal of the class MediaPlayer based on Android operation system With the matched media resource of the behavioural characteristic and/or media resource relevant information, specifically include the following steps S1031 and step Rapid S1032:
S1031, server customize the media resource of characterization and/or described according to the behavioural characteristic of analysis gained user Media resource relevant information.
S1032, server the timeline with currently playing video content match and/or with it is described currently playing The opportunity that the video hotspot position of video content matches, to the terminal of the class MediaPlayer based on Android operation system The media resource of the characterization of push step S1031 customization and/or the media resource relevant information.
In embodiments of the present invention, the media resource of characterization and/or the media resource relevant information also with Android The state of media player is related, and herein, the state of media player refers to the pause of media, broadcasting, puts state fastly;Different It is related to push the content state different to Android media player, hotspot location or time order and function.
From the exemplary media resource method for pushing of above-mentioned attached drawing 1 it is found that due to the class based on Android operation system Media resource plays relevant information is sent to server by the terminal of MediaPlayer, and server can be according to the media resource Relevant information is played, the behavioural characteristic of user is analyzed, in due course to terminal push and the matched media resource of behavioural characteristic and/or matchmaker Body resource related information.Therefore, method provided by the invention can find the hobby of terminal user in time, in due course provide with The media resource that the hobby of terminal user matches, to can be improved stream matchmaker using the stream media system of the method for the present invention The service quality of body service.
Attached drawing 2 is please referred to, is the structural schematic diagram of media resource supplying system provided by Embodiment 2 of the present invention.In order to just In explanation, only parts related to embodiments of the present invention are shown for attached drawing 2.The exemplary media resource supplying system of attached drawing 2 is main Terminal 202 and server 201 including the class MediaPlayer based on Android operation system, wherein grasped based on Android Make the class MediaPlayer of system terminal 202 can be in the exemplary method of attached drawing 1 based on Android operation system The terminal of class MediaPlayer, server 201 can be the server in the exemplary method of attached drawing 1.Specifically, it is based on The terminal 201 of the class MediaPlayer of Android operation system includes resource information delivery module 203, and server 201 includes User behavior analysis module 204 and pushing module 205, in which:
Resource information delivery module 203, for media resource plays relevant information to be sent to server 202.
In the present embodiment, media resource plays relevant information in addition to include video hotspot position and/or video content it It outside, further include that the user of terminal of the class MediaPlayer based on Android operation system currently broadcasts when playing media resource Put position, obtain the time of file, the height of acquired video playing, acquired video playing width, whether loop play, One of information or any several combination such as whether it is playing or suspends.
User behavior analysis module 204, for according to media resource plays relevant information, analysis to be operated based on Android The behavioural characteristic of the user of the terminal 202 of the class MediaPlayer of system;
Pushing module 205, for according to user behavior analysis module 204 analyze gained user behavioural characteristic, in due course to Class MediaPlayer based on Android operation system terminal 202 push with the matched media resource of behavioural characteristic and/or The media resource relevant information.
It should be noted that in the embodiment of the exemplary media resource supplying system of the figures above 2, each functional module Division is merely illustrative of, and can according to need in practical application, for example, corresponding hardware configuration requirement or software realization It is convenient consider, and above-mentioned function distribution is completed by different functional modules, i.e., will be in the media resource supplying system Portion's structure is divided into different functional modules, to complete all or part of the functions described above.Moreover, in practical application, Corresponding functional module in the present embodiment can be by corresponding hardware realization, can also be executed by corresponding hardware corresponding Software is completed, for example, resource information delivery module above-mentioned, can be has execution aforementioned by media resource plays relevant information It is sent to the hardware of server, such as resource information conveyer, is also possible to be able to carry out corresponding computer program to complete The general processor or other hardware devices of aforementioned function;For another example user behavior analysis module above-mentioned, can be execution root According to the media resource plays relevant information, the terminal of the class MediaPlayer based on Android operation system is analyzed The hardware of the behavioural characteristic of user, such as user behavior analyzer are also possible to be able to carry out corresponding computer program to complete At the general processor of aforementioned function or other hardware devices, (each embodiment that this specification provides can all be retouched using above-mentioned State principle).
The exemplary resource information delivery module 203 of attached drawing 2 may include information recording unit 301 and information passing unit 302, the media resource supplying system that the embodiment of the present invention three as shown in Fig. 3 provides, in which:
It is related to record the media resource plays for being based on BnMediaPlayerClient for information recording unit 301 Information;
Information passing unit 302, for being based on BnMediaPlayerClient, the matchmaker that information recording unit 301 is recorded Body resource is played relevant information and is sent to server 201 in a manner of http long connection request.
In the exemplary media resource supplying system of attached drawing 3, BnMediaPlayerClient is Android operation system Class MediaPlayer in class (class), be mainly used for client modules and server module and communicate, client herein End module is the class of the Android operation system based on client/server (Client/Sever, C/S) framework Client in MediaPlayer, and server module is the class of the Android operation system based on C/S framework Server in MediaPlayer, the both functional module of software.It should be noted that information recording unit 301 is based on BnMediaPlayerClient, record media resource play relevant information, and information passing unit 302 is based on BnMediaPlayerClient asks the media resource plays relevant information that information recording unit 301 records with http long connection It asks mode to be sent to server 201, refers to increasing information wherein by modifying this class of BnMediaPlayerClient Media resource plays relevant information is sent to server by recording unit 301 and information passing unit 302.As for why repairing Change this class of BnMediaPlayerClient, reason is illustrated in previous embodiment, can refer to the phase of previous embodiment It speaks on somebody's behalf bright, is not repeated herein.
In the exemplary media resource supplying system of attached drawing 3, information recording unit 301 is specifically used for being based on BnMediaPlayerClient class records and saves the media resource plays with JASON or JavaScript file format Relevant information.Since information recording unit 301 is by modifying this Android operation system of BnMediaPlayerClient Class, increase method in such and realize that third party calls the method in this class, such as when information recording unit 301 still It returns, anticipatory behavior will not be impacted according to the return value before it, such as delay and/or Caton etc..
The exemplary user behavior analysis module 204 of attached drawing 2 may include presumption units 401, and pushing module 205 may include Content customization unit 402 and content push unit 403, the media resource push that the embodiment of the present invention four as shown in Fig. 4 provides System, in which:
Presumption units 401, for according to the video hotspot position for including in media resource plays relevant information and/or video Content, thus it is speculated that the behavioural characteristic of the user of the terminal of the class MediaPlayer based on Android operation system;
Content customization unit 402 customizes the media resource of characterization for the behavioural characteristic according to analysis gained user And/or the media resource relevant information;
Content push unit 403, for matching in the timeline with currently playing video content and/or working as with described The opportunity that the video hotspot position of the video content of preceding broadcasting matches, to the class based on Android operation system The terminal 202 of MediaPlayer push the characterization media resource and/or the media resource relevant information.
Attached drawing 5 is please referred to, is that the structure for the media player based on android system that the embodiment of the present invention five provides is shown It is intended to.For ease of description, only parts related to embodiments of the present invention are shown for attached drawing 2.Attached drawing 5 is exemplary to be based on The media player of android system mainly includes resource information delivery module 501 and display module 502, in which:
Resource information delivery module 501, for media resource plays relevant information to be sent to server.
In the present embodiment, server can be server in the exemplary method of attached drawing 1 or attached drawing 2 is any to attached drawing 4 Server in exemplary media resource supplying system.
Display module 502, media resource and/or the media resource relevant information for display server push.
The exemplary resource information delivery module 501 of attached drawing 5 may include information recording unit 601 and information passing unit 602, the media player based on android system that the embodiment of the present invention six as shown in Fig. 6 provides, in which:
It is related to record the media resource plays for being based on BnMediaPlayerClient for information recording unit 601 Information.
Information passing unit 602 broadcasts the media resource of the record for being based on BnMediaPlayerClient class It puts relevant information and is sent to server in a manner of http long connection request.
In the exemplary media player based on android system of attached drawing 6, media resource plays relevant information is in addition to packet It includes except video hotspot position and/or video content, further includes the end of the class MediaPlayer based on Android operation system The user at end when playing media resource current play position, obtain time of file, acquired video playing height, obtained Take video playing width, whether loop play, one of the information such as whether be playing or suspend or any several Combination.BnMediaPlayerClient is the class (class) in the class MediaPlayer of Android operation system, main It is communicated for client modules and server module, client modules herein are based on client/server (Client/ Sever, C/S) framework Android operation system class MediaPlayer in client, and server module is based on C/ Server in the class MediaPlayer of the Android operation system of S framework, the both functional module of software.It needs Bright, information recording unit 601 is based on BnMediaPlayerClient, and record media resource plays relevant information, and information passes Unit 602 is sent to be based on BnMediaPlayerClient, the media resource plays relevant information that information recording unit 601 is recorded It is sent to server in a manner of http long connection request, is referred to by modifying this class of BnMediaPlayerClient, at it Middle increase information recording unit 601 and information passing unit 602, are sent to server for media resource plays relevant information.Extremely In why being modification this class of BnMediaPlayerClient, reason is illustrated in previous embodiment, can be referred to aforementioned The related description of embodiment, is not repeated herein.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above-mentioned apparatus, due to Embodiment of the present invention method is based on same design, and bring technical effect is identical as embodiment of the present invention method, particular content It can be found in the narration in embodiment of the present invention method, details are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
It is provided for the embodiments of the invention a kind of media resource method for pushing, system above and based on android system Media player be described in detail, specific case used herein carries out the principle of the present invention and embodiment It illustrates, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this field Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up Described, the contents of this specification are not to be construed as limiting the invention.

Claims (7)

1. a kind of media resource method for pushing, which is characterized in that the described method includes:
Media resource plays relevant information is sent to service by the terminal of the class MediaPlayer based on Android operation system Device, wherein the media resource plays relevant information further includes other than including video hotspot position and/or video content The user of the terminal of class MediaPlayer based on Android operation system when playing media resource current play position, obtain Take the time of file, the height of acquired video playing, acquired video playing width, whether loop play, whether One of information such as broadcasting or pause or any several combination;
The server analyzes the class based on Android operation system according to the media resource plays relevant information The behavioural characteristic of the user of the terminal of MediaPlayer;
The server pushes and the behavioural characteristic to the terminal in due course according to the behavioural characteristic of user obtained by the analysis Matched media resource and/or the media resource relevant information;
Wherein, the terminal of the class MediaPlayer based on Android operation system passes media resource plays relevant information It send to server, comprising:
Based on BnMediaPlayerClient, record media resource plays relevant information, the BnMediaPlayerClient For the class in the class MediaPlayer of Android operation system, the BnMediaPlayerClient is Android operation system Sightless steady component in the bottom architecture of system;
The media resource plays relevant information of the record is sent to the server in a manner of http long connection request.
2. the method as described in claim 1, which is characterized in that the record media resource plays relevant information, comprising: with JASON or JavaScript file format record and save the media resource plays relevant information.
3. the method as described in claim 1, which is characterized in that the server is believed according to the media resource plays correlation Breath analyzes the behavioural characteristic of the user of the terminal of the class MediaPlayer based on Android operation system, comprising: described Server is according to the video hotspot position and/or video content for including in the media resource plays relevant information, thus it is speculated that described The behavioural characteristic of user;
The server pushes and the behavioural characteristic to the terminal in due course according to the behavioural characteristic of user obtained by the analysis Matched media resource and/or the media resource relevant information, comprising:
The server according to the behavioural characteristic of user obtained by the analysis, customize characterization media resource and/or the matchmaker Body resource related information;
The server the timeline with currently playing video content match and/or with the currently playing video in The opportunity that the video hotspot position of appearance matches, Xiang Suoshu terminal push the media resource and/or the media of the characterization Resource related information.
4. a kind of media resource supplying system, which is characterized in that the system comprises server and be based on Android operation system Class MediaPlayer terminal, the terminal of the class MediaPlayer based on Android operation system include resource letter Delivery module is ceased, the server includes user behavior analysis module and resource information pushing module;
The resource information delivery module, for media resource plays relevant information to be sent to the server, wherein described Media resource plays relevant information further includes being grasped based on Android other than including video hotspot position and/or video content Make the user of the terminal of the class MediaPlayer of system when playing media resource current play position, the time for obtaining file, The height of acquired video playing, acquired video playing width, whether loop play, the letter such as whether be playing or suspend One of breath or any several combination;
The user behavior analysis module, for according to the media resource plays relevant information, analysis is described to be based on Android The behavioural characteristic of the user of the terminal of the class MediaPlayer of operating system;
The pushing module, for the behavioural characteristic according to user obtained by the user behavior analysis module analysis, in due course to institute State terminal push and the matched media resource of the behavioural characteristic and/or the media resource relevant information;
Wherein, the resource information delivery module includes:
Information recording unit records the media resource plays relevant information, institute for being based on BnMediaPlayerClient The class in the class MediaPlayer that BnMediaPlayerClient is Android operation system is stated, it is described BnMediaPlayerClient is sightless steady component in the bottom architecture of Android operation system;
Information passing unit, for being based on BnMediaPlayerClient, by the media resource plays relevant information of the record The server is sent in a manner of http long connection request.
5. system as claimed in claim 4, which is characterized in that the information recording unit is specifically used for being based on BnMediaPlayerClient class records and saves the media resource plays with JASON or JavaScript file format Relevant information.
6. system as claimed in claim 4, which is characterized in that the user behavior analysis module includes:
Presumption units, for according in the video hotspot position and/or video for including in the media resource plays relevant information Hold, thus it is speculated that the behavioural characteristic of the user;
The pushing module includes:
Content customization unit, for the behavioural characteristic according to user obtained by the analysis, customize characterization media resource and/or The media resource relevant information;
Content push unit, for the timeline with currently playing video content match and/or with it is described currently playing Video content opportunity for matching of video hotspot position, Xiang Suoshu terminal push the characterization media resource and/or The media resource relevant information.
7. a kind of media player based on android system, which is characterized in that the media player includes:
Resource information delivery module, for media resource plays relevant information to be sent to server, wherein the media resource Relevant information is played other than including video hotspot position and/or video content, further includes based on Android operation system The user of the terminal of class MediaPlayer current play position, the time for obtaining file, acquired view when playing media resource The width of height, acquired video playing that frequency plays, whether loop play, whether be playing or suspend etc. in information one Kind or any several combination;
Display module, for show the server push media resource and/or the media resource relevant information;
Wherein, the resource information delivery module includes:
Information recording unit records the media resource plays relevant information, institute for being based on BnMediaPlayerClient State the class in the class MediaPlayer that BnMediaPlayerClient is Android operation system;
Information passing unit believes the media resource plays correlation of the record for being based on BnMediaPlayerClient class Breath is sent to the server in a manner of http long connection request, and the BnMediaPlayerClient is Android operation system Sightless steady component in the bottom architecture of system.
CN201410849733.2A 2014-12-30 2014-12-30 A kind of media resource method for pushing, system and the media player based on android system Active CN105812845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849733.2A CN105812845B (en) 2014-12-30 2014-12-30 A kind of media resource method for pushing, system and the media player based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849733.2A CN105812845B (en) 2014-12-30 2014-12-30 A kind of media resource method for pushing, system and the media player based on android system

Publications (2)

Publication Number Publication Date
CN105812845A CN105812845A (en) 2016-07-27
CN105812845B true CN105812845B (en) 2019-09-17

Family

ID=56421161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849733.2A Active CN105812845B (en) 2014-12-30 2014-12-30 A kind of media resource method for pushing, system and the media player based on android system

Country Status (1)

Country Link
CN (1) CN105812845B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018059025A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Method for providing service and terminal device
CN107396246A (en) * 2017-08-30 2017-11-24 四川长虹电器股份有限公司 Intelligent sound box control system based on user behavior custom
CN109327496B (en) * 2018-07-23 2021-10-22 平安科技(深圳)有限公司 Data pushing method and device, computer equipment and storage medium
CN110798717B (en) * 2018-08-01 2021-08-20 腾讯科技(深圳)有限公司 Media resource pushing method and device, storage medium and electronic device
CN110858919A (en) * 2018-08-24 2020-03-03 北京字节跳动网络技术有限公司 Data processing method and device in media file playing process and storage medium
CN109361580B (en) * 2018-10-24 2021-11-09 江西珉轩智能科技有限公司 Background music control device, cloud server and background music control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572524A (en) * 2010-12-29 2012-07-11 中国移动通信集团公司 Media playing and interaction method, device, server and system
CN103546773A (en) * 2013-08-15 2014-01-29 Tcl集团股份有限公司 Television program recommendation method and system
CN104135693A (en) * 2014-07-22 2014-11-05 乐视网信息技术(北京)股份有限公司 A video playing method, smart TV and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797722B2 (en) * 2006-05-26 2010-09-14 Sony Corporation System and method for content delivery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572524A (en) * 2010-12-29 2012-07-11 中国移动通信集团公司 Media playing and interaction method, device, server and system
CN103546773A (en) * 2013-08-15 2014-01-29 Tcl集团股份有限公司 Television program recommendation method and system
CN104135693A (en) * 2014-07-22 2014-11-05 乐视网信息技术(北京)股份有限公司 A video playing method, smart TV and server

Also Published As

Publication number Publication date
CN105812845A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105812845B (en) A kind of media resource method for pushing, system and the media player based on android system
US11336953B2 (en) Video processing method, electronic device, and computer-readable medium
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
US10362359B2 (en) Video player framework for a media distribution and management platform
CN109348274B (en) Live broadcast interaction method and device and storage medium
US10271105B2 (en) Method for playing video, client, and computer storage medium
CN112383790B (en) Live broadcast screen recording method and device, electronic equipment and storage medium
CN107146608B (en) Playing control method and device and intelligent equipment
CN108769816B (en) Video playing method, device and storage medium
EP3866481A1 (en) Audio/video switching method and apparatus, and computer device and readable storage medium
WO2019128829A1 (en) Action execution method and apparatus, storage medium and electronic apparatus
CN109672902A (en) A kind of video takes out frame method, device, electronic equipment and storage medium
CN108900855B (en) Live content recording method and device, computer readable storage medium and server
WO2021031590A1 (en) Audio and video pushing method, mobile terminal and display terminal
CN111930973A (en) Multimedia data playing method and device, electronic equipment and storage medium
CN103945284B (en) Information processing method and information processing unit
JP2017538328A (en) Promotion information processing method, apparatus, device, and computer storage medium
CN112771881B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
US20240007718A1 (en) Multimedia browsing method and apparatus, device and mediuim
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
CN106899881B (en) Audio and video file playing method and device
CN113329237B (en) Method and equipment for presenting event label information
EP3249936A1 (en) Audio debugging method and device for television
CN113573121A (en) Video playing method, device and storage medium
CN108650544A (en) A kind of media playing method, device and media play system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant