CN103731339B - Online multimedia resource share method in digital living network alliance system and system - Google Patents
Online multimedia resource share method in digital living network alliance system and system Download PDFInfo
- Publication number
- CN103731339B CN103731339B CN201310737678.3A CN201310737678A CN103731339B CN 103731339 B CN103731339 B CN 103731339B CN 201310737678 A CN201310737678 A CN 201310737678A CN 103731339 B CN103731339 B CN 103731339B
- Authority
- CN
- China
- Prior art keywords
- multimedia resource
- identification information
- media
- online
- medium data
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000004044 response Effects 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method of online multimedia resource-sharing in digital living network alliance system and system, solve the problems, such as existing in the prior art can only have resource in broadcasting memory.This method comprises: media server receives the media play request message that media player is sent, the identification information of multimedia resource is carried in the playing request message;The media server is according to the identification information of multimedia resource and the corresponding relationship of multimedia resource, when determining that the identification information of the multimedia resource corresponds to online multimedia resource, opens the corresponding multi-medium data acquisition equipment of the online multimedia resource;The media server obtains multi-medium data from multi-medium data acquisition equipment and is sent to the media player in real time.
Description
Technical field
The present invention relates to online more in field of communication technology more particularly to a kind of digital living network alliance system and system
The shared method of media resource.
Background technique
DLNA refers to Digital Life Network Alliance, and function is exactly the various equipment made in home network, such as computer,
The interconnections such as smart television and mobile phone are got up, and can share multimedia content from each other.Existing DLNA technology, Zhi Nengbo
Multimedia file resource is put, and these resources are stored in the existing resource in storage equipment.
Summary of the invention
The embodiment of the present invention provides online multimedia resource-sharing in a kind of digital living network alliance system and system
Method, to solve the problems, such as existing in the prior art can only have resource in broadcasting memory.
The embodiment of the invention provides a kind of method of online multimedia resource-sharing in digital living network alliance system,
This method comprises:
Media server receives the media play request message that media player is sent, and takes in the media play request message
Identification information with multimedia resource;
Above-mentioned media server determines the multimedia according to the corresponding relationship of multimedia identification information and multimedia resource
When the identification information of resource corresponds to multimedia resource, the corresponding multi-medium data acquisition equipment of the online multimedia resource is opened;
Media server obtains multi-medium data from above-mentioned multi-medium data acquisition equipment and is sent to media play in real time
Device.
The above method, media server receive the media play request message that media player is sent, and within the message
Carry the identification information of multimedia resource;According to the corresponding relationship of the multi-media tag information and multimedia resource, determine that this is more
When the identification information of media resource corresponds to online multimedia resource, opens the corresponding multi-medium data of online multimedia resource and adopt
Collect equipment;Multi-medium data, which is obtained, from multi-medium data acquisition equipment again is sent to the media player in real time.For media
The multimedia resource that server obtains in real time, media player are able to carry out real-time broadcasting.
Preferably, before media server receives the media play request that media player is sent, this method further include:
Media server receives the query messages that media controller is sent, and the matchmaker of media controller is carried in the query messages
The address body access control (MAC, Media Access Control);
Media server authenticates the MAC Address, if certification passes through, sends response message to media controller, should
The identification information of online multimedia resource is carried in response message, so that media controller is by the mark of the online multimedia resource
Information is sent to media player by playing control command.
In order to improve the safety for the multimedia resource that media server provides, using the above method, to media controller
MAC Address carry out authentication, if passing through, media server sends response message to media controller, in the response message
The identification information for carrying online multimedia resource, only when media controller receives the response message, media controller is
The identification information of the online multimedia resource is sent to media player by playing control command, so that media player is broadcast
Put multimedia resource.So that the multimedia resource could be played in real time, the safety of the multimedia resource after only certification passes through
Property is guaranteed.
Based on above-mentioned any means embodiment, preferably, the identification information of above-mentioned multimedia resource and multimedia resource
Corresponding relationship specifically includes but is not limited only to following two implementation:
The first implementation: according to the corresponding relationship of the type of the identification information of multimedia resource and multimedia resource.
Second of implementation: according to the identification information of the identification information of multimedia resource and multi-medium data acquisition equipment
Corresponding relationship.
Preferably, the type of online multimedia resource can with but be not limited only to include following four: Online Video, online language
Sound is taken pictures and online voice and video online.
Based on above-mentioned any means embodiment, preferably, the identification information of the multimedia resource is multimedia money
The HTTP(Hypertext Transport Protocol) address in source.
For the first implementation of the corresponding relationship of the identification information and multimedia resource above according to multimedia resource
And the type of above-mentioned four kinds of multimedia resources, preferably, above-mentioned media server according to the identification information of multimedia resource with
The corresponding relationship of multimedia resource when determining that the identification information of the multimedia resource corresponds to online multimedia resource, is opened online
The corresponding multi-medium data of multimedia resource acquires equipment, and media server obtains more matchmakers from multi-medium data acquisition equipment
Volume data is simultaneously sent to media player in real time, can specifically include:
If the multimedia resource is Online Video, identification information and more matchmakers of the media server according to multimedia resource
The corresponding relationship of the type of body resource when determining that the identification information of multimedia resource corresponds to Online Video, opens the video acquisition
Equipment;
The network connection that media server obtains video data from the video capture device and established by media player
It is sent to media player in real time;
For multimedia resource be Online Video when, this method further include: if network connection disconnect, close the video acquisition
Equipment.
If the multimedia resource is online voice, media server is according to the identification information and multimedia of multimedia resource
The corresponding relationship of resource type when determining that the identification information of the multimedia resource corresponds to online voice, opens audio collecting device;
The network connection that media server obtains audio data from the audio collecting device and established by media player
It is sent to media player in real time;
It is online voice, this method for multimedia resource further include: if network connection disconnects, close the audio collection and set
It is standby.
If the multimedia resource is online when taking pictures, above-mentioned media server according to the identification information of multimedia resource with
The type corresponding relationship of multimedia resource opens photo when determining that the identification information of the multimedia resource corresponds to online take pictures
Acquire equipment;
Above-mentioned media server obtains picture data from the photo acquisition equipment and is sent to media player in real time.
If the multimedia resource is online voice and video, above-mentioned media server is believed according to the mark of multimedia resource
The type corresponding relationship of breath and multimedia resource is opened when determining that the identification information of the multimedia resource corresponds to online voice and video
Open audio collecting device and video capture device;
Media server obtains audio data from the audio collecting device and obtains video data from the video capture device,
Audio data and video data are merged and the media are sent to by the network connection that media player is established in real time
Player;
For multimedia resource be online voice and video when, this method further include: if network connection disconnect, close the audio
Acquire equipment and video capture device.
For second of realization side of the corresponding relationship of identification information and multimedia resource above according to multimedia resource
The type of formula and above-mentioned four kinds of multimedia resources, preferably, identification information of the above-mentioned media server according to multimedia resource
With the corresponding relationship of multimedia resource, when determining that the identification information of the multimedia resource corresponds to online multimedia resource, open
The corresponding multi-medium data of line multimedia resource acquires equipment, and media server obtains more from multi-medium data acquisition equipment
Media data is simultaneously sent to media player in real time, specifically includes:
If above-mentioned multimedia resource is Online Video, above-mentioned media server according to the identification information of multimedia resource with
Multi-medium data acquires the corresponding relationship of the identification information of equipment, determines that the corresponding video of the identification information of the multimedia resource is adopted
Collect equipment, and opens the video capture device;
The network connection reality that media server obtains video data from video capture device and established by media player
When be sent to media player;
It is Online Video, this method for above-mentioned multimedia resource further include: if network connection disconnects, close above-mentioned video
Acquire equipment.
If above-mentioned multimedia resource is online voice, the media server is according to the identification information of multimedia resource and more
The corresponding relationship of the identification information of medium data acquisition equipment determines that the corresponding audio collection of the identification information of multimedia resource is set
It is standby, and open the audio collecting device;
The network connection that media server obtains audio data from the audio collecting device and established by media player
It is sent to media player in real time;
It is online voice, this method for above-mentioned multimedia resource further include: if network connection disconnects, close the audio and adopt
Collect equipment.
If above-mentioned multimedia resource is identification information and more matchmakers of the media server according to multimedia resource when taking pictures online
Volume data acquires the corresponding relationship of the identification information of equipment, determines that the corresponding photo acquisition of the identification information of the multimedia resource is set
It is standby, and open the photo acquisition equipment;
Media server obtains picture data from the photo acquisition equipment and is sent to media player in real time.
If the multimedia resource is online voice and video, media server according to the identification information of multimedia resource with
The multi-medium data acquires the corresponding relationship of the identification information of equipment, determines the corresponding audio of the identification information of the multimedia resource
Equipment and video capture device are acquired, and opens the audio collecting device and video capture device;
Media server obtains audio data from the audio collecting device and obtains video data from the video capture device,
The audio data and the video data are merged and matchmaker is sent to by the network connection that media player is established in real time
Body player;
For above-mentioned multimedia resource be online voice and video when, this method further include: if network connection disconnect, close should
Audio collecting device and video capture device.
Based on inventive concept same as above method embodiment, the embodiment of the present invention also provides a kind of digital living network
Alliance system, the system include:
Media server, for receiving the media play request message of media player transmission, in the playing request message
Carry the identification information of multimedia resource;According to the corresponding relationship of the identification information of multimedia resource and multimedia resource, determine
When the identification information corresponds to online multimedia resource, opens the corresponding multi-medium data of online multimedia resource and acquire equipment;From
The multi-medium data acquires equipment and obtains multi-medium data;And the multi-medium data is sent to media player;
Media player for sending media play request message to the media server, and receives media server
The above-mentioned multi-medium data sent.
Above system receives the media play request message that media player is sent using media server, and broadcasts at this
Put the identification information that multimedia resource is carried in request message;According to pair of the identification information of multimedia resource and multimedia resource
It should be related to, when determining that the identification information corresponds to online multimedia resource, open the corresponding multi-medium data of online multimedia resource
Acquire equipment;Multi-medium data is obtained from multi-medium data acquisition equipment;And the multi-medium data is sent to media play
Device;Media play request message is sent to the media server using media player, and receives the media server hair
The multi-medium data sent.For the multimedia resource obtained in real time, media player is able to carry out real-time broadcasting.
Preferably, the system further includes media controller:
The media controller, the query messages for sending out to media server carry media control in the query messages
The MAC Address of device;
Above-mentioned media server is also used to authenticate above-mentioned MAC Address, if certification passes through, sends out to media controller
Response message is sent, the identification information of online multimedia resource is carried in the response message;
Above-mentioned media controller is also used to, and the identification information of online multimedia resource is sent to by playing control command
Above-mentioned media player.
Detailed description of the invention
Fig. 1 is the method flow diagram of online multimedia resource-sharing provided in an embodiment of the present invention;
Fig. 2 is the first method flow chart that Online Video provided in an embodiment of the present invention is shared;
Fig. 3 is the first method flow chart of online voice sharing provided in an embodiment of the present invention;
Fig. 4 is the first method flow chart provided in an embodiment of the present invention for taking pictures online shared;
Fig. 5 is the first method flow chart that online voice and video provided in an embodiment of the present invention is shared;
Fig. 6 is the second method flow chart that Online Video provided in an embodiment of the present invention is shared;
Fig. 7 is the second method flow chart of online voice sharing provided in an embodiment of the present invention;
Fig. 8 is the second method flow chart provided in an embodiment of the present invention for taking pictures online shared;
Fig. 9 is the second method flow chart that online voice and video provided in an embodiment of the present invention is shared;
Figure 10 is the first system schematic diagram of online multimedia resource-sharing provided in an embodiment of the present invention;
Figure 11 is the second system schematic diagram of online multimedia resource-sharing provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides the sides that multimedia resource in a kind of digital living network alliance system and system is shared
Method, to solve the problems, such as existing in the prior art can only have resource in broadcasting memory.
Below in conjunction with attached drawing, embodiments of the present invention is further illustrated.
The embodiment of the invention provides a kind of method of online multimedia resource-sharing in digital living network alliance system,
As shown in Figure 1, this method comprises:
S101: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath;
Preferably, the identification information of the multimedia resource can be the address information of multimedia resource, such as hypertext passes
Defeated agreement (HTTP) address.The identification information of the multimedia resource is not limited only to address information, it is any can be to multimedia resource
The information being identified is suitable for the present invention.
S102: for above-mentioned media server according to the corresponding relationship of multimedia identification information and multimedia resource, determining should
When the identification information of multimedia resource corresponds to multimedia resource, the corresponding multi-medium data acquisition of the online multimedia resource is opened
Equipment;
The type of the online multimedia resource can with but be not limited only to include following four: Online Video, online voice,
Line is taken pictures and online voice and video.
Preferably, the identification information of above-mentioned multimedia resource and the corresponding relationship of multimedia resource, specifically can with but not only
It is limited to include following two implementation:
The first implementation: the corresponding relationship of the type of the identification information and multimedia resource of multimedia resource.The party
Formula is suitable for the case where being corresponding to it for a kind of only one multi-medium data of the type of multimedia resource acquisition equipment.
The corresponding relationship can be pre-stored mapping table.For example, each multimedia resource has a HTTP
Address (such as: http: // 192.168.2.101:58421/cd/getcontent/0/7/1235), had in media server
HTTP corresponds to table, records the corresponding http address of type of each multimedia resource.
Second of implementation: pair of the identification information of identification information and multi-medium data the acquisition equipment of multimedia resource
It should be related to.The corresponding relationship can be pre-stored mapping table.Such as each multi-medium data acquisition equipment has one
A identification information, each multimedia resource have a http address, have HTTP in media server and correspond to table, record each
A multimedia resource acquires the corresponding http address of equipment.
The type that second of implementation is suitable for a multimedia resource is opposite with multiple multi-medium datas acquisition equipment
The case where answering.
S103: media server obtains multi-medium data from above-mentioned multi-medium data acquisition equipment and is sent to media in real time
Player.
The corresponding multimedia data format of Online Video can be video formats such as Motion Picture Experts Group (MPEG2),
The corresponding multimedia data format of line voice can take pictures online using equipment as audio formats such as linear impulsive code modulations (LPCM)
Corresponding multimedia data format can be corresponding more for photo forms, online voice and videos such as joint photographic experts group (JPEG)
Media data format can be set to MPEG2 etc..
The above method, media server receive the media play request message that media player is sent, and within the message
Carry the identification information of multimedia resource;According to the corresponding relationship of the multi-media tag information and multimedia resource, determine that this is more
When the identification information of media resource corresponds to online multimedia resource, opens the corresponding multi-medium data of online multimedia resource and adopt
Collect equipment;Multi-medium data, which is obtained, from multi-medium data acquisition equipment again is sent to the media player in real time.For media
The multimedia resource that server obtains in real time, media player are able to carry out real-time broadcasting.
Preferably, before media server receives the media play request that media player is sent, this method further include:
Media server receives the query messages that media controller is sent, and carries media controller in the query messages
MAC Address;
Media server authenticates the MAC Address, if certification passes through, sends response message to media controller, should
The identification information of online multimedia resource is carried in response message.
It is online to carry this when sending broadcasting control command to media player in playing control command for media controller
The identification information of multimedia resource;In turn, media player sends media play request message to media server, which broadcasts
Put the identification information that the online multimedia resource is carried in request message.
In order to improve the safety for the multimedia resource that media server provides, using the above method, to media controller
MAC Address carry out authentication, if passing through, media server sends response message to media controller, in the response message
The identification information for carrying online multimedia resource, only when media controller receives the response message, media controller is
The identification information of the online multimedia resource is sent to media player by playing control command, so that media player is broadcast
Put multimedia resource.So that the multimedia resource could be played in real time by media player, this is more after only authentication passes through
The safety of media resource is guaranteed.
According to the first implementation of the corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to Online Video, as shown in Fig. 2, this method comprises:
S201: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath (here by taking http address as an example);Media player can establish network connection simultaneously
(for example, SOCKET connection).
S202: media server is according to the identification information (http address) of multimedia resource and the type of multimedia resource
Corresponding relationship when determining that the identification information of multimedia resource corresponds to Online Video, opens the video capture device.
The video capture device can be camera.
S203: media server obtains video data from the video capture device, and the video data is broadcast by media
The network connection for putting device foundation is sent to media player in real time.
S204: if media player stops playing, it is connected to the network disconnection, media server stops sending data, and closes
Close the video capture device.
According to the first implementation of the corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned
When multimedia resource corresponds to online voice, as shown in figure 3, this method comprises:
S301: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath;Media player can establish the network connection between media server simultaneously
(such as: SOCKET connection).
S302: media server according to the corresponding relationship of the identification information of multimedia resource and the type of multimedia resource,
When determining that the identification information of the multimedia resource corresponds to online voice, audio collecting device is opened.
The audio collecting device can be the equipment such as microphone.
S303: the network that media server obtains audio data from the audio collecting device and established by media player
Connection is sent to media player in real time.
S304: if media player stops playing, it is connected to the network disconnection, media server stops sending data, and closes
Close the audio collecting device.
According to the first implementation of the corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to take pictures online, as shown in figure 4, this method comprises:
S401: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath.
S402: above-mentioned media server is closed according to the identification information of multimedia resource and the type of multimedia resource are corresponding
Photo acquisition equipment is opened when determining that the identification information of the multimedia resource corresponds to online take pictures by system.
The photo acquisition equipment can be the equipment such as camera or camera.
S403: above-mentioned media server obtains picture data from the photo acquisition equipment and is sent to media play in real time
Device.
According to the first implementation of the corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to online voice and video, as shown in figure 5, this method comprises:
S501: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath;Media player can establish network connection (such as SOCKET connection) simultaneously.
S502: above-mentioned media server is closed according to the identification information of multimedia resource and the type of multimedia resource are corresponding
System when determining that the identification information of the multimedia resource corresponds to online voice and video, opens audio collecting device and video acquisition is set
It is standby.
S503: media server obtains audio data from the audio collecting device and obtains video from the video capture device
Audio data and video data are merged and are sent in real time by the network connection that media player is established described by data
Media player.
S504: if media player stops playing, it is connected to the network disconnection, media server stops sending data, close
The audio collecting device and video capture device.
According to second of implementation of corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to Online Video, as shown in fig. 6, this method comprises:
S601: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath (here by taking http address as an example);Media player can establish network connection simultaneously
(such as: SOCKET connection).
S602: media server acquires equipment according to the identification information (http address) and multi-medium data of multimedia resource
Identification information corresponding relationship, determine the corresponding video capture device of the identification information of multimedia resource (when determining multimedia
The identification information of resource is corresponding when being multi-medium data acquisition equipment (being herein specially video capture device), that is, can determine more
The corresponding identification information of media resource is online multimedia resource (being herein specifically Online Video);Alternatively, above-mentioned corresponding pass
It further include the type of multimedia resource and the corresponding relationship of http address and video capture device in system, then according to above-mentioned corresponding pass
System, it is first determined the corresponding mark of multimedia resource is online multimedia resource (being herein specifically Online Video), Jin Ergen
According to the corresponding relationship, corresponding video capture device is determined), and open the video capture device;The video capture device can be with
Equipment or the video recorder etc. of video acquisition are carried out for camera and control camera.
S603: media server obtains video data from the video capture device and the video data is passed through media play
The network connection that device is established is sent to media player in real time.
S604: if media player stops playing, it is connected to the network disconnection, media server stops sending data, and closes
Close the video capture device.
According to second of implementation of the identification information of multimedia resource and the corresponding relationship of multimedia resource, if above-mentioned
When multimedia resource corresponds to online voice, as shown in fig. 7, this method comprises:
S701: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath;Media player can establish network connection (such as: SOCKET connection) simultaneously.
S702: media server acquires the identification information of equipment according to the identification information and multi-medium data of multimedia resource
Corresponding relationship, determine the corresponding audio collecting device of the identification information of the multimedia resource (when the mark for determining multimedia resource
It is corresponding when being multi-medium data acquisition equipment (herein be specially audio collecting device) to know information, that is, can determine multimedia resource
Identification information it is corresponding be online multimedia resource (herein be specially online voice);Alternatively, also being wrapped in above-mentioned corresponding relationship
The corresponding relationship of the type of multimedia resource and the identification information of multimedia resource and audio collecting device is included, then according to above-mentioned right
It should be related to, it is first determined the corresponding mark of multimedia resource is online multimedia resource (being herein specially online voice), into
And according to the corresponding relationship, determine corresponding audio collecting device), and open audio collecting device;The audio collecting device can
To be the equipment such as microphone.
S703: the network that media server obtains audio data from the audio collecting device and established by media player
Connection is sent to media player in real time.
S704: if media player stops playing, it is connected to the network disconnection, media server stops sending data, and closes
Close the audio collecting device.
According to second of implementation of corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to take pictures online, as shown in figure 8, this method comprises:
S801: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath.
S802: above-mentioned media server acquires the mark of equipment according to the identification information and multi-medium data of multimedia resource
The corresponding relationship of information, (when determining multimedia resource when determining that the identification information of the multimedia resource is corresponding and taking pictures online
Identification information is corresponding when being multi-medium data acquisition equipment (being herein specially photo acquisition equipment), that is, can determine that multimedia provides
The corresponding identification information in source is online multimedia resource (being herein specially to take pictures online);Alternatively, in above-mentioned corresponding relationship also
The identification information of type and multimedia resource including multimedia resource and the corresponding relationship of photo acquisition equipment, then according to above-mentioned
Corresponding relationship, it is first determined the corresponding mark of multimedia resource is online multimedia resource, and then according to the corresponding relationship, really
Fixed corresponding photo acquisition equipment), open photo acquisition equipment;The photo acquisition equipment can be camera or camera etc.
Equipment.
S803: above-mentioned media server obtains picture data from the photo acquisition equipment and is sent to media play in real time
Device.
According to second of implementation of corresponding relationship of the identification information of multimedia resource and multimedia resource, if above-mentioned more
When media resource corresponds to online voice and video, as shown in figure 9, this method comprises:
S901: media server receives the media play request message that media player is sent, which disappears
The identification information of multimedia resource is carried in breath;Media player can establish network connection (such as: SOCKET connection) simultaneously.
S902: above-mentioned media server acquires the mark of equipment according to the identification information and multi-medium data of multimedia resource
The corresponding relationship of information, (when determining multimedia resource when determining that the identification information of the multimedia resource corresponds to online voice and video
Identification information it is corresponding when being multi-medium data acquisition equipment (herein be specially audio collecting device and video capture device),
It can determine the corresponding online multimedia resource of the identification information of multimedia resource (being herein specially online voice and video);Or
Person, further include in above-mentioned corresponding relationship the type of multimedia resource and the identification information of multimedia resource and audio collecting device and
The corresponding relationship of video capture device, then according to above-mentioned corresponding relationship, it is first determined the mark of multimedia resource is corresponding online
Multimedia resource (being herein specially online voice and video), and then according to the corresponding relationship, determine corresponding audio collecting device
And video capture device), open audio collecting device and video capture device.
S903: media server obtains audio data from the audio collecting device and obtains video from the video capture device
Audio data and video data are merged and the network connection by establishing with media player are sent to institute in real time by data
State media player.
S904: if media player stops playing, it is connected to the network disconnection, media server stops sending data, close
The audio collecting device and video capture device.
Based on inventive concept same as above method embodiment, the embodiment of the present invention also provides a kind of digital living network
Alliance system, as shown in Figure 10, the system include media server 1001 and media player 1002:
Media server 1001, for receiving the media play request message of the transmission of media player 1001, which is asked
Seek the identification information that multimedia resource is carried in message;It is closed according to the identification information of multimedia resource is corresponding with multimedia resource
The corresponding multi-medium data acquisition of online multimedia resource when determining that the identification information corresponds to online multimedia resource, is opened by system
Equipment;Multi-medium data is obtained from multi-medium data acquisition equipment, and the multi-medium data is sent to media player
1001。
Media player 1002 for sending the media play request message to the media server 1001, and connects
Receive the multi-medium data that the media server 1001 is sent.
Above system receives the media play request message that media player 1002 is sent using media server 1001,
And the identification information of multimedia resource is carried in the playing request message;According to the identification information and multimedia of multimedia resource
When determining that the identification information corresponds to online multimedia resource, it is corresponding more to open online multimedia resource for the corresponding relationship of resource
Medium data acquisition equipment;Multi-medium data is obtained from multi-medium data acquisition equipment, and the multi-medium data is sent to
Media player 1002.For the multimedia resource obtained in real time, media player 1002 is able to carry out real-time broadcasting.
Preferably, as shown in figure 11, which further includes media controller 1003:
Media controller 1003 carries the matchmaker in the query messages for sending query messages to media server 1001
The MAC Address of body controller 1003;
Above-mentioned media server 1001 is also used to authenticate above-mentioned MAC Address, if certification passes through, controls to media
Device 1003 sends response message, and the identification information of online multimedia resource is carried in the response message;
Above-mentioned media controller 1003 is also used to, by the identification information of online multimedia resource by playing control command hair
Give media player 1002.
Above-mentioned media controller can be an individual physical equipment, can also be deployed in media server 1001 together
In one physical equipment.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (9)
1. a kind of method of online multimedia resource-sharing in digital living network alliance system characterized by comprising
Media server receives the media play request message that media player is sent, and carries more matchmakers in the playing request message
The identification information of body resource;
The media server determines more matchmakers according to the identification information of multimedia resource and the corresponding relationship of multimedia resource
When the identification information of body resource corresponds to online multimedia resource, opens the corresponding multi-medium data of the online multimedia resource and adopt
Collect equipment;Wherein, the corresponding relationship of the identification information of the multimedia resource and multimedia resource, specifically: the multimedia
The corresponding relationship of the type of the identification information and multimedia resource of resource or the identification information and multimedia of the multimedia resource
The corresponding relationship of the identification information of data acquisition equipment;
The media server obtains multi-medium data from multi-medium data acquisition equipment and is sent to the media in real time
Player.
2. the method as described in claim 1, which is characterized in that media server receives the media play that media player is sent
Before request message, further includes:
The media server receives the query messages that media controller is sent, and the media control is carried in the query messages
The medium plan MAC Address of device;
The media server authenticates the MAC Address, if certification passes through, Xiang Suoshu media controller sends response and disappears
It ceases, the identification information of online multimedia resource is carried in the response message, so that the media controller will be described online more
The identification information of media resource is sent to the media player by playing control command.
3. method according to claim 1 or 2, which is characterized in that the identification information of the multimedia resource is more matchmakers
The hypertext transfer protocol address of body resource.
4. the method as described in claim 1, which is characterized in that if the multimedia resource is Online Video, the media
Server determines the mark of the multimedia resource according to the identification information of multimedia resource and the corresponding relationship of multimedia resource
When information corresponds to online multimedia resource, the corresponding multi-medium data acquisition equipment of the online multimedia resource, media are opened
Server obtains multi-medium data from multi-medium data acquisition equipment and is sent to media player in real time, specifically includes:
The corresponding relationship of the type of identification information and multimedia resource if it is the multimedia resource, the media server
According to the type corresponding relationship of the identification information of multimedia resource and multimedia resource, the mark letter of the multimedia resource is determined
When ceasing corresponding Online Video, video capture device is opened;The media server obtains video counts from the video capture device
It is sent to the media player in real time according to and by network connection that the media player is established;
The corresponding relationship of the identification information of identification information and multi-medium data acquisition equipment if it is the multimedia resource, institute
The corresponding relationship that media server acquires the identification information of equipment according to the identification information and multi-medium data of multimedia resource is stated,
It determines the corresponding video capture device of the identification information of the multimedia resource, and opens the video capture device;The matchmaker
Body server obtains video data from the video capture device and the network connection established by the media player is real-time
It is sent to the media player.
5. the method as described in claim 1, which is characterized in that if the multimedia resource is online voice, the media
Server determines the mark of the multimedia resource according to the identification information of multimedia resource and the corresponding relationship of multimedia resource
When information corresponds to online multimedia resource, the corresponding multi-medium data acquisition equipment of the online multimedia resource, media are opened
Server obtains multi-medium data from multi-medium data acquisition equipment and is sent to the media player in real time, specific to wrap
It includes:
The corresponding relationship of the type of identification information and multimedia resource if it is the multimedia resource, the media server
According to the type corresponding relationship of the identification information of multimedia resource and multimedia resource, the mark letter of the multimedia resource is determined
When ceasing corresponding online voice, audio collecting device is opened;The media server obtains audio number from the audio collecting device
It is sent to the media player in real time according to and by network connection that the media player is established;
The corresponding relationship of the identification information of identification information and multi-medium data acquisition equipment if it is the multimedia resource, institute
The corresponding relationship that media server acquires the identification information of equipment according to the identification information and multi-medium data of multimedia resource is stated,
It determines the corresponding audio collecting device of the identification information of the multimedia resource, and opens the audio collecting device;The matchmaker
Body server obtains audio data from the audio collecting device and the network connection established by the media player is real-time
It is sent to the media player.
6. the method as described in claim 1, which is characterized in that if the multimedia resource is media when taking pictures online
Server determines the mark of the multimedia resource according to the identification information of multimedia resource and the corresponding relationship of multimedia resource
When information corresponds to online multimedia resource, the corresponding multi-medium data acquisition equipment of the online multimedia resource, media are opened
Server obtains multi-medium data from multi-medium data acquisition equipment and is sent to the media player in real time, specific to wrap
It includes:
The corresponding relationship of the type of identification information and multimedia resource if it is the multimedia resource, the media server
According to the type corresponding relationship of the identification information of multimedia resource and multimedia resource, the mark letter of the multimedia resource is determined
When breath correspondence is taken pictures online, photo acquisition equipment is opened;The media server obtains number of pictures from the photo acquisition equipment
According to and be sent to the media player in real time;
The corresponding relationship of the identification information of identification information and multi-medium data acquisition equipment if it is the multimedia resource, institute
The corresponding relationship that media server acquires the identification information of equipment according to the identification information and multi-medium data of multimedia resource is stated,
It determines the corresponding photo acquisition equipment of the identification information of the multimedia resource, and opens the photo acquisition equipment;The matchmaker
Body server obtains picture data from the photo acquisition equipment and is sent to the media player in real time.
7. the method as described in claim 1, which is characterized in that described if the multimedia resource is online voice and video
Media server determines the multimedia resource according to the identification information of multimedia resource and the corresponding relationship of multimedia resource
When identification information corresponds to online multimedia resource, opens the corresponding multi-medium data of online multimedia resource and acquire equipment, media
Server obtains multi-medium data from multi-medium data acquisition equipment and is sent to media player in real time, specifically includes:
The corresponding relationship of the type of identification information and multimedia resource if it is the multimedia resource, the media server
According to the type corresponding relationship of the identification information of multimedia resource and the multimedia resource, the mark of the multimedia resource is determined
When knowledge information corresponds to online voice and video, audio collecting device and video capture device are opened;Media server is from the audio
It acquires equipment to obtain audio data and obtain video data from the video capture device, by the audio data and the video
Data merge and the network connection by establishing with the media player is sent to the media player in real time;
The corresponding relationship of the identification information of identification information and multi-medium data acquisition equipment if it is the multimedia resource, institute
It is corresponding with the identification information of multi-medium data acquisition equipment according to the identification information of multimedia resource to state media server
Relationship determines the corresponding audio collecting device of the identification information of the multimedia resource and video capture device, and described in unlatching
Audio collecting device and the video capture device;The media server from the audio collecting device obtain audio data and
Video data is obtained from the video capture device, the audio data and the video data are merged and is passed through is described
The network connection that media player is established is sent to the media player in real time.
8. the system of online multimedia resource-sharing in a kind of digital living network alliance system, which is characterized in that including media
Server and media player:
The media server, for receiving the media play request message of media player transmission, the playing request message
The middle identification information for carrying multimedia resource, according to the corresponding relationship of the identification information of multimedia resource and multimedia resource, really
When the fixed identification information corresponds to online multimedia resource, opens the corresponding multi-medium data acquisition of online multimedia resource and set
It is standby, multi-medium data is obtained from multi-medium data acquisition equipment, and the multi-medium data is sent to the media and is broadcast
Put device, wherein the identification information of the multimedia resource and the corresponding relationship of multimedia resource, specifically: the multimedia money
The corresponding relationship of the type of the identification information and multimedia resource in source or the identification information of the multimedia resource and multimedia number
According to the corresponding relationship of the identification information of acquisition equipment;
The media player for sending the media play request message to the media server, and receives the matchmaker
The multi-medium data that body server is sent.
9. system as claimed in claim 8, which is characterized in that further include media controller:
The media controller carries the matchmaker in the query messages for sending query messages to the media server
The MAC Address of body controller;
The media server is also used to authenticate the MAC Address, if certification passes through, Xiang Suoshu media controller hair
Response message is sent, the identification information of online multimedia resource is carried in the response message;
The media controller is also used to for the identification information of the online multimedia resource being sent to by playing control command
The media player.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310737678.3A CN103731339B (en) | 2013-12-27 | 2013-12-27 | Online multimedia resource share method in digital living network alliance system and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310737678.3A CN103731339B (en) | 2013-12-27 | 2013-12-27 | Online multimedia resource share method in digital living network alliance system and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103731339A CN103731339A (en) | 2014-04-16 |
CN103731339B true CN103731339B (en) | 2019-08-09 |
Family
ID=50455274
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310737678.3A Expired - Fee Related CN103731339B (en) | 2013-12-27 | 2013-12-27 | Online multimedia resource share method in digital living network alliance system and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103731339B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618418B (en) * | 2014-07-09 | 2019-09-10 | 腾讯科技(北京)有限公司 | Play the method and device of multimedia file |
CN106791944A (en) * | 2015-11-23 | 2017-05-31 | 北大方正集团有限公司 | Multi-screen interaction method, multi-screen interactive device and Multi-screen interaction system |
CN105939489A (en) * | 2016-03-31 | 2016-09-14 | 乐视控股(北京)有限公司 | Multimedia data carousel method and device |
CN114647469B (en) * | 2018-12-19 | 2024-10-18 | 西安万像电子科技有限公司 | Data processing method and system |
CN110149358B (en) * | 2019-03-27 | 2022-03-18 | 西安万像电子科技有限公司 | Data transmission method, system and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018237A (en) * | 2007-01-16 | 2007-08-15 | 成都金山互动娱乐科技有限公司 | A method for playing the online synchronization explication of the network game |
CN101600101A (en) * | 2009-06-24 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of audio frequency and video of Mobile Multimedia Broadcasting are shared method and system |
CN101800838A (en) * | 2009-12-25 | 2010-08-11 | 袁炜 | Internet TV virtual machine |
CN101820534A (en) * | 2009-02-27 | 2010-09-01 | 青岛海信电器股份有限公司 | Network streaming media playing method and system and terminal server |
CN102025709A (en) * | 2009-09-10 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Multimedia player as well as method and device for outputting multimedia rich information |
CN201846356U (en) * | 2010-07-31 | 2011-05-25 | 大连工业大学 | Real-time field multimedia information collection communication system |
CN102104798A (en) * | 2010-12-09 | 2011-06-22 | 胡建军 | Video system and selecting and purchasing method for long-distance shopping |
CN102291412A (en) * | 2011-08-29 | 2011-12-21 | 中兴通讯股份有限公司 | Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol) |
CN102348089A (en) * | 2010-08-06 | 2012-02-08 | 康佳集团股份有限公司 | Video playing method and system |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
CN103237249A (en) * | 2013-04-09 | 2013-08-07 | 青岛海信移动通信技术股份有限公司 | Method, device and system for play control in digital living network alliance system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9138644B2 (en) * | 2002-12-10 | 2015-09-22 | Sony Computer Entertainment America Llc | System and method for accelerated machine switching |
-
2013
- 2013-12-27 CN CN201310737678.3A patent/CN103731339B/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018237A (en) * | 2007-01-16 | 2007-08-15 | 成都金山互动娱乐科技有限公司 | A method for playing the online synchronization explication of the network game |
CN101820534A (en) * | 2009-02-27 | 2010-09-01 | 青岛海信电器股份有限公司 | Network streaming media playing method and system and terminal server |
CN101600101A (en) * | 2009-06-24 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of audio frequency and video of Mobile Multimedia Broadcasting are shared method and system |
CN102025709A (en) * | 2009-09-10 | 2011-04-20 | 腾讯科技(深圳)有限公司 | Multimedia player as well as method and device for outputting multimedia rich information |
CN101800838A (en) * | 2009-12-25 | 2010-08-11 | 袁炜 | Internet TV virtual machine |
CN201846356U (en) * | 2010-07-31 | 2011-05-25 | 大连工业大学 | Real-time field multimedia information collection communication system |
CN102348089A (en) * | 2010-08-06 | 2012-02-08 | 康佳集团股份有限公司 | Video playing method and system |
CN102104798A (en) * | 2010-12-09 | 2011-06-22 | 胡建军 | Video system and selecting and purchasing method for long-distance shopping |
CN102291412A (en) * | 2011-08-29 | 2011-12-21 | 中兴通讯股份有限公司 | Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol) |
CN103237249A (en) * | 2013-04-09 | 2013-08-07 | 青岛海信移动通信技术股份有限公司 | Method, device and system for play control in digital living network alliance system |
CN103220301A (en) * | 2013-04-28 | 2013-07-24 | 青岛海信移动通信技术股份有限公司 | Media play controlling method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103731339A (en) | 2014-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11218527B2 (en) | Methods and systems for overlaying and playback of audio data received from distinct sources | |
CN106416180B (en) | Use the interaction detecting and resloving in the ABR network of client interaction | |
WO2017101419A1 (en) | Screen projection method | |
CN103731339B (en) | Online multimedia resource share method in digital living network alliance system and system | |
KR101411739B1 (en) | Method for capturing contents on tv and connecting with social service using second device and system thereof | |
CN109275130A (en) | A kind of throwing screen method, apparatus and storage medium | |
JP2012249275A (en) | Content simultaneous playback terminal, content simultaneous playback system, and content simultaneous playback method | |
US9519558B2 (en) | Method for identifying device, and device | |
US9392315B1 (en) | Remote display graphics | |
WO2018000634A1 (en) | Video broadcasting method, device, equipment and system | |
JP2007306570A (en) | Access of data resource using pause point | |
CN103596019B (en) | For showing the method and system of IPTV contents across screen | |
WO2014190655A1 (en) | Application synchronization method, application server and terminal | |
CN112261421A (en) | Virtual reality display method and device, electronic equipment and storage medium | |
CN102710986A (en) | Mobile phone audio and video playing method, mobile phone and playing device | |
CN103873956B (en) | Media file playing method, system, player, terminal and media storage platform | |
US9865273B2 (en) | Tangible multimedia content playback method and apparatus | |
CN109996024A (en) | A kind of exchange method and device | |
CN106358001A (en) | Information processing method, information processing apparatus and information processing system | |
US20160248832A1 (en) | Multimedia resource management method, cloud server and electronic apparatus | |
US20180343473A1 (en) | Method for providing content service and system thereof | |
US9210233B2 (en) | System for sending internet based content to a media device through a mobile phone | |
US20120281066A1 (en) | Information processing device and information processing method | |
CN102510470B (en) | Media stream data copying method and equipment | |
TWI469606B (en) | System and method for streaming media sharing and providing |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190809 |
|
CF01 | Termination of patent right due to non-payment of annual fee |