CN105554559A - Media projection method based on http - Google Patents

Media projection method based on http Download PDF

Info

Publication number
CN105554559A
CN105554559A CN201510630429.3A CN201510630429A CN105554559A CN 105554559 A CN105554559 A CN 105554559A CN 201510630429 A CN201510630429 A CN 201510630429A CN 105554559 A CN105554559 A CN 105554559A
Authority
CN
China
Prior art keywords
media
information
http
remote equipment
local
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.)
Pending
Application number
CN201510630429.3A
Other languages
Chinese (zh)
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.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike Technology 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 Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
Priority to CN201510630429.3A priority Critical patent/CN105554559A/en
Publication of CN105554559A publication Critical patent/CN105554559A/en
Pending legal-status Critical Current

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/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/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/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/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a media projection method based on the http. The media projection method based on the http comprises the steps that a remote equipment side binds a designated UDP port and analyzes equipment information according to the request of a local equipment side; equipment required to be connected is selected on the local equipment side to transmit a connection request, and the remote equipment side successfully connects and then the local equipment side starts a local http server; a media file required to be projected and shared is selected, information of the media file is acquired and transmitted to the remote equipment side, and a control progress interface is popped out; the remote equipment side receives the information and then organizes an http request URI and initiates the http request through a player, and the band movement position is 0; the http server of the local equipment side analyzes media information of local media to be played and organizes http response header information to reply to the remote equipment side; and the player of the remote equipment side receives the media information and then decodes and plays the media information. The beneficial effects of the media projection method based on the http reside in a relatively simple multimedia interactive system, and playing of media stream is realized through the http.

Description

A kind of media projection method based on http
Technical field
The invention belongs to the media projection field of family multi-media equipment, particularly a kind of media projection system based on http.
Background technology
The projection having support media in present multi-screen interactive field contains AirPlay, the projective technique that Miracast, DLNA etc. are relatively more conventional and agreement.AirPlay is the nonopen protocol architecture of apple, cracks system more time and Technical investment.Miracast, based on wifi direct-connecting technology, operate cumbersome, and Consumer's Experience is very bad.DLNA develops more complicated.Realize general media projection function, if more simple media projection agreement can be had, then can realize media multi-screen interactive function faster.
Summary of the invention
For the problems referred to above that above-mentioned prior art exists, the present invention mainly solves following problem: 1. realize remote equipment and local equipment information interaction; 2. realize remote player and can play local http-server media file; 3. the local control of realization and Long-distance Control synchronously, realize the rang-accept of http, are achieved through the following technical solutions.
Based on a media projection method of http, it is characterized in that, comprising:
The binding of S1, remote equipment end specifies udp port according to the request of local device end, and the scanning carrying out facility information is resolved, and Returning equipment information and exclusive identification code are to local device end;
S2, the equipment selecting needs to connect on local device end send the connection request of subsidiary exclusive identification code, and remote equipment end determines whether accept connection after judging unique identifier, after successful connection, local device end starts local http-server;
S3, the media file selecting needs projection to share on local device end, get the information of this media file, be sent to remote equipment end, and eject control progress interface;
After S4, remote equipment termination receive described information, organize http request URI to initiate http request by player, and Tape movement position is 0;
The http-server of S5, local device end parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After the player of S6, remote equipment end receives described media information, httpresponse header information and files in stream media, carry out decoding and play.
The scanning that local device termination receives remote equipment end is replied, then it is for you to choose to be shown as list of devices.
Described information comprises local path and medium type, and the http request URI of local device end.
Described httpresponse header information comprises stream media information.
Described method comprises the method for media progress monitoring, comprising:
S11, progress monitoring interface by local device end, the optional position dragging to Media playing course generates control information, and described control information is sent to remote equipment end;
After S12, remote equipment termination receive described control information, by organizing http request URI to initiate http request by player, Tape movement position is set to the Data Position that user drags;
S13, local http-server parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After S14, remote equipment player receive described media information and httpresponse header information, carry out decoding and play.
Beneficial effect of the present invention is, achieves the comparatively simple multimedia interactive system of one, by the broadcasting of http protocol realization Media Stream.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of media projection method based on http of the present invention.
Fig. 2 is that the remote equipment of a kind of specific embodiment of Fig. 1 finds to connect schematic flow sheet.
Fig. 3 is the FB(flow block) of the media projection method of a kind of specific embodiment of Fig. 1.
Fig. 4 is the method flow schematic diagram of the media progress monitoring of Fig. 1.
Fig. 5 is the media progress dragging method schematic diagram of a specific embodiment of Fig. 4.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
As shown in Figure 1, Fig. 1 is a kind of media projection method based on http, comprising:
The binding of S1, remote equipment end specifies udp port according to the request of local device end, and the scanning carrying out facility information is resolved, and Returning equipment information and exclusive identification code are to local device end;
S2, the equipment selecting needs to connect on local device end send the connection request of subsidiary exclusive identification code, and remote equipment end determines whether accept connection after judging unique identifier, after successful connection, local device end starts local http-server;
S3, the media file selecting needs projection to share on local device end, get local path and the medium type of this media file, and the information of the http request URI of local device end, is sent to remote equipment end, and ejects control progress interface;
After S4, remote equipment termination receive described information, organize http request URI to initiate http request by player, and Tape movement position is 0;
The http-server of S5, local device end parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After the player of S6, remote equipment end receives described media information, httpresponse header information and files in stream media, carry out decoding and play.
As shown in Figures 2 and 3, Fig. 2 and Fig. 3 is device discovery binding and the media projection method schematic diagram of a specific embodiment of Fig. 1, such as we will realize VIDEO PROJECTION function in Android phone and Android Set Top Box now, Android phone is as local device end, Android Set Top Box is as remote equipment end, Android phone is connected by same WIFI, or router connects.
1.Android Set Top Box starts monitors UDP device scan port 8888, receives the scan function of Android phone.
2.Android Set Top Box receives the scan request of Android phone, returns Android Set Top Box title, IP, wait for connectivity port, and unique 32 is that character string is as exclusive identification code.
The IP that 3.Android mobile phone is returned by Android Set Top Box and wait for connectivity port and exclusive identification code, be connected to Android Set Top Box, Android phone end starts local http-server and monitors.
4. user selects the video file needing projection, and Android phone end obtains this file local path, http request URI, and medium type is sent to Android Set Top Box.
5.Android Set Top Box is according to media path and medium type, and Android phone http-server request URI reorganizes URI, sends this http request to mobile phone http-server by player.
After 6.Android mobile phone http player receives request, after receiving shift information, organize http to reply head, and bring the Video stream information of assigned address to reply to Android Set Top Box.
After 7.Android Set Top Box receives Video stream information, start decoding and play.
8. user is when Android phone end drags playing progress bar, and the position that Android phone end obtains movement is sent to Android set top box side, and Android Set Top Box initiates playing request again.
As shown in Figure 3, Fig. 3 is the method for the media progress monitoring in a specific embodiment of the present invention:
S11, progress monitoring interface by local device end, the optional position dragging to Media playing course generates control information, and described control information is sent to remote equipment end;
After S12, remote equipment termination receive described control information, by organizing http request URI to initiate http request by player, Tape movement position is set to the Data Position that user drags;
S13, local http-server parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After S14, remote equipment player receive described media information, carry out decoding and play.
Composition graphs 4 and Fig. 5, realize video in Android phone and Android Set Top Box and drag controlling functions, Android phone is as local device end, Android Set Top Box is as remote equipment end, control inerface in Android phone drags playing progress bar, obtain current schedules the information produced by progress bar and be sent to Android Set Top Box adjustment playing progress rate, Android Set Top Box receives after information according to current progress, reorganize URI to connect, and send playing progress rate to Android phone move position, finally by Android phone end being organized http reply head, send video and flow to decoding broadcasting in Android Set Top Box.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.

Claims (5)

1., based on a media projection method of http, it is characterized in that, comprising:
The binding of S1, remote equipment end specifies udp port according to the request of local device end, and the scanning carrying out facility information is resolved, and Returning equipment information and exclusive identification code are to local device end;
S2, the equipment selecting needs to connect on local device end send the connection request of subsidiary exclusive identification code, and remote equipment end determines whether accept connection after judging unique identifier, after successful connection, local device end starts local http-server;
S3, the media file selecting needs projection to share on local device end, get the information of this media file, be sent to remote equipment end, and eject control progress interface;
After S4, remote equipment termination receive described information, organize http request URI to initiate http request by player, and Tape movement position is 0;
The http-server of S5, local device end parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After the player of S6, remote equipment end receives described media information, httpresponse header information and files in stream media, carry out decoding and play.
2. method according to claim 1, is characterized in that, the scanning that local device termination receives remote equipment end is replied, then it is for you to choose to be shown as list of devices.
3. method according to claim 1, is characterized in that, the information of described media file comprises local path and medium type, and the http request URI of local device end.
4. method according to claim 1, is characterized in that, described httpresponse header information comprises stream media information.
5. method according to claim 1, is characterized in that, described method comprises the method for media progress monitoring, comprising:
S11, progress monitoring interface by local device end, the optional position dragging to Media playing course generates control information, and described control information is sent to remote equipment end;
After S12, remote equipment termination receive described control information, by organizing http request URI to initiate http request by player, Tape movement position is set to the Data Position that user drags;
S13, local http-server parse to play local media file path, shift position media information, organize httpresponse header information to be returned to remote equipment end;
After S14, remote equipment player receive described media information and httpresponse header information, carry out decoding and play.
CN201510630429.3A 2015-09-29 2015-09-29 Media projection method based on http Pending CN105554559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510630429.3A CN105554559A (en) 2015-09-29 2015-09-29 Media projection method based on http

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510630429.3A CN105554559A (en) 2015-09-29 2015-09-29 Media projection method based on http

Publications (1)

Publication Number Publication Date
CN105554559A true CN105554559A (en) 2016-05-04

Family

ID=55833461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510630429.3A Pending CN105554559A (en) 2015-09-29 2015-09-29 Media projection method based on http

Country Status (1)

Country Link
CN (1) CN105554559A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571979A (en) * 2012-02-10 2012-07-11 上海视畅信息科技有限公司 Multi-screen interactive equipment and binding method thereof
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103139651A (en) * 2013-02-26 2013-06-05 王楚云 Method and system of video switching display
CN103248939A (en) * 2012-02-03 2013-08-14 海尔集团公司 Method and system for achieving synchronous display of multiple screens
CN103517110A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-screen interaction communication system and method
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN104540011A (en) * 2015-01-20 2015-04-22 成都卓影科技有限公司 Multi-screen interaction system in wide area network
CN104768037A (en) * 2014-01-08 2015-07-08 中国科学院声学研究所 Video-on-command rapid switching device and method among screens
CN104811781A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Video across-screen playing method and video across-screen playing device
JP2015162040A (en) * 2014-02-27 2015-09-07 シャープ株式会社 Electronic apparatus

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248939A (en) * 2012-02-03 2013-08-14 海尔集团公司 Method and system for achieving synchronous display of multiple screens
CN102571979A (en) * 2012-02-10 2012-07-11 上海视畅信息科技有限公司 Multi-screen interactive equipment and binding method thereof
CN103517110A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Multi-screen interaction communication system and method
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103139651A (en) * 2013-02-26 2013-06-05 王楚云 Method and system of video switching display
CN104519397A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Audio and video screen-projection playing method, set-top box and terminal device
CN103702238A (en) * 2013-12-23 2014-04-02 华为终端有限公司 Multi-screen video sharing method, terminals and server
CN104768037A (en) * 2014-01-08 2015-07-08 中国科学院声学研究所 Video-on-command rapid switching device and method among screens
CN104811781A (en) * 2014-01-24 2015-07-29 贝壳网际(北京)安全技术有限公司 Video across-screen playing method and video across-screen playing device
JP2015162040A (en) * 2014-02-27 2015-09-07 シャープ株式会社 Electronic apparatus
CN104540011A (en) * 2015-01-20 2015-04-22 成都卓影科技有限公司 Multi-screen interaction system in wide area network

Similar Documents

Publication Publication Date Title
KR102284721B1 (en) Method and apparatus for displaying application data in wireless communication system
JP6349356B2 (en) Multi-screen interaction method and system
US20060195884A1 (en) Interactive multichannel data distribution system
KR102540459B1 (en) Method and Device for media streaming between server and client using RTP/RTSP standard protocol
US20140139735A1 (en) Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
US8806048B2 (en) Method and apparatus for transmitting and receiving streaming data based on real-time streaming protocol (RTSP) session
US8607284B2 (en) Method of outputting video content from a digital media server to a digital media renderer and related media sharing system
WO2012109821A1 (en) Method, system for sharing steaming media resources, and device with digital living network alliance (dlna) function
US20050286417A1 (en) Device and method of controlling and providing content over a network
KR20130005873A (en) Method and apparatus for receiving contents in broadcast system
WO2015035742A1 (en) Method, terminal and system for audio and video sharing of digital television
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN104427400A (en) Streaming media transmission method and system, and streaming media server
CN101848205A (en) RTSP based stream media playing method and system thereof on mobile terminal
WO2010019013A3 (en) Method and apparatus for playing back scene using universal plug and play
KR20150047459A (en) Multi-media file emulation device
CN106713361A (en) Multi-terminal multi-protocol streaming media release method
JP5552171B2 (en) Live media stream time shift
CN111479122B (en) Video playing method, device, equipment and storage medium
US20130132579A1 (en) Method and apparatus for random access to multimedia content in wireless communication system
US20120017245A1 (en) Method and system for providing programming guide and recording information via an ip multimedia gateway
TWI431994B (en) Method and system for playing multimedia file and computer program product using the method
WO2010057391A1 (en) Control method, equipment and system for playing stream media
US20130086222A1 (en) Content processing system, server device, and content reproducing device
WO2014171385A1 (en) Server device, content provision method, and computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504

WD01 Invention patent application deemed withdrawn after publication