CN106850734A - The method for pushing of shared resource, device and electronic equipment - Google Patents

The method for pushing of shared resource, device and electronic equipment Download PDF

Info

Publication number
CN106850734A
CN106850734A CN201611135420.6A CN201611135420A CN106850734A CN 106850734 A CN106850734 A CN 106850734A CN 201611135420 A CN201611135420 A CN 201611135420A CN 106850734 A CN106850734 A CN 106850734A
Authority
CN
China
Prior art keywords
shared resource
shared
equipment
push
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611135420.6A
Other languages
Chinese (zh)
Inventor
李朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201611135420.6A priority Critical patent/CN106850734A/en
Publication of CN106850734A publication Critical patent/CN106850734A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to communication technical field, a kind of method for pushing of shared resource, device and electronic equipment are disclosed.The method for pushing of the shared resource being related in embodiments of the present invention is applied to the source device with digital media player DMP functions;The method includes:During shared resource is played, when push instruction is received, the push path of the storage location of shared resource is obtained;The target device with digital Media renderer DMR functions in search LAN;When receiving to target device when choosing instruction, the push path that will be got is sent to the target device chosen.The invention also discloses the pusher and electronic equipment of a kind of shared resource.Compared with prior art, in embodiments of the present invention, source device can obtain the push path of the storage location of shared resource, push path and realize push between multimedia equipment to shared resource by sending, and simplify the operating process of multi-screen interactive.

Description

The method for pushing of shared resource, device and electronic equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for pushing of shared resource, device and electronics set It is standby.
Background technology
At present, under same LAN, can be by DLNA (Digital between smart machine Living Network Alliance, referred to as " DLNA ") technology carries out multi-screen interactive, such as push and control.Carrying out, multi-screen is mutual In dynamic process, source device has digital media player (DMP) function, and user can be by the DMP functions of source device come clear The shared resource look on digital media server (DMS), such as text, picture, music, video, and user can also utilize Other have digital Media renderer (DMR) function during shared resource on DMS is pushed to LAN by the DMP functions of source device Equipment on.Such as, the shared resources such as the music on intelligent terminal, video can be shared to and played on intelligent television, this When intelligent terminal simultaneously as digital media server DMS and digital media controller (DMC), intelligent television then as numeral Media renderer DMR.The step of shared resource, is generally:When needing to carry out a certain shared resource shared, first in intelligence Enter in DMC in terminal, subsequently into the catalogue where the shared resource, then carry out sharing operation.
Realize it is of the invention during, inventor find at least there are the following problems in the prior art:
When user is when a certain shared resource is viewed in alternative document browser and wanting to carry out shared, then to need According to above-mentioned steps, DMC being introduced into, then the catalogue where finding the shared resource, can just be shared.This mode of operation It is very cumbersome, not enough facilitate.
Additionally, most manufacturers also only realize the multi-screen interactive between own electronic product, it is impossible in different manufactures Multi-screen interactive is realized between the electronic product of business's manufacture.Such as, there is presently no the smart mobile phone and B brands for realizing A brands Multi-screen interactive is realized between intelligent television.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method for pushing of shared resource, device and electronic equipment, is made Under same LAN, realized between family multi-media equipment to shared resource using DLNA DLNA technologies It is shared, simplify the shared process of shared resource.
In a first aspect, in order to solve the above technical problems, the embodiment of the invention provides a kind of method for pushing of shared resource, It is applied to source device;Source device has digital media player DMP functions and DLNA DLNA functions of search;
Source device is in same LAN with shared equipment, target device;Wherein, there is shared equipment Digital Media to take Business device DMS functions;Target device has digital Media renderer DMR functions;
The method for pushing of shared resource includes:
Shared equipment is accessed by the DMP functions of file manager;
When push instruction is received, shared resource is converted into push path in the store path of shared equipment;
Using the target device in DLNA functions of search search LAN in addition to itself;
When receiving to target device when choosing instruction, path will be pushed and sent to the target device chosen.
Second aspect, the embodiment of the present invention additionally provides a kind of pusher of shared resource, is applied to source device;Source sets It is standby that there is digital media player DMP functions and DLNA DLNA functions of search;
Source device is in same LAN with shared equipment, target device;Wherein, there is shared equipment Digital Media to take Business device DMS functions;Target device has digital Media renderer DMR functions;
The pusher of shared resource includes:Access modules, receiver module, conversion module, search module and sending module;
Access modules, shared equipment is accessed for the DMP functions by file manager;
Receiver module, instruction is pushed for receiving;
Conversion module, for when receiver module receives push instruction, the store path of shared resource being converted into and being pushed away Send path;
Search module, for using the target device in DLNA functions of search search LAN in addition to itself;
Receiver module, is additionally operable to receive and chooses instruction to target device;
Sending module, when choosing instruction, conversion module is converted for being received in receiver module to target device To push path send to the target device chosen.
The third aspect, the embodiment of the present application additionally provides a kind of electronic equipment, including:At least one processor;And, with The memory of at least one processor communication connection;Wherein, memory storage has and can be instructed by an instruction for computing device By at least one computing device, so that at least one processor is able to carry out the method for pushing of above-mentioned shared resource.
Fourth aspect, the embodiment of the present application additionally provides a kind of non-transient computer storage medium, the Computer Storage Media storage has computer executable instructions, and the computer executable instructions can perform the method for pushing of above-mentioned shared resource.
5th aspect, the embodiment of the present application additionally provides a kind of computer program of execution method, the computer program Product includes calculation procedure of the storage on non-transient computer readable storage medium storing program for executing, and the computer program refers to including program Order, when described program instruction is computer-executed, makes the computer perform the method for pushing of above-mentioned shared resource.
In terms of existing technologies, source device can be with the storage location of direct access shared resource for the embodiment of the present invention Path is pushed, multi-screen interactive is carried out by sending push path so that under same LAN, using DLNA DLNA technologies realize the push to shared resource between family multi-media equipment, simplify the operating process of multi-screen interactive.
In addition, shared resource is converted into push path in the store path of shared equipment, specifically include:Obtain shared money Store path of the source in the storage location of shared equipment;Obtain IP address and the digital media server DMS ports of shared equipment; According to the store path, IP address that obtain and DMS ports, uniform resource position mark URL is generated;The unified resource positioning that will be generated Symbol URL is used as push path.Which provides a kind of implementing for push path of the storage location for obtaining shared resource Mode, increased the feasibility of embodiment of the present invention.
In addition, accessing shared equipment by the DMP functions of file manager, specifically include:Into file manager;Using Shared equipment in DLNA functions of search search LAN;When receiving to sharing when choosing instruction of equipment, display is selected Shared equipment shared resource listed files;The choosing of any shared resource file in receiving to shared resource listed files During middle instruction, shared resource is loaded;Entrance is pushed in the browser interface display of shared resource;When pushing entrance and being selected, connect Receive push instruction.So user can carry out push operation by pushing entrance, so as to realize multi-screen interactive there is provided user Realization means.And, source device can obtain the shared resource in the shared equipment with digital media server DMS functions, And the shared resource that will be got is shared with other equipment so that the push scope of shared resource is wider, while have matched user Actual demand.
In addition, shared equipment is computer;Computer is mounted with microsoft operation system, and opens UPnP UPNP is serviced.So make it possible easily to build device interoperability in office, family and other public places.
In addition, source device and the TV that target device is that different manufacturers manufacture, so, between each equipment carry out resource and are total to Enjoy and not limited by manufacturer, greatly have matched the use demand of user.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in accompanying drawing, removes It is non-to have especially statement, the figure not composition limitation in accompanying drawing.
Fig. 1 is the flow chart according to the method for pushing of shared resource in first embodiment of the invention;
Fig. 2 is the flow chart according to the method for pushing of shared resource in second embodiment of the invention;
Fig. 3 is the flow chart according to the method for pushing of shared resource in third embodiment of the invention;
Fig. 4 is the structural representation according to the pusher of shared resource in four embodiment of the invention;
Fig. 5 is the structural representation according to the pusher of shared resource in fifth embodiment of the invention;
Fig. 6 is the structural representation according to the pusher of shared resource in sixth embodiment of the invention;And
Fig. 7 is the schematic diagram of the electronic equipment in seventh embodiment of the invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to each reality of the invention The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each implementation method of the invention, In order that reader more fully understands the application and proposes many ins and outs.But, even if without these ins and outs and base Many variations and modification in following implementation method, it is also possible to realize the application technical scheme required for protection.
The digital media server (Digital Media Server, abbreviation DMS) being related in the embodiment of the present invention is used for Storage picture, audio, the media file such as video, DMS for example can be smart mobile phones, panel computer, digital camera, portable The home network device or ambulatory handheld that computer etc. can generate or store the media contents such as picture, music, video frequency program set It is standby.
The digital media player (Digital Media Player, abbreviation DMP) being related in the embodiment of the present invention is used for The equipment of the media files such as playing pictures, audio, video, for every kind of DMP, there is its specific capacity of equipment, including screen Size, screen resolution etc., and support the media formats of decoding.The capacity of equipment of variety classes DMP and supported Media formats are not quite similar.DMP for example can be that smart mobile phone, panel computer, portable computer, TV etc. can play figure The home network device or mobile hand-held device of the media contents such as piece, music, video frequency program.
Various embodiments of the present invention can be applied particularly to digital living alliance (Digital Living Network Alliance, abbreviation DLNA) in technology.
First embodiment of the invention is related to a kind of method for pushing of shared resource.Present embodiment can mobile phone, Implemented on the basis of the terminals such as panel computer, TV.The source device for performing the method has digital media player DMP work( Can be with DLNA DLNA functions of search.Source device is in same LAN with shared equipment, target device;Its In, shared equipment has digital media server DMS functions;Target device has digital Media renderer DMR functions.
The idiographic flow of the method for pushing of the shared resource of present embodiment is as shown in figure 1, it includes:
Step 101, the DMP functions of file manager access shared equipment in source device.
Source device, shared equipment, target device are connected in same network environment, realize that source sets using DLNA technologies Standby, shared equipment and target device interconnect.Source device can read the shared resource in shared equipment, and will be shared Resource sharing, to target device, is that source device realizes the shared offer of shared resource with other equipment in the environment of same LAN Attainable approach.
Specifically, the file manager with DMP functions has an authority for accessing the file in shared equipment, therefore source device The purpose of shared resource can be realized by entering file manager.In the present embodiment, shared equipment can be calculated Machine, but not limited to this, as long as the equipment with digital media server DMS functions may each be shared equipment, it is possible to achieve matchmaker The sharing operation of body resource.Also, in being mounted with microsoft operation system on computer, and open plug and play (Universal Plug and Play, referred to as:" UPNP ") service.It should be noted that the operating system support of Microsoft is Plug-and-play protocol specification, its energy seamless access Internet, is not limited by programming language, with network as applied environment, is not examined Consider the computer in " isolated island ".UPNP protocol specifications are mainly used in the intelligent interconnection intercommunication of equipment, need not using UPNP agreements Device driver, it may operate in current almost all of operating system platform so that office, family and other Public place easily builds device interoperability and is possibly realized.Equipment can be dynamically entered in network, automatically obtain IP ground Location, " study " or searches the information of the operation and service that oneself should be carried out;" perception " other equipment whether there is and they Effect and current state.Device-readable takes one's own, specific state and parameter, should be sent out after completing control operation Go out the response signal of " operation is completed ".If it fails, should then send the signal of control failure.
Step 102, during shared resource is played, detects whether to receive push instruction.If so, performing step 103, otherwise perform step 102.
The shared resource referred in present embodiment is included but is not limited to:Text, picture, audio or video etc..Play altogether Resource is enjoyed to include but is not limited to:Display text or picture, play audio or video etc..
For by taking mobile phone as an example, when shared resource is played in user, a session can be ejected on mobile phone display screen curtain Window, such as prompting user " whether being pushed currently playing screen or the picture for browsing ".When user have intention by When current shared resource is pushed, user can click on " it is determined that " or " YES " button, mobile phone terminal can detect this and push away Send instruction.If user is not desired to push source device ongoing shared resource, user can click on " cancellation " or The button of " NO " cancels push operation.
Step 103, push path is converted into by shared resource in the store path of shared equipment.
Push path mentioned here designates shared resource actual storage locations in a local network so that target device The shared resource can be accessed according to this push path.
Step 104, the target device in search LAN in addition to itself.
Specifically, digital Media renderer DMR belongs to electronic equipment for consumption, can be by wired or wireless home network Network receives digital media stream in having the equipment of store function from other.Some DMR are integrated with display screen and loudspeaker.Some DMR is necessarily connected to output peripheral equipment, such as TV, active audio amplifier or stereophonic sound system.Different manufacturers provide various chis Very little, shape and the DMR of configuration.DMR manufacturers describe respective equipment using different titles, and alternative names include but do not limit In:Interconnection system DVD, digital audio receiver (DAR), Digital Media Center, digital media player, Digital Media stream process Device, digital video receiver, network media player, network DVD, network entertainment gateways etc..
More specifically, source device is respectively provided with DMR functions with target device, and source device can be by obtaining consolidated network ring The shared resource in equipment is shared in border, then can be pushed away according to the actual selection of user, the shared resource that source device will can be chosen Other target devices are given, in the present embodiment, source device and target device can be the TV of different manufacturers manufacture, such as The TV for having two different manufacturer's manufactures is respectively:The shared money that TV A and TV B, TV A will be obtained from shared equipment Source, shared resource can be video C, and then video C can be pushed to TV B by TV A, and such TV B can just be received Shared resource video C, realizes resource-sharing.But, present embodiment should not also may be used as limit, source device with target device Being the TV of same manufacturer.
Step 105, detects whether to receive and chooses instruction to target device.If so, performing step 106, otherwise perform Step 105.
In general, in a LAN, it is understood that there may be more than one target device, in this case, source device Target device is searched for, and the target device that will be searched is shown for user's selection.Such as, source device searches target and sets When standby, the device name of target device can be shown on source device.Such as, target device is the intelligence from different vendor's production Energy mobile phone, such as A mobile phones, its device name can be the title " A " of Default Value;For another example B mobile phones, its device name can be The title " B " that factory is set.Or device name can also be set for equipment, for distinguishing equipment.User can by click on or It is long to show to choose the equipment by the operation such as device name for target device, but choose operation be not limited to click on or it is long by, It is any to show that the operation chosen all be within the protection domain of the application.
Step 106, the push path that will be got is sent to the target device chosen.
Source device can be sent to the target device chosen the push path for obtaining, and target device can be according to pushing away Particular location where sending path to find shared resource, then accesses shared resource by wired or wireless network, obtains The particular content of shared resource.
Compared with prior art, source device in the present embodiment can be with the storage location of direct access shared resource Path is pushed, the multi-screen interactive of shared resource is carried out by way of sending and pushing path so that under same LAN, used DLNA DLNA technologies realize the push to shared resource between family multi-media equipment, simplify multi-screen interactive Operating process.
Second embodiment of the present invention is related to a kind of method for pushing of shared resource.Second embodiment is real to first The improvement of mode is applied, is mainly theed improvement is that:In second embodiment of the invention, a kind of acquisition shared resource is disclosed The method in the push path of storage location, it is ensured that the feasibility of the method for pushing of the shared resource of the application.
The flow of present embodiment is as shown in Fig. 2 it includes:
Step 201, the DMP functions of file manager access shared equipment in source device.
Step 202, during shared resource is played, detects whether to receive push instruction.If so, performing step 203, otherwise perform step 202.
Step 203, obtains the store path of the storage location of shared resource.
Specifically, shared resource is stored in shared equipment, and its shared equipment can be source device, or support The equipment of DMS functions, such as PC.So that shared equipment is source device as an example, such as smart mobile phone, user can store shared resource In smart mobile phone, such as the store path of media file is:/ sdcard/media/testmp4.mp4, when source device needs When sharing this media file, it is possible to obtain the store path as store path.
Step 204, obtains the IP address of equipment and DMS ports where shared resource.
Or be source device with shared equipment, and source device be as a example by smart mobile phone for, smart mobile phone can detect this The IP address of end equipment and DMS ports, the IP address of such as local device is:192.168.1.104, the DMS ends of local device Mouthful it is:8888, and the IP address of the local device that will be detected records with DMS ports.
Step 205, according to the store path, IP address that obtain and DMS ports, generation unified resource accords with URL surely, and will be raw Into URL be defined as the push path of shared resource storage location.
Unified resource accords with URL and can indicate shared resource actual storage locations in a local network surely, and basic URL is included Pattern (or agreement), server name (or IP address), path and filename.In the present embodiment, will be obtained in step 203 The IP address obtained in the store path and step 204 that take and the splicing of DMS ports obtain URL, such as:
http://192.168.1.104:8888//sdcard/media/testmp4.mp4。
Here it is above-mentioned media file actual storage locations in a local network, by accessing this URL by be somebody's turn to do Media file.
Step 206, push path is converted into by shared resource in the store path of shared equipment.
Step 207, the target device with DMR functions in search LAN in addition to itself.
Step 208, detects whether to receive and chooses instruction to target device.If so, performing step 209, otherwise perform Step 208.
Step 209, the push path that will be got is sent to the target device chosen.
Compared with prior art, present embodiment generates unified money by the IP address, DMS ports, the store path that obtain Source finger URL URL, and this uniform resource position mark URL can be defined as the push path of shared resource storage location, that is, lead to Cross and shared resource is converted into push path in the store path of shared equipment.Which provides a kind of acquisition shared resource The specific implementation in the push path of storage location, increased the feasibility of embodiment of the present invention.
Third embodiment of the present invention is related to a kind of method for pushing of shared resource.3rd implementation method be to first or The improvement of second embodiment, mainly thes improvement is that:In third embodiment of the invention, loading and display are added altogether That enjoys resource implements form.
The flow chart of present embodiment as shown in figure 3, including:
Step 301, into file manager.
Specifically, usual file manager only has the authority for reading file in source device, but, in present embodiment In, the file manager with DMP functions also has the authority for accessing the file in shared equipment, therefore source device can be by entering Enter file manager to realize the purpose of shared resource.
Step 302, using the shared equipment in DLNA functions of search search LAN.
Specifically, in the network environment of same LAN, first, source device is needed using DLNA function of search logarithms Word media server DMS is scanned for, if having searched digital media server DMS, the equipment with DMS functions is defined as Shared equipment.
Step 303, detects whether to receive and chooses instruction to shared equipment, in this way, performs step 304, otherwise performs Step 305.
Specifically, source device is searched by the shared equipment searched in LAN using DLNA functions of search Shared equipment may be more than one, it is also possible to can search multiple shared equipment, now, user can select therein one Individual shared equipment shares the media file in the equipment.
Step 304, the shared resource listed files of the selected shared equipment of display.
Specifically, when source device reads the local shared resource of source device or the shared resource of other shared equipment When, source device generation shared resource listed files, for user's selection.Text, figure can be shown in its shared resource listed files Filename, file type of the media files such as piece, audio, video etc..Wherein, shared resource file can be according to file size Order is arranged, it is also possible to arranged according to the addition time, has thus provided the user more selections, and user can be with According to the setting that hommization is carried out the need for oneself, so as to have matched the actually used demand of user.
Step 305, detects whether to receive and chooses instruction to any shared resource file in shared resource listed files. If receive choosing instruction to any shared resource file in shared resource listed files, execution step 306 is selected;Otherwise, return Receipt row step 305.
Specifically, after source device generation display shared resource listed files, it is interested that user may browse through oneself Media file.Novel is seen as user may like, user can just click on the interface icon of the filename of novel, and same user is also The a certain first or several songs shown in shared resource listed files may be liked, user can also click on source device end Whether the head of interface icon selection one or number of songs, source device meeting automatic detection user carry out table point to shared resource file row Selection operation.Certainly, choosing in addition to clicking here, also can when other modes of operation, as long as any side for choosing can be indicated Formula all should be within the protection domain of the application.
Step 306, the shared resource that loading is chosen.
Specifically, when source device has been detected chooses instruction, source device will start to load shared resource.If altogether When enjoying resource and being stored in source device, source device can directly transfer local shared resources (LSR);If shared resource is stored in other and is total to When enjoying equipment, source device can read the shared resource of shared equipment by wired or wireless network.Shared resource can be with Played out successively according to the order of instruction is chosen;Priority can also be set at source device end, such as in selected shared resource In, the preferential shared resource order played is followed successively by:Video, audio, picture, text etc.;So cause the intellectuality of source device Higher level, while increased the selection of user, further lifts Consumer's Experience.
Step 307, entrance is pushed in the browser interface display of shared resource.
Specifically, after the shared resource of loading is completed, source device can just play loaded shared resource, After commencing play out shared resource or playing shared resource for a period of time, push entrance can be shown on the interface at source device end Pop-up, reminds whether user will share to the shared resource of current reading.Or display one virtual key as push into Mouthful, when user carries out choosing operation to this virtual key, the shared resource to playing is pushed.User can basis Demand is realized to the push of shared resource, shared, and has provided the user the chance of selection, have matched the actual demand of user, is carried Consumer's Experience is risen.
Step 308, detects whether that pushing entrance is selected, and in this way, performs step 309, otherwise performs step 308.
Specifically, when user clicks on the push entrance shown on shared resource browser interface, such as push entrance can Whether to be the display screen display " need to share current media file --- A. is, B. is no " in source device, user clicks on aobvious During buoy A in display screen, source device can automatically detect push entrance A and be selected;Or, user clicks on floating on display screen During mark B, source device can automatically detect push entrance B and be selected.The mode of such man-machine interaction is simple, facilitates user to grasp Make.
Step 309, during shared resource is played, detects whether to receive push instruction.If so, performing step 310, otherwise perform step 309.
Step 310, obtains the store path of the storage location of shared resource.
Step 311, obtains the IP address of equipment and DMS ports where shared resource.
Step 312, according to the store path, IP address that obtain and DMS ports, generation unified resource accords with URL surely, and will be raw Into URL be defined as the push path of shared resource storage location.
Step 313, push path is converted into by shared resource in the store path of shared equipment.
Step 314, the target device with DMR functions in search LAN in addition to itself.
Step 315, detects whether to receive and chooses instruction to target device.If so, performing step 316, otherwise perform Step 315.
Step 316, the push path that will be got is sent to the target device chosen.
Compared with prior art, present embodiment shows push entrance during shared resource is played, and such user can Sharing operation is carried out by pushing entrance, so that shared realization means are carried out to shared resource there is provided user, further letter Shared procedure is changed.By shared equipment of the search with DMS functions, and the shared resource list in shared equipment is loaded, this Just user checks sample prescription on source device.It is connected in same LAN by by source device, shared equipment, target device, this Sample is just shared there is provided channel is realized for the shared resource realized between equipment, increased the feasibility of present embodiment.
Above the step of various methods divide, be intended merely to description it is clear, can be merged into when realizing a step or Some steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection domain of this patent It is interior;To adding inessential modification in algorithm or in flow or introducing inessential design, but its algorithm is not changed With the core design of flow all in the protection domain of the patent.
Four embodiment of the invention is related to a kind of pusher 400 of shared resource, is applied to source device, such as Fig. 4 institutes Show, source device has digital media player DMP functions and DLNA DLNA functions of search.
Source device is in same LAN with shared equipment, target device;Wherein, there is shared equipment Digital Media to take Business device DMS functions;Target device has digital Media renderer DMR functions.
The pusher of shared resource includes:Access modules 401, receiver module 402, conversion module 403, search module 404 and sending module 405.
Access modules 401, shared equipment is accessed for the DMP functions by file manager.
Receiver module 402, instruction is pushed for receiving.
Conversion module 403, for when receiver module receives push instruction, the store path of shared resource being converted into Push path.
Search module 404, for using the target device in DLNA functions of search search LAN in addition to itself.
Receiver module 402, is additionally operable to receive and chooses instruction to target device.
Sending module 405, when choosing instruction, conversion module is converted for being received in receiver module to target device The push path for obtaining is sent to the target device chosen.
Compared with prior art, source device in the present embodiment can be with the storage location of direct access shared resource Path is pushed, the multi-screen interactive of shared resource is carried out by way of sending and pushing path so that under same LAN, used DLNA DLNA technologies realize the push to shared resource between family multi-media equipment, simplify multi-screen interactive Operating process.
It is seen that, present embodiment is the device embodiment corresponding with first embodiment, and present embodiment can be with First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In first embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one Individual logic unit can be a part for a physical location, or a physical location, can also be with multiple physics lists The combination of unit is realized.Additionally, in order to protrude innovative part of the invention, will not be with solution institute of the present invention in present embodiment The unit that the technical problem relation of proposition is less close is introduced, but this is not intended that in present embodiment do not exist other lists Unit.
5th implementation method of the invention is related to a kind of pusher 500 of shared resource, as shown in Figure 5.5th implements Mode is the improvement to the 4th implementation method, is mainly theed improvement is that:In the 5th implementation method of the invention, conversion module Including:First acquisition submodule 5031, the second acquisition submodule 5032, generation submodule 5033 and determination sub-module 5034.
Access modules 501, shared equipment is accessed for the DMP functions by file manager.
Receiver module 502, instruction is pushed for receiving.
Conversion module 503, for when receiver module receives push instruction, the store path of shared resource being converted into Push path.
First acquisition submodule 5031, for obtaining storage of the shared resource in the storage location of the shared equipment Path.
Second acquisition submodule 5032, IP address and digital media server DMS ends for obtaining the shared equipment Mouthful.
Generation submodule 5033, for the store path, described second that are obtained according to first acquisition submodule The IP address and the DMS ports that acquisition submodule is obtained, generate uniform resource position mark URL.
Determination sub-module 5034, for using the uniform resource position mark URL of the generation submodule generation as institute State push path.
Search module 504, for using the target device in DLNA functions of search search LAN in addition to itself.
Receiver module 502, is additionally operable to receive and chooses instruction to target device.
Sending module 505, when choosing instruction, conversion module is converted for being received in receiver module to target device The push path for obtaining is sent to the target device chosen.
Compared with prior art, present embodiment is together generated by by the IP address of acquisition, DMS ports, store path Uniform resource position mark URL, and this uniform resource position mark URL can be defined as the push road of shared resource storage location Footpath.Which provides a kind of specific implementation in the push path of storage location for obtaining shared resource, this hair is increased The feasibility of bright implementation method.
It is seen that, present embodiment is the device embodiment corresponding with second embodiment, and present embodiment can be with Second embodiment is worked in coordination implementation.The relevant technical details mentioned in second embodiment still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In second embodiment.
6th implementation method of the invention is related to a kind of pusher 600 of shared resource, as shown in Figure 6.6th implements Mode is the improvement to the 4th or the 5th implementation method, is mainly theed improvement is that:In the 6th implementation method of the invention, altogether The pusher for enjoying resource also includes display module 602 and load-on module 604.
Access modules 601, shared equipment is accessed for the DMP functions by file manager.
Display module 602, for entering file manager.
Receiver module 603, instruction is pushed for receiving.
Load-on module 604, for being received to the shared resource listed files in the receiver module in it is any shared When choosing instruction of resource file, loads the shared resource.
Conversion module 605, for when receiver module receives push instruction, the store path of shared resource being converted into Push path.
First acquisition submodule 6051, for obtaining storage of the shared resource in the storage location of the shared equipment Path.
Second acquisition submodule 6052, IP address and digital media server DMS ends for obtaining the shared equipment Mouthful.
Generation submodule 6053, for the store path, described second that are obtained according to first acquisition submodule The IP address and the DMS ports that acquisition submodule is obtained, generate uniform resource position mark URL.
Determination sub-module 6054, for using the uniform resource position mark URL of the generation submodule generation as institute State push path.
Search module 606, for using the target device in DLNA functions of search search LAN in addition to itself.
Sending module 607, when choosing instruction, conversion module is converted for being received in receiver module to target device The push path for obtaining is sent to the target device chosen.
Compared with prior art, present embodiment shows push entrance on source device, and such user can be by pushing Entrance carries out push operation, so as to realize the realization means of shared shared resource there is provided user, improves present embodiment Feasibility.
It is seen that, present embodiment is the device embodiment corresponding with the 3rd implementation method, and present embodiment can be with 3rd implementation method is worked in coordination implementation.The relevant technical details mentioned in 3rd implementation method still have in the present embodiment Effect, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in In 3rd implementation method.
The implementation method of the application the 7th is related to a kind of electronic equipment, including:At least one processor;And, with least one The memory of individual processor communication connection;Wherein, memory storage has and can be instructed by least by an instruction for computing device One computing device, so that any one is shared during at least one processor is able to carry out the above-mentioned first to the 3rd implementation method The method for pushing of resource.
Specifically, the hardware architecture diagram of electronic equipment, as shown in fig. 7, the electronic equipment includes:One or more Processor 710 and memory 720, in Fig. 7 by taking a processor 710 as an example.Perform the method for pushing operation of shared resource Electronic equipment can also include:Input unit 730 and output device 740.Processor 710, memory 720, the and of input unit 730 Output device 740 can be connected by bus or other modes, in Fig. 7 as a example by being connected by bus.The conduct of memory 720 A kind of non-volatile computer readable storage medium storing program for executing, can be used for storage non-volatile software program, non-volatile computer can hold Corresponding programmed instruction/the module of method for pushing of the shared resource in line program and module, such as the embodiment of the present application.Processor 710 by running the non-volatile software program stored in memory 720, instruction and module, so that execute server Various function application and data processing, that is, realize the method for pushing of above method embodiment shared resource.
Memory 720 can include storing program area and storage data field, wherein, storing program area can store operation system Application program required for system, at least one function;Storage data field can store the storage location of shared resource store path, The IP address of equipment and the uniform resource position mark URL of digital media server DMS ports and generation etc. where shared resource. Additionally, memory 720 can include high-speed random access memory, nonvolatile memory, for example, at least one can also be included Individual disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memory 720 can Choosing includes being stored in the remotely located memory of processor 710, and these remote memories can be to generating by network connection System.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 730 can receive the numeral or character information of input, and produce and the pusher of shared resource For information about.Output device 740 may include the display devices such as display screen.
One or more of modules are stored in the memory 720, when by one or more of processors During 710 execution, the method for pushing of the shared resource in above-mentioned any means embodiment is performed.
The method that the executable the embodiment of the present application of the said goods is provided, possesses the corresponding functional module of execution method and has Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data It is main target to communicate.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and treatment work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, therefore in treatment energy The requirement of the aspects such as power, stability, reliability, security, scalability, manageability is higher.
(5) other have the electronic installation of data interaction function.
Source device in the present embodiment can be with the push path of the storage location of direct access shared resource, by hair Sending the mode for pushing path carries out the multi-screen interactive of shared resource so that under same LAN, joined using digital living network Alliance's DLNA technologies realize the push to shared resource between family multi-media equipment, simplify the operating process of multi-screen interactive.
The implementation method of the application the 8th is related to a kind of nonvolatile computer storage media, and those of ordinary skill in the art can To understand all or part of flow realized in above-described embodiment method, can be by computer program to instruct the hard of correlation Part is completed, and described program can be stored in a computer read/write memory medium, the program is upon execution, it may include as above State the flow of the embodiment of each method.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read- Only Memory, ROM) or random access memory (Random AccessMemory, RAM) etc..
The implementation method of the application the 9th is related to a kind of computer program of execution method, last it should be noted that ability Domain those of ordinary skill is appreciated that to realize all or part of flow in above-described embodiment method, can be by computer journey Sequence is completed to instruct the hardware of correlation, and described program can be stored in a computer read/write memory medium, and the program exists During execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only Storage memory (ROM) or random access memory (RAM) etc..
It will be appreciated by those skilled in the art that all or part of step in realizing above-described embodiment method can be by Program is completed to instruct the hardware of correlation, and the program storage is in a storage medium, including some instructions are used to so that one Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform the whole of each embodiment method of the application Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiment of the invention, And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (9)

1. a kind of method for pushing of shared resource, it is characterised in that be applied to source device;There is the source device Digital Media to broadcast Put device DMP functions and DLNA DLNA functions of search;
The source device is in same LAN with shared equipment, target device;Wherein, the shared equipment has digital matchmaker Body server DMS functions;The target device has digital Media renderer DMR functions;
The method for pushing of the shared resource includes:
The shared equipment is accessed by the DMP functions of file manager;
When push instruction is received, the shared resource is converted into push path in the store path of the shared equipment;
Using the target device in DLNA functions of search search LAN in addition to itself;
When receiving to the target device when choosing instruction, the push path is sent to the target chosen and is set It is standby.
2. the method for pushing of shared resource according to claim 1, it is characterised in that it is described by shared resource described common The store path for enjoying equipment is converted into push path, specifically includes:
Obtain store path of the shared resource in the storage location of the shared equipment;
Obtain IP address and the digital media server DMS ports of the shared equipment;
According to the store path, the IP address that obtain and the DMS ports, uniform resource position mark URL is generated;
The uniform resource position mark URL that will be generated is used as the push path.
3. the method for pushing of shared resource according to claim 1 and 2, it is characterised in that described by file manager DMP functions access the shared equipment, specifically include:
Into file manager;
Using the shared equipment in DLNA functions of search search LAN;
When receiving to the shared equipment when choosing instruction, the shared resource file of the selected shared equipment of display is arranged Table;
When the choosing instruction of any shared resource file in receiving to the shared resource listed files, loads described shared Resource;
Entrance is pushed in the browser interface display of shared resource;
When the push entrance is selected, receives described push and instruct.
4. the method for pushing of shared resource according to claim 3, it is characterised in that the shared equipment is computer; The computer is mounted with microsoft operation system, and opens UPnP UPNP services.
5. the method for pushing of shared resource according to claim 3, it is characterised in that the source device sets with the target Standby is the TV of different manufacturers manufacture.
6. a kind of pusher of shared resource, it is characterised in that be applied to source device;There is the source device Digital Media to broadcast Put device DMP functions and DLNA DLNA functions of search;
The source device is in same LAN with shared equipment, target device;Wherein, the shared equipment has digital matchmaker Body server DMS functions;The target device has digital Media renderer DMR functions;
The pusher of the shared resource includes:Access modules, receiver module, conversion module, search module and sending module;
The access modules, the shared equipment is accessed for the DMP functions by file manager;
The receiver module, instruction is pushed for receiving;
The conversion module, for when the receiver module receives the push instruction, by the storage of the shared resource Path is converted into push path;
The search module, for using the target device in DLNA functions of search search LAN in addition to itself;
The receiver module, is additionally operable to receive and chooses instruction to target device;
The sending module, for being received to target device when choosing instruction in the receiver module, by the conversion mould The push path that block conversion is obtained is sent to the target device chosen.
7. the pusher of shared resource according to claim 6, it is characterised in that the conversion module includes:First Acquisition submodule, the second acquisition submodule, generation submodule and determination sub-module;
First acquisition submodule, for obtaining the shared resource on the storage road of the storage location of the shared equipment Footpath;
Second acquisition submodule, IP address and digital media server DMS ports for obtaining the shared equipment;
The generation submodule, for the store path, second acquisition that are obtained according to first acquisition submodule The IP address and the DMS ports that submodule is obtained, generate uniform resource position mark URL;
The determination sub-module, for the uniform resource position mark URL of the generation submodule generation to be pushed away as described Send path.
8. the pusher of the shared resource according to claim 6 or 7, it is characterised in that the push of the shared resource Device also includes display module and load-on module;
The display module, for entering file manager;
The search module, is additionally operable to using the shared equipment in DLNA functions of search search LAN;
The receiver module, is additionally operable to receive and chooses instruction to the shared equipment;
The display module, is additionally operable to be received to the shared equipment when choosing instruction in the receiver module, shows quilt The shared resource listed files of the shared equipment chosen;
The receiver module, is additionally operable to receive and chooses finger to any shared resource file in the shared resource listed files Order;
The load-on module, for being received to the shared resource listed files in the receiver module in any shared resource When choosing instruction of file, loads the shared resource;
The display module, is additionally operable to push entrance in the browser interface display of shared resource;
The receiver module receives described push and instructs when the push entrance is selected.
9. a kind of electronic equipment, it is characterised in that including:At least one processor;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be processed by the instruction of one computing device, the instruction by described at least one Device is performed, so that at least one processor is able to carry out pushing away for the shared resource described in any one in claim 1 to 5 Delivery method.
CN201611135420.6A 2016-12-11 2016-12-11 The method for pushing of shared resource, device and electronic equipment Pending CN106850734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611135420.6A CN106850734A (en) 2016-12-11 2016-12-11 The method for pushing of shared resource, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611135420.6A CN106850734A (en) 2016-12-11 2016-12-11 The method for pushing of shared resource, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106850734A true CN106850734A (en) 2017-06-13

Family

ID=59140606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611135420.6A Pending CN106850734A (en) 2016-12-11 2016-12-11 The method for pushing of shared resource, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106850734A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404539A (en) * 2017-08-31 2017-11-28 深圳市元征科技股份有限公司 Music method for pushing and terminal device
CN112055251A (en) * 2020-09-04 2020-12-08 中国第一汽车股份有限公司 Media data playing method, device, equipment and storage medium
CN112534379A (en) * 2019-07-19 2021-03-19 京东方科技集团股份有限公司 Media resource pushing device and method, electronic equipment and storage medium
CN114691901A (en) * 2022-03-04 2022-07-01 阿里巴巴(中国)有限公司 Multimedia resource playing method, medium and electronic equipment
CN115442332A (en) * 2022-08-30 2022-12-06 潍柴动力股份有限公司 Resource sharing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158854A (en) * 2014-07-23 2014-11-19 小米科技有限责任公司 Method and device for resource sharing
CN104301400A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Multi-screen cooperation and resource sharing method on basis of Samba protocol
CN104468526A (en) * 2014-11-14 2015-03-25 广东欧珀移动通信有限公司 Content sharing method and access method of digital media server and related devices
CN105007316A (en) * 2015-07-09 2015-10-28 广东欧珀移动通信有限公司 Media resource sharing method and device, and terminal
US20160080037A1 (en) * 2012-03-31 2016-03-17 Intel Corporation Proximate communication with a target device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160080037A1 (en) * 2012-03-31 2016-03-17 Intel Corporation Proximate communication with a target device
CN104158854A (en) * 2014-07-23 2014-11-19 小米科技有限责任公司 Method and device for resource sharing
CN104301400A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Multi-screen cooperation and resource sharing method on basis of Samba protocol
CN104468526A (en) * 2014-11-14 2015-03-25 广东欧珀移动通信有限公司 Content sharing method and access method of digital media server and related devices
CN105007316A (en) * 2015-07-09 2015-10-28 广东欧珀移动通信有限公司 Media resource sharing method and device, and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404539A (en) * 2017-08-31 2017-11-28 深圳市元征科技股份有限公司 Music method for pushing and terminal device
CN112534379A (en) * 2019-07-19 2021-03-19 京东方科技集团股份有限公司 Media resource pushing device and method, electronic equipment and storage medium
CN112534379B (en) * 2019-07-19 2024-03-08 京东方科技集团股份有限公司 Media resource pushing device, method, electronic equipment and storage medium
CN112055251A (en) * 2020-09-04 2020-12-08 中国第一汽车股份有限公司 Media data playing method, device, equipment and storage medium
CN114691901A (en) * 2022-03-04 2022-07-01 阿里巴巴(中国)有限公司 Multimedia resource playing method, medium and electronic equipment
CN115442332A (en) * 2022-08-30 2022-12-06 潍柴动力股份有限公司 Resource sharing method and device, electronic equipment and storage medium
CN115442332B (en) * 2022-08-30 2023-06-23 潍柴动力股份有限公司 Resource sharing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106850734A (en) The method for pushing of shared resource, device and electronic equipment
US9904731B2 (en) Direct service launch on a second display
RU2460119C2 (en) Programmable multimedia controller with programmable functions
CN1842782B (en) Server architecture for network resource information routing
JP5662397B2 (en) How to press content towards a connected device
KR101124772B1 (en) Networked-enabled mass storage dongle with networked media content aggregation
US8521857B2 (en) Systems and methods for widget rendering and sharing on a personal electronic device
US20090063694A1 (en) Multimedia Access Device, Multimedia Playing System Comprising the Multimedia Access Device, and Multimedia Data Playing Method
US20090125609A1 (en) Method, apparatus, system and computer readable medium for providing a universal media interface to control a universal media apparatus
US8914464B2 (en) Information processing device, information processing method, and information processing system
US20070136778A1 (en) Controller and control method for media retrieval, routing and playback
CN102033697A (en) Terminal apparatus, server apparatus, display control method, and program
US8386652B2 (en) Mobile computing device with adaptive response based on accessory firmware
CN101594279A (en) Messaging device, information processing method, program and information processing system
CN101820527A (en) Content player and receiving system, content reproducing method and the system and program
US8355082B2 (en) Method of controlling first information apparatus connectable to second information apparatus
EP2157761A2 (en) Information processing apparatus, information processing method and information processing system for the cooperative operation of several appliances interconnected via a home network
CN104426730B (en) Control equipment, control method and program
KR101329668B1 (en) Contents sharing system and method using push server
US20150288729A1 (en) Method and system for playing video media file of video sharing website in area network
US9654526B2 (en) Real-time streaming media playing method and real-time streaming media playing system
KR100690630B1 (en) MOBILE DISPLAY BASED ON UPnP
Messer et al. Interplay: a middleware for integration of devices, services and contents in the home networking environment.
US20150063204A1 (en) Area network system and network connection method
Rumsey The Future of Home Audio

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170613

WD01 Invention patent application deemed withdrawn after publication