CN103595694A - A stream media playing method, a stream media playing system, and an internal memory server - Google Patents
A stream media playing method, a stream media playing system, and an internal memory server Download PDFInfo
- Publication number
- CN103595694A CN103595694A CN201210288729.4A CN201210288729A CN103595694A CN 103595694 A CN103595694 A CN 103595694A CN 201210288729 A CN201210288729 A CN 201210288729A CN 103595694 A CN103595694 A CN 103595694A
- Authority
- CN
- China
- Prior art keywords
- data
- client
- playing request
- request
- server
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a stream media playing method, a stream media playing system, and an internal memory server. The stream media playing method comprises following steps: obtaining a playing request; obtaining corresponding head data from stream media data prestored in the internal memory server according to the playing request; and transmitting the head data to a client. The stream media playing method, the stream media playing system, and the internal memory server, obtain the corresponding head data from internal memory server and transmit the head data to the client to be played. The internal memory server stores the head data of the stream media data in a full internal memory mode. Obtaining data from the internal memory server is equivalent to obtaining the head data from the internal memory server and the head data is transmitted to the client. Therefore, efficiency of buffering the head data is increased; access performance is enhanced; and fast stream media preview is facilitated.
Description
Technical field
The present invention relates to computer network communication technology, particularly relate to a kind of flow media playing method and system, inner server.
Background technology
In the band-limited situation in the Internet, the huge multi-medium data of real-time Transmission how, stream media technology provides good solution.Stream media technology refers to the working method of the multi-medium data of playing by network or download limit, optional network specific digit channel limit.
Traditional streaming media service is mainly by client/server (Client/Service, C/S model) pattern, and user clicks and watches program from streaming media server, and then streaming media server is pushed to user by stream medium data.Adopt above-mentioned pattern, all clients will be connected on same station server, and server will bear very large load pressure, and streaming media server has adopted CDN(Content Delivery Network, content distributing network for this reason) network configuration.
CDN is a kind of disributed media technological service platform based on C/S structure, by increase the network configuration that one deck is new in existing internet, and the contents distribution that adopts intelligent strategy that user need to be accessed arrives distance users node nearest, that service quality is best, by background service, automatically user is dispatched to corresponding node, be user's service of offering the best simultaneously.This kind of scheme can improve the response speed of user's access websites to a certain extent, realizes download, the program request and live of Streaming Media.
Yet, during client terminal playing multi-medium data in above-mentioned both patterns, all need play from download limit, server limit, owing to being subject to the restriction of the network bandwidth, server self read data rate, the efficiency of buffered play data is slower, inconvenient fast browsing.
Summary of the invention
Based on this, be necessary to provide a kind of flow media playing method that efficiency is higher and fast and easy is browsed that cushions.
In addition, be also necessary to provide a kind of stream media play system that efficiency is higher and fast and easy is browsed that cushions.
In addition, be also necessary to provide a kind of inner server that efficiency is higher and fast and easy is browsed that cushions.
, comprise the following steps:
Obtain playing request;
According to described playing request, from pre-stored, the stream medium data of inner server, obtain corresponding data, and by described data distributing to client.
Therein in an embodiment, before the described step of obtaining playing request, also comprise step:
The broadcast address of stream medium data is handed down to client, and is presented in client;
Specifically comprising of the described step of obtaining playing request:
Obtain and trigger the playing request that described broadcast address produces.
Therein in an embodiment, described in obtain playing request step specifically comprise:
Obtain the playing request in P2P network, or the playing request in client and server mode.
, comprising inner server and client, described inner server comprises:
Acquisition request module, for obtaining the playing request of client upload;
Processing module, for directly obtaining corresponding data from the pre-stored stream medium data at inner server according to described playing request;
Issue module, for by described data distributing to client.
Therein in an embodiment, described in issue module also for the broadcast address of stream medium data is handed down to described client; Described request acquisition module also triggers for obtaining the playing request that described broadcast address produces in described client.
Therein in an embodiment, described request acquisition module is also for obtaining the playing request of P2P network client upload, or the playing request of client upload in client and server mode.
, comprising:
Acquisition request module, for obtaining playing request;
Processing module, for directly obtaining corresponding data from the pre-stored stream medium data at inner server according to described playing request;
Issue module, for by described data distributing to client.
Therein in an embodiment, described in issue module also for the broadcast address of stream medium data is handed down to client; Described request acquisition module also triggers for obtaining the playing request that described broadcast address produces.
In an embodiment, described request acquisition module is also for obtaining the playing request of P2P network, or the playing request in client and server mode therein.
Above-mentioned flow media playing method and system, inner server, according to playing request, from inner server, obtaining corresponding data distributing plays to client, inner server is with a data of full memorymodel stored stream media, from inner server, obtain data and be equivalent to obtain a data from internal memory, and be handed down to client, the efficiency that has improved buffer head data, has improved access performance, and fast and easy preview Streaming Media.
Accompanying drawing explanation
Fig. 1 is the flow chart of flow media playing method in an embodiment;
Fig. 2 is inner server internal structure schematic diagram in an embodiment;
Fig. 3 is the internal structure schematic diagram of inner server in another embodiment.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing, the technical scheme of flow media playing method and inner server is described in detail, so that it is clearer.
As shown in Figure 1, in one embodiment, a kind of flow media playing method, comprises the following steps:
Step S110, obtains playing request.
Concrete, by client, to inner server, initiate playing request.This playing request can be P2P(peer to peer, point-to-point) in network playing request or client and server (C/S model) pattern in playing request.
Before step S110, also comprise step: the broadcast address of stream medium data is handed down to client, and is presented in client.
Concrete, for example the broadcast address of film " Ice Age 3 " is handed down to client (as browser), on browser, show this broadcast address.
Step S110 specifically comprises: obtain and trigger the playing request that this broadcast address produces.Such as passing through these broadcast address of equipment clicking trigger such as mouse, keyboard or touch-screen.
Step S120 obtains corresponding data according to this playing request from pre-stored the stream medium data of inner server, and by this data distributing to client.
Concrete, in advance in a data of inner server stored stream media.Inner server refers to the server with full memorymodel operation.Get after playing request, according to playing request, from inner server, obtain corresponding data, be handed down to client and play.Wherein, the beginning part that a data is whole video file.So from inner server, obtain corresponding data distributing to client, omit inner server and from other memory device reading out datas, carried out the process of buffer memory, and only need to obtain a data, do not need to obtain total data, improved and obtained efficiency, improved access performance, fast and easy preview Streaming Media.
In P2P network, first by a plurality of clients to internal memory server request head data, directly from inner server, obtain a data to improve the efficiency of buffer head data.
In C/S network schemer, client, after internal memory server request head data, is directly obtained a data from inner server.
Further, in one embodiment, above-mentioned flow media playing method, before obtaining the step of playing request, also comprises step: a data for stream medium data are stored in to inner server.
Concrete, the data of stored stream media data only in inner server.Data refer to the beginning part of the stream medium data of intercepting, comprise initial time, termination time, data content.The size of data can be 1MB(million) or 2MB etc.
Further, in one embodiment, according to this playing request, directly from the pre-stored stream medium data at inner server, obtaining a data of corresponding stream medium data, and by this data distributing after the step to client, also comprise step: judge whether the buffer pool size in client is greater than the size of these data, if, the residue played data from data server obtains a data of described stream medium data, and the residue played data outside a data of this stream medium data is handed down to client.
Concrete, during buffering area enough buffer head data in client, can from data server, obtain in advance all the other played data except a data of this stream medium data, so that user has checked after a data, while continuing to play, can provide in time played data, reduce the pending buffer time.Wherein, on data server, storing complete stream medium data.
As shown in Figure 2, in one embodiment, a kind of stream media play system, comprises inner server 10 and client 20, and inner server 10 comprises acquisition request module 110, processing module 120 and issues module 130.Wherein:
The playing request that acquisition request module 110 is uploaded for obtaining client 20.Concrete, by client 20, to inner server 10, initiate playing request.This playing request can be the playing request of client upload in the playing request of client upload in P2P network or client and server mode.
Concrete, data of stored stream media data in the internal memory of inner server in advance.Inner server refers to the server with full memorymodel operation.Get after playing request, according to playing request, directly from inner server, obtain corresponding data, be handed down to client and play.Wherein, the beginning part that a data is whole video file.So directly from inner server, obtain corresponding data distributing to client, omit inner server and from other memory device reading out datas, carried out the process of buffer memory, only need to obtain a data, do not need to obtain whole stream medium datas, improved and obtained efficiency, improved access performance, and fast and easy preview Streaming Media.
In P2P network, first by a plurality of clients to internal memory server request head data, directly from the internal memory of inner server, obtain a data to improve the efficiency of buffer head data.
In C/S network schemer, client, after internal memory server request head data, is directly obtained a data from the internal memory of inner server.
Further, in one embodiment, issue module 130 also for the broadcast address of stream medium data is handed down to client.Concrete, for example the broadcast address of film " Ice Age 3 " is handed down to client (as browser), on browser, show this broadcast address.
As shown in Figure 3, in one embodiment, above-mentioned inner server 10, except comprising acquisition request module 110, processing module 120 and issuing module 130, also comprises pre-storing module 140.Wherein:
Pre-storing module 140 is for being stored in inner server by a data in advance for stream medium data.
Concrete, the data of stored stream media data only in inner server, these data are the beginning part of whole stream medium data file.Data refer to the beginning part of the stream medium data of intercepting, comprise initial time, termination time, data content.The size of partial data can be 1MB(million) or 2MB etc.
Further, processing module 120 is also when being greater than this data big or small when the buffer pool size of judgement in client, residue played data from data server obtains a data of described stream medium data, issues module 130 by the residue played data outside a data of this stream medium data.
Concrete, when these data are enough cushioned in the buffering area in client, can from data server, obtain in advance all the other played data except a data of this stream medium data, so that user has checked after a data, while continuing to play, can provide in time played data, reduce the pending buffer time.
In addition, be also necessary to provide a kind of inner server, this inner server adopts above-mentioned inner server 10, comprises acquisition request module 110, processing module 120 and issues module 130.Each functions of modules is as above described, and does not repeat them here.
In other embodiments, above-mentioned inner server 10 also comprises pre-storing module 140, and its function is as above described, and does not repeat them here.
Above-mentioned flow media playing method and system, inner server, according to playing request, from inner server, obtaining corresponding data distributing plays to client, inner server is with a data of full memorymodel stored stream media data, from inner server, obtain data and be equivalent to obtain a data from internal memory, and be handed down to client, the efficiency that has improved buffer head data, has improved access performance, and a fast and easy preview data.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a flow media playing method, comprises the following steps:
Obtain playing request;
According to described playing request, from pre-stored, the stream medium data of inner server, obtain corresponding data, and by described data distributing to client.
2. flow media playing method according to claim 1, is characterized in that, before the described step of obtaining playing request, also comprises step:
The broadcast address of stream medium data is handed down to client, and is presented in client;
Specifically comprising of the described step of obtaining playing request:
Obtain and trigger the playing request that described broadcast address produces.
3. flow media playing method according to claim 1, is characterized in that, described in obtain playing request step specifically comprise:
Obtain the playing request in P2P network, or the playing request in client and server mode.
4. a stream media play system, is characterized in that, comprises inner server and client, and described inner server comprises:
Acquisition request module, for obtaining the playing request of client upload;
Processing module, for directly obtaining corresponding data from the pre-stored stream medium data at inner server according to described playing request;
Issue module, for by described data distributing to client.
5. stream media play system according to claim 4, is characterized in that, described in issue module also for the broadcast address of stream medium data is handed down to described client; Described request acquisition module also triggers for obtaining the playing request that described broadcast address produces in described client.
6. stream media play system according to claim 4, is characterized in that, described request acquisition module is also for obtaining the playing request of P2P network client upload, or the playing request of client upload in client and server mode.
7. an inner server, is characterized in that, comprising:
Acquisition request module, for obtaining playing request;
Processing module, for directly obtaining corresponding data from the pre-stored stream medium data at inner server according to described playing request;
Issue module, for by described data distributing to client.
8. inner server according to claim 7, is characterized in that, described in issue module also for the broadcast address of stream medium data is handed down to client; Described request acquisition module also triggers for obtaining the playing request that described broadcast address produces.
9. inner server according to claim 7, is characterized in that, described request acquisition module is also for obtaining the playing request of P2P network, or the playing request in client and server mode.
10. inner server according to claim 7, is characterized in that, also comprises:
Pre-storing module, for being stored in inner server by a data in advance for stream medium data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210288729.4A CN103595694A (en) | 2012-08-14 | 2012-08-14 | A stream media playing method, a stream media playing system, and an internal memory server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210288729.4A CN103595694A (en) | 2012-08-14 | 2012-08-14 | A stream media playing method, a stream media playing system, and an internal memory server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103595694A true CN103595694A (en) | 2014-02-19 |
Family
ID=50085677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210288729.4A Pending CN103595694A (en) | 2012-08-14 | 2012-08-14 | A stream media playing method, a stream media playing system, and an internal memory server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103595694A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109417507A (en) * | 2016-06-30 | 2019-03-01 | 华为技术有限公司 | The message of section retards accesses |
CN110139123A (en) * | 2018-02-02 | 2019-08-16 | 腾讯科技(深圳)有限公司 | The broadcasting of files in stream media, transmission, treating method and apparatus |
CN111031117A (en) * | 2019-12-02 | 2020-04-17 | 深圳市迅雷网络技术有限公司 | Multimedia file downloading method and related device |
CN113905025A (en) * | 2021-09-27 | 2022-01-07 | 武汉斗鱼网络科技有限公司 | Method, device, medium and computer equipment for transmitting stream data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232600A (en) * | 2008-03-04 | 2008-07-30 | 华为技术有限公司 | Device, system and method for providing order program contents |
CN101447994A (en) * | 2008-12-30 | 2009-06-03 | 深圳市迅雷网络技术有限公司 | Method for downloading and playing multimedia file and equipment thereof |
CN101668178A (en) * | 2008-09-04 | 2010-03-10 | 杨良海 | Method for realizing network streaming media unbuffered technology in electronic products |
US20100235536A1 (en) * | 2000-09-12 | 2010-09-16 | Wag Acquisition, Llc | Streaming media buffering system |
CN102521279A (en) * | 2011-11-25 | 2012-06-27 | Tcl集团股份有限公司 | Playing method, playing system and player of streaming media files |
CN102685123A (en) * | 2012-05-04 | 2012-09-19 | 安科智慧城市技术(中国)有限公司 | Cloud-storage-based streaming media publication device, system and method |
-
2012
- 2012-08-14 CN CN201210288729.4A patent/CN103595694A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100235536A1 (en) * | 2000-09-12 | 2010-09-16 | Wag Acquisition, Llc | Streaming media buffering system |
CN101232600A (en) * | 2008-03-04 | 2008-07-30 | 华为技术有限公司 | Device, system and method for providing order program contents |
CN101668178A (en) * | 2008-09-04 | 2010-03-10 | 杨良海 | Method for realizing network streaming media unbuffered technology in electronic products |
CN101447994A (en) * | 2008-12-30 | 2009-06-03 | 深圳市迅雷网络技术有限公司 | Method for downloading and playing multimedia file and equipment thereof |
CN102521279A (en) * | 2011-11-25 | 2012-06-27 | Tcl集团股份有限公司 | Playing method, playing system and player of streaming media files |
CN102685123A (en) * | 2012-05-04 | 2012-09-19 | 安科智慧城市技术(中国)有限公司 | Cloud-storage-based streaming media publication device, system and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109417507A (en) * | 2016-06-30 | 2019-03-01 | 华为技术有限公司 | The message of section retards accesses |
CN110139123A (en) * | 2018-02-02 | 2019-08-16 | 腾讯科技(深圳)有限公司 | The broadcasting of files in stream media, transmission, treating method and apparatus |
CN111031117A (en) * | 2019-12-02 | 2020-04-17 | 深圳市迅雷网络技术有限公司 | Multimedia file downloading method and related device |
CN113905025A (en) * | 2021-09-27 | 2022-01-07 | 武汉斗鱼网络科技有限公司 | Method, device, medium and computer equipment for transmitting stream data |
CN113905025B (en) * | 2021-09-27 | 2023-06-16 | 武汉斗鱼网络科技有限公司 | Method, device, medium and computer equipment for transmitting stream data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | Saving energy on the edge: In-memory caching for multi-tier heterogeneous networks | |
CN102547478B (en) | Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network) | |
CN102694831B (en) | Mobile terminal streaming compensation data method and system, content distributing network | |
CN102006368B (en) | Streaming media audio file play method based on mobile terminal memory card cache technology | |
CN103338249B (en) | Caching method and device | |
CN102439578A (en) | Dynamic variable rate media delivery system | |
CN103096126B (en) | Towards the cooperative caching method and system of video-on-demand service in cooperative caching cluster | |
CN103974084B (en) | Streaming media data block caching method, file recommendation method and streaming media server | |
CN105187564B (en) | A kind of method of mobile phone terminal document breakpoint transmission | |
CN102740159A (en) | Media file storage format and adaptive delivery system | |
CN102647634A (en) | Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video | |
CN103092626B (en) | Based on the rich internet application process of Flex and web3D technology | |
CN108881942B (en) | Super-fusion normal state recorded broadcast system based on distributed object storage | |
CN103024593A (en) | Online VOD (video on demand) acceleration system and online VOD playing method | |
KR102274466B1 (en) | Video streaming method using real time caching technique and system thereof | |
CN102316135A (en) | Network on-demand method and system | |
CN103595694A (en) | A stream media playing method, a stream media playing system, and an internal memory server | |
CN110022482A (en) | Video plays broadcasting method, video service system and storage medium | |
CN205430501U (en) | Mobile terminal web advertisement video and positive video seamless handover device | |
CN102739712A (en) | Method and system for network cache data distribution | |
CN105376218A (en) | Stream media system and method for fast responding to user request | |
CN203313219U (en) | Caching acceleration system for local area network | |
Kumar et al. | Edge assisted DASH video caching mechanism for multi-access edge computing | |
CN105681817A (en) | Intelligent terminal video and audio collection, transmission and playing system and method | |
CN108541025B (en) | Wireless heterogeneous network-oriented base station and D2D common caching method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140219 |