Summary of the invention
To the defective that exists in the prior art; The object of the present invention is to provide a kind of method that realizes that medium are shared and controlled between many devices in the local network; Purpose be exactly for make the user can be between its each media playing apparatus that has (comprising device) with media play function seamless interactive media; Realize that medium are shared, media push, media play transfer, media play Long-distance Control etc., make things convenient for the user to view and admire medium.
For reaching above purpose, the technical scheme that the present invention takes is:
A kind of method that realizes that medium are shared and controlled between many devices in the local network is characterized in that, may further comprise the steps:
Step 1, deploying client is also set controlled media apparatus and the master control media apparatus: on each device, client is installed, and is controlled media apparatus or is the master control media apparatus, then device is connected into local network through this this device of client appointment,
Step 2, the controlled media apparatus in the master control media apparatus active inquiry local network, perhaps controlled media apparatus be broadcast announcement master control media apparatus in local network initiatively, and the two is found by the other side mutually, and accomplishes matching operation,
Step 3, master control media apparatus be through protocol instructions or touch-screen control gesture, carries out with controlled media apparatus that medium are shared, media push, media play shift or the media play remote control operation;
Said local network is local area network (LAN) or the VLAN that adopts VPN technologies foundation.
On the basis of technique scheme, the controlled media apparatus of master control media apparatus active inquiry is found the two mutually, and is accomplished matching operation by the other side, specifically may further comprise the steps:
The active inquiry request of sending of the timing in local network of the client in the master control media apparatus is to search the controlled media apparatus that is in the same local network; When controlled media apparatus receives this active inquiry request; By the client in the controlled media apparatus this request is resolved; And controlled media apparatus self information returned to the master control media apparatus through response message; Said controlled media apparatus self information comprises at least: controlled media apparatus address information; Controlled media apparatus device name; Media play procedure path in the controlled media apparatus; Media store path in the controlled media apparatus
After the master control media apparatus receives this response message; By the client in the master control media apparatus this response message is resolved; And controlled media apparatus self information is stored in this locality; The master control media apparatus sends proactive notification message to controlled media apparatus then; Self information with the master control media apparatus in proactive notification message returns to controlled media apparatus, and said master control media apparatus self information comprises at least: media store path in media play procedure path, the master control media apparatus in master control media apparatus address information, master control media apparatus device name, the master control media apparatus
Controlled media apparatus receives this proactive notification message, by the client in the controlled media apparatus this response message is resolved, and master control media apparatus self information is stored in this locality.
On the basis of technique scheme, controlled media apparatus active broadcast notice master control media apparatus is found the two mutually, and is accomplished matching operation by the other side, specifically may further comprise the steps:
Client in the controlled media apparatus in local network regularly send broadcast; And in this broadcast, carry controlled media apparatus self information; Said controlled media apparatus self information comprises at least: media store path in media play procedure path, the controlled media apparatus in controlled media apparatus address information, controlled media apparatus device name, the controlled media apparatus
When the master control media apparatus receives this broadcast; By the client in the master control media apparatus this broadcast is resolved; And controlled media apparatus self information is stored in this locality; The master control media apparatus sends the response message of this broadcast to controlled media apparatus then; Self information with the master control media apparatus in response message returns to controlled media apparatus, and said master control media apparatus self information comprises at least: media store path in media play procedure path, the master control media apparatus in master control media apparatus address information, master control media apparatus device name, the master control media apparatus
Controlled media apparatus receives this response message, by the client in the controlled media apparatus this response message is resolved, and master control media apparatus self information is stored in this locality.
On the basis of technique scheme, the concrete steps that the described medium of step 3 are shared, media push or media play shift are:
Step 1, confirm the source of medium: the master control media apparatus is through protocol instructions or touch-screen control gesture medium that it is local or the current in progress medium source as medium,
Or: the master control media apparatus is through protocol instructions or touch-screen control gesture, and active inquiry is stored in the media information on the controlled media apparatus, and with the source of the medium on the controlled media apparatus as medium,
Or: the master control media apparatus obtains the reference address of the medium on remote server or the high in the clouds server; Control gesture with the source of this reference address through protocol instructions or touch-screen then as medium; Said remote server or high in the clouds server do not belong to this local network; But the equipment in the local network can have access to this server through the access mode net of spanning network and further have access to the medium of storing in this server
Or: the master control media apparatus is through protocol instructions or touch-screen control gesture, current in progress medium on the controlled media apparatus of active inquiry, with current in progress medium on this controlled media apparatus as the source of medium;
Step 2, confirm the transmission destination of medium: the source of medium is transferred to the controlled media apparatus of some appointments from the master control media apparatus, is about to the transmission destination of the controlled media apparatus of some appointments as medium,
Or: the source of medium is transferred to the controlled media apparatus of two above appointments from the master control media apparatus, is about to the transmission destination of the controlled media apparatus of two above appointments, comprise the transmission destination of whole controlled media apparatus as medium as medium,
Or: the source of medium is transferred to the controlled media apparatus of another appointment from controlled media apparatus, is about to the transmission destination of the controlled media apparatus of another appointment as medium,
Or: the source of medium is transferred to the controlled media apparatus of two above appointments from controlled media apparatus, is about to the transmission destination of the controlled media apparatus of two above appointments as medium,
Or: the source of medium is transferred to the master control media apparatus from controlled media apparatus; Be about to the transmission destination of master control media apparatus as medium,
Step 3, confirm the transmission means in the source of medium: the transmission destination of medium is all downloaded or sent to the pairing medium in the source of medium, make the pairing medium in source of medium become the local media of the transmission destination of medium,
Or: in local network, the transmission destination of medium receives this broadcast with the pairing media broadcast in the source of medium, and the source of medium is regarded as data source of stream media;
Step 4, the current broadcast information transmission process of medium: when the current broadcast information of medium existed, with the transmission in the source of medium, the current broadcast information of transmission medium was to transmission destination in the lump simultaneously, or the current broadcast information of ignoring medium will not be transmitted;
When the current broadcast information of medium does not exist, need not the current broadcast information of transmission medium;
Step 5; The broadcast of medium: the pairing device of the transmission destination of medium; According to media play procedure path in device screen size, the device, the medium that receive in the media store path in the playing device, or the medium that comprise of play stream media data source; Or the medium that comprise of the reference address of the medium on remote server or the high in the clouds server
When the transmission destination of medium also received the current broadcast information of medium, perhaps the current broadcast information according to these medium continued to play these medium, perhaps ignores the current broadcast information of these medium, from the beginning plays these medium.
On the basis of technique scheme, the concrete steps of the described media play Long-distance Control of step 3 are:
The master control media apparatus is transferred to the media play operational order on the controlled media apparatus of a certain appointment through protocol instructions or touch-screen control gesture,
After client in the controlled media apparatus of this appointment parses the media play operational order, be transmitted to the media play procedure in the controlled media apparatus of this appointment, make media play procedure by the media play operational order action that parses,
Said media play operational order comprises at least: volume is regulated, and channel information input, channel switch, and play, and suspend, stop, and F.F., rewind down, the browsing media file, the media file search upwards,, is confirmed cancellation downwards.
The method that medium are shared and controlled between many devices in the realization local network of the present invention; Utilize interconnecting of local network implement device; And realized that further three screens are interactive; It is mutual between TV, computer, hand-held intelligent equipment, to carry out media data, realizes that medium are shared, media push, media play transfers, media play Long-distance Control etc., and conforming broadcast experience is provided; Make things convenient for the user to view and admire medium, provide the medium of user a new generation interactive and share experience (especially video view and admire new experience).
Embodiment
Below in conjunction with accompanying drawing the present invention is done further explain.
As shown in Figure 1, the present invention has provided the method that realizes that medium are shared and controlled between many devices in the local network, wherein:
Said local network refers to local area network (LAN) or the VLAN that adopts VPN technologies to set up, and comprising: family lan, office local area network (LAN), remote lan etc.;
Said device is meant media playing apparatus; And carry out that medium are shared and the multiple arrangement controlled all is in the same local network; Comprise: audio-video-frequency broadcast output equipment terminal is (TV), computer, hand-held intelligent equipment for example; Said audio-video-frequency broadcast output equipment terminal, computer, hand-held intelligent equipment are the device that is exclusively used in media play that can be connected into local network, or for can be connected into local network and device that have media play function; Each device (media playing apparatus) is divided into controlled media apparatus and master control media apparatus two big classes in use, shares and controls so that carry out medium; Media apparatus is the abbreviation of media playing apparatus;
Said audio-video-frequency broadcast output equipment terminal includes but not limited to: DTV, TV set-top box (outstanding index word TV set-top box), high definition player,
Said computer includes but not limited to: desktop computer, notebook computer, net book, and all-in-one,
Said hand-held intelligent equipment includes but not limited to: intelligent mobile communication equipment terminals (for example mobile phone of the mobile phone of iphone, An Zhuo system, WM system etc.), panel computer (for example ipad, the panel computer of An Zhuo system etc.), other has the palmtop device of embedded system (this embedded system possesses media play function);
Said medium comprise audio frequency, video, picture at least; More particularly: the form of picture can be JPG, PNG, GIF, TIFF etc.; The form of audio frequency can be LPCM, AAC, AC-3, ATRAC3Plus, MP3, WMA9 etc., and the form of video can be MPEG-1, MPEG-2, MPEG-4, AVC, WMV9, Http Living Stream (based on the motion video Streaming Media of http) etc.
The objective of the invention is to realize that three screens are interactive, said three screens are meant audio-video-frequency broadcast output equipment terminal screen (for example video screen), computer screen, hand-held intelligent device screen.Said interaction includes but not limited to that medium are shared, media push, media play transfer, media play Long-distance Control etc.
The method that medium are shared and controlled between many devices in the realization local network of the present invention, as shown in Figure 2, may further comprise the steps:
Step 1, deploying client is also set controlled media apparatus and the master control media apparatus: on each device, client is installed, and is controlled media apparatus or is the master control media apparatus, then device is connected into local network through this this device of client appointment,
Said device is to have media play function and can be connected to the media playing apparatus in the same local network;
For example: each device is connected in the same local network through wired (netting twine, ADSL) or wireless (WIFI, 2.4G) mode; Or directly connect one to one through infrared ray between two devices, be regarded as this two table apparatus and constitute a local network; Or connect (being no more than 7 usually, the restriction of Bluetooth technology itself) through bluetooth between some devices, be regarded as constituting a local network between these devices;
Step 2, the controlled media apparatus in the master control media apparatus active inquiry local network, perhaps controlled media apparatus be broadcast announcement master control media apparatus in local network initiatively, and the two is found by the other side mutually, and accomplishes matching operation,
Wherein:
A, the controlled media apparatus of master control media apparatus active inquiry are found the two mutually, and are accomplished matching operation by the other side, specifically may further comprise the steps:
Step 21; The active inquiry request of sending of the timing in local network of the client in the master control media apparatus is to search the controlled media apparatus that is in the same local network; When controlled media apparatus receives this active inquiry request; By the client in the controlled media apparatus this request is resolved; And controlled media apparatus self information returned to the master control media apparatus through response message, said controlled media apparatus self information comprises at least: media store path in media play procedure path, the controlled media apparatus in controlled media apparatus address information, controlled media apparatus device name, the controlled media apparatus
Step 22; After the master control media apparatus receives this response message; By the client in the master control media apparatus this response message is resolved; And controlled media apparatus self information is stored in this locality, and the master control media apparatus sends proactive notification message to controlled media apparatus then, and the self information with the master control media apparatus in proactive notification message returns to controlled media apparatus; Said master control media apparatus self information comprises at least: media store path in media play procedure path, the master control media apparatus in master control media apparatus address information, master control media apparatus device name, the master control media apparatus
Step 23, controlled media apparatus receive this proactive notification message, by the client in the controlled media apparatus this response message is resolved, and master control media apparatus self information is stored in this locality;
B, controlled media apparatus active broadcast notice master control media apparatus are found the two mutually, and are accomplished matching operation by the other side, specifically may further comprise the steps:
Step 24; Client in the controlled media apparatus in local network regularly send broadcast; And in this broadcast, carry controlled media apparatus self information; Said controlled media apparatus self information comprises at least: media store path in media play procedure path, the controlled media apparatus in controlled media apparatus address information, controlled media apparatus device name, the controlled media apparatus
Step 25; When the master control media apparatus receives this broadcast; By the client in the master control media apparatus this broadcast is resolved; And controlled media apparatus self information is stored in this locality, and the master control media apparatus sends the response message of this broadcast to controlled media apparatus then, and the self information with the master control media apparatus in response message returns to controlled media apparatus; Said master control media apparatus self information comprises at least: media store path in media play procedure path, the master control media apparatus in master control media apparatus address information, master control media apparatus device name, the master control media apparatus
Step 26, controlled media apparatus receives this response message, by the client in the controlled media apparatus this response message is resolved, and master control media apparatus self information is stored in this locality;
Further; The broadcast that active inquiry request that above-mentioned master control media apparatus sends and controlled media apparatus send also can be by user's hand-operated forced sending on corresponding device thereof, so that discovery, pairing process between real-time manual execution master control media apparatus, controlled media apparatus;
Step 3, master control media apparatus be through protocol instructions or touch-screen control gesture, carries out with controlled media apparatus that medium are shared, media push, media play shift or the media play remote control operation.
The present invention does following the division with the concrete applied environment of step 3, handles accordingly according to different application environments:
By media delivery direction branch, there are three types earlier:
1, master control media apparatus local media is transferred to controlled media apparatus,
2, controlled media apparatus local media is transferred to the master control media apparatus or is transferred to other controlled media apparatus,
3, the media delivery on remote server or the high in the clouds server is to the master control media apparatus or be transferred to controlled media apparatus,
By media delivery destination address branch, there are three types again:
A, given transmission is to the master control media apparatus or be transferred to controlled media apparatus,
B, master control media apparatus local media are broadcast to local network,
C, controlled media apparatus local media are broadcast to local network,
By media play mode branch, there are two types again:
X, play again after being transferred to the local or controlled media apparatus this locality of master control media apparatus,
Y, directly on master control media apparatus or controlled media apparatus, play, by the transfer of current broadcast information whether, can be divided into two types again as data source:
The current broadcast information of M, media transferring
N, the current broadcast information of media transferring not.
On the basis of technique scheme, the concrete steps that the described medium of step 3 are shared, media push or media play shift are:
Step 31, confirm the source of medium: the master control media apparatus is through protocol instructions or touch-screen control gesture medium that it is local or the current in progress medium source as medium,
Or: the master control media apparatus is through protocol instructions or touch-screen control gesture, and active inquiry is stored in the media information on the controlled media apparatus, and with the source of the medium on the controlled media apparatus as medium,
Or: the master control media apparatus obtains the reference address of the medium on remote server or the high in the clouds server; Control gesture with the source of this reference address through protocol instructions or touch-screen then as medium; Said remote server or high in the clouds server do not belong to this local network; But the equipment in the local network can have access to this server through the access mode net of spanning network and further have access to the medium of storing in this server
Or: the master control media apparatus is through protocol instructions or touch-screen control gesture, current in progress medium on the controlled media apparatus of active inquiry, with current in progress medium on this controlled media apparatus as the source of medium;
Step 32, confirm the transmission destination of medium: the source of medium is transferred to the controlled media apparatus of some appointments from the master control media apparatus, is about to the transmission destination of the controlled media apparatus of some appointments as medium,
Or: the source of medium is transferred to the controlled media apparatus of two above appointments from the master control media apparatus, is about to the transmission destination of the controlled media apparatus of two above appointments, comprise the transmission destination of whole controlled media apparatus as medium as medium,
Or: the source of medium is transferred to the controlled media apparatus of another appointment from controlled media apparatus, is about to the transmission destination of the controlled media apparatus of another appointment as medium,
Or: the source of medium is transferred to the controlled media apparatus of two above appointments from controlled media apparatus, is about to the transmission destination of the controlled media apparatus of two above appointments as medium,
Or: the source of medium is transferred to the master control media apparatus from controlled media apparatus; Be about to the transmission destination of master control media apparatus as medium,
Step 33, confirm the transmission means in the source of medium: the transmission destination of medium is all downloaded or sent to the pairing medium in the source of medium, make the pairing medium in source of medium become the local media of the transmission destination of medium,
Or: in local network, the transmission destination of medium receives this broadcast with the pairing media broadcast in the source of medium, and the source of medium is regarded as data source of stream media;
Step 34, the current broadcast information transmission process of medium: when the current broadcast information of medium existed, with the transmission in the source of medium, the current broadcast information of transmission medium was to transmission destination in the lump simultaneously, or the current broadcast information of ignoring medium will not be transmitted;
When the current broadcast information of medium does not exist, need not the current broadcast information of transmission medium;
Step 35; The broadcast of medium: the pairing device of the transmission destination of medium; According to media play procedure path in device screen size, the device, the medium that receive in the media store path in the playing device, or the medium that comprise of play stream media data source; Or the medium that comprise of the reference address of the medium on remote server or the high in the clouds server
When the transmission destination of medium also received the current broadcast information of medium, perhaps the current broadcast information according to these medium continued to play these medium, perhaps ignores the current broadcast information of these medium, from the beginning plays these medium.
On the basis of technique scheme, the concrete steps of the described media play Long-distance Control of step 3 are:
Step 311, the master control media apparatus is transferred to the media play operational order on the controlled media apparatus of a certain appointment through protocol instructions or touch-screen control gesture,
Step 312 after the client in the controlled media apparatus of this appointment parses the media play operational order, is transmitted to the media play procedure in the controlled media apparatus of this appointment, makes media play procedure by the media play operational order action that parses,
Said media play operational order comprises at least: volume is regulated, and channel information input, channel switch, and play, and suspend, stop, and F.F., rewind down, the browsing media file, the media file search upwards,, is confirmed cancellation downwards.
Through the media play Long-distance Control; Can realize with touch screen smart machines such as mobile communication equipment terminals or panel computers, replace the non intelligent remote controller of audio-video-frequency broadcast output equipment terminal or audio-video-frequency broadcast output equipment terminal set top box, obtain better to control experience; Can be when needed; Carry out directly that corresponding medium are shared, media push, media play transfer operation, it is more convenient to use, and can provide the medium of user a new generation interactive and share experience.
By the way; Realized medium sharing between master control media apparatus and controlled media apparatus; Medium can be transferred to by the master control media apparatus and continue operations such as broadcast, time-out on the operation interface of controlled media apparatus; Vice versa, perhaps shares other as data source and be on the apparatus for media playing in the same local network.Realize medium (referring to video especially) broadcast continuing, shifting or the like on different device.
For example: adopt touch-control touch-screen control gesture to carry out alternately between master control media apparatus and the Be Controlled media apparatus; Control transformation column, channel, selection play content, broadcast, F.F., rewind down, download or off-line buffer memory etc.; Drop-down with two sensings, can the content of playing on the controlled media apparatus be pulled on the master control media apparatus.Simultaneously, on the master control media apparatus, during the playing media content, control gesture, push away or click the corresponding button on two fingers and can the media content of playing be forwarded on the corresponding device thereof and play with touch-screen.
Below be some concrete application examples:
Medium are shared application example 1
The master control media apparatus is through protocol instructions or touch-screen control gesture; The medium of this locality and the current broadcast information of these medium are broadcast on the controlled media apparatus all in the local network; After the client of controlled media apparatus receives broadcasting; Current broadcast information with these medium and these medium is transferred to controlled media apparatus this locality earlier; Whether the user who reresents this controlled media apparatus plays these medium, when the user agrees to play, then on controlled media apparatus, continue to accomplish the broadcast associative operation of medium according to media play procedure path in media store path, the controlled media apparatus in the current broadcast information of controlled media apparatus screen size, these medium, the controlled media apparatus; From the beginning play these medium, or continue to play these medium according to the current broadcast information of these medium.
Medium are shared application example 2
The master control media apparatus is through protocol instructions or touch-screen control gesture; Active inquiry is stored in the media information on the controlled media apparatus; And the current broadcast information of controlling the controlled media apparatus medium that it is local and these medium is broadcast in the local network; After the client of the client of other controlled media apparatus or master control media apparatus receives broadcasting; Current broadcast information with these medium and these medium is transferred to controlled media apparatus or master control media apparatus this locality earlier; Whether the user who reresents this controlled media apparatus or master control media apparatus plays these medium; When the user agrees to play, then on controlled media apparatus, continue to accomplish the broadcast associative operation of medium according to media play procedure path in media store path, the controlled media apparatus in the current broadcast information of controlled media apparatus screen size, these medium, the controlled media apparatus, from the beginning play these medium; Or continue to play these medium according to the current broadcast information of these medium; Or on the master control media apparatus, continue to accomplish the broadcast associative operation of medium according to media play procedure path in media store path, the master control media apparatus in the current broadcast information of master control media apparatus screen size, these medium, the master control media apparatus, from the beginning play these medium, or continue to play these medium according to the current broadcast information of these medium.
Medium are shared application example 3
The master control media apparatus is through protocol instructions or touch-screen control gesture; The medium of this locality are broadcast in the local network as data source; After the client of each controlled media apparatus receives this new data source; Point out the user of this controlled media apparatus whether to play the medium in this data source, when the user agrees to play, then directly on controlled media apparatus, carry out the broadcast associative operation of medium according to media play procedure path in controlled media apparatus screen size, the controlled media apparatus.
Medium are shared application example 4
The master control media apparatus is through protocol instructions or touch-screen control gesture; Active inquiry is stored in the media information on the controlled media apparatus; And control controlled media apparatus the medium of this appointment are broadcast in the local network as data source; After the client of the client of other controlled media apparatus or master control media apparatus receives this new data source; Point out the user of this controlled media apparatus or master control media apparatus whether to play the medium in this data source; When the user agrees to play, then directly on controlled media apparatus, carry out the broadcast associative operation of medium, or directly on the master control media apparatus, carry out the broadcast associative operation of medium according to media play procedure path in master control media apparatus screen size, the master control media apparatus according to media play procedure path in controlled media apparatus screen size, the controlled media apparatus.
Media push application example 1
The master control media apparatus is through protocol instructions or touch-screen control gesture; With the media delivery of this locality to the controlled media apparatus of a certain appointment; On the controlled media apparatus of this appointment, continue to accomplish the broadcast associative operation of medium according to media play procedure path in media store path, the controlled media apparatus in controlled media apparatus screen size, the controlled media apparatus then.
Media push application example 2
The master control media apparatus is through protocol instructions or touch-screen control gesture; Active inquiry is stored in the media information on the controlled media apparatus; And control controlled media apparatus the medium of this appointment are transferred to as data source on the controlled media apparatus of a certain appointment, directly on the controlled media apparatus of this appointment, carry out the broadcast associative operation of medium then according to media play procedure path in controlled media apparatus screen size, the controlled media apparatus.
Media play shifts application example 1
The master control media apparatus is through protocol instructions or touch-screen control gesture; The medium of this locality and the current broadcast information of these medium are transferred on the controlled media apparatus of a certain appointment; On the controlled media apparatus of appointment, continue to accomplish the broadcast associative operation of medium then, continue to play these medium according to media play procedure path in media store path, the controlled media apparatus in the current broadcast information of controlled media apparatus screen size, these medium, the controlled media apparatus.
Media play shifts application example 2
The master control media apparatus is through protocol instructions or touch-screen control gesture; Active inquiry is stored in the media information on the controlled media apparatus; The medium of appointment are transferred on the master control media apparatus from controlled media apparatus,, then also the current broadcast information of the medium of this appointment is transferred on the master control media apparatus simultaneously if the medium of this appointment are play on controlled media apparatus; After the medium of appointment are transferred on the master control media apparatus from the controlled media apparatus fully; The master control media apparatus calls local media play procedure, from the beginning plays these medium, or continues to play these medium according to the current broadcast information of the medium of this appointment.
Media play remote control application instance 1
The master control media apparatus obtains the reference address of the medium on remote server or the high in the clouds server; Through protocol instructions or touch-screen control gesture this reference address is transferred on the controlled media apparatus some or all in the local area network (LAN) then; Said remote server or high in the clouds server do not belong to this local network, but the equipment in the local network can also further have access to the medium of storing in this server to this server through wide-area network access.
The content of not doing in this specification to describe in detail belongs to this area professional and technical personnel's known prior art.