CN105430460B - A kind of video data method for pushing and device based on mobile terminal - Google Patents

A kind of video data method for pushing and device based on mobile terminal Download PDF

Info

Publication number
CN105430460B
CN105430460B CN201510791184.2A CN201510791184A CN105430460B CN 105430460 B CN105430460 B CN 105430460B CN 201510791184 A CN201510791184 A CN 201510791184A CN 105430460 B CN105430460 B CN 105430460B
Authority
CN
China
Prior art keywords
media player
mobile terminal
video data
server object
digital
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
CN201510791184.2A
Other languages
Chinese (zh)
Other versions
CN105430460A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510791184.2A priority Critical patent/CN105430460B/en
Publication of CN105430460A publication Critical patent/CN105430460A/en
Application granted granted Critical
Publication of CN105430460B publication Critical patent/CN105430460B/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Abstract

The embodiment of the present application provides a kind of video data method for pushing based on mobile terminal, wherein mobile terminal have built-in media player object, preset system-level server object, and, Digital Life Network Alliance DLNA server object;Mobile terminal is communicatively coupled with digital media player DMP;The method includes: that video data to be processed is obtained via the media player object built in mobile terminal;Calling system grade server object is by video data transmission to Digital Life Network Alliance DLNA server object;The digital media player DMP for being extremely communicatively coupled video data transmission with current mobile terminal via Digital Life Network Alliance DLNA server object.The embodiment of the present application is realized the transmission of video of mobile terminal playing to television by media player object, system-level server object, DLNA server object, greatly improves the viewing experience of user by the video playing of the conversion of smaller screen to large-size screen monitors.

Description

A kind of video data method for pushing and device based on mobile terminal
Technical field
This application involves technical field of mobile terminals, more particularly to a kind of video data push side based on mobile terminal Method and a kind of video data driving means based on mobile terminal.
Background technique
With the continuous development of ntelligent television technolog, user has great interest to video, and user can pass through number Living network alliance DLNA service routine plays out the video push played in mobile terminal to television in television, To which video is presented on user at the moment in the form of large screen, to user preferably to experience.
But DLNA push mode used by mobile terminal is only integrated with certain applications at present, for most of network Resource, Digital Life Network Alliance DLNA agreement can not access its resource information, thus can not achieve the push of video.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind A kind of video data method for pushing based on mobile terminal to solve the above problems and a kind of corresponding view based on mobile terminal Frequency is according to driving means.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of video data push side based on mobile terminal Method, wherein the mobile terminal have built-in media player object, preset system-level server object, and, number Word living network alliance DLNA server object;The mobile terminal is communicatively coupled with digital media player DMP;
The method includes:
Video data to be processed is obtained via the media player object built in the mobile terminal;
Call the system-level server object by the video data transmission to the Digital Life Network Alliance DLNA server object;
Via the Digital Life Network Alliance DLNA server object by the video data transmission extremely and when Forward The digital media player DMP that dynamic terminal is communicatively coupled.
Preferably, the preset system-level server object succession has Android Interface Definition Language AIDL literary Part includes media player object data transmission interface in the Android Interface Definition Language AIDL file, described system-level Server object realizes the media player object data transmission interface;
The media player object obtains the system-level service routine by using interprocess communication Binder mechanism The media player object data transmission interface that object is realized, the communication with the system-level service.
Preferably, the preset system-level server object is provided with initialization interface Init, and mobile terminal is opening When dynamic, the system-level server object is started by the initialization interface Init.
Preferably, it is described via the Digital Life Network Alliance DLNA server object by the video data transmission Include: to the step of digital media player DMP being communicatively coupled with current mobile terminal
The connected Digital Media of present terminal is searched via the Digital Life Network Alliance DLNA server object to broadcast Put device DMP;
It is shown to user and shows found digital media player DMP;
Receive the instruction that user is used for designation number media player DMP;
To digital media player DMP transmitting video data specified by the instruction.
Preferably, the video data includes: mobile terminal local video data and network video data.
Preferably, when the video data is mobile terminal local video data, the Digital Life Network Alliance DLNA service carries out HTTP agreement by the absolute path to the mobile terminal local video data and shares, by the movement Terminal local video data is shared to digital media player DMP.
Preferably, when the video data is network video data, the media player object obtains the network The uniform resource position mark URL of video data;The uniform resource position mark URL is sent to institute by the media player object System-level server object is stated, the system-level server object uses broadcast mode by the uniform resource locator URL is sent to the Digital Life Network Alliance DLNA server object;Digital media player DMP passes through the number Living network alliance DLNA server object obtains network video data corresponding to the uniform resource position mark URL.
Meanwhile disclosed herein as well is a kind of video data driving means based on mobile terminal, wherein it is described it is mobile eventually Holding has built-in media player object, preset system-level server object, and, Digital Life Network Alliance DLNA Server object;The mobile terminal is communicatively coupled with digital media player DMP;
The device includes:
Module is obtained, for obtaining video counts to be processed via the media player object built in the mobile terminal According to;
First transmission module calls the system-level server object that the video data transmission is raw to the number Network alliance DLNA server object living;
Second transmission module, for via the Digital Life Network Alliance DLNA server object by the video counts According to being transmitted to the digital media player DMP being communicatively coupled with current mobile terminal.
Preferably, the preset system-level server object succession has Android Interface Definition Language AIDL literary Part includes media player object data transmission interface in the Android Interface Definition Language AIDL file, described system-level Server object realizes the media player object data transmission interface;
The media player object obtains the system-level service routine by using interprocess communication Binder mechanism The media player object data transmission interface that object is realized, the communication with the system-level service.
Preferably, the preset system-level server object is provided with initialization interface Init, and mobile terminal is opening When dynamic, the system-level server object is started by the initialization interface Init.
The embodiment of the present application includes the following advantages:
The embodiment of the present application is passed by the video that the media player object built in mobile terminal is played mobile terminal It is defeated to arrive system-level server object, Digital Life Network Alliance DLNA is transmitted the video to by system-level server object Server object transmits the video to television by Digital Life Network Alliance DLNA server object, by smaller screen to greatly The video playing of the conversion of screen greatly improves the viewing experience of user;
No matter the video of mobile terminal playing is network video or local video, can pass through the embodiment of the present application Method realizes Digital Life Network Alliance DLNA service transmission.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of video data method for pushing embodiment based on mobile terminal of the application;
Fig. 2 is the schematic diagram that mobile terminal is communicated with television terminal in the embodiment of the present application;
Fig. 3 is that mobile terminal services the schematic diagram that video is sent to television terminal by DLNA in the embodiment of the present application;
Fig. 4 is a kind of structural block diagram of video data driving means embodiment based on mobile terminal of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
DLNA (DIGITAL LIVING NETWORK ALLIANCE, Digital Life Network Alliance), it is intended to solve personal PC, consumer appliances, wireless network and cable network including mobile device interconnect.
DNLA product includes: digital media server (DMS, Digital Media Server), digital media player (DMP, Digital Media Player);
Digital media server DMS: acquisition, recording, storage and the equipment as source of media file, example are provided Such as mobile terminal.
The equipment that digital media player DMP: can search and play or export any media file as provided by DMS, Such as television terminal, family's theater etc..
Traditional DLNA service only handles the video resource that DMS is shared in local and other same local area networks, for example, beating Youku.com's webpage is opened, some video is played, since youku.com's background server is not DMS, is unlikely in same office with mobile phone In the net of domain, DLNA agreement can not access its video resource.To realize at present Internet resources push can only by other agreements, As http protocol access youku.com backstage obtain data, then by certain agreement be transferred to television complete broadcasting.But youku.com Backstage do not open for free, unless paying the cooperative relationship that certain expense reaches manufacturer, other video producers are equally such as This, so that video push causes great limitation.
One of the core concepts of the embodiments of the present application is that will be moved by the media player object built in mobile terminal The transmission of video that terminal is played transmits the video to number to system-level server object, by system-level server object Word living network alliance DLNA server object, is transmitted the video to by Digital Life Network Alliance DLNA server object Television.
Referring to Fig.1, the step of showing a kind of video data method for pushing embodiment based on mobile terminal of the application Flow chart, wherein the mobile terminal have built-in media player object, preset system-level server object, with And Digital Life Network Alliance DLNA server object;The mobile terminal and digital media player DMP carry out communication link It connects, the method can specifically include following steps:
Step 101, video data to be processed is obtained via the media player object built in the mobile terminal;
Step 102, call the system-level server object by the video data transmission to the digital living net Network alliance DLNA server object;
Step 103, via the Digital Life Network Alliance DLNA server object by the video data transmission extremely The digital media player DMP being communicatively coupled with current mobile terminal.
After media player object is in preparation prepared state, using media player object to current video number According to being recorded, video data is given to system-level server object, shape of the final system grade server object to broadcast Formula passes to Digital Life Network Alliance DLNA server object.
In the video playing normal process of Android mobile terminal, video playing is had to by mobile terminal system The built-in media player object of the bottom is just able to achieve;The resource of third-party server such as video web page, it is used The player of Webview finally will also pass through the built-in media player object of the bottom.Thus in this application, pass through most bottom Then the related broadcasting link of the built-in media player object intercepting page video of layer, such as URL pass through DLNA service routine again Digital media player DMP is sent by this link.
In a kind of preferable example of the embodiment of the present application, the video data may include: mobile terminal local video Data and network video data.Traditional DLNA service only handles the view that DMS is shared in local and other same local area networks Frequency resource, and the application can also be shared Internet resources by the built-in media player object of the bottom.
Media player object is the program under Framework layers of Android frame, specific location such as: Framework Layer Frameworks/base/media/java/android/media/.DLNA service is upper layer application clothes in the terminal Business program, the program that Framework layers of Yao Shixian frame is communicated with upper layer application service routine to be needed to obtain context Context, and only have in Systemserver layers of system-level service in Framework layers of frame and have context Context. Therefore it add-on system grade server object, media player object can be tied up in Systemserver layers of system-level service System-level server object is determined to obtain the context Context of system-level Systemserver layers of service, realizes that media are broadcast Device object is put to communicate with the striding course of DNLA.
In a kind of preferable example of the embodiment of the present application, the preset system-level server object succession has Android Interface Definition Language AIDL file includes media player in the Android Interface Definition Language AIDL file Object data coffret, the system-level server object realize the media player object data transmission interface;
The media player object obtains the system-level service routine by using interprocess communication Binder mechanism The media player object data transmission interface that object is realized, the communication with the system-level service.
The step of add-on system grade server object, can specifically include: establish system under Framework layers of frame Grade server object catalogue, the service catalogue include Android Interface Definition Language AIDL (Android Interface DefInition Language) file, the interface that AIDL file has media player object to transmit data;Service catalogue also wraps Java file containing system-level server object, system-level server object inherit aidl file and need to realize AIDL's Interface.
Media player object can be by interprocess communication Binder mechanism binding system grade server object, specifically Step may include: that media player object passes through the system-level server object of service managerZ-HU ServiceManger acquisition Basic interface Ibinder, and then obtain the interface in the AIDL that system-level server object is realized, complete player and be The communication of irrespective of size service.
In a kind of preferable example of the embodiment of the present application, the preset system-level server object is provided with initially Change interface Init, mobile terminal starts the system-level server object on startup, by the initialization interface Init.
Enter Android Init process after linux kernel starting when booting, and then passes through system-level service Systemserver layers of starting other phase relation irrespective of size services.In the embodiment of the present application, system-level server object opens Dynamic process addition exists: Frameworks/base/services/java/com/android/server/ In SystemServer.java.
The initialization of addition is called to connect in the startOtherService interface of system-level systemserver layers of service Mouthful Init completes addition to system-level server object and system-level systemserver layers of service in the interface The transparent transmission of context Context.
In a kind of preferable example of the embodiment of the present application, the step 103 can specifically include following sub-step:
Sub-step S11 searches what present terminal was connected via the Digital Life Network Alliance DLNA server object Digital media player DMP;
User is searched under same local area network by Digital Life Network Alliance DLNA server object can pushing video Digital media player DMP;
Sub-step S12 shows to user and shows found digital media player DMP;
Digital Life Network Alliance DLNA server object is by the digital media player DMP searched with list side Formula is shown, is selected for user;
Sub-step S13 receives the instruction that user is used for designation number media player DMP;
The instruction of Digital Life Network Alliance DLNA server object user selects the digital media player to be pushed DMP。
Sub-step S14, to digital media player DMP transmitting video data specified by the instruction.
The digital media player DMP transmitting video data specified to user.
Traditional Digital Life Network Alliance service needs to be integrated into third-party application, first to local video resource into Row is all shared, and obtains the push of realization video after list related, and is single to a certain determination in the embodiment of the present application The data sharing and generation respective labels Meta information of file, as the ID of mobile terminal is identified;
In a kind of preferable example of the embodiment of the present application, when the video data is mobile terminal local video data When, the Digital Life Network Alliance DLNA service is carried out by the absolute path to the mobile terminal local video data Http protocol is shared, and the mobile terminal local video data is shared to digital media player DMP.
When the video data is network video data, the media player object obtains the network video data Uniform resource position mark URL;The uniform resource position mark URL is sent to described system-level by the media player object The uniform resource position mark URL is sent to by server object, the system-level server object using broadcast mode The Digital Life Network Alliance DLNA server object;Digital media player DMP is joined by the digital living network Alliance's DLNA server object obtains network video data corresponding to the uniform resource position mark URL.
Media player object does not record the classification of video, and the type of video is serviced by Digital Life Network Alliance DLNA Program object is distinguished, and local resource is all absolute path, without the uniform resource position mark URLs network identity such as http, and the The resource of tripartite's server has uniform resource position mark URL network identity, Digital Life Network Alliance DLNA service routine pair As according to being absolute path or distinguish the classification of video resource with network identity.
For local resource, Digital Life Network Alliance DLNA server object can be according to absolute where video resource Path realizes that data network is shared to the resource, and mobile terminal is allowed to access the resource with digital media player DMP and carry out It plays, if it is Internet resources, then does not need to be shared, but require supplementation with mobile terminal ID mark, to complete data Transmission.
It is the schematic diagram that mobile terminal is communicated with television terminal in the embodiment of the present application referring to Fig. 2.
In television terminal when in the state for waiting terminal searches multicast signal, mobile terminal is sent to television terminal For search for can communication terminal search end command;
Television terminal sends the unicast search terminal signaling for responding above-mentioned search end command to mobile terminal;
Mobile terminal receives unicast and searches terminal signaling, and shows to user and have sent the TV that terminal signaling is searched in unicast Terminal;
After user chooses the television terminal to be communicated, mobile terminal is in the television terminal hair for waiting connection status Send connection terminal signaling;
Television terminal receives the connection terminal signaling, and the SOT state of termination of itself is sent to mobile terminal;
Mobile terminal according to television terminal state to television terminal transmitting video data;
Television terminal receives video data and plays;
During video data transmission, mobile terminal and television terminal keep interaction mode communication.
Referring to Fig. 3 be in the embodiment of the present application mobile terminal by DLNA service to television terminal send video signal Figure.Multi-screen interactive application program for the video of mobile terminal to be shared to television terminal is installed on mobile terminal, it is mobile Terminal have built-in media player object, preset system-level server object, and, Digital Life Network Alliance DLNA server object;Mobile terminal and television terminal are under same local area network, and television terminal has the function of DLNA;
Mobile terminal-opening after multi-screen interactive application program receives booting broadcast, detects whether to open multi-screen interactive journey The switch of sequence, multi-screen interactive program, which is realized, shares to television terminal for the video of mobile terminal.
If not opening the switch of multi-screen interactive program, user is waited to open;
If having turned on the switch of multi-screen interactive program, multi-screen interactive program is opened;
After multi-screen interactive program is opened, DLNA program object can push around mobile terminal to search television terminal;
When mobile terminal playing video, the video counts that current mobile terminal plays are obtained by media player object According to;
When DLNA program object searches the television terminal that can be pushed, taken by preset Framework series of strata irrespective of size The broadcast address for the video data that media player obtains is sent DLNA server object by business program object;
Shared processing is carried out to video data by Digital Life Network Alliance DLNA server object;
At this point, mobile terminal sends the prompt for whether needing to play out video push to television terminal to user;
It needs video push in user's confirmation to television terminal, and after choosing and needing the television terminal that pushes, moves Video data is pushed to television terminal by DLNA server object by terminal;
Mobile terminal data-pushing on the way, can receive television terminal transmission instruction and user operational order;
When mobile terminal shutdown, stop transmission.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
Referring to Fig. 4, a kind of structure of video data driving means embodiment based on mobile terminal of the application is shown Block diagram, wherein the mobile terminal have built-in media player object, preset system-level server object, and, Digital Life Network Alliance DLNA server object;The mobile terminal is communicatively coupled with digital media player DMP;
Described can specifically include following module:
Module 401 is obtained, for obtaining video to be processed via the media player object built in the mobile terminal Data;
First transmission module 402 calls the system-level server object by the video data transmission to the number Word living network alliance DLNA server object;
Second transmission module 403, for via the Digital Life Network Alliance DLNA server object by the view Frequency evidence is transmitted to the digital media player DMP being communicatively coupled with current mobile terminal.
In a kind of preferable example of the embodiment of the present application, the preset system-level server object succession has Android Interface Definition Language AIDL file includes media player in the Android Interface Definition Language AIDL file Object data coffret, the system-level server object realize the media player object data transmission interface;
The media player object obtains the system-level service routine by using interprocess communication Binder mechanism The media player object data transmission interface that object is realized, the communication with the system-level service.
In the embodiment of the present application, the preset system-level server object is provided with initialization interface Init, moves Dynamic terminal starts the system-level server object on startup, by the initialization interface Init.
In a kind of preferable example of the embodiment of the present application, second transmission module 403 further comprises following submodule Block:
Submodule is searched, for searching present terminal phase via the Digital Life Network Alliance DLNA server object Digital media player DMP even;
Show submodule, shows found digital media player DMP for showing to user;
Receiving submodule, for receiving instruction of the user for designation number media player DMP;
Specified transmission submodule, to digital media player DMP transmitting video data specified by the instruction.
In a kind of preferable example of the embodiment of the present application, the video data includes: mobile terminal local video data And network video data.
When the video data is mobile terminal local video data, the Digital Life Network Alliance DLNA service Http protocol is carried out by the absolute path to the mobile terminal local video data to share, and the mobile terminal is locally regarded Frequency data sharing is to digital media player DMP.
When the video data is network video data, the media player object obtains the network video data Uniform resource position mark URL;The uniform resource position mark URL is sent to described system-level by the media player object The uniform resource position mark URL is sent to by server object, the system-level server object using broadcast mode The Digital Life Network Alliance DLNA server object;Digital media player DMP is joined by the digital living network Alliance's DLNA server object obtains network video data corresponding to the uniform resource position mark URL.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of video data method for pushing based on mobile terminal and one kind provided herein based on movement The video data driving means of terminal, is described in detail, used herein principle and reality of the specific case to the application The mode of applying is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;Together When, for those of ordinary skill in the art, according to the thought of the application, have in specific embodiments and applications Change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (8)

1. a kind of video data method for pushing based on mobile terminal, which is characterized in that the mobile terminal has built-in matchmaker Body player object, preset system-level server object, and, Digital Life Network Alliance DLNA server object; The mobile terminal is communicatively coupled with digital media player DMP;
The method includes:
Video data to be processed is obtained via the media player object built in the mobile terminal;
The system-level server object is called to take the video data transmission to the Digital Life Network Alliance DLNA Business program object;Wherein, the media player object is bound to the system-level server object;The system-level service Program object is provided with initialization interface Init, mobile terminal on startup, by described in initialization interface Init starting System-level server object;
The video data transmission is moved eventually to current via the Digital Life Network Alliance DLNA server object Hold the digital media player DMP being communicatively coupled.
2. the method according to claim 1, wherein the preset system-level server object succession has Android Interface Definition Language AIDL file includes media player pair in the Android Interface Definition Language AIDL file Image data coffret, the system-level server object realize the media player object data transmission interface;
The media player object obtains the system-level server object by using interprocess communication Binder mechanism The media player object data transmission interface realized, with the system-level communication for service.
3. the method according to claim 1, wherein described service via the Digital Life Network Alliance DLNA The step for the digital media player DMP that the video data transmission is extremely communicatively coupled with current mobile terminal by program object Suddenly include:
The connected digital media player of present terminal is searched via the Digital Life Network Alliance DLNA server object DMP;
Show found digital media player DMP to user;
Receive the instruction that user is used for designation number media player DMP;
To digital media player DMP transmitting video data specified by the instruction.
4. according to the method described in claim 3, it is characterized in that, the video data includes: mobile terminal local video number Accordingly and network video data.
5. according to the method described in claim 4, it is characterized in that, when the video data is mobile terminal local video data When, the Digital Life Network Alliance DLNA service is carried out by the absolute path to the mobile terminal local video data Http protocol is shared, and the mobile terminal local video data is shared to digital media player DMP.
6. described according to the method described in claim 5, it is characterized in that, when the video data is network video data Media player object obtains the uniform resource position mark URL of the network video data;The media player object is by institute It states uniform resource position mark URL and is sent to the system-level server object, the system-level server object is using wide The uniform resource position mark URL is sent to the Digital Life Network Alliance DLNA server object by broadcast mode;Number Media player DMP obtains the uniform resource locator by the Digital Life Network Alliance DLNA server object Network video data corresponding to URL.
7. a kind of video data driving means based on mobile terminal, which is characterized in that the mobile terminal has built-in matchmaker Body player object, preset system-level server object, and, Digital Life Network Alliance DLNA server object; The mobile terminal is communicatively coupled with digital media player DMP;
The device includes:
Module is obtained, for obtaining video data to be processed via the media player object built in the mobile terminal;
First transmission module calls the system-level server object by the video data transmission to the digital living net Network alliance DLNA server object;Wherein, the media player object is bound to the system-level server object;Institute It states system-level server object and is provided with initialization interface Init, mobile terminal on startup, passes through the initialization interface Init starts the system-level server object;
Second transmission module, for passing the video data via the Digital Life Network Alliance DLNA server object Transport to the digital media player DMP being communicatively coupled with current mobile terminal.
8. device according to claim 7, which is characterized in that the preset system-level server object succession has Android Interface Definition Language AIDL file includes media player pair in the Android Interface Definition Language AIDL file Image data coffret, the system-level server object realize the media player object data transmission interface;
The media player object obtains the system-level server object by using interprocess communication Binder mechanism The media player object data transmission interface realized, with the system-level communication for service.
CN201510791184.2A 2015-11-17 2015-11-17 A kind of video data method for pushing and device based on mobile terminal Active CN105430460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510791184.2A CN105430460B (en) 2015-11-17 2015-11-17 A kind of video data method for pushing and device based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510791184.2A CN105430460B (en) 2015-11-17 2015-11-17 A kind of video data method for pushing and device based on mobile terminal

Publications (2)

Publication Number Publication Date
CN105430460A CN105430460A (en) 2016-03-23
CN105430460B true CN105430460B (en) 2019-06-28

Family

ID=55508344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510791184.2A Active CN105430460B (en) 2015-11-17 2015-11-17 A kind of video data method for pushing and device based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105430460B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835446B (en) * 2017-11-08 2020-02-11 青岛海信电器股份有限公司 Media state presentation and control method and device
CN110324701A (en) * 2019-08-12 2019-10-11 深圳新智联软件有限公司 A kind of wired throwing screen based on DLNA

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102656893B (en) * 2009-12-15 2015-05-13 瑞典爱立信有限公司 Time-shifting of live media stream
CN103873951B (en) * 2012-12-17 2018-06-12 南京中兴软件有限责任公司 Realize the method and system and relevant device of digital home videos stream adaptive identifying
TWI543594B (en) * 2013-03-01 2016-07-21 致伸科技股份有限公司 Digital media playing system
CN103686375B (en) * 2013-11-19 2017-02-22 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103888515B (en) * 2014-02-26 2017-12-12 四川长虹电器股份有限公司 media resource sharing method based on browser

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device

Also Published As

Publication number Publication date
CN105430460A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
JP6133997B2 (en) Apparatus and method for processing bidirectional services
CN104871552B (en) Handle the apparatus and method of interactive service
CN102685576B (en) For the method and apparatus switched between native applications and the second application
US9883251B2 (en) Method and apparatus for managing connection between broadcast receiving device and another device connected by network
CN103888817B (en) It is a kind of that file is uploaded into intelligent television and the method and apparatus of played file
KR101771003B1 (en) Content output system and codec information sharing method thereof
KR20160023089A (en) Digital device and method for controlling the same
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
US10554745B2 (en) Method and apparatus for managing connection between broadcasting reception device and another device which are connected through network
KR20160062417A (en) Multimedia device and method for controlling the same
EP3996355B1 (en) Method for transferring media stream and user equipment
CN105430482A (en) Multi-screen interaction method and terminal equipment
CA3033735A1 (en) Information processing apparatus, client apparatus, and data processing method
CN105430460B (en) A kind of video data method for pushing and device based on mobile terminal
EP3160101B1 (en) Multi-media resource management method, cloud server and electronic device
CN103685303A (en) Method and system for processing connection content delivery network
KR101231821B1 (en) Method and System for providing contents continuous play service
US20100250778A1 (en) UPnP AV DEMUX
CN110430383A (en) Terminal, signal server, audio/video communication method and computer storage medium
KR101991787B1 (en) Home network media transport negotiation
KR101548226B1 (en) Method for pushing media contents using home gateway
KR20160028226A (en) Display device and method of processing content thereof
Kovačič et al. A Platform Enabling 2nd Screen Functionality for Mobile Applications
Zorrilla Berasategui Interoperable technologies for multi-device media services
CN104639518A (en) Session building method and device and session content delivering method and device

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.