CN101741808B - Network real-time multimedia transmission method and server - Google Patents

Network real-time multimedia transmission method and server Download PDF

Info

Publication number
CN101741808B
CN101741808B CN200810171898.3A CN200810171898A CN101741808B CN 101741808 B CN101741808 B CN 101741808B CN 200810171898 A CN200810171898 A CN 200810171898A CN 101741808 B CN101741808 B CN 101741808B
Authority
CN
China
Prior art keywords
client
real
file header
time multimedia
virtual file
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.)
Expired - Fee Related
Application number
CN200810171898.3A
Other languages
Chinese (zh)
Other versions
CN101741808A (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.)
Wistron Corp
Original Assignee
Wistron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wistron Corp filed Critical Wistron Corp
Priority to CN200810171898.3A priority Critical patent/CN101741808B/en
Publication of CN101741808A publication Critical patent/CN101741808A/en
Application granted granted Critical
Publication of CN101741808B publication Critical patent/CN101741808B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to network real-time multimedia transmission method and server.Specifically, a kind of network real-time multimedia transmission method comprises the steps of and obtains a real-time multimedia stream from a video-unit.Transmit a virtual file header to a client.After transmission virtual file header to client, real-time multimedia stream, to client, so that client is according to virtual file header, is considered as a file and plays by transmission real-time multimedia stream.The invention enables client to be not required in advance and playing program is installed, i.e. can play real-time multimedia stream.

Description

Network real-time multimedia transmission method and server
Technical field
A kind of method that the present invention relates to digital information transmission, and a kind of method particularly relating to data switching networks.
Background technology
During it is said that in general, be intended to appreciate multimedia video by network, multimedia video file need to be converted to multimedia series flow (Streaming), to be sent to client by network.Furthermore, it is understood that multimedia series flow is mainly used in real time in the audio-visual broadcasting of (live (OnLive)) and non real-time (program request (OnDemand)).Wherein, if during real-time audio-video to be play, it is only capable of applying RTP crossfire (real-time protocol (RTP) crossfire, RealTimeProtocolStreaming) to play.But, different RTP crossfires need to install different playing programs in advance, and causes the inconvenience in use.
From the foregoing, it will be observed that need a kind of network real-time multimedia transmission method so that client is not required to install in advance playing program, i.e. can play real-time multimedia stream.
Summary of the invention
Therefore, a technology type of the present invention is a kind of network real-time multimedia transmission method, by transmitting a virtual file header to after client, just starts to transmit real-time multimedia stream so that real-time multimedia stream is considered as a file and plays by client.
According to one embodiment of the invention, a kind of network real-time multimedia transmission method comprises the steps of
(1) real-time multimedia stream is obtained from a video-unit.
(2) virtual file header is transmitted to a client.
(3) after transmission virtual file header to client, real-time multimedia stream, to client, so that client is according to virtual file header, is considered as a file and plays by transmission real-time multimedia stream.
According to another embodiment of the present invention, a kind of server comprises a crossfire acquirement device, a codec, a setting apparatus, a file header conveyer and a string streaming device.Crossfire obtains device in order to obtain one first multimedia series flow from a video-unit.Codec in order to be converted to one second multimedia series flow that file format is a preset format by the first multimedia series flow.Setting apparatus in order to set the format fields of a virtual file header according to preset format.File header conveyer is in order to transmit virtual file header to client.Crossfire conveyer, in order to transmit virtual file header to after client, transmits the second multimedia series flow to client, thereby makes client according to the format fields of virtual file header, the second multimedia series flow is considered as the file that file format is preset format and plays.
The invention enables client to be not required in advance and playing program is installed, i.e. can play real-time multimedia stream.
Accompanying drawing explanation
For the above and other purpose of the present invention, feature, advantage can be become apparent with embodiment, the detailed description of appended accompanying drawing is as follows:
Fig. 1 illustrates the flow chart of a kind of network real-time multimedia transmission method according to one embodiment of the invention.
Fig. 2 illustrates the functional-block diagram of a kind of server according to another embodiment of the present invention.
Fig. 3 illustrates an embodiment of delivery module 240 in Fig. 2.
Primary clustering symbol description:
100: network real-time multimedia transmission method 240: delivery module
102~112: step 241: file header conveyer
200: server 242: crossfire conveyer
210: crossfire obtains device 243: stop conveyer
220: codec 244: resume file header device
230: setting apparatus 245: re-transmitter
231: file size setting apparatus 300: client
400: video-unit
Detailed description of the invention
With reference to Fig. 1, it illustrates the flow chart of a kind of network real-time multimedia transmission method according to one embodiment of the invention.Network real-time multimedia transmission method 100, by transmitting a virtual file header to after client, just starts to transmit real-time multimedia stream so that client is according to virtual file header, and real-time multimedia stream is considered as a file and plays.Network real-time multimedia transmission method 100 comprises the steps of
(1) real-time multimedia stream (step 102) is obtained from a video-unit.
(2) virtual file header is transmitted to a client (step 104).
(3) after transmission virtual file header to client, real-time multimedia stream, to client, so that client is according to virtual file header, is considered as a file and plays (step 106) by transmission real-time multimedia stream.
Wherein, network real-time multimedia transmission method 100 can be put into practice at Java media framework (JavaMediaFramework, JMF) or on other multimedia interfaces, and video-unit can be web camera (webcam) or other video-units compatible with multimedia interface.Additionally, network real-time multimedia transmission method 100 can pass through HTTP (HypertextTransferProtocol, HTTP) transmits real-time multimedia stream to client.Consequently, it is possible to network real-time multimedia transmission method 100 only needs i.e. to be can play real-time multimedia stream by browser.
Additionally, virtual file header can comprise a document size information.Client, after receiving virtual file header, just plays real-time multimedia stream according to document size information.Furthermore, it is understood that client is after receiving virtual file header, just configure suitable relief area (buffer) according to document size information, use for when playing real-time multimedia stream.In practice, can be according to the time span of client real-time multimedia stream to be play, and the file size recorded in enactment document size information.If during the time span of uncertain client real-time multimedia stream to be play, the file size that document size information is recorded can being set as maximum, and make client can play real-time multimedia stream for a long time.
After real-time multimedia stream reaches the file size that document size information is recorded, client can be considered as its file download to be play and complete.Therefore, if client to be made continues to play real-time multimedia stream, network real-time multimedia transmission method 100 needs another file header of anticipatory staging so that client is considered as playing another file.Therefore, network real-time multimedia transmission method 100 can comprise:
(4) after real-time multimedia stream reaches the file size that document size information is recorded, stopping transmission real-time multimedia stream to client (step 108).
(5) stopping transmitting real-time multimedia stream to after client, transmitting one and resume file header to client (step 110).
(6) resume file header to after client in transmission, continue to transmit real-time multimedia stream to client, thereby make client according to resuming file header, the real-time multimedia stream continuing transmission is considered as one and resumes file and play (step 112).
Consequently, it is possible to after real-time multimedia stream reaches the file size that document size information is recorded, client can be made to be considered as playing another file and continue to play real-time multimedia stream.
Additionally, the format information of real-time multimedia stream can be included in virtual file header by network real-time multimedia transmission method 100, and client is made to play real-time multimedia stream according to this format information.Furthermore, it is understood that first obtain a format setting signal from a user interface.Then according to format setting signal, the format fields of virtual file header is set.Consequently, it is possible to client can be made according to the format fields of virtual file header, play real-time multimedia stream.
It addition, network real-time multimedia transmission method 100 also first can set the form of its real-time multimedia stream transmitted to video-unit.In practice, before obtaining real-time multimedia stream, make video-unit according to from the format setting signal acquired by user interface, it is provided that real-time multimedia stream.Consequently, it is possible to user can be by the form of the real-time multimedia stream of user interface setting video-unit transmission.
With reference to Fig. 2, it illustrates the functional-block diagram of a kind of server according to another embodiment of the present invention.Server 200 can anticipatory staging one virtual file header to client 300, and make client 300 real-time multimedia stream that next server 200 is transmitted are considered as a file and play.Wherein, server 200 can be put into practice by Java media framework or other multimedia interfaces.Furthermore, it is understood that server 200 comprises a crossfire obtains device 210, codec 220, setting apparatus 230 and a delivery module 240.Crossfire obtains device 210 in order to obtain one first multimedia series flow from a video-unit 400.Wherein, video-unit 400 can be a web camera, and video-unit 400 can directly be connected with server 200 or is connected with server 200 by network.Codec 220 in order to be converted to one second multimedia series flow that file format is a preset format by the first multimedia series flow.Setting apparatus 230 in order to set the format fields of a virtual file header according to preset format.Delivery module 240 is in order to transmit virtual file header and the second multimedia series flow to client 300.
With reference to Fig. 3, it illustrates an embodiment of delivery module 240 in Fig. 2.Furthermore, it is understood that delivery module 240 comprises a file header conveyer 241 and a string streaming device 242.File header conveyer 241 is in order to transmit virtual file header to client 300.Crossfire conveyer 242 is in order to, after transmission virtual file header to client 300, to transmit the second multimedia series flow to client 300.Wherein, crossfire conveyer 242 can transmit the second multimedia series flow to client 300 by HTTP.Consequently, it is possible to client 300 is according to the format fields of virtual file header, the second multimedia series flow is considered as the file that file format is preset format and plays.Additionally, due to transmit the second multimedia series flow to client 300 by HTTP, therefore client 300 i.e. can play the second multimedia series flow with browser, without additionally mounted playout software.
Additionally, virtual file header can comprise a file size field, and make client 300 after receiving virtual file header, play the second multimedia series flow according to the file size field of virtual file header.Therefore, with reference to Fig. 2, setting apparatus 230 can comprise a file size setting apparatus 231, in order to set the file size field of virtual file header according to a virtual file size.Client 300, after receiving virtual file header, plays the second multimedia series flow according to the file size field of virtual file header.Furthermore, it is understood that client 300 is after receiving virtual file header, suitable relief area can be configured according to the file size field of virtual file header, use for when playing the second multimedia series flow.In practice, file size setting apparatus 231 can be according to the time span of client 300 real-time multimedia stream to be play, and the file size recorded in enactment document size information.If during the time span of uncertain client 300 real-time multimedia stream to be play, the file size that document size information is recorded can be set as maximum by file size setting apparatus 231, and makes client 300 can play real-time multimedia stream for a long time.
Additionally, delivery module 240 can transmit another file header to client 300, and make client 300 the second multimedia series flow next transmitted are considered as another file and play after the second multimedia series flow reaches virtual file size.With reference to Fig. 3, delivery module 240 can comprise a stopping conveyer 243, and resume file header device 244 and a re-transmitter 245.Stopping conveyer 243, in order to after the second multimedia series flow reaches virtual file size, makes crossfire conveyer 242 stop transmitting the second multimedia series flow to client 300.Resume file header device 244 in order to, after crossfire conveyer 242 stopping transmission real-time multimedia stream to client 300, to transmit one and to resume file header to client 300.Re-transmitter 245, in order to resume file header to after client 300 in transmission, continues to transmit the second multimedia series flow to client 300.Consequently, it is possible to client 300 is according to resuming file header, the second multimedia series flow continuing to transmit is considered as one and resumes file and play.
Although the present invention is open as above with a preferred embodiment; but it is not limited to the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; should be used for a variety of modifications and variations, therefore protection scope of the present invention should be depending on being as the criterion that appending claims scope is defined.

Claims (4)

1. a network real-time multimedia transmission method, including:
A real-time multimedia stream is obtained from a video-unit;
Transmit a virtual file header to a client;And
After transmitting described virtual file header extremely described client, transmit described real-time multimedia stream extremely described client, so that described client is according to described virtual file header, described real-time multimedia stream is considered as a file and plays;
Wherein, transmitting described real-time multimedia stream to described client is to pass through HTTP;And
Wherein, described network real-time multimedia transmission method only needs i.e. to be can play described real-time multimedia stream by browser;
Wherein said virtual file header includes a document size information, thereby makes described client after receiving described virtual file header, configures suitable relief area according to described document size information for playing described real-time multimedia stream;
Wherein, described client is not required to install in advance playing program;
Wherein, described method also includes:
After described real-time multimedia stream reaches the file size that described document size information is recorded, stop transmitting described real-time multimedia stream to described client;
After stopping transmitting described real-time multimedia stream extremely described client, transmit one and resume file header to described client;And
Resume file header described in transmit to after described client, continue to transmit described real-time multimedia stream to described client, thereby make described client according to described in resume file header, the described real-time multimedia stream continuing transmission is considered as one and resumes file and play.
2. network real-time multimedia transmission method as claimed in claim 1, also includes:
A format setting signal is obtained from a user interface;And
According to described format setting signal, set the format fields of described virtual file header, so that described client is according to the format fields of described virtual file header, play described real-time multimedia stream.
3. network real-time multimedia transmission method as claimed in claim 1, also includes:
A format setting signal is obtained from a user interface;And
Before obtaining described real-time multimedia stream, make described video-unit according to described format setting signal, it is provided that described real-time multimedia stream.
4. a server, including:
One crossfire obtains device, in order to obtain one first multimedia series flow from a video-unit;
One codec, in order to be converted to one second multimedia series flow that file format is a preset format by described first multimedia series flow;
One setting apparatus, in order to set the format fields of a virtual file header according to described preset format;
One file header conveyer, in order to transmit described virtual file header to client;And
A string streaming device, in order to after transmitting described virtual file header extremely described client, transmit described second multimedia series flow to described client, thereby make described client according to the format fields of described virtual file header, described second multimedia series flow is considered as the file that file format is described preset format and plays;
Wherein, described crossfire conveyer transmits described second multimedia series flow to described client by HTTP;And
Wherein, described client browser i.e. can play described second multimedia series flow;
Described setting apparatus includes a file size setting apparatus, in order to set the file size field of described virtual file header according to a virtual file size, thereby make described client after receiving described virtual file header, configure suitable relief area according to the file size field of described virtual file header for playing described second multimedia series flow;
Wherein, described client is not required to install in advance playing program;
Wherein, described server also includes:
One stops conveyer, in order to after the second multimedia series flow reaches described virtual file size, makes described crossfire conveyer stop transmitting described second multimedia series flow to described client;
One resumes file header device, in order to, after described crossfire conveyer stops transmitting described second multimedia series flow extremely described client, to transmit one and to resume file header to described client;And
One re-transmitter, in order to described resume file header device transmit described in resume file header to after described client, continue to transmit described second multimedia series flow to described client, thereby make described client according to described in resume file header, described second multimedia series flow continuing to transmit is considered as one and resumes file and play.
CN200810171898.3A 2008-11-17 2008-11-17 Network real-time multimedia transmission method and server Expired - Fee Related CN101741808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810171898.3A CN101741808B (en) 2008-11-17 2008-11-17 Network real-time multimedia transmission method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810171898.3A CN101741808B (en) 2008-11-17 2008-11-17 Network real-time multimedia transmission method and server

Publications (2)

Publication Number Publication Date
CN101741808A CN101741808A (en) 2010-06-16
CN101741808B true CN101741808B (en) 2016-08-03

Family

ID=42464703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810171898.3A Expired - Fee Related CN101741808B (en) 2008-11-17 2008-11-17 Network real-time multimedia transmission method and server

Country Status (1)

Country Link
CN (1) CN101741808B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438031B (en) 2011-03-11 2015-06-10 奇智软件(北京)有限公司 Transmission resuming downloading method and system
DE102013018624A1 (en) * 2013-11-06 2015-05-07 Unify Gmbh & Co. Kg A method for the secure and dynamic reloading of additional software from a WebRTC server to a WebRTC client

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064669A (en) * 2006-04-29 2007-10-31 互联天下科技发展(深圳)有限公司 Network real-time playing multimedia data method
CN101296236B (en) * 2008-06-12 2011-06-08 北京中星微电子有限公司 Method, system and data client terminal for multi-user real-time access to multimedia data

Also Published As

Publication number Publication date
CN101741808A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN102263959B (en) Direct broadcast transfer method and system
US8745256B2 (en) Method and system for multimedia audio video transfer
WO2011112003A2 (en) Method and apparatus for providing broadcast content and system using the same
CN102130958A (en) Method and system for video live broadcasting in small file slice mode based on hypertext transport protocol (HTTP)
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
KR20140004131A (en) Apparatus and method for providing an application service in a broadcast system
TWI577186B (en) Rendering time control
TW201828709A (en) Detecting and signaling new initialization segments during manifest-file-free media streaming
JPWO2016174960A1 (en) Reception device, transmission device, and data processing method
WO2017038353A1 (en) Receiving device, transmitting device, and data processing method
CN101529808B (en) Method for indicating a service interruption source
CN101800894B (en) Method and system for converting and transmitting multimedia video and audio
TWI531219B (en) A method and system for transferring real-time audio/video stream
CN101729755B (en) Multimedia terminal
CN101741808B (en) Network real-time multimedia transmission method and server
KR102138075B1 (en) Method and apparatus for transceiving data packet for multimedia data in variable size
Timmerer et al. Over-the-top content delivery: State of the art and challenges ahead
CN101188733A (en) A home network multimedia access system
WO2010108344A1 (en) System and method for sharing multimedia broadcasting program
WO2022142481A1 (en) Audio/video data processing method, livestreaming apparatus, electronic device, and storage medium
WO2016090912A1 (en) Method, device, terminal and system for generating and playing live video
KR20160036924A (en) System for device independent live streaming
JP2009290868A (en) Simplified transmission method of signal flow between transmitter and electronic device
TWI383638B (en) Real-time multimedia streaming transmitting method and server thereof
JP5174381B2 (en) NETWORK RELAY DEVICE, CONTENT REPRODUCTION DEVICE, NETWORK RELAY METHOD, CONTENT REPRODUCTION SYSTEM, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160803

Termination date: 20201117

CF01 Termination of patent right due to non-payment of annual fee