CN103888515B - media resource sharing method based on browser - Google Patents
media resource sharing method based on browser Download PDFInfo
- Publication number
- CN103888515B CN103888515B CN201410067914.XA CN201410067914A CN103888515B CN 103888515 B CN103888515 B CN 103888515B CN 201410067914 A CN201410067914 A CN 201410067914A CN 103888515 B CN103888515 B CN 103888515B
- Authority
- CN
- China
- Prior art keywords
- browser
- dmc
- media
- services
- dmr
- 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
Abstract
The present invention relates to Internet technology.The problem of present invention is limited in LAN for general DLNA technologies, there is provided a kind of media resource sharing method based on browser, first, system boot start DLNA related services, including DMR and/or DMC services;Secondly, system starts browser, login user system, while JAVA programs and starts the media file in scanning device, DMC search and audiomonitor, searches all DMR equipment in the LAN;Then, browser is sent to DMR equipment DMC and/or resource sharing is carried out in a manner of http protocol;Finally, browser is exited, while nullifies DMC services.By the way that cloud service platform, DLNA technologies and browser are integrated, using browser to rely on, cloud platform is backing, using DLNA technologies as means, breaks through the barrier of LAN, makes mutually enjoy resource and gains in depth of comprehension between different user, meets the needs of people's interaction.Share technology suitable for the media resource based on browser.
Description
Technical field
The present invention relates to Internet technology, the more particularly to media resource based on browser shares technology.
Background technology
With the progress of network technology, people demand and using the limitation for having broken through conventional art to information, people with
Social and interactive hope between people is more and more stronger, the release of corresponding assorted software equipment so that Yong Huli
Increasingly popularized with network to share the behavior of film, photo or word.But it is more existing share mode but
There is respective limitation.
QQ bitcoms realize instant messaging, can be with word, expression, voice and the different modes of shooting between PC end subscribers
Exchange in real time, the exchange between mobile end subscriber have then cut voice and shooting mode, but between user transmission media resource by network
The limitation of environment is larger, and this software have ignored the demand linked up between vast TV user.Wechat software also achieves
Instant messaging, realizes the transmission of word, picture, voice and video, but is confined to mobile terminal.Although both modes in the presence of
The transmission of media resource, but the actual concept all also simply communicated, also rise the degree shared less than interaction.And general DLNA
(digital living network alliance)Although agreement possesses this concept, but it is limited in LAN, nothing
Method breaks through this barrier, it is impossible to shares the media resource in wide area network.
The content of the invention
The technical problems to be solved by the invention, just it is to provide a kind of media resource sharing method based on browser, with
The barrier of LAN is broken through, makes mutually enjoy resource and gains in depth of comprehension between different user, meets the needs of people's interaction.
The present invention solves the technical problem, and the technical scheme of use is the media resource sharing method based on browser,
Including following steps:
Step 1, system boot start DLNA related services, including DM(Digital Media Render, Digital Media
Rendering apparatus)R and/or DMC(Digital Media Controller, digital media controller service);
It is literary that step 2, system start the media that browser, login user system, while JAVA programs start in scanning device
Part, DMC search and audiomonitor, search all DMR equipment in the LAN;
Step 3, browser send DMR equipment to and/or with HTTP by DMC(Hypertext transfer
Protocol, HTTP)The mode of agreement carries out resource sharing;
Step 4, browser is exited, while nullifies DMC services.
Specifically, in the step 1, system boot starts DLNA related services, DMR and/or DMC services, specifically:
Web TV only starts DMR services;
Mobile phone mobile terminal starts DMC services;
Pad starts DMR and DMC services.
Specifically, in the step 2, when JAVA programs start the media file in scanning device, when user is not provided with,
Default directory is scanned, after user specifies, scans assigned catalogue.
Specifically, when to share target in the step 3 be equipment, browser obtains the equipment that DMC bottoms listen in real time
List, selected for user;
When to share target be good friend, browser in real time extracts whole good friends of the account relating, is chosen for user;
When sharing to space, browser can store picture and music file on Cloud Server in itself, and webpage can then be protected
Network address is deposited, and web page address, reproduction time and video name of media etc. can be then saved in Cloud Server by video.
Further, when to share target be equipment, when sharing contents are Internet video or network picture, browser is caught
Resource address sends DMR equipment to by DMC.
Further, when sharing contents are local file, browser is by File Mapping into broadcasting on Nano http-servers
Put address and DMR equipment is sent to by DMC.
Further, it is good friend to share target, is incited somebody to action when sharing contents are local media file, it is necessary to first pass through http protocol
This document is uploaded to the temp directory storage on Cloud Server, then corresponding address passes through XMPP on Cloud Server by this document
(The Extensible Messaging and Presence Protocol, expansible communication and presentation protocol)It is sent to
Friend;
It is good friend to share target, and when sharing contents are network media file, system broadcasts the HTTP physical mediums of the media
Put address and good friend is sent to by XMPP.
Further, it is space to share target, and when sharing contents are non-video assets, browser is by corresponding media data
By http protocol upload onto the server it is upper corresponding to the user's space address store;
It is space to share target, and during sharing video frequency resource, browser is related to break-point continuous playing by corresponding resource address
Information transmission stores to corresponding user's space on server.
Specifically, the local media file in the step 3 includes picture, music, video and Web page classifying.
The invention has the advantages that by the way that by cloud service platform, DLNA technologies and browser integrate, with browser
To rely on, using cloud service platform as backing, using DLNA technologies as means, the diversity for the resource that makes full use of internet, breakthrough office
The barrier of domain net, makes mutually enjoy resource and gains in depth of comprehension between different user, meets the needs of people's interaction.
Embodiment
Technical scheme is described in detail with reference to embodiment:
A kind of the problem of present invention is limited in LAN for general DLNA technologies, there is provided media based on browser
Resource sharing method, first, system boot start DLNA related services, including DMR and/or DMC services;Secondly, system opens
Dynamic browser, login user system, while JAVA programs start the media file in scanning device, DMC search and audiomonitor,
Search all DMR equipment in the LAN;Then, when browsing local media file or webpage enter share menu, from point
Enjoy and different sharing models is selected in menu, shared;Finally, browser is exited, while nullifies DMC services.By by cloud
Service platform, DLNA technologies and browser integrate, using browser to rely on, using cloud service platform as backing, with DLNA skills
Art is means, the diversity for the resource that makes full use of internet, and breaks through the barrier of LAN, make mutually to enjoy between different user resource and
Gains in depth of comprehension, meets the needs of people's interaction.
Embodiment
The method for sharing media resource of this example is based on a kind of built-in browser.The browser possesses primary
The general utility functions that browser is possessed, herein on basis, also possess oneself exclusive custom system, user is browsed by this
Device, cloud service platform and DLNA technologies, the various media resources on network and in local device are integrated, in LAN
Distinct device and custom system each user between have an effect, make in real time can smoothly to share between different users media and
Gains in depth of comprehension, while the advantage of distinct device can be given full play to, enjoy top quality visual enjoyment.
First, equipment needs first to connect network, starts DLNA related services after start networking.The following institute of DLNA related services
State:
DMR(Digital Media Render)--- Digital Media rendering apparatus., can be with by other equipment with postponing
Play the content obtained from DMS.
DMC(Digital Media Controller)--- digital media controller, search DMS(Digital Media
Server content) and the connection established between DMS and DMR simultaneously control the broadcasting of media.Consider that DMS scannings are local in this example
The problem of media resource Documents Comparison takes, has cut DMS parts, and the function of scanning file is voluntarily realized with JAVA programs.This
Sample not only solves the problem of time-consuming, also increases the flexibility of scanning, enables users to unrestricted choice scanning directory.
Specifically, for Web TV, Showing Effectiveness On Screen is behave excellently, but current control mode is not convenient enough, because
And be more suitable for watching, so start only starts DMR services, it is allowed to play the media resource shared;And moved for mobile phone
It is compact nimble for end, it is unsuitable for watching but convenient operation is, it is necessary to start DMC services;For Pad, screen is moderate, and viewing is clear
It is all convenient, it is necessary to start both to look at.But both service startup opportunitys are different, and DMR is that device power-up starts, and DMC is then
Opened when being and starting browser.
Afterwards, browser, login user system are started, while program starts the media file in scanning device, including matchmaker
Body file is with picture, music, video and Web page classifying.DMC then starts search and audiomonitor, searches the institute in the LAN
There is DMR equipment.Here mobile phone and Pad are required to open DMC services when starting browser.Now, user can browse local
When media file and webpage, by sharing menu, share target accordingly from several icons selection of ejection and confirm.Browser
According to the difference for sharing target, different agreements and different manner of execution are taken.When being shared with good friend and equipment, browser meeting
The details page address of the actual play address of media and media is transferred to recipient.Here recipient can be the user's
Other equipment in good friend, or the LAN, can be Web TV or Pad.When sharing to space, browse
Device then can for good and all store the information transfers such as the network address of the data of the media resource or correlation to user's space, unless
User does it yourself to clear up space.Browser is finally exited, while nullifies DMC services.
Specifically, user can select login user system, can also select not login user system.The former, Yong Huke
To break through LAN, with the other users in the custom system, across LAN, resource and gains in depth of comprehension are mutually enjoyed;The latter only has
DLNA general utility functions, user are only capable of in LAN, share media resource in different equipment rooms.
When browsing local media file and webpage, different equipment, the presentation mode of each media is different, take different
Mode enters and shares menu, and different sharing models is selected in menu from sharing, is shared.Mobile phone terminal and PAD ends:Browse this
During ground media file, click on and share icon on interface, when browsing webpage, to the media label long-press chosen;Television:Using
Unified mode, by choosing the option of sharing in nine grids menu to recall menu.The icon ejected after label is shared in click to be had
Three kinds, respectively represent be shared with good friend, share to equipment with share to user's space.Here, the number and media of icon are ejected
Form is related.At present, picture, local music, Internet video and webpage are supported to share to tripartite, and online music is not supported temporarily
Share, local video is also only supported to share equipment at present.
When sharing to equipment, browser obtains the list of devices that DMC bottoms listen in real time, is selected for user;Share
During to good friend, whole good friends of the account relating are extracted, chosen for user;When sharing to space, according to media formats
Difference, processing mode slightly have difference:Picture and music file can be stored on Cloud Server in itself, and webpage can then preserve network address,
And web page address, reproduction time and video name of media etc. can be then saved in Cloud Server by video.Here what is extracted is to regard
Frequency details page network address, rather than resource address, mainly the timeliness sex chromosome mosaicism in view of resource address.
When to share target be equipment, browser is by UPnP protocol by the HTTP broadcast address of media.It should be noted that
When sharing contents are local file, File Mapping into the broadcast address on Nano http-servers and is passed through DMC by browser
Send DMR equipment to.Sharing contents are Internet video, and transmission is that video details page address and resource address are transferred to DMR.This
Kind is shared HTTP broadcast address modes and existed《A kind of TV programme sharing method based on UPnP》, Patent No. CN102547442A
Embody.When to share target be good friend and space, processing mode then differs greatly with the former.
Particularly, the mode in good friend and space, type also relevant with medium type, different, the association taken are shared with
Negotiation mode is different.
For local media file, it is necessary to which first pass through http protocol is uploaded to cloud by this document when being shared with good friend
Temp directory on server stores.The file of this storage mode storage can only have a period of time, afterwards server
The memory space that it takes can be cleaned out, transmitting local media by this way has necessarily ageing.Then by this article
Part corresponding address on Cloud Server is sent to good friend by XMPP, so that good friend checks.
And for network media file, when being shared with good friend, it is only necessary to play ground by the HTTP physical mediums of the media
Location, for video, also video details page address is sent to good friend by XMPP.It is clear when sharing space
Look at device by corresponding media data by http protocol upload onto the server it is upper corresponding to the user's space address store, this
Kind of storage be it is permanent, can't the timing of being serviced device clean out.
Finally, browser is exited, while nullifies DMC services.DMC services start when opening browser, exit browser
When nullify.If network problem occurs in midway, the service is nullified after suspension, is restarted after networking again.
In summary, the present invention is by browser, by cloud service and DLNA technologies, incorporates network and local a variety of
Media resource, across the barrier of LAN, make a user that reciprocation occur, each equipment room is had an effect indirectly, fill
The advantage of each equipment is waved in distribution, strengthens the contact between user.
Claims (4)
1. the media resource sharing method based on browser, it is characterised in that including following steps:
Step 1, system boot start DLNA related services, including DMR and/or DMC services;
Step 2, system start browser, login user system, while JAVA programs start the media file in scanning device,
DMC is searched for and audiomonitor, searches all DMR equipment in LAN;
Step 3, browser are sent to DMR equipment DMC and resource sharing are carried out in a manner of http protocol;
When to share target be equipment:Browser obtains the list of devices that DMC bottoms listen in real time, is selected for user;When sharing
When content is Internet video or network picture, browser catches resource address and sends DMR equipment to by DMC;Work as sharing contents
For local file when, browser into the broadcast address on Nano http-servers and sends File Mapping to DMR by DMC
Equipment;
When to share target be good friend:Browser in real time extracts whole good friends of account relating, is chosen for user;When sharing
Deposited when content is local media file, it is necessary to first pass through the temp directory that this document is uploaded on Cloud Server by http protocol
Storage, then corresponding address is sent to good friend by XMPP on Cloud Server by this document;Sharing contents are network media file
When, the HTTP physical medium broadcast address of the media is sent to good friend by system by XMPP;
When to share target be space:Browser can store picture and music file on Cloud Server in itself, and webpage can then be protected
Network address is deposited, and the web page address, reproduction time and video name of media can be then saved in Cloud Server by video;Work as sharing contents
For non-video assets when, browser by corresponding media data by http protocol upload onto the server it is upper corresponding to the user it is empty
Between address store;It is space to share target, and during sharing video frequency resource, browser is by the phase of corresponding resource address and break-point continuous playing
Information transmission is closed to corresponding user's space storage on Cloud Server;
Step 4, browser is exited, while nullifies DMC services.
2. the media resource sharing method according to claim 1 based on browser, it is characterised in that in the step 1,
System boot starts DLNA related services, DMR and/or DMC services, specifically:
Web TV only starts DMR services;
Mobile phone mobile terminal starts DMC services;
Pad starts DMR and DMC services.
3. the media resource sharing method according to claim 1 based on browser, it is characterised in that in the step 2,
When JAVA programs start the media file in scanning device, when user is not provided with, default directory is scanned, after user specifies, is swept
Retouch assigned catalogue.
4. the media resource sharing method according to claim 1 based on browser, it is characterised in that in the step 3
Local media file include picture, music, video and Web page classifying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410067914.XA CN103888515B (en) | 2014-02-26 | 2014-02-26 | media resource sharing method based on browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410067914.XA CN103888515B (en) | 2014-02-26 | 2014-02-26 | media resource sharing method based on browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103888515A CN103888515A (en) | 2014-06-25 |
CN103888515B true CN103888515B (en) | 2017-12-12 |
Family
ID=50957231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410067914.XA Active CN103888515B (en) | 2014-02-26 | 2014-02-26 | media resource sharing method based on browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103888515B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036042B (en) * | 2014-06-30 | 2017-12-01 | 北京金山安全软件有限公司 | information delivery method, device and system |
CN104052823A (en) * | 2014-06-30 | 2014-09-17 | 深圳市中兴移动通信有限公司 | File sharing method and device based on DLNA |
CN104243469B (en) * | 2014-09-10 | 2017-10-31 | 广东欧珀移动通信有限公司 | A kind of method for controlling to play, apparatus and system |
CN105791360B (en) * | 2014-12-25 | 2019-11-22 | 比亚迪股份有限公司 | The browser function sharing method and system of striding equipment |
CN105430460B (en) * | 2015-11-17 | 2019-06-28 | 青岛海信电器股份有限公司 | A kind of video data method for pushing and device based on mobile terminal |
CN105491170A (en) * | 2016-01-26 | 2016-04-13 | 珠海迈科智能科技股份有限公司 | Share play method and device of cloud storage file |
US10182114B2 (en) * | 2016-07-04 | 2019-01-15 | Novatek Microelectronics Corp. | Media content sharing method and server |
CN107809663A (en) * | 2017-11-06 | 2018-03-16 | 深圳创维-Rgb电子有限公司 | Miracast serving starting methods, intelligent television and storage medium |
CN110515548B (en) * | 2019-08-15 | 2021-04-06 | 浙江万朋教育科技股份有限公司 | Method for avoiding waste of third-party cloud storage space |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239298A (en) * | 2010-05-12 | 2011-11-24 | Hitachi Solutions Ltd | Content distribution system, gateway device and program |
CN102811223A (en) * | 2012-08-15 | 2012-12-05 | 中兴通讯股份有限公司 | DLNA equipment sharing method and device |
CN103023916A (en) * | 2012-12-26 | 2013-04-03 | 深圳Tcl新技术有限公司 | Resource sharing method for multimedia terminals |
CN103414713A (en) * | 2013-08-05 | 2013-11-27 | 三星电子(中国)研发中心 | Method, device and DLNA device with access to cloud medium resource |
CN103457966A (en) * | 2012-05-29 | 2013-12-18 | 华为技术有限公司 | Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology |
-
2014
- 2014-02-26 CN CN201410067914.XA patent/CN103888515B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239298A (en) * | 2010-05-12 | 2011-11-24 | Hitachi Solutions Ltd | Content distribution system, gateway device and program |
CN103457966A (en) * | 2012-05-29 | 2013-12-18 | 华为技术有限公司 | Method, equipment and system for accessing cloud storage equipment on basis of DLNA (digital living network alliance) technology |
CN102811223A (en) * | 2012-08-15 | 2012-12-05 | 中兴通讯股份有限公司 | DLNA equipment sharing method and device |
CN103023916A (en) * | 2012-12-26 | 2013-04-03 | 深圳Tcl新技术有限公司 | Resource sharing method for multimedia terminals |
CN103414713A (en) * | 2013-08-05 | 2013-11-27 | 三星电子(中国)研发中心 | Method, device and DLNA device with access to cloud medium resource |
Also Published As
Publication number | Publication date |
---|---|
CN103888515A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103888515B (en) | media resource sharing method based on browser | |
US20190362099A1 (en) | Information processing system, service providing apparatus and method, information processing apparatus and method, recording medium, and program | |
CN109922377B (en) | Play control method and device, storage medium and electronic device | |
CN101753976B (en) | Method for controlling interactive web TV business as well as equipment and system thereof | |
JP5620995B2 (en) | Method and apparatus for sharing media content | |
US20110302497A1 (en) | Method and System for Supporting a User-Specified and Customized Interface for a Broadband Gateway | |
CN103455505B (en) | A kind of media acquisition methods, apparatus and system | |
CN108322795B (en) | Information processing system, information processing apparatus, and information processing method | |
CN104902295A (en) | Intelligent TV business realization method, terminal device and system | |
US20070033288A1 (en) | Method of using pause time information on media content in UPnP environment | |
CN102421027A (en) | Program playing method and system | |
WO2016119504A1 (en) | Method and apparatus for sharing media programme | |
CN105955111A (en) | Equipment control method, equipment control device and equipment control system | |
CN104301400B (en) | Multi-screen collaboration and resource share method based on Samba agreements | |
CN107547934A (en) | Information transferring method and device based on video | |
US8776139B2 (en) | Scheduling content to be rendered | |
EP3160101B1 (en) | Multi-media resource management method, cloud server and electronic device | |
JP5605673B2 (en) | Digital data sharing service terminal, method, program, and digital data sharing service system | |
CN110430383B (en) | Terminal, signaling server, audio and video communication method and computer storage medium | |
KR101314939B1 (en) | Method for provisioning a multimedia service | |
KR20120072100A (en) | Web media control apparatus and method for connecting web content service and home networking | |
CN105430460B (en) | A kind of video data method for pushing and device based on mobile terminal | |
CN108429925A (en) | A kind of view display methods and device | |
CN102165750B (en) | Method, device and system for controlling the remote media obtaining | |
KR101492007B1 (en) | Method and System for Sharing Information using IPTV with SIP Based Calling and Digital Multimedia Share Function |
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 |