CN101540756A - Method, system and device for random play and data transmission based on progressive streaming transport - Google Patents

Method, system and device for random play and data transmission based on progressive streaming transport Download PDF

Info

Publication number
CN101540756A
CN101540756A CN200810102172A CN200810102172A CN101540756A CN 101540756 A CN101540756 A CN 101540756A CN 200810102172 A CN200810102172 A CN 200810102172A CN 200810102172 A CN200810102172 A CN 200810102172A CN 101540756 A CN101540756 A CN 101540756A
Authority
CN
China
Prior art keywords
data segment
sign
server
multimedia file
request
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
CN200810102172A
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN200810102172A priority Critical patent/CN101540756A/en
Publication of CN101540756A publication Critical patent/CN101540756A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for random play based on progressive streaming transport. A client issues a request for random play comprising data segment identification to a server, and the data segment identification corresponds to one data segment in a plurality of data segments which are formed by dividing a multimedia file; and the client receives and plays a data segment corresponding to data segment identification transmitted by the server based on a progressive streaming transport mode. The method realizes the progress of random play based on the progressive streaming transport. The invention also discloses a method for data transmission based on the progressive streaming transport, a system for random play based on the progressive streaming transport, a server and a client.

Description

Shuffle and data transmission method for uplink, system and the device of progressive streaming transmission
Technical field
The present invention relates to the data transmission technology of the communications field, relate in particular to a kind of shuffle method, data transmission method for uplink, system and device based on the progressive streaming transmission.
Background technology
Streaming Media is meant and adopts the multimedia file of streaming media transmission technique by Network Transmission, and streaming media transmission technique is a kind of time-based continuous Real-time Transmission, and what its characteristics were network data transmission and client terminal playing can Parallel Implementation.The realization key point of streaming media transmission technique is stream transmission, it with continuous sound, video multimedia document flow after overcompression and special encoding process, the stream file of specific protocol is followed in generation, these stream files by server end when client transmits continuously, needn't wait whole file all to download finishes, and only need just can play continuously through the startup time delay of seconds or tens of seconds, the remainder file data of Xia Zaiing can not continue to download when playing.
Realize that stream transmission mainly contains two kinds of methods: progressive streaming transmission (progressive streaming) and real-time streaming transmission (Real-time streaming).
The rate-matched that the real-time streaming transmission needs assurance media signal bandwidth to be connected with network can be watched multimedia file in real time.Real-time streaming transmission needs special-purpose streaming media server and host-host protocol, and for demand (telecommunication) service, the user can F.F. or retreated the shuffle multimedia file.The real-time streaming transmission generally is real-time transmission, is fit to live event, as relay live, give lessons in real time etc.But, the real-time streaming transmission needs specific server support, as Windows Media Server, Real Server and QuicktimeStreaming Server etc., these servers can be used for realizing the control to the multimedia file higher level, thereby be provided with, manage more complicated than standard http server, need the special networks agreement, as real-time host-host protocol (RTP and RTCP), real-time streaming protocol (Real Time Streaming Protocol, RTSP) and application layer protocol HTTP etc.In addition, real-time streaming transmission must coupling connect bandwidth, this means that in the lower JA(junction ambient) of bandwidth image, sound quality are relatively poor, and occurs problems such as information dropout, network congestion easily.
The progressive streaming transmission is meant the progressive download mode, and the user is online when downloading multimedia file watches, and can not make corresponding adjustment according to user's connection speed during the transmission.The progressive streaming transmission utilizes the http server of standard just can send multimedia file, does not also need other special agreements.The progressive streaming transmission is fit to high-quality short-movie section, because the part of file before broadcast is harmless the download, so this method has guaranteed the final mass that sound, video data are play, the progressive streaming file is placed among the HTTP or ftp server of standard simultaneously, is easy to management.But in transmission sometime, the user can only the progressive download stream file, and can not download at random and play multimedia files in arbitrary portion.
Summary of the invention
The embodiment of the invention provides a kind of method that sends based on the shuffle and the data of progressive streaming transmission, based on the system and the client and server of the shuffle of progressive streaming transmission, with solve exist in the prior art utilize the progressive streaming transmission time can't realize the problem of shuffle.
A kind of shuffle method based on the progressive streaming transmission, described method comprises:
User end to server initiates to comprise the shuffle request of data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
Described client receives and plays the corresponding data segment of described data segment sign that described server transmits based on the progressive streaming transmission manner.
A kind of data transmission method for uplink based on the progressive streaming transmission, described method comprises:
Server receives the shuffle request that comprises the data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
The corresponding data segment of the described sign of described whois lookup, and by the transmission of progressive streaming transmission manner.
A kind of client, this client comprises:
Request module is used to initiate to comprise the shuffle request of data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
Receiver module is used to receive the data segment that transmits based on the progressive streaming transmission manner, the described sign in the corresponding shuffle request of this data segment;
Playing module is used to play the described data segment that receives.
A kind of server, described server comprises:
Divide module, be used for multimedia file is divided into a plurality of data segments;
Receiver module is used to receive the shuffle request that comprises the data segment sign;
Search module, be used for finding out the corresponding data segment of this sign according to described sign;
Sending module is used for sending the described data segment that finds out by the progressive streaming transmission manner.
A kind of random playing system based on the progressive streaming transmission, this system comprises:
Server is used for multimedia file is divided into a plurality of data segments, according to the data segment that finds out this sign correspondence in the shuffle request that comprises the data segment sign that receives, and by the transmission of progressive streaming transmission manner;
Client is used for initiating described shuffle request to described server, receives and play the data segment that described server sends, the described sign in the corresponding shuffle request of this data segment.
By the embodiment of the invention propose based on the progressive streaming transmission the shuffle method, based on the data transmission method for uplink of progressive streaming transmission, based on random playing system, client and the server of progressive streaming transmission, multimedia file is divided into a plurality of data segments, after server sends to client with the data segment of shuffle by the progressive streaming transmission manner, by this data segment of client terminal playing, realized shuffle process based on the progressive streaming transmission.
Description of drawings
Fig. 1 be in the embodiment of the invention one under the condition of progressive streaming transmission the method step schematic flow sheet of shuffle;
Fig. 2 is the schematic diagram of media player in the embodiment of the invention two;
Fig. 3 (a) and Fig. 3 (b) are the structural representation of client in the embodiment of the invention three;
Fig. 4 is the structural representation of server in the embodiment of the invention four;
Fig. 5 is based on the structural representation of the random playing system of progressive streaming transmission in the embodiment of the invention five.
Embodiment
Describe various embodiments of the present invention in detail below in conjunction with Figure of description.
As shown in Figure 1, in the embodiment of the invention one under the condition of progressive streaming transmission the method step schematic flow sheet of shuffle, this method may further comprise the steps:
Step 101: the multimedia file that will be kept in the server is divided into a plurality of data segments according to setting principle, the sign that each data segment is corresponding unique.
Server can be that http server also can be a ftp server etc.
Setting principle in the present embodiment can be to come segmentation, come segmentation or come segmentation according to content of multimedia by integral body qualification paragraph quantity according to setting-up time.
Each data segment corresponding identification can be represented the positional information of this data segment in the whole multimedia file and the content information of this part.
Step 102: user end to server is initiated the shuffle request, has carried the data segment corresponding identification of wishing broadcast in this playing request.
Step 103: whois lookup identifies corresponding data segment to the described of reception, and sends to client by the progressive streaming transmission manner.
A data segment in a plurality of data segments that data segment in the shuffle request identifies with multimedia file is divided into is corresponding, and server is searched from a plurality of data segments of dividing.
Step 104: client receives and plays the described data segment that receives.
In the present embodiment, when client was carried out repeatedly shuffle, step 101 was not must carry out at every turn, and after the multimedia file in the server once can being divided, client executing is the operation of shuffle repeatedly.
Specify the inventive method below by the description to embodiment two, as shown in Figure 2, suppose that client is a media player in embodiment two, server is a media server, and then step is as follows:
The first step: the video multimedia file in the media server is one section with per 10 minutes content is divided into the n section that the 0th to 9 minute 59 seconds content belongs to first data segment, is designated 1; The 10th minute to 19 minutes and 59 seconds content belongs to second data segment, is designated 2, by that analogy.
Second step: initiate the shuffle request by the scroll bar of clicking player to media server, the data segment corresponding identification of request comprises two kinds of situations:
1, when certain position in the scroll bar of clicking media player, media player sends to media server as the sign in the shuffle request by application layer protocol with the sign of data segment corresponding between this location, position.For example, located in the 5th minute of click on scroll bar, what media player was determined the 5th minute place time interval correspondence according to the division principle of the first step is first data segment, and the sign of first data segment is sent to media server.
2, when certain position in the scroll bar of clicking media player, media player sends to media server as the sign in the shuffle request by application layer protocol with the sign between this location, position.For example: located in the 5th minute of click on scroll bar, media player directly is carried at the 5th minute this information in the shuffle request as sign, and to determine corresponding between the 5th minute location according to the dividing mode of the first step be first data segment to media server then.
The 3rd step: media server is determined the data segment of the sign correspondence that receives, and sends to media player with the progressive streaming transmission manner.
The 4th step: media player downloads to the data segment of selecting in the internal memory, delays during through startup, and the data downloaded section is play.
In embodiment two, also can limit paragraph quantity and divide multimedia file, promptly limit the paragraph number that multimedia file can be divided, when the user asks, will convert corresponding paragraph the time to by integral body.Such as certain music file time be 5 minutes, the paragraph number of limit dividing is 5, so 1 minute corresponding one section content.When user's click on scroll bar position during at 3 minutes, server can select the 3rd section of this music file to send client terminal playing to.In addition, embodiment two can also carry out segmentation according to content, and for example: music file can partly be divided into climax a complete paragraph separately, and video file can be divided into a plurality of paragraphs according to plot.
When according to setting principle multimedia file being divided, paragraph is divided many more (promptly dividing thin more), and the data segment location of user's shuffle is just accurate more, but this brings certain problem also can for the Content Management of server, increases the workload of server.So should adopt suitable division methods for each multimedia file, can adopt different paragraphs to divide to different multimedia files in actual applications and measure.Such as, for a multimedia file of 5 minutes, can be 1 section with 0.5 minute divides, but for a multimedia file of 1 hour, will mark off a lot of paragraphs if still be 1 section with 0.5 minute, and there is no need to divide so meticulously in actual use, it is exactly relatively reasonable at this moment being 1 section with 5 minutes.The principle of dividing or dividing with content of multimedia with integral body qualification paragraph quantity is similar.
Describe by workflow client among embodiment one and the embodiment two, the embodiment of the invention three also provides a kind of client, shown in Fig. 3 (a) and Fig. 3 (b), this client comprises request module 11, receiver module 12 and playing module 13, wherein: request module 11 is used to initiate to comprise the shuffle request of data segment sign, wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding; Receiver module 12 is used to receive the data segment that transmits based on the progressive streaming transmission manner, the described sign in the corresponding shuffle request of this data segment; Playing module 13 is used to play the described data segment that receives.
Described client can be media player, then shown in Fig. 3 (a), described request module 11 comprises the record cell 21 and first transmitting element 22, wherein: after record cell 21 is used to write down described multimedia file and is divided into a plurality of data segments according to setting principle, each data segment corresponding identification; First transmitting element 22 is used for when a position of the scroll bar of clicking media player, and the sign of data segment corresponding between this location, position is sent by application layer protocol as the sign in the shuffle request.
Described request module 11 can also comprise the determining unit 23 and second transmitting element 24 shown in Fig. 3 (b), wherein: determining unit 23 is used for determining corresponding identification between this location, position when a position of the scroll bar of clicking media player; Second transmitting element 24 is used for the sign that described determining unit is determined is sent by application layer protocol as the sign in the shuffle request.
Describe by workflow server among embodiment one and the embodiment two, the embodiment of the invention four also provides a kind of server, as shown in Figure 4, comprise division module 31, receiver module 32, search module 33 and sending module 34, wherein: divide module 31 and be used for multimedia file is divided into a plurality of data segments according to setting principle; Receiver module 32 is used to receive the shuffle request that comprises the data segment sign; Searching module 33 is used for finding out the corresponding data segment of this sign according to described sign; Sending module 34 is used for sending the described data segment that finds out by the progressive streaming transmission manner.
Further, described division module 31 is divided multimedia file, limit the division of paragraph quantity or be divided into a plurality of data segments according to the multimedia file content by integral body according to the time period of setting.
In addition, by description to various embodiments of the present invention, the embodiment of the invention five also provides a kind of random playing system based on the progressive streaming transmission, as shown in Figure 5, this system comprises server 41 and client 42, wherein: server 41 is used for multimedia file is divided into a plurality of data segments, according to the data segment that finds out this sign correspondence in the shuffle request that comprises the data segment sign that receives, and by the transmission of progressive streaming transmission manner; Client 42 is used for initiating described shuffle request to described server 41, receives and play the data segment that described server 41 sends, the described sign in the corresponding shuffle request of this data segment.
By the method, system and device that the embodiment of the invention is described, under the progressive streaming transmission manner, realized shuffle, can obtain following advantage:
1, the Streaming Media on the terminal such as more existing mobile phones is downloaded software and all is based on the progressive streaming transmission manner, this mode is ripe relatively technically, and the progressive streaming transmission does not need special server software, utilize prior network device, procotol and the network architecture all can support this application, little to the existing system change, and on using, promote easily.
2, also can work under the network of low bandwidth connects based on the shuffle method of progressive streaming transmission, and the user can experience high-quality audio-video frequency media file.
3, be applicable to any file type, and client does not need the extra special playout software of installing.
4, the multimedia file in the server is adopted the mode of segmentation, can reach good effect when the user uses F.F. and fallback function, the user can feel hardly can reach the interval property of paragraph and the approximate effect of real-time streaming transmission.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1, a kind of shuffle method based on the progressive streaming transmission is characterized in that described method comprises:
User end to server initiates to comprise the shuffle request of data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
Described client receives and plays the corresponding data segment of described data segment sign that described server transmits based on the progressive streaming transmission manner.
2, the method for claim 1 is characterized in that, the mode that described multimedia file is divided into data segment comprises:
Dividing, pass through the whole paragraph quantity that limits according to the time period of setting divides or divides according to the multimedia file content.
3, the method for claim 1 is characterized in that, described client is a media player; The shuffle request that the user end to server initiation comprises the data segment sign comprises:
When the position in the scroll bar of clicking described media player, media player sends to media server as the sign in the shuffle request by application layer protocol with the sign of data segment corresponding between this location, position; Perhaps
Media player sends to media server as the sign in the shuffle request by application layer protocol with the sign between location, described position, the sign of the data segment that the described sign that described media server is determined to receive is corresponding.
4, a kind of data transmission method for uplink based on the progressive streaming transmission is characterized in that described method comprises:
Server receives the shuffle request that comprises the data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
The corresponding data segment of the described sign of described whois lookup, and by the transmission of progressive streaming transmission manner.
5, method as claimed in claim 4 is characterized in that, the mode that described multimedia file is divided into data segment comprises:
Dividing, pass through the whole paragraph quantity that limits according to the time period of setting divides or divides according to the multimedia file content.
6, a kind of client is characterized in that, this client comprises:
Request module is used to initiate to comprise the shuffle request of data segment sign, and wherein, a data segment in a plurality of data segments that described data segment identifies with multimedia file is divided into is corresponding;
Receiver module is used to receive the data segment that transmits based on the progressive streaming transmission manner, the described sign in the corresponding shuffle request of this data segment;
Playing module is used to play the described data segment that receives.
7, client as claimed in claim 6 is characterized in that, described client is a media player; The described request module comprises:
Record cell, after being used to write down described multimedia file and being divided into a plurality of data segments, each data segment corresponding identification;
First transmitting element when being used for the position when the scroll bar of clicking media player, sends as the sign in the shuffle request sign of data segment corresponding between this location, position by application layer protocol;
Perhaps, the described request module comprises:
Determining unit is used for determining corresponding identification between this location, position when a position of the scroll bar of clicking media player;
Second transmitting element is used for the sign that described determining unit is determined is sent by application layer protocol as the sign in the shuffle request.
8, a kind of server is characterized in that, described server comprises:
Divide module, be used for multimedia file is divided into a plurality of data segments;
Receiver module is used to receive the shuffle request that comprises the data segment sign;
Search module, be used for finding out the corresponding data segment of this sign according to described sign;
Sending module is used for sending the described data segment that finds out by the progressive streaming transmission manner.
9, server as claimed in claim 8 is characterized in that,
Described division module is divided multimedia file, limit the division of paragraph quantity or be divided into a plurality of data segments according to the multimedia file content by integral body according to the time period of setting.
10, a kind of random playing system based on the progressive streaming transmission is characterized in that this system comprises:
Server is used for multimedia file is divided into a plurality of data segments, according to the data segment that finds out this sign correspondence in the shuffle request that comprises the data segment sign that receives, and by the transmission of progressive streaming transmission manner;
Client is used for initiating described shuffle request to described server, receives and play the data segment that described server sends, the described sign in the corresponding shuffle request of this data segment.
CN200810102172A 2008-03-18 2008-03-18 Method, system and device for random play and data transmission based on progressive streaming transport Pending CN101540756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810102172A CN101540756A (en) 2008-03-18 2008-03-18 Method, system and device for random play and data transmission based on progressive streaming transport

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810102172A CN101540756A (en) 2008-03-18 2008-03-18 Method, system and device for random play and data transmission based on progressive streaming transport

Publications (1)

Publication Number Publication Date
CN101540756A true CN101540756A (en) 2009-09-23

Family

ID=41123745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810102172A Pending CN101540756A (en) 2008-03-18 2008-03-18 Method, system and device for random play and data transmission based on progressive streaming transport

Country Status (1)

Country Link
CN (1) CN101540756A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124668A (en) * 2016-01-22 2017-09-01 纳宝株式会社 Transmit device and method, streaming services system and recording medium as a stream
CN111752585A (en) * 2020-06-23 2020-10-09 南京新研协同定位导航研究院有限公司 Content configuration mode based on MR glasses application program
CN112839095A (en) * 2021-01-13 2021-05-25 深圳朝元科技有限公司 Method for realizing online playing based on RTOS (real time operating system) by using Http (hypertext transport protocol)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124668A (en) * 2016-01-22 2017-09-01 纳宝株式会社 Transmit device and method, streaming services system and recording medium as a stream
CN111752585A (en) * 2020-06-23 2020-10-09 南京新研协同定位导航研究院有限公司 Content configuration mode based on MR glasses application program
CN112839095A (en) * 2021-01-13 2021-05-25 深圳朝元科技有限公司 Method for realizing online playing based on RTOS (real time operating system) by using Http (hypertext transport protocol)

Similar Documents

Publication Publication Date Title
EP2391086B1 (en) Method and apparatus for playing live content
CN101505317B (en) Streaming media interruption and resumption system
CN102714602B (en) The system and method for content of multimedia play is used for by Internet Transmission
EP2497267B1 (en) Streaming with optional broadcast delivery of data segments
US9615119B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN102098571B (en) Method and system for dynamically pushing data
US8463849B2 (en) Method and apparatus for providing broadcast content and system using the same
CN101151901B (en) Method of sending a command to a digital data flow server and apparatus used to implement said method
US20110320629A1 (en) Stream media server, client terminal and method and system for downloading stream media
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
US8737804B2 (en) System for delayed video viewing
WO2014189989A1 (en) Live media processing and streaming service
CN102137302A (en) Method and device for playing video contents of streaming media
EP2493191B1 (en) Method, device and system for realizing hierarchically requesting content in http streaming system
EP2753045A1 (en) Method and device for transmitting stream media
CN101202613B (en) Terminal for clock synchronization
EP3571848A1 (en) Content streaming system and method
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
AU2011233856B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN101098470A (en) P2P technique based stream media program broadcasting/receiving method and apparatus
WO2015042962A1 (en) System and method of a link surfed http live streaming broadcasting system
CN103826139A (en) CDN system, watching server and streaming media data transmission method
CN103404158A (en) Methods and apparatuses for resuming paused media
CN101540756A (en) Method, system and device for random play and data transmission based on progressive streaming transport
CN106303754A (en) A kind of audio data play method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090923