CN104219534B - A kind of Linux set-top box realizes the system and method for cloud storage agency - Google Patents
A kind of Linux set-top box realizes the system and method for cloud storage agency Download PDFInfo
- Publication number
- CN104219534B CN104219534B CN201410428635.1A CN201410428635A CN104219534B CN 104219534 B CN104219534 B CN 104219534B CN 201410428635 A CN201410428635 A CN 201410428635A CN 104219534 B CN104219534 B CN 104219534B
- Authority
- CN
- China
- Prior art keywords
- cloud storage
- top box
- linux
- list
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
A kind of Linux set-top box realizes the system and method for cloud storage agency, it is related to cloud storage technical field, including the Linux set-top box with internet communication, it interconnects net side and cloud storage service platform is set, cloud storage platform provides the Resources list including multimedia resource file, cloud storage proxy module is set in Linux set-top box, FUSE module and virtual resource list, virtual resource list is mapping of the Resources list of interconnection net side in Linux set-top box, cloud storage proxy module is used to carry out the mapping by FUSE module, player is for selecting the multimedia resource file in virtual resource list to play.The present invention can make Linux set-top box have the ability by using cloud storage service, can directly play the multimedia resources such as video therein, audio, picture.
Description
Technical field
The present invention relates to CS (Cloud Storage, cloud storage) technical fields, in particular to a kind of Linux machine top
Box realizes the system and method for cloud storage agency.
Background technique
IPTV, i.e. Interactive Internet TV are a kind of using broadband cable net, collect internet, multimedia, communication etc.
Multiple technologies are in one;The technology of a variety of interactive services including DTV is provided to domestic consumer.IPTV machine top
Box can provide the user with more broadcast modes such as program request, time shift, while also support picture browsing, audio and video playing etc. a variety of
Ability.
CS, i.e. cloud storage refer to through functions such as cluster application, grid or distributed file systems, will be in network
A large amount of various types of storage equipment gather collaboratives work by application software, common externally offer data store with
One system of business access function.As the wide area network of cloud form is as internet, cloud storage does not refer to for user
Some specific equipment, and refer to the aggregate being made of many storage equipment and server.User uses
Cloud storage is not equipment to be stored using some, but use a kind of entire data access service of cloud storage system bring.
Compared with traditional storage equipment, cloud storage is not only a hardware, but a network equipment, storage equipment, server,
The complication system that application software, public access interface, the access multiple portions such as net and client-side program form.Each section is to deposit
Storage equipment is core, externally provides data storage and business access service by application software.
The structural model of cloud storage system can from bottom to top be divided into 4 layers:
(1) accumulation layer: accumulation layer is the most basic part of cloud storage.
(2) basic management layer: basic management layer is most difficult to realize in the most crucial part of cloud storage and cloud storage
Part.
(3) application-interface layer: application-interface layer is the most flexible and changeable part of cloud storage.
(4) access layer: any one authorized user can log in cloud storage system by the public application interface of standard
System enjoys cloud storage service.
CSA (Cloud Storage Agent), i.e. cloud storage agency, are a kind of to answer with what the access layer of cloud storage interacted
With technology, user can be come by using cloud storage agency using cloud storage service.
Currently, the page of the existing IPTV set top box generally by browser access cloud storage platform.This mode only needs
Common browser software is wanted, versatility is preferable.But this mode can only carry out letter to the resource on cloud storage platform
Single upload is downloaded, checks and is deleted etc. and operates, and not can be carried out the operation of richer multiplicity, especially cannot directly be played it
In the multimedia resources such as video, audio, picture.And general user storage to cloud storage platform resource mostly be video, audio,
The multimedia resources such as picture, existing IPTV network machine top box are not able to satisfy such demand of user.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of Linux set-top boxes to realize that cloud is deposited
The system and method for storing up agency, can make Linux set-top box have the ability by using cloud storage service, can directly play
The multimedia resources such as video therein, audio, picture.
To achieve the above objectives, the present invention provides the system that a kind of Linux set-top box realizes cloud storage agency, including with it is mutual
Cloud storage service platform is arranged in the Linux set-top box of connected network communication, interconnection net side, and it includes multimedia resource that cloud storage platform, which provides,
The Resources list of file, the interior setting cloud storage proxy module of Linux set-top box, FUSE module and virtual resource list are virtual to provide
Source list is mapping of the Resources list of interconnection net side in Linux set-top box, and the cloud storage proxy module is deposited in cloud in advance
Service platform registration is stored up, for the Resources list to be mapped as institute by FUSE module with after the success of cloud storage service platform authentication
It states virtual resource list, corresponding multimedia resource file is downloaded from the virtual resource list by http protocol, and delay
It is stored to the memory of Linux set-top box;Player is for calling the file system of Linux to check and select in virtual resource list
Multimedia resource file, and multimedia resource file is taken out from the memory of Linux set-top box, it is sent into hardware decoder decoding
Afterwards, audio, video to display equipment are exported;The set-top box is for providing order line or graphic interface software for user's operation
File in the virtual resource list, in error, prompt mistake to user, record code and error reason and discharges error
The software resource and be shown to out error codes and reason in Linux STB terminal output interface that stage position occupies
Hair personnel debug positioning.
Based on the above technical solution, the multimedia resource file includes video, audio and picture, the FUSE
Module is located in linux kernel.
The present invention also provides a kind of Linux set-top boxes to realize cloud storage Proxy Method, comprising steps of S1. cloud storage is acted on behalf of
Module is registered in cloud storage service platform in advance;S2. after cloud storage proxy module and cloud storage service platform authentication are successful, pass through
The Resources list is mapped as virtual resource list by FUSE module, judges whether virtual resource list maps success, if user can
To operate the file in the virtual resource list by the order line of set-top box or the graphic interface software of set-top box;
If it is not, user is given by Linux set-top box prompt mistake, it can be with record code and error reason, while discharging the error stage
Error codes and reason are shown to developer's tune in Linux STB terminal output interface by the software resource that position occupies
Order position for a trial;S3. player accesses virtual resource list, and selection needs the multimedia resource file that plays, cloud storage proxy server from
Corresponding multimedia resource file is downloaded in the Resources list of cloud storage service platform, and is cached to the memory of Linux set-top box,
And then it plays.
Based on the above technical solution, in the S2, after the starting of cloud storage proxy module, it is flat to read cloud storage service
The configuration information of platform, authenticating address, the user name of cloud storage agency, user password including cloud storage service platform.
Based on the above technical solution, in the S2, cloud storage proxy module is taken by http protocol to cloud storage
Business platform initiates certification request, and after authenticating successfully, cloud storage service platform returns to the Resources list in xml form and acts on behalf of to cloud storage
Module.
Based on the above technical solution, in the S2, virtual resource list includes the file under catalogue and catalogue
Folder and file.
Based on the above technical solution, in the S3, player calls the file system of Linux to check virtual resource
List.
Based on the above technical solution, in the S3, cloud storage proxy server passes through http protocol from cloud storage service
Platform downloads corresponding multimedia resource file.
Based on the above technical solution, in the S3, player reads multimedia from the memory of Linux set-top box
Resource file, after being sent into hardware decoder decoding, output audio, video to display equipment.
Based on the above technical solution, if there is mistake in the step, mistake is prompted by Linux set-top box
To user, while discharging the software resource that error stage position occupies.
The beneficial effects of the present invention are:
1, storage content amount is big.Linux set-top box limited storage space itself, but pass through cloud storage proxy module and FUSE
The almost limitless memory space of cloud storage service platform can be mapped to Linux set-top box local, without increasing Linux by module
Top-set hardware storage.
2, storage content is not by region time restriction.User can at any time, any place that can access internet, leads to
It crosses computer, plate or mobile phone etc. and uploads resource file to cloud storage service platform;These texts of Linux set-top box energy real time access
Part, and can play the audio-video document in device.
Detailed description of the invention
Fig. 1 is that Linux set-top box of the present invention realizes the system of cloud storage agency and the configuration diagram of internet;
Fig. 2 is that Linux set-top box of the present invention realizes cloud storage Proxy Method flow chart;
Fig. 3 is that Linux set-top box passes through cloud storage proxy module to cloud storage service platform authentication and the flow chart of mapping;
Fig. 4 is the process of the audio-video document on player plays cloud storage service platform.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
As shown in Figure 1, the system that Linux set-top box of the present invention realizes cloud storage agency, including what is communicated with interconnection net side
Cloud storage service platform is arranged in Linux set-top box, interconnection net side, and cloud storage platform provides the Resources list, includes in the Resources list
Multimedia resource file, such as: video, audio, picture etc..Cloud storage proxy module, FUSE are set in the Linux set-top box
(Filesystem in Userspace, user's space file system) module and virtual resource list, virtual resource list are mutual
Mapping of the Resources list of networking side in Linux set-top box, cloud storage proxy module are used for through the FUSE in linux kernel
Module carries out the mapping, under the catalogue that the Resources list is mapped as in the file system of set-top box (for example, tmp/fuse)
File or file, user then can by the order line (for example, shell station command: ls-l tmp/fuse) of set-top box or
The graphic interface software of person's set-top box operates these files or file, including more in player selection virtual resource list
Media resource file plays.
As shown in Fig. 2, Linux set-top box realizes cloud storage Proxy Method, comprising steps of
S1. cloud storage proxy module is registered in cloud storage service platform in advance, that is, passes through the internet logins sides such as webpage note
Volume.
S2. after cloud storage proxy module and cloud storage service platform authentication are successful, the Resources list is reflected by FUSE module
It penetrates as virtual resource list.
S3. player accesses virtual resource list, and selection needs the multimedia resource file that plays, cloud storage proxy server from
Corresponding multimedia resource file is downloaded in the Resources list of cloud storage service platform, and is cached to the memory of Linux set-top box,
And then it plays.
As shown in figure 3, to cloud storage service platform authentication and being reflected for Linux set-top box in S2 by cloud storage proxy module
The process penetrated:
Cloud storage proxy module starting in S21.Linux set-top box, reads matching for interconnection net side cloud storage service platform
Confidence breath, authenticating address, user name, the user password of cloud storage agency including cloud storage service platform etc..
S22. cloud storage proxy module initiates certification request to cloud storage service platform by http protocol, judges that certification is asked
The no success of Seeking Truth, if so, into S23;If it is not, into S24.
S23. cloud storage proxy module is by http protocol, to cloud storage service platform request the Resources list, if success, into
Enter S25;If failure, into S28.
S24. multiple certification request is re-initiated, is retried in the present embodiment three times, judges whether to authenticate successfully, if so, into
Enter S23;If it is not, into S28.
S25. cloud storage service platform returns to the Resources list in xml form and gives cloud storage proxy module, and cloud storage acts on behalf of mould
The Resources list is mapped as virtual resource list by the FUSE module in linux kernel by block, and virtual resource list includes catalogue,
And file and file under catalogue.
S26 judges whether virtual resource list maps success, if so, into S27;If it is not, into S28;The reason of failure
Including user's operation not, can not find catalogue or file, or only partial list or file etc..
S27. user can by the order line (for example, shell station command: ls-l tmp/fuse) of set-top box or
The graphic interface software of set-top box operates the file or file.
S28. user is given by Linux set-top box prompt mistake, can be released simultaneously with record code and error reason
Error codes and reason are shown to exploitation in Linux STB terminal output interface by the software resource that wrong stage position occupies
Personnel debug positioning.
As shown in figure 4, in S3, the process of the audio-video document on player plays cloud storage service platform are as follows:
The player of S31.Linux set-top box starts, and accesses virtual resource list by the file system of Linux, including
File or file under catalogue.
S32. judge whether access succeeds, if so, into S33;If it is not, into S35.
S33. the media resource file that player selection needs to play, cloud storage proxy module is by http protocol, from cloud
Corresponding multimedia resource file (such as video, audio, picture) is downloaded in the Resources list of storage service platform, is cached to
In the memory of Linux set-top box.
S34. player takes out multimedia resource file from the memory of Linux set-top box, is sent into hardware decoder decoding
Afterwards, audio, video to display equipment are exported.
S35. it sends errored response event and gives player graphical interaction interface, while being discharged into what error stage position occupied
Software resource, and user is given by Linux set-top box prompt mistake.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (7)
1. the system that a kind of Linux set-top box realizes cloud storage agency, including the Linux set-top box with internet communication, interconnection
Cloud storage service platform is arranged in net side, and cloud storage platform provides the Resources list including multimedia resource file, it is characterised in that:
Setting cloud storage proxy module, FUSE module and virtual resource list in Linux set-top box, virtual resource list are interconnection net side
Mapping of the Resources list in Linux set-top box, the cloud storage proxy module registers in cloud storage service platform in advance, uses
In with after the success of cloud storage service platform authentication, the Resources list is mapped as by the virtual resource list by FUSE module, is led to
It crosses http protocol and downloads corresponding multimedia resource file from the virtual resource list, and be cached to Linux set-top box
Memory;Player is used to that the file system of Linux to be called to check and select the multimedia resource file in virtual resource list, with
And multimedia resource file is taken out from the memory of Linux set-top box, after being sent into hardware decoder decoding, export audio, video
To display equipment;The set-top box is for providing order line or graphic interface software for virtual resource list described in user's operation
In file, error when prompt mistake to user, record code and error reason and discharge error stage position occupy it is soft
It part resource and error codes and reason is shown to developer in Linux STB terminal output interface debugs positioning.
2. the system that Linux set-top box as described in claim 1 realizes cloud storage agency, it is characterised in that: the multimedia
Resource file includes video, audio and picture, and the FUSE module is located in linux kernel.
3. a kind of Linux set-top box based on system described in claim 1 realizes cloud storage Proxy Method, which is characterized in that packet
Include step:
S1. cloud storage proxy module is registered in cloud storage service platform in advance;
S2. after cloud storage proxy module and cloud storage service platform authentication are successful, the Resources list is mapped as by FUSE module
Virtual resource list, judges whether virtual resource list maps success, if user can by the order line of set-top box or
The graphic interface software of set-top box operates the file in the virtual resource list;If it is not, prompting mistake by Linux set-top box
, can be with record code and error reason to user, while the software resource that error stage position occupies is discharged, by error codes
Developer, which is shown to, in Linux STB terminal output interface with reason debugs positioning;
S3. player accesses virtual resource list, and selection needs the multimedia resource file played, and cloud storage proxy server is deposited from cloud
It stores up in the Resources list of service platform and downloads corresponding multimedia resource file, and be cached to the memory of Linux set-top box, in turn
It plays.
4. Linux set-top box as claimed in claim 3 realizes cloud storage Proxy Method, it is characterised in that: in the S2, Yun Cun
After storing up proxy module starting, the configuration information of cloud storage service platform, authenticating address, cloud including cloud storage service platform are read
The user name of storage agent, user password.
5. Linux set-top box as claimed in claim 3 realizes cloud storage Proxy Method, it is characterised in that: in the S2, Yun Cun
It stores up proxy module and certification request, after authenticating successfully, cloud storage service platform is initiated to cloud storage service platform by http protocol
The Resources list is returned in xml form gives cloud storage proxy module.
6. Linux set-top box as claimed in claim 3 realizes cloud storage Proxy Method, it is characterised in that: in the S2, virtually
The Resources list includes file and file under catalogue and catalogue.
7. Linux set-top box as claimed in claim 3 realizes cloud storage Proxy Method, it is characterised in that: in the S3, Yun Cun
It stores up proxy server and corresponding multimedia resource file is downloaded from cloud storage service platform by http protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410428635.1A CN104219534B (en) | 2014-08-27 | 2014-08-27 | A kind of Linux set-top box realizes the system and method for cloud storage agency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410428635.1A CN104219534B (en) | 2014-08-27 | 2014-08-27 | A kind of Linux set-top box realizes the system and method for cloud storage agency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104219534A CN104219534A (en) | 2014-12-17 |
CN104219534B true CN104219534B (en) | 2019-02-26 |
Family
ID=52100611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410428635.1A Active CN104219534B (en) | 2014-08-27 | 2014-08-27 | A kind of Linux set-top box realizes the system and method for cloud storage agency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104219534B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933555B (en) * | 2015-12-30 | 2020-06-16 | 中国科学院上海高等研究院 | Data framework system |
CN112714341B (en) * | 2019-10-25 | 2023-11-24 | 中兴通讯股份有限公司 | Information acquisition method, cloud set top box system, entity set top box and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716340A (en) * | 2012-09-28 | 2014-04-09 | 联想(北京)有限公司 | Terminal devices and information processing method |
CN103873956A (en) * | 2012-12-12 | 2014-06-18 | 中国电信股份有限公司 | Media file playing method and system, player, terminal and media storage platform |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8175617B2 (en) * | 2009-10-28 | 2012-05-08 | Digimarc Corporation | Sensor-based mobile search, related methods and systems |
US9628579B2 (en) * | 2010-05-13 | 2017-04-18 | Futurewei Technologies, Inc. | System, apparatus for content delivery for internet traffic and methods thereof |
CN101969391B (en) * | 2010-10-27 | 2012-08-01 | 北京邮电大学 | Cloud platform supporting fusion network service and operating method thereof |
US8589986B2 (en) * | 2011-02-11 | 2013-11-19 | Sony Corporation | Method and aparatus for sharing internet assets or content URLs via a second display device |
CN202334600U (en) * | 2011-11-25 | 2012-07-11 | 裘嘉 | Cloud storage accelerator and cloud storage system |
CN102595223A (en) * | 2012-03-28 | 2012-07-18 | 无锡德思普科技有限公司 | Intelligentized television set top box and operating method thereof |
CN102724302A (en) * | 2012-05-30 | 2012-10-10 | 中兴通讯股份有限公司 | Family data center system based on cloud storage and family data management method |
CN103841170B (en) * | 2012-11-27 | 2018-12-14 | 联想(北京)有限公司 | A kind of cloud storage method and server |
CN203167000U (en) * | 2013-03-29 | 2013-08-28 | 广州中国科学院软件应用技术研究所 | NAS (Network Attached Storage) cloud storage system based on Android system set top boxes |
CN103297431B (en) * | 2013-05-24 | 2016-07-13 | 南京邮电大学 | A kind of streaming media video video-on-demand duplicate hybrid buffer method based on Cloud Server group |
CN103442261A (en) * | 2013-07-30 | 2013-12-11 | 四川长虹电器股份有限公司 | System and method for achieving set top box side EPG program long-distance appointment based on cloud services |
-
2014
- 2014-08-27 CN CN201410428635.1A patent/CN104219534B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716340A (en) * | 2012-09-28 | 2014-04-09 | 联想(北京)有限公司 | Terminal devices and information processing method |
CN103873956A (en) * | 2012-12-12 | 2014-06-18 | 中国电信股份有限公司 | Media file playing method and system, player, terminal and media storage platform |
Also Published As
Publication number | Publication date |
---|---|
CN104219534A (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109657429A (en) | Video resource management method, equipment, system and computer readable storage medium | |
US20160366025A1 (en) | Hybrid cloud identity mapping infrastructure | |
CN103428525B (en) | Internet video and the online query of TV programme and control method for playing back and system | |
CN104038514A (en) | Method and system for realizing mobile interconnection services, data center, and mobile terminal | |
CN103986776B (en) | A kind of router and the method for down loading based on router | |
CN102497452B (en) | Online streaming media service method based on embedded terminal | |
CN108055575B (en) | Network video sharing system based on simulated screen projection for community | |
CN102611705A (en) | General calculation account management system and realization method thereof | |
CN110008019B (en) | Method, device and system for sharing server resources | |
CN110413261A (en) | A kind of configuration method and equipment of direct broadcast function module | |
CN106685949A (en) | Container access method, container access device and container access system | |
CN104008028A (en) | Intelligent mobile terminal data storage and backup method and system based on multi-cloud storage | |
CN113748684B (en) | Media partner integration system and method | |
US11882154B2 (en) | Template representation of security resources | |
CN109379742A (en) | Access method, device and storage medium of wireless local area network | |
CN104735030A (en) | Application opening method, device and system | |
US20220295133A1 (en) | Technologies for managing collaborative and multiplatform media content playlists | |
CN105611422A (en) | Online live broadcast method based on multi-media list and apparatus thereof | |
US20140215333A1 (en) | Bookmarking segment of offline content and associating bookmarks with online content | |
CN103561063B (en) | A kind of method of Register top box and terminal | |
CN105955111A (en) | Equipment control method, equipment control device and equipment control system | |
JP2016529641A (en) | Data backup method, apparatus, electronic device, program, and recording medium | |
CN109348263A (en) | Smart television video chases after acute processing method, system and storage medium | |
CN104301400B (en) | Multi-screen collaboration and resource share method based on Samba agreements | |
CN103096181B (en) | A kind of provide the method for interactive application business, equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |