CN102497359A - Thin client streaming media-based service system running method - Google Patents

Thin client streaming media-based service system running method Download PDF

Info

Publication number
CN102497359A
CN102497359A CN2011103966833A CN201110396683A CN102497359A CN 102497359 A CN102497359 A CN 102497359A CN 2011103966833 A CN2011103966833 A CN 2011103966833A CN 201110396683 A CN201110396683 A CN 201110396683A CN 102497359 A CN102497359 A CN 102497359A
Authority
CN
China
Prior art keywords
client
mfs
streaming media
data
thin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103966833A
Other languages
Chinese (zh)
Other versions
CN102497359B (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.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN201110396683.3A priority Critical patent/CN102497359B/en
Publication of CN102497359A publication Critical patent/CN102497359A/en
Application granted granted Critical
Publication of CN102497359B publication Critical patent/CN102497359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a thin client streaming media-based service system running method and belongs to the technical field of electronic information. The system comprises an MFS streaming media server and a thin client, wherein the MFS streaming media server comprises an element data manager, a data storage server and a client. The thin client transplants an open source MPlayer. The thin client-based MPlayer occupies few sources and can support play of real time streaming protocol (RTSP) streaming media video and audio. The streaming media server adopts an MFS file storage way to write streaming media files block by block and perform synchronization backup on data blocks; and the streaming media files are read, data elements which are separated block by block are recombined. The streaming media files have an effective and accurate reading and writing function. The problem of low performance of local developed plug-ins of the thin client is solved. The flexibility and the safety of a file storage system framework of a server, and the real-time property and the reliability of response to a service request are ensured.

Description

A kind of operation method based on the thin-client stream media service system
Technical field
The present invention relates to a kind of operation method, belong to electronic information technical field based on the thin-client stream media service system.
Background technology
Along with the continuous progress of science and technology, cost is expensive, the computer of complicated operation constantly receives the repulsion of medium-sized and small enterprises, and a kind of new terminal-thin-client is just progressively come among people's the life.The difference of thin-client and network computer mainly is that the former need not hard disk, and all data processing work server end are again accomplished.The user will only have a display, keyboard, a touch-type equipment (if needed) and enough computing equipments show and communication function to accomplish.Audio-video playing function is one of essential method of service of a lot of users.Since thin-client does not have hard disk, audio/video file can only be stored in server end so.We need break through the local traditional thought of playing audio/video file, will be based on the audio-visual audio-visual service as thin-client of the Streaming Media of web.Streaming Media is streaming video again, and it is meant that businessman sends program with a video delivery server as packet, be sent on the network.After the user carried out decompress(ion) through decompression apparatus to these data, program will show as before sending.At present, the application that focuses on Streaming Media in the network computer of research both at home and abroad, potato for example, the streaming media service merchant of excellent cruel these domestic and international main flows.
The streaming media service of present computer Network Based mostly is that the broadcast carrier of the Streaming Media form with plug-in unit is installed in the browser; More or less can some deficiency now based on the streaming media playing plug-in unit of thin-client browser exploitation; The device resource that the plug-in unit that has takies is bigger; It is slow to make browser open the page, influences user's operation; The plug-in unit that has not is fine to the result of broadcast support of medium, and the medium picture is play problems such as not smooth.Because this plug-in unit is mainly used in the resource-constrained embedded device, from the consideration of balancing resources occupancy and media play effect, plug-in unit must be when each processing media data basis at that time network condition dynamically set the size of buffering area.If buffering area is provided with too small, network transfer speeds is also slow, and the fluency of playback of media files will receive very big influence so, situation such as frame-skipping occur.If it is excessive that opposite buffering area is provided with, and network transfer speeds is than comparatively fast, and this plug-in application has not only taken the reduction that too much internal memory has caused the performance of whole embedded host equipment so, has also caused the waste to network transfer speeds.Existing buffer length computational methods more complicated is not easy on thin client device, to realize.
Present streaming media service merchant mostly adopts the conventional store mode at the streaming media server end.Current storage mode is generally selects the very large storage server of memory capacity for use; Because number of users is constantly soaring; To the big Application and implementation of visit capacity can expand, highly reliable clustered deploy(ment) (being the mode of lvs+keepalived), but still the slow problem of user feedback visit is arranged.Through investigating the situation of a server, storage server NFS is shared in having its source in of pinpointing the problems.In this network environment, N server passes through the memory space that the NFS mode is shared a server, makes nfs server can't bear the heavy load.In case NFS goes wrong, consequence is hardly imaginable.The availability of this storage server file object is lower, and when file was provided with redundancy, the readwrite performance of file can reduce.And the framework of system does not have shrinkage, has Single Point of Faliure, and the system backup cost is expensive.This traditional network store system adopts the storage server of concentrating to deposit all data, and storage server becomes the bottleneck of systematic function, also is the focus of reliability and fail safe, can not satisfy the needs that extensive storage is used.As the patent No. be 200610125390, denomination of invention is a kind of patent of the stream media server system based on cluster balanced load, though adopt the dispatching algorithm of load balancing, still uses and shares the streaming media server of storing, promptly this patent belongs to this row.
Summary of the invention
To the deficiency of thin-client streaming media service, the present invention proposes a kind of operation method based on the thin-client stream media service system.
Technical scheme of the present invention is following:
A kind of operation method based on the thin-client stream media service system, this system comprises MFS streaming media server and thin-client, the MFS streaming media server comprises meta data manager, data storage server and client; Transplant the multimedia player MPlayer that increases income at thin-client, this method step is following:
1) deposits files in stream media in streaming media server, carry out the write operation of MFS file based on MFS;
2) user uses thin-client to browse the streaming media service page, clicks selection and watches a certain audio-visual;
3) the Streaming Media page receives order, and the streaming media server end is passed in order; Thin-client starts local player simultaneously, waits for the network address of the files in stream media of sending back;
4) client of MFS is received the order of reading flow media file, begins to carry out the read operation of MFS file;
5) read end, the network address of the files in stream media that reconfigures is returned to thin-client;
6) thin-client receives that the network address of files in stream media gives MPlayer with the address;
7) MPlayer playing stream media under the RTSP stream media protocol is accomplished user command.
The write operation of the execution MFS file in the above-mentioned operation method in the step 1), step is following:
< 1>add files in stream media to streaming media server, the MFS client receives request;
< 2>find out the data storage server of the most suitable store data piece during meta data manager inspection data storage server structure through strategy; Thereby reach the purpose of data storage server load balancing, the address of data storage server is returned to the MFS client;
< 3>the MFS client deposits the data block that big file is divided into one by one in data storage server with data block; And each data block all can have the backup of 3-4 data block; Have good fault-tolerance and calamity and be equipped with the ability of recovering, such system architecture has higher accuracy to user's request;
< 4>the data storage server stores synchronized is accomplished, and returns success signal and gives the MFS client;
< 5>the MFS client is received into function signal, and to meta data manager feedback successful information, write data is accomplished.
The read operation of the execution MFS file in the above-mentioned operation method in the step 4), step is following:
1. the streaming media server client receives read request, and meta data manager is passed in request;
2. according to the meta data manager end the real physical location that the data element of the files in stream media that obtains asking is deposited is inquired about in data storages;
3. meta data manager is passed to the MFS client with positional information;
4. the MFS client reads and reconfigures block data according to the position;
5. the client read data is accomplished, and returns to the meta data manager read data and becomes function signal.
The above-mentioned MFS meaning is with the distributed way files stored.
The above-mentioned MPlayer meaning is based on the multimedia player of increasing income of thin-client.
The above-mentioned RTSP stream media protocol meaning is a real time streaming transport protocol, is an application layer protocol in the ICP/IP protocol system.
The present invention transplants the method for the multimedia player MPlayer that increases income at thin-client; Be under the environment of supporting cross compile; On the PC of X86 framework, carry out cross compile, intersect and debug; The final migration process of accomplishing MPlayer at thin-client starts the playing stream media file through this locality, and concrete steps are following:
[1] through compiling MPlayer source file, decoding storehouse, GUI file, accomplishes the realization of the MPlayer on the X86PC machine;
The decoding storehouse of [2] adding the support stream media protocol realizes that MPlayer supports the playing stream media function in the code database of MPlayer;
[3] on the PC of X86 framework, MPlayer is recompilated, generate executable file;
[4] the MPlayer file that generates is downloaded to thin-client, accomplish the transplanting of MPlayer thin-client.
The present invention transplants the multimedia player MPlayer that increases income at thin-client, and MPlayer is with the gnu general public license issue, and resource occupation is little, and the scope of application is wide, one of media play instrument that result of broadcast is good.This kind of software can use in each mainstream operation system, for example Linux and other types Unix operating system.MPlayer builds based on Command Line Interface, can select to install the different patterns interface in each operating system.MPlayer is responsible for playing the Streaming Media based on the RTSP stream media protocol.The server end storage file adopts MFS, exactly data is disperseed to be stored on the equipment of many platform independent.The distributed network storage system adopts extendible system configuration; Utilize many storage servers to share the storage load, utilize location server location stored information, it has not only improved reliability, availability and the access efficiency of system; Also be easy to expansion, response concurrent request fast.MFS adopts the system architecture of master-slave mode, with the computer that is distributed in each scope, their untapped subregion is carried out a kind of file system that unified management is used, and each node can add at any time as required.Have high data fault-tolerant property, file system security is high.System architecture comprises Master and Client.MFS carries out piecemeal to big file, and Master receives the client end replicator order is set, and control Chunk Server copies to specific chunks on other the Chunk Server, reaches data redundancy and fault-tolerant purpose.The files in stream media that is stored in the streaming media server end is safe, and system has retractility.The streaming media server of the MFS also quick convection current media request of stored stream media file is efficiently made response.Above-mentioned both direct command communication are all accomplished through the mode based on the streaming media service page of Web of centre contact, and service page is positioned on the client of MFS system.
Local DST PLAYER based on thin-client of the present invention; Thin-client is based on linux kernel; Being implanted under the environment of supporting cross compile of MPlayer carried out, and the environment of cross compile is the IDE that cover compiler, connector and a libc storehouse etc. are formed.Cross compile on host, the mode that intersects, the debugged program of operation on the target machine.Accomplishing the thin-client of MPlayer transplants.At first, accomplish the realization of X84 computer MPlayer through compiling MPlayer source file, decoding storehouse, GUI file, font file.Secondly, QT make player GUI, and realize the broadcast of various video file, the final transplanting work of accomplishing to thin-client.
The Web page that relates among the present invention; Can manage communicating by letter of thin-client and server; The streaming media playing request of thin-client obtains the response of streaming media server through Web; The address is returned to thin-client, and action of definition in the browser of thin-client is received user's request and will be called local MPlayer player when browser; Thin-client obtains will the address being passed to MPlayer after the network address of the files in stream media that server returns, and MPlayer begins the Streaming Media audio/video file that the buffered play user is asked under the RTSP stream media protocol.
Described streaming media server based on MFS comprises 3 kinds of roles:
A, meta data manager is responsible for the management of each data storage server, the file read-write scheduling, the file space is reclaimed and is recovered, the multinode copy.
B, data storage server is responsible for the connection management server, accepts the meta data manager scheduling, and memory space is provided.
C, client articulates the data storage server of being managed on the remote meta data management system, can carry out read-write operation to the data storage server.
Meta data manager is through to the management of data storage server, can online dilatation, and the architectural framework scalability is strong.
The invention solves the technical problem of the local exploitation of thin-client plug-in unit, based on the low performance problem of browser plug-in.Solved retractility and the fail safe of server end document storage system framework and to the real-time and the reliability of service request response.
Description of drawings
Fig. 1 is the FB(flow block) of operation method of the present invention.Wherein: 1)-7) be its each step.
Fig. 2 is the FB(flow block) of the write operation of the execution MFS file in the step 1) in the operation method of the present invention.
Wherein: < 1 >-< 5>are its each step.
Fig. 3 is the FB(flow block) of the read operation of the execution MFS file in the step 4) in the operation method of the present invention.
Wherein: 1.-5. be its each step.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is done to describe in further detail, but be not limited thereto.
Embodiment:
A kind of operation method based on the thin-client stream media service system, this system comprises MFS streaming media server and thin-client, the MFS streaming media server comprises meta data manager, data storage server and client; Transplant the multimedia player MPlayer that increases income at thin-client, this method is as shown in Figure 1, and step is following:
1) deposits files in stream media in streaming media server, carry out the write operation of MFS file based on MFS;
2) user uses thin-client to browse the streaming media service page, clicks selection and watches a certain audio-visual;
3) the Streaming Media page receives order, and the streaming media server end is passed in order; Thin-client starts local player simultaneously, waits for the network address of the files in stream media of sending back;
4) client of MFS is received the order of reading flow media file, begins to carry out the read operation of MFS file;
5) read end, the network address of the files in stream media that reconfigures is returned to thin-client;
6) thin-client receives that the network address of files in stream media gives MPlayer with the address;
7) MPlayer playing stream media under the RTSP stream media protocol is accomplished user command.
The write operation of the execution MFS file in the above-mentioned operation method in the step 1), as shown in Figure 2, step is following:
< 1>add files in stream media to streaming media server, the MFS client receives request;
< 2>find out the data storage server of the most suitable store data piece during meta data manager inspection data storage server structure through strategy; Thereby reach the purpose of data storage server load balancing, the address of data storage server is returned to the MFS client;
< 3>client deposits the data block that big file is divided into one by one in data storage server with data block; And each data block all can have the backup of 3-4 data block; Have good fault-tolerance and calamity and be equipped with the ability of recovering, such system architecture has higher accuracy to user's request;
< 4>the data storage server stores synchronized is accomplished, and returns success signal and gives the MFS client;
< 5>the MFS client is received into function signal, and to meta data manager feedback successful information, write data is accomplished.
The read operation of the execution MFS file in the above-mentioned operation method in the step 4), as shown in Figure 3, step is following:
1. the streaming media server client receives read request, and meta data manager is passed in request;
2. according to the meta data manager end the real physical location that the data element of the files in stream media that obtains asking is deposited is inquired about in data storages;
3. meta data manager is passed to the MFS client with positional information;
4. the MFS client reads and reconfigures block data according to the position;
5. the client read data is accomplished, and returns to the meta data manager read data and becomes function signal.

Claims (3)

1. operation method based on the thin-client stream media service system, this system comprises MFS streaming media server and thin-client, the MFS streaming media server comprises meta data manager, data storage server and client; Transplant the multimedia player MPlayer that increases income at thin-client, this method step is following:
1) deposits files in stream media in streaming media server, carry out the write operation of MFS file based on MFS;
2) user uses thin-client to browse the streaming media service page, clicks selection and watches a certain audio-visual;
3) the Streaming Media page receives order, and the streaming media server end is passed in order; Thin-client starts local player simultaneously, waits for the network address of the files in stream media of sending back;
4) client of MFS is received the order of reading flow media file, begins to carry out the read operation of MFS file;
5) read end, the network address of the files in stream media that reconfigures is returned to thin-client;
6) thin-client receives that the network address of files in stream media gives MPlayer with the address;
7) MPlayer playing stream media under the RTSP stream media protocol is accomplished user command.
2. a kind of operation method as claimed in claim 1 based on the thin-client stream media service system, the write operation of the execution MFS file in the step 1) wherein, step is following:
< 1>add files in stream media to streaming media server, the MFS client receives request;
< 2>find out the data storage server of the most suitable store data piece during meta data manager inspection data storage server structure through strategy; Thereby reach the purpose of data storage server load balancing, the address of data storage server is returned to the MFS client;
< 3>the MFS client deposits the data block that big file is divided into one by one in data storage server with data block; And each data block all can have the backup of 3-4 data block; Have good fault-tolerance and calamity and be equipped with the ability of recovering, such system architecture has higher accuracy to user's request;
< 4>the data storage server stores synchronized is accomplished, and returns success signal and gives the MFS client;
< 5>the MFS client is received into function signal, and to meta data manager feedback successful information, write data is accomplished.
3. a kind of operation method as claimed in claim 1 based on the thin-client stream media service system, the wherein read operation of the execution MFS file in the step 4), step is following:
1. the streaming media server client receives read request, and meta data manager is passed in request;
2. according to the meta data manager end the real physical location that the data element of the files in stream media that obtains asking is deposited is inquired about in data storages;
3. meta data manager is passed to the MFS client with positional information;
4. the MFS client reads and reconfigures block data according to the position;
5. the client read data is accomplished, and returns to the meta data manager read data and becomes function signal.
CN201110396683.3A 2011-12-02 2011-12-02 Thin client streaming media-based service system running method Active CN102497359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110396683.3A CN102497359B (en) 2011-12-02 2011-12-02 Thin client streaming media-based service system running method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110396683.3A CN102497359B (en) 2011-12-02 2011-12-02 Thin client streaming media-based service system running method

Publications (2)

Publication Number Publication Date
CN102497359A true CN102497359A (en) 2012-06-13
CN102497359B CN102497359B (en) 2014-06-04

Family

ID=46189145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110396683.3A Active CN102497359B (en) 2011-12-02 2011-12-02 Thin client streaming media-based service system running method

Country Status (1)

Country Link
CN (1) CN102497359B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838779A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Idle computing resource multiplexing type cloud transcoding method and system and distributed file device
CN111966755A (en) * 2020-08-18 2020-11-20 中国银行股份有限公司 Block chain-based APP application method, device and system
CN115134420A (en) * 2021-03-24 2022-09-30 华为技术有限公司 Media playing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046510A1 (en) * 2002-09-06 2008-02-21 Beauchamp Tim J Method for selectively sending a notification to an instant messaging device
CN101282348A (en) * 2007-04-06 2008-10-08 上海晨兴电子科技有限公司 Method for implementing flow medium function using HTTP protocol
CN102117297A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Streaming media file processing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046510A1 (en) * 2002-09-06 2008-02-21 Beauchamp Tim J Method for selectively sending a notification to an instant messaging device
CN101282348A (en) * 2007-04-06 2008-10-08 上海晨兴电子科技有限公司 Method for implementing flow medium function using HTTP protocol
CN102117297A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Streaming media file processing method, device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838779A (en) * 2012-11-27 2014-06-04 深圳市腾讯计算机系统有限公司 Idle computing resource multiplexing type cloud transcoding method and system and distributed file device
US10291673B2 (en) 2012-11-27 2019-05-14 Tencent Technology (Shenzhen) Company Limited Transcoding method and system, and distributed file apparatus
CN111966755A (en) * 2020-08-18 2020-11-20 中国银行股份有限公司 Block chain-based APP application method, device and system
CN111966755B (en) * 2020-08-18 2023-08-18 中国银行股份有限公司 APP application method, device and system based on block chain
CN115134420A (en) * 2021-03-24 2022-09-30 华为技术有限公司 Media playing method and device and electronic equipment

Also Published As

Publication number Publication date
CN102497359B (en) 2014-06-04

Similar Documents

Publication Publication Date Title
US10387673B2 (en) Fully managed account level blob data encryption in a distributed storage environment
CN101997823B (en) Distributed file system and data access method thereof
Hupfeld et al. The XtreemFS architecture—a case for object‐based file systems in Grids
JP5411250B2 (en) Data placement according to instructions to redundant data storage system
Gu et al. Sector and Sphere: the design and implementation of a high-performance data cloud
US10659225B2 (en) Encrypting existing live unencrypted data using age-based garbage collection
CN101027668B (en) Distributed storage architecture based on block map caching and VFS stackable file system modules
US20190007206A1 (en) Encrypting object index in a distributed storage environment
CN101515273B (en) Systems and methods providing metadata for tracking of information on a distributed file system of storage devices
CN102546780B (en) Operation method for file distributed storage based on thin client
CN103647797A (en) Distributed file system and data access method thereof
KR20120015306A (en) Intelligent tiers of backup data
CN106959996B (en) Background data synchronization method based on Internet television
JP2012504262A (en) Distributed cache placement
CN102713901A (en) Storage replication systems and methods
US11120046B2 (en) Data replication in a distributed storage system
CN104580439B (en) Method for uniformly distributing data in cloud storage system
US8566636B2 (en) Application recovery in a file system
CN103037004A (en) Implement method and device of cloud storage system operation
US11818012B2 (en) Online restore to different topologies with custom data distribution
CN102622412A (en) Method and device of concurrent writes for distributed file system
US20190179807A1 (en) Table and index communications channels
CN112416892A (en) Emergency video data cloud storage system
CN106873902B (en) File storage system, data scheduling method and data node
CN102497359B (en) Thin client streaming media-based service system running method

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