CN105430460A - Video data pushing method and video data pushing device based on mobile terminal - Google Patents

Video data pushing method and video data pushing device based on mobile terminal Download PDF

Info

Publication number
CN105430460A
CN105430460A CN201510791184.2A CN201510791184A CN105430460A CN 105430460 A CN105430460 A CN 105430460A CN 201510791184 A CN201510791184 A CN 201510791184A CN 105430460 A CN105430460 A CN 105430460A
Authority
CN
China
Prior art keywords
media player
video data
mobile terminal
dlna
server object
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.)
Granted
Application number
CN201510791184.2A
Other languages
Chinese (zh)
Other versions
CN105430460B (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 invention provides a video data pushing method based on a mobile terminal. The mobile terminal comprises a built-in media player object, a preset system level service program object and a DLNA (Digital Living Network Alliance) service program object; and the mobile terminal is in communication connection with a DMP (Digital Media Player). The method comprises the following steps of acquiring to-be-processed video data through the built-in media player object of the mobile terminal; calling the system level service program object to transmit the video data to the DLNA service program object; and by the DLNA service program object, transmitting the video data to the DMP in communication connection with the current mobile terminal. According to the embodiment of the invention, by means of the media player object, the system level service program object and the DLNA service program object, video played at the mobile terminal is transmitted to a television side, and watching experience of users is greatly improved by video playing based on conversion from a small screen to a big screen.

Description

A kind of video data method for pushing based on mobile terminal and device
Technical field
The application relates to technical field of mobile terminals, particularly relates to a kind of video data method for pushing based on mobile terminal and a kind of video data pusher based on mobile terminal.
Background technology
Along with the development of intelligent television technology, user has great interest to video, user can by DLNA DLNA service routine by the video push play in mobile terminal to television, play in television, thus video is presented on user at the moment with the form of large-screen, to user better to experience.
But the DLNA that mobile terminal adopts at present pushes mode and is just integrated in certain applications, and for most of Internet resources, DLNA DLNA agreement cannot access its resource information, thus can not realize the propelling movement of video.
Summary of the invention
In view of the above problems, the embodiment of the present application is proposed to provide a kind of overcoming the problems referred to above or a kind of video data method for pushing based on mobile terminal solved the problem at least in part and a kind of video data pusher based on mobile terminal accordingly.
In order to solve the problem, the embodiment of the present application discloses a kind of video data method for pushing based on mobile terminal, wherein, described mobile terminal has built-in media player object, the system-level server object preset, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect;
Described method comprises:
Pending video data is obtained via the media player object that described mobile terminal is built-in;
Call described system-level server object by described video data transmission to described DLNA DLNA server object;
Via described DLNA DLNA server object, described video data transmission is extremely carried out the digital media player DMP communicated to connect with current mobile terminal.
Preferably, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
Preferably, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
Preferably, describedly via described DLNA DLNA server object, described video data transmission to be comprised to the step of carrying out the digital media player DMP communicated to connect with current mobile terminal:
The connected digital media player DMP of present terminal is searched via described DLNA DLNA server object;
Found digital media player DMP is represented to user's display;
Receive the instruction that user is used to specify digital media player DMP;
To the digital media player DMP transmitting video data specified by described instruction.
Preferably, described video data comprises: mobile terminal local video data and network video data.
Preferably, when described video data is mobile terminal local video data, described DLNA DLNA serves and shares by carrying out http protocol to the absolute path of described mobile terminal local video data, and described mobile terminal local video data is shared to digital media player DMP.
Preferably, when described video data is network video data, described media player object obtains the uniform resource position mark URL of described network video data; Described uniform resource position mark URL is sent to described system-level server object by described media player object, and described system-level server object adopts broadcast mode described uniform resource position mark URL to be sent to described DLNA DLNA server object; Digital media player DMP obtains the network video data corresponding to described uniform resource position mark URL by described DLNA DLNA server object.
Meanwhile, disclosed herein as well is a kind of video data pusher based on mobile terminal, wherein, described mobile terminal has built-in media player object, the system-level server object preset, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect;
Described device comprises:
Acquisition module, obtains pending video data for the media player object built-in via described mobile terminal;
First transport module, calls described system-level server object by described video data transmission to described DLNA DLNA server object;
Second transport module, for the digital media player DMP described video data transmission extremely being carried out with current mobile terminal communicating to connect via described DLNA DLNA server object.
Preferably, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
Preferably, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
The embodiment of the present application comprises following advantage:
The transmission of video that mobile terminal is play by the media player object that mobile terminal is built-in by the embodiment of the present application is to system-level server object, by system-level server object by transmission of video to DLNA DLNA server object, by DLNA DLNA server object by transmission of video to television, greatly improved the viewing experience of user to the video playback of the conversion of large-size screen monitors by smaller screen;
No matter the video of mobile terminal playing is Internet video or local video, can realize DLNA DLNA service transmission by the method for the embodiment of the present application.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of video data method for pushing embodiment based on mobile terminal of the application;
Fig. 2 is the schematic diagram that in the embodiment of the present application, mobile terminal communicates with television terminal;
Fig. 3 is the schematic diagram that in the embodiment of the present application, mobile terminal sends video to television terminal by DLNA service;
Fig. 4 is the structured flowchart of a kind of video data pusher embodiment based on mobile terminal of the application.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
DLNA (DIGITALLIVINGNETWORKALLIANCE, DLNA), is intended to solve individual PC, consumer appliances, and mobile device interconnects interior wireless network and cable network.
DNLA product comprises: digital media server (DMS, DigitalMediaServer), digital media player (DMP, DigitalMediaPlayer);
Digital media server DMS: provide the acquisition of media file, recording, storage and the equipment as source, such as mobile terminal.
Digital media player DMP: can search and play or export the equipment of any media file provided by DMS, such as television terminal, family's theater etc.
Traditional DLNA service only processes the video resource that in local and other same local area network (LAN)s, DMS shares, such as, open a Yoqoo page, play certain video, because excellent cruel background server is not DMS, more impossible mobile phone of following is in same local area network (LAN), and DLNA agreement cannot access its video resource.Will realize pushing of Internet resources at present can only by other agreements, and cruel backstage as excellent in http protocol access obtains data, then completes broadcasting by certain protocol transmission to television.But excellent cruel backstage does not open for free, unless paid the cooperative relationship that certain expense reaches manufacturer, other video producer is like this equally, makes video push cause great limitation.
One of core idea of the embodiment of the present application is, the transmission of video play by mobile terminal by the media player object that mobile terminal is built-in is to system-level server object, by system-level server object by transmission of video to DLNA DLNA server object, by DLNA DLNA server object by transmission of video to television.
With reference to Fig. 1, show the flow chart of steps of a kind of video data method for pushing embodiment based on mobile terminal of the application, wherein, described mobile terminal has built-in media player object, the system-level server object preset, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect, and described method specifically can comprise the steps:
Step 101, obtains pending video data via the media player object that described mobile terminal is built-in;
Step 102, calls described system-level server object by described video data transmission to described DLNA DLNA server object;
Step 103, extremely carries out the digital media player DMP communicated to connect with current mobile terminal by described video data transmission via described DLNA DLNA server object.
After media player object is in preparation prepared state, media player object is utilized to carry out record to current video data, give system-level server object by video data, final system level server object passes to DLNA DLNA server object with the form of broadcast.
In the video playback normal process of Android mobile terminal, video playback could must realize through the built-in media player object of the mobile terminal system bottom; The resource such as video web page of third-party server, the player of the Webview used finally also will through the built-in media player object of the bottom.Thus in this application, by the relevant broadcasting link of the built-in media player object intercepting page video of the bottom, as URL, and then by DLNA service routine, this link is sent to digital media player DMP.
In a kind of preferred exemplary of the embodiment of the present application, described video data can comprise: mobile terminal local video data and network video data.Traditional DLNA service only processes the video resource that in local and other same local area network (LAN)s, DMS shares, and Internet resources can also be shared by the built-in media player object of the bottom by the application.
Media player object is the program under Android framework Framework layer, and particular location is as Framework layer Frameworks/base/media/java/android/media/.DLNA service is upper layer application service routine in the terminal, want the program of implementation framework Framework layer to communicate with upper layer application service routine to need to obtain context Context, and only have in framework Framework layer in system-level service Systemserver layer and possess context Context.Therefore can in system-level service Systemserver layer add-on system level server object, media player object binding system level server object obtains the context Context of system-level service Systemserver layer, realizes media player object and communicates with the striding course of DNLA.
In a kind of preferred exemplary of the embodiment of the present application, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
The step of add-on system level server object specifically can comprise: under framework Framework layer, set up system-level server object catalogue, this service catalogue comprises Android IDL AIDL (AndroidInterfaceDefInitionLanguage) file, and AIDL file has media player object to transmit the interface of data; Service catalogue also comprises the java file of system-level server object, and system-level server object is inherited aidl file and needed the interface realizing AIDL.
Media player object can by interprocess communication Binder mechanism binding system level server object, concrete steps can comprise: media player object obtains the basic interface Ibinder of system-level server object by service managerZ-HU ServiceManger, and then the interface obtained in the AIDL of system-level server object realization, complete the communication of player and system-level service.
In a kind of preferred exemplary of the embodiment of the present application, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
During start, linux kernel enters AndroidInit process after starting, and then starts other phase relation irrespective of size services by system-level service systemserver layer.In the embodiment of the present application, the start-up course of system-level server object is added on: in Frameworks/base/services/java/com/android/server/SystemS erver.java.
The initialization interface Init of interpolation is called in the startOtherService interface of system-level service systemserver layer, the interpolation to system-level server object is completed in this interface, and the transparent transmission of the context Context of system-level service systemserver layer.
In a kind of preferred exemplary of the embodiment of the present application, described step 103 specifically can comprise following sub-step:
Sub-step S11, searches the connected digital media player DMP of present terminal via described DLNA DLNA server object;
User to be searched under same local area network (LAN) by DLNA DLNA server object can the digital media player DMP of pushing video;
Sub-step S12, represents found digital media player DMP to user's display;
The digital media player DMP searched shows with list mode by DLNA DLNA server object, selects for user;
Sub-step S13, receives the instruction that user is used to specify digital media player DMP;
The instruction of DLNA DLNA server object user, selects the digital media player DMP that will push.
Sub-step S14, to the digital media player DMP transmitting video data specified by described instruction.
To the digital media player DMP transmitting video data that user specifies.
Traditional DLNA service needs to be integrated in third-party application, first local video resource is all shared, and after obtaining list related, realize the propelling movement of video, and be determine the data sharing of single file to a certain and generate respective labels Meta information in the embodiment of the present application, the ID as mobile terminal identifies;
In a kind of preferred exemplary of the embodiment of the present application, when described video data is mobile terminal local video data, described DLNA DLNA serves and shares by carrying out http protocol to the absolute path of described mobile terminal local video data, and described mobile terminal local video data is shared to digital media player DMP.
When described video data is network video data, described media player object obtains the uniform resource position mark URL of described network video data; Described uniform resource position mark URL is sent to described system-level server object by described media player object, and described system-level server object adopts broadcast mode described uniform resource position mark URL to be sent to described DLNA DLNA server object; Digital media player DMP obtains the network video data corresponding to described uniform resource position mark URL by described DLNA DLNA server object.
The classification of media player object not recording of video, the type of video is distinguished by DLNA DLNA server object, local resource is all absolute path, without uniform resource position mark URL network identities such as http, and the resource of third-party server is with uniform resource position mark URL network identity, DLNA DLNA server object is according to being absolute path or the classification distinguishing video resource with network identity.
For local resource, DLNA DLNA server object can realize data network according to the absolute path at video resource place to this resource and share, mobile terminal and digital media player DMP is allowed to access this resource and play, if Internet resources, then do not need to share, but need supplementary mobile terminal ID to identify, to complete transfer of data.
Reference Fig. 2 is the schematic diagram that in the embodiment of the present application, mobile terminal communicates with television terminal.
At television terminal when being in the state waiting for terminal searches multicast signal, mobile terminal to television terminal send can the search end command of communication terminal for searching for;
Terminal signaling is searched in the clean culture that television terminal sends the above-mentioned search end command of response to mobile terminal;
Mobile terminal receives clean culture and searches terminal signaling, and represents the television terminal that have sent clean culture search terminal signaling to user;
After choosing the television terminal that will communicate user, mobile terminal sends connection terminal signaling to being in the television terminal waiting for connection status;
Television terminal receives described connection terminal signaling, and the SOT state of termination of self is sent to mobile terminal;
The state of mobile terminal foundation television terminal is to television terminal transmitting video data;
Television terminal receiving video data is also play;
During video data transmission, mobile terminal and television terminal keep interaction mode to communicate.
Reference Fig. 3 is the schematic diagram that in the embodiment of the present application, mobile terminal sends video to television terminal by DLNA service.Mobile terminal is provided with the multi-screen interactive application program for the video of mobile terminal being shared to television terminal, mobile terminal has built-in media player object, the system-level server object preset, and, DLNA DLNA server object; Under mobile terminal and television terminal are in same LAN, television terminal has DLNA function;
Mobile terminal-opening, multi-screen interactive application program detects the switch whether opening multi-screen interactive program after receiving start broadcast, and multi-screen interactive program realizes the video of mobile terminal to share to television terminal.
If do not open the switch of multi-screen interactive program, then wait for that user opens;
If opened the switch of multi-screen interactive program, then open multi-screen interactive program;
After multi-screen interactive program is opened, the television terminal that around mobile terminal to search, DLNA program object can push;
When mobile terminal playing video, obtained the video data of current mobile terminal broadcasting by media player object;
When DLNA program object searches the television terminal that can push, the broadcast address of the video data obtained by media player by the Framework series of strata irrespective of size server object preset is sent to DLNA server object;
By DLNA DLNA server object, shared processing is carried out to video data;
Now, mobile terminal sends the need of the prompting being carried out to television terminal playing by video push to user;
Confirm to need by video push to television terminal user, and after choosing the television terminal needing to push, video data is pushed to television terminal by DLNA server object by mobile terminal;
Mobile terminal, in data-pushing way, can receive the instruction that television terminal sends, and the operational order of user;
When mobile terminal shuts down, stop transmission.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present application is necessary.
With reference to Fig. 4, show the structured flowchart of a kind of video data pusher embodiment based on mobile terminal of the application, wherein, described mobile terminal has built-in media player object, the system-level server object preset, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect;
Described specifically can comprise as lower module:
Acquisition module 401, obtains pending video data for the media player object built-in via described mobile terminal;
First transport module 402, calls described system-level server object by described video data transmission to described DLNA DLNA server object;
Second transport module 403, for the digital media player DMP described video data transmission extremely being carried out with current mobile terminal communicating to connect via described DLNA DLNA server object.
In a kind of preferred exemplary of the embodiment of the present application, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
In the embodiment of the present application, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
In a kind of preferred exemplary of the embodiment of the present application, described second transport module 403 comprises following submodule further:
Search submodule, for searching the digital media player DMP that present terminal is connected via described DLNA DLNA server object;
Represent submodule, for representing found digital media player DMP to user's display;
Receiving submodule, being used to specify the instruction of digital media player DMP for receiving user;
Given transmission submodule, to the digital media player DMP transmitting video data specified by described instruction.
In a kind of preferred exemplary of the embodiment of the present application, described video data comprises: mobile terminal local video data and network video data.
When described video data is mobile terminal local video data, described DLNA DLNA serves and shares by carrying out http protocol to the absolute path of described mobile terminal local video data, and described mobile terminal local video data is shared to digital media player DMP.
When described video data is network video data, described media player object obtains the uniform resource position mark URL of described network video data; Described uniform resource position mark URL is sent to described system-level server object by described media player object, and described system-level server object adopts broadcast mode described uniform resource position mark URL to be sent to described DLNA DLNA server object; Digital media player DMP obtains the network video data corresponding to described uniform resource position mark URL by described DLNA DLNA server object.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present application describes with reference to according to the flow chart of the method for the embodiment of the present application, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the embodiment of the present application scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
A kind of video data method for pushing based on mobile terminal above the application provided and a kind of video data pusher based on mobile terminal, be described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. based on a video data method for pushing for mobile terminal, it is characterized in that, described mobile terminal has built-in media player object, default system-level server object, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect;
Described method comprises:
Pending video data is obtained via the media player object that described mobile terminal is built-in;
Call described system-level server object by described video data transmission to described DLNA DLNA server object;
Via described DLNA DLNA server object, described video data transmission is extremely carried out the digital media player DMP communicated to connect with current mobile terminal.
2. method according to claim 1, it is characterized in that, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
3. method according to claim 2, is characterized in that, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
4. method according to claim 3, is characterized in that, describedly described video data transmission is comprised to the step of carrying out the digital media player DMP communicated to connect with current mobile terminal via described DLNA DLNA server object:
The connected digital media player DMP of present terminal is searched via described DLNA DLNA server object;
Found digital media player DMP is represented to user's display;
Receive the instruction that user is used to specify digital media player DMP;
To the digital media player DMP transmitting video data specified by described instruction.
5. method according to claim 4, is characterized in that, described video data comprises: mobile terminal local video data and network video data.
6. method according to claim 5, it is characterized in that, when described video data is mobile terminal local video data, described DLNA DLNA serves and shares by carrying out http protocol to the absolute path of described mobile terminal local video data, and described mobile terminal local video data is shared to digital media player DMP.
7. method according to claim 6, is characterized in that, when described video data is network video data, described media player object obtains the uniform resource position mark URL of described network video data; Described uniform resource position mark URL is sent to described system-level server object by described media player object, and described system-level server object adopts broadcast mode described uniform resource position mark URL to be sent to described DLNA DLNA server object; Digital media player DMP obtains the network video data corresponding to described uniform resource position mark URL by described DLNA DLNA server object.
8. based on a video data pusher for mobile terminal, it is characterized in that, described mobile terminal has built-in media player object, default system-level server object, and, DLNA DLNA server object; Described mobile terminal and digital media player DMP communicate to connect;
Described device comprises:
Acquisition module, obtains pending video data for the media player object built-in via described mobile terminal;
First transport module, calls described system-level server object by described video data transmission to described DLNA DLNA server object;
Second transport module, for the digital media player DMP described video data transmission extremely being carried out with current mobile terminal communicating to connect via described DLNA DLNA server object.
9. device according to claim 8, it is characterized in that, described default system-level server object is inherited Android IDL AIDL file, comprise media player object data transmission interface in described Android IDL AIDL file, described system-level server object realizes described media player object data transmission interface;
The media player object data transmission interface that described media player object realizes by adopting interprocess communication Binder mechanism to obtain described system-level server object, with the communication of described system-level service.
10. device according to claim 9, is characterized in that, described default system-level server object is provided with initialization interface Init, and mobile terminal, when starting, starts described system-level server object by described initialization interface Init.
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 true CN105430460A (en) 2016-03-23
CN105430460B 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)

Cited By (2)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011075017A1 (en) * 2009-12-15 2011-06-23 Telefonaktiebolaget L M Ericsson (Publ) Time-shifting of a live media stream
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103873951A (en) * 2012-12-17 2014-06-18 中兴通讯股份有限公司 Method and system for realizing adaptive playout of video streaming of digital family and related equipment
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device
CN104023261A (en) * 2013-03-01 2014-09-03 致伸科技股份有限公司 Digital media playing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011075017A1 (en) * 2009-12-15 2011-06-23 Telefonaktiebolaget L M Ericsson (Publ) Time-shifting of a live media stream
CN103873951A (en) * 2012-12-17 2014-06-18 中兴通讯股份有限公司 Method and system for realizing adaptive playout of video streaming of digital family and related equipment
CN104023261A (en) * 2013-03-01 2014-09-03 致伸科技股份有限公司 Digital media playing system
CN103686375A (en) * 2013-11-19 2014-03-26 乐视致新电子科技(天津)有限公司 Video sharing method and device
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser
CN104010231A (en) * 2014-04-30 2014-08-27 小米科技有限责任公司 Data synchronizing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴倩: "《Android安全机制解析与应用实践》", 31 May 2013, 机械工业出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835446A (en) * 2017-11-08 2018-03-23 青岛海信电器股份有限公司 Media state presents and control method and device
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

Also Published As

Publication number Publication date
CN105430460B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN102547443B (en) Resource sharing and interaction realizing method of multi-terminal system
CN102325144B (en) Method and system for interconnection between media equipment and multimedia equipment
CN1941899B (en) System and method for downloading contents
TWI669957B (en) Media projection method, media projection device, control terminal, and cloud server
CN101945252B (en) Cross-platform media system and implementation method thereof
CN103856607B (en) Video on mobile phone terminal is rendered to the method and system that video playback apparatus is play
US9883251B2 (en) Method and apparatus for managing connection between broadcast receiving device and another device connected by network
CN102739779B (en) A kind of digital home's exchange method based on DLNA, system and relevant device
CN103024526A (en) Multi-screen interaction system based on digital television set-top box
US8880695B2 (en) Information processing apparatus and information processing method
CN105430482A (en) Multi-screen interaction method and terminal equipment
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
CN103051624A (en) Method and system for transmitting shared media resources to intelligent terminal by mobile equipment
CN103533460A (en) Method, device, terminal and system for sharing television service
CN103546823A (en) Multi-screen interactive system on basis of local network and method for implementing multi-screen interactive system
CN104902295A (en) Intelligent TV business realization method, terminal device and system
CN102421027A (en) Program playing method and system
KR20130038192A (en) Content output system and codec information sharing method thereof
CN103974125A (en) Method and system for previewing and playing video streaming
CA3016063A1 (en) Companion device and primary device
CN105530536A (en) Method and device for providing media related information
CN101340541B (en) Content synchronizing method between television and intelligent apparatus
WO2012094432A1 (en) System and method for interfacing content playback devices with network sites to supplement content playback
WO2014190655A1 (en) Application synchronization method, application server and terminal
CN104081725A (en) Control system for playing a data stream on a receiving 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

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.

CP01 Change in the name or title of a patent holder