Embodiment
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the media play controlling method of intelligent terminal of the present invention.
The media play controlling method of described intelligent terminal comprises the following steps:
S101, intelligent terminal sends media data by communication network to the playback equipment controller;
S102, the playback equipment controller receives described media data, and controls corresponding playback equipment and play described media data.
Wherein, described intelligent terminal comprises the handheld devices such as mobile phone, panel computer, also comprises special-purpose remote controller; Described playback equipment refers to that sound equipment, TV etc. have the equipment of audio frequency and video playing function; Described playback equipment controller comprises the control appliances such as Set Top Box of TV set-top box, TV box, sound equipment; Described media data comprises audio file data, video file data, image file data etc.
For above-mentioned steps 1, intelligent terminal and described playback equipment controller can communicate towards the public network of particular communication devices not by WIFI etc., also can communicate by instant communication networks of setting up such as Bluetooth communications.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of mode that in the present invention, intelligent terminal and playback equipment controller connect.
S201, described intelligent terminal sends the search data bag by Radio Broadcasting Agreements;
S202, described playback equipment controller receives described search data bag, to described intelligent terminal transmit control device address; The IP address of described playback equipment controller for example;
S203, described intelligent terminal receives described controller address, and connects according to described controller address and corresponding described playback equipment controller, and described playback equipment controller is sent to media data.
Broadcast is to send the agreement of packet to All hosts in consolidated network.It does not need intelligent terminal control program on described intelligent terminal to know that the IP address of described playback equipment controller can realize sending packets to all playback equipment controllers, controller control program on described playback equipment controller only need to be monitored the search data bag, distinguishes whether the search data bag received is sent and got final product by described intelligent terminal.If the search data bag is to be sent by described intelligent terminal, controller control program on described playback equipment controller is returned to the IP address of oneself to the intelligent terminal control program on described intelligent terminal, and the data of setting up easily between described intelligent terminal and described playback equipment controller connect.
As a kind of preferred implementation, after described intelligent terminal receives described controller address, described intelligent terminal is according to the described controller address formation controller selective listing received, and shows described controller selective listing;
When the controller address in described controller selective listing is selected, according to described controller address and corresponding described playback equipment controller, connect.
By show described controller selective listing on intelligent terminal, the user can see all playback equipment controllers that search intuitively, and the user can select the playback equipment controller that need to be controlled according to the needs of oneself, convenient.
Refer to Fig. 3, Fig. 3 is that in the present invention, intelligent terminal sends the flow chart of steps of a kind of execution mode of media data to the playback equipment controller.
In the present embodiment, after connecting with corresponding described playback equipment controller, carry out following steps:
S301, described intelligent terminal sends the intelligent terminal address to described playback equipment controller, and corresponding media data information;
S302, described playback equipment controller receives described intelligent terminal address and described media data information, sends the request of obtaining media data to described intelligent terminal;
S303, described intelligent terminal receives described request of obtaining media data, and described playback equipment controller is sent to corresponding media data.
Wherein, described intelligent terminal address can be the IP address of described intelligent terminal, and described media data information can be the contents such as song title, video file name.
In present embodiment, the active request of described intelligent terminal response playback equipment controller sends corresponding media data to it, realizes two-way communication, avoids not preparing send media data and cause sending unsuccessfully with regard to folk prescription because the playback equipment controller is carried out to receive.
Further, in the present embodiment, can comprise the call format of described media data in described request of obtaining media data;
Described intelligent terminal according to the call format of described media data, sends the media data of corresponding format after receiving described request of obtaining media data to described playback equipment controller.
Because common playback equipment controller or playback equipment do not have media data are carried out to the format conversion function.And can do format conversion to media data at intelligent terminal by the way, and or select to meet the media data of described playback equipment controller or the requirement of playback equipment broadcast format, make the present invention can compatible more media formats.
And, for the step S102 of the media play controlling method of intelligent terminal of the present invention, the operation that described playback equipment is play described media data comprises the data that Show Picture, playing video data, the operations such as playing audio-fequency data.
Described playback equipment controller is controlled corresponding playback equipment and is play described media data and can realize by following two kinds of modes:
A kind of mode is:
Described playback equipment controller opens media player program is carried out playback process to described media data, and second media data that will obtain after playback process exports corresponding playback equipment to, controls described playback equipment and plays described the second media data.
In this implementation, realize the playback process to described media data on described playback equipment controller, the second media data that therefore exports playback equipment to is exactly audio stream or the video flowing that can play-over.This mode relatively is applicable to not have the playback equipment of digital processing ability, such as intelligence, receives the sound equipment of analog signal or television set etc.
Another kind of mode is:
Described playback equipment controller is forwarded to corresponding playback equipment by described media data, and controls described playback equipment and play described media data.
In this implementation, described playback equipment controller can not processed the media data received, and directly is forwarded to corresponding playback equipment, by playback equipment, described media data is carried out to playback process.This mode relatively is applicable to have the intelligent television of digital processing ability, intelligent sound equipment etc.
In the media play controlling method of intelligent terminal of the present invention, described intelligent terminal, also can be further to described playback equipment controller sending controling instruction except described playback equipment controller is sent media data;
Described playback equipment controller receives described control command, and carries out corresponding control operation according to described control command.
Described control command comprises the broadcasting for described media data, suspends the instructions such as F.F.; Also comprise power supply to described playback equipment and described playback equipment controller, dormancy, pattern, determine, the control command such as volume, therefore by intelligent terminal, just can control flexibly playback equipment.
Refer to Fig. 4, Fig. 4 is the structural representation of the controlling media play system of intelligent terminal of the present invention.
The controlling media play system of described intelligent terminal comprises: for the intelligent terminal control 11 moved on intelligent terminal, and the controller control 12 for moving on the playback equipment controller;
Described intelligent terminal control 11 is for sending media data by communication network to described controller control 12;
Described controller control 12 is for receiving described media data, and controls corresponding playback equipment and play described media data.
Wherein, described intelligent terminal comprises the handheld devices such as mobile phone, panel computer, also comprises special-purpose remote controller; Described playback equipment refers to that sound equipment, TV etc. have the equipment of audio frequency and video playing function; Described playback equipment controller comprises the control appliances such as Set Top Box of TV set-top box, TV box, sound equipment; Described media data comprises audio file data, video file data, image file data etc.
Described intelligent terminal control 11 and described controller control 12 can communicate towards the public network of particular communication devices not by WIFI etc., also can communicate by instant communication networks of setting up such as Bluetooth communications.
In one embodiment, described intelligent terminal control 11 is further used for sending the search data bag by Radio Broadcasting Agreements; And the reception controller address, according to described controller address and corresponding described controller control 12, connect;
Described controller control 12 is further used for receiving described search data bag, and sends described controller address to described intelligent terminal control 11.
Described intelligent terminal control 11 is searched for described controller control 12 by the mode of broadcast, and the data that can set up quickly and easily between described intelligent terminal control 11 and described controller control 12 connect.
As a kind of preferred implementation, described intelligent terminal control 11, after receiving described controller address, according to the described controller address formation controller selective listing received, and shows described controller selective listing; When the controller address in described controller selective listing is selected, according to described controller address and corresponding described controller control 12, connect.
By showing described controller selective listing, the user can see all playback equipment controllers that search intuitively, and the user can select the playback equipment controller that need to be controlled according to the needs of oneself, convenient.
In another embodiment, described intelligent terminal control 11, after connecting with corresponding described controller control 12, is further used for sending the intelligent terminal address to described controller control 12, and corresponding media data information; Receive the request of obtaining media data that described controller control 12 sends, described controller control 12 is sent to corresponding described media data;
Described controller control 12 receives described intelligent terminal address and described media data information, to described intelligent terminal control 11, sends described request of obtaining media data.
Wherein, described intelligent terminal address can be the IP address of described intelligent terminal, and described media data information can be the contents such as song title, video file name.
In present embodiment, the active request of the described controller control 12 of described intelligent terminal control 11 response sends corresponding media data to it, realize two-way communication, avoid because described controller control 12 is not carried out and receive to be prepared and intelligent terminal control 11 folk prescriptions send media datas and cause sending unsuccessfully.
Further, in the present embodiment, can comprise the call format of described media data in described request of obtaining media data;
Described intelligent terminal control 11 according to the call format of described media data, sends the media data of corresponding format after receiving described request of obtaining media data to described controller control 12.
Because common playback equipment controller or playback equipment do not have media data are carried out to the format conversion function.And can do format conversion to media data at intelligent terminal by the way, and or select to meet the media data of described playback equipment controller or the requirement of playback equipment broadcast format, make the present invention can compatible more media formats.
Described controller control 12 can be controlled corresponding playback equipment by following two kinds of modes and play described media data:
A kind of mode is:
Described controller control 12 is opened media player program described media data is carried out to playback process, and second media data that will obtain after playback process exports corresponding playback equipment to, controls described playback equipment and plays described the second media data.
In this implementation, realize the playback process to described media data on described playback equipment controller, the second media data that therefore exports playback equipment to is exactly audio stream or the video flowing that can play-over.This mode relatively is applicable to control the playback equipment do not have the digital processing ability, such as intelligence, receives the sound equipment of analog signal or television set etc.
Another kind of mode is:
Described controller control 12 is forwarded to corresponding playback equipment by described media data, and controls described playback equipment and play described media data.
In this implementation, described playback equipment controller can not processed the media data received, and directly is forwarded to corresponding playback equipment, by playback equipment, described media data is carried out to playback process.This mode relatively is applicable to control the intelligent television with digital processing ability, intelligent sound equipment etc.
In the controlling media play system of intelligent terminal of the present invention, described intelligent terminal control 11, also can be further to described controller control 12 sending controling instructions except described controller control 12 is sent media data;
After described controller control 12 receives described control command, and carry out corresponding control operation according to described control command.
Described control command comprises the broadcasting for described media data, suspend, the instructions such as F.F., also comprise power supply to described playback equipment and described playback equipment controller, dormancy, pattern, determine, the control command such as volume, therefore by intelligent terminal, just can control flexibly playback equipment.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-mentioned execution mode, and corresponding control system, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the respective embodiments described above.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.