Summary of the invention
For Problems existing in above-mentioned background technology, the object of the present invention is to provide a kind of media play controlling method of intelligent terminal, intelligent terminal can be made to control various playback equipment easily and play media data in intelligent terminal.
A media play controlling method for intelligent terminal, comprises step:
Intelligent terminal sends media data by communication network to playback equipment controller; This step comprises: described intelligent terminal sends intelligent terminal address to described playback equipment controller, and corresponding media data information; Described playback equipment controller receives described intelligent terminal address and described media data information, and send the request obtaining media data to described intelligent terminal, the request of described acquisition media data comprises the call format of described media data; After obtaining the request of media data described in described intelligent terminal for reception, according to the call format of described media data, described playback equipment controller is sent to the media data of corresponding format;
Playback equipment controller receives described media data, and controls corresponding playback equipment and play described media data;
Described intelligent terminal is to described playback equipment controller sending controling instruction;
Described playback equipment controller receives described control command, and performs corresponding control operation according to described control command;
Wherein, described control command comprises the instruction to described media data; Also the control command to described playback equipment and described playback equipment controller is comprised.
In the media play controlling method of intelligent terminal of the present invention, by intelligent terminal by communication network to playback equipment controller, as Set Top Box etc. sends media data, after receiving described media data by playback equipment controller, control corresponding playback equipment and play described media data.Because described media data is not carry out playback process in intelligent terminal, but realize playback process by described playback equipment controller and corresponding playback equipment.Intelligent terminal only needs to send media data by communication network to playback equipment controller, without the need to using special audio frequency or video data line to connect intelligent terminal and corresponding playback equipment, control the media data in various playback equipment broadcasting intelligent terminal more easily.
For Problems existing in above-mentioned background technology, the present invention also aims to the controlling media play system that a kind of intelligent terminal is provided, intelligent terminal can be made to control various playback equipment easily and play media data in intelligent terminal.
A controlling media play system for intelligent terminal, comprising: for the intelligent terminal control run on intelligent terminal, and the controller control for running on playback equipment controller;
Described intelligent terminal control is used for sending media data by communication network to described controller control, described intelligent terminal control is comprised the operation that described controller control sends media data by communication network: described intelligent terminal control sends intelligent terminal address to described controller control, and corresponding media data information; Receive the request of the acquisition media data that described controller control sends, corresponding described media data is sent to described controller control; Described controller control receives described intelligent terminal address and described media data information, sends the request of described acquisition media data to described intelligent terminal control, and the request of described acquisition media data comprises the call format of described media data; After described intelligent terminal control receives the request of described acquisition media data, according to the call format of described media data, described controller control is sent to the media data of corresponding format;
Described controller control for receiving described media data, and controls corresponding playback equipment and plays described media data;
Described intelligent terminal control is used for described controller control sending controling instruction;
Described controller control is further used for receiving described control command, and performs corresponding control operation according to described control command;
Wherein, described control command comprises the instruction to described media data; Also the control command to described playback equipment and described playback equipment controller is comprised.
In the controlling media play system of intelligent terminal of the present invention, described intelligent terminal control sends media data by communication network to described controller control, after described controller control receives described media data, control corresponding playback equipment and play described media data.Because described media data is not carry out playback process in intelligent terminal, but control corresponding playback equipment by described controller control and realize playback process.Therefore, intelligent terminal only needs to send media data by communication network, without the need to using special audio frequency or video data line to connect intelligent terminal and corresponding playback equipment, control the media data in various playback equipment broadcasting intelligent terminal more easily.
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 playback equipment controller;
S102, playback equipment controller receives described media data, and controls corresponding playback equipment and play described media data.
Wherein, described intelligent terminal comprises the handheld device such as mobile phone, panel computer, also comprises special remote controller; Described playback equipment refers to that sound equipment, TV etc. have the equipment of audio and video playing function; Described playback equipment controller comprises the control appliance such as Set Top Box of TV set-top box, TV box, sound equipment; Described media data then comprises audio file data, video file data, image file data etc.
For above-mentioned steps 1, intelligent terminal and described playback equipment controller communicate towards the public network of not particular communication devices by WIFI etc., also communicate by instant communication networks set 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 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 such as IP address of described playback equipment controller;
S203, controller address described in described intelligent terminal for reception, and connect according to described controller address and corresponding described playback equipment controller, media data is sent to described playback equipment controller.
Broadcast is the agreement that All hosts sends packet in consolidated network.It does not need the intelligent terminal control program on described intelligent terminal to know, and the IP address of described playback equipment controller can realize sending packet to all playback equipment controllers, controller control program on described playback equipment controller only needs to monitor search data bag, distinguishes whether the search data bag received is sent by described intelligent terminal.If search data bag is sent by described intelligent terminal, controller control program on described playback equipment controller returns to the IP address of oneself to the intelligent terminal control program on described intelligent terminal, sets up the data cube computation between described intelligent terminal and described playback equipment controller easily.
As a kind of preferred implementation, after controller address described in described intelligent terminal for reception, described intelligent terminal 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, connect according to described controller address and corresponding described playback equipment controller.
By showing described controller selective listing on intelligent terminal, user can intuitively to all playback equipment controllers searched, and user can select needs to carry out the playback equipment controller controlled according to the needs of oneself, convenient.
Refer to Fig. 3, Fig. 3 is the flow chart of steps that in the present invention, intelligent terminal sends a kind of execution mode of media data to playback equipment controller.
In the present embodiment, after connecting with corresponding described playback equipment controller, perform following steps:
S301, described intelligent terminal sends 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 obtaining media data to described intelligent terminal;
S303, obtains the request of media data described in described intelligent terminal for reception, send corresponding media data to described playback equipment controller.
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 preparing send media data with regard to folk prescription and cause sending unsuccessfully because playback equipment controller is not carried out to receive.
Further, in the present embodiment, the call format of described media data can be comprised in the request of described acquisition media data;
After obtaining the request of media data described in described intelligent terminal for reception, according to the call format of described media data, described playback equipment controller is sent to the media data of corresponding format.
Because common playback equipment controller or playback equipment do not have carry out format conversion function to media data.And format conversion can be done at intelligent terminal to media data by the way, or select the media data meeting described playback equipment controller or the requirement of playback equipment broadcast format, enable the compatible more media formats of the present invention.
And the step S102 of media play controlling method for intelligent terminal of the present invention, the operations such as the operation that described media data play by described playback equipment comprises the data that Show Picture, playing video data, playing audio-fequency data.
Described playback equipment controller is controlled corresponding playback equipment and plays described media data and can be realized by following two kinds of modes:
A kind of mode is:
Described playback equipment controller opens media player program carries out playback process to described media data, and exports the second media data obtained after playback process to corresponding playback equipment, controls described playback equipment and plays described second media data.
In this implementation, described playback equipment controller realizes the playback process to described media data, the second media data therefore exporting playback equipment to is exactly the audio stream or video flowing that can play-over.This Method compare is applicable to the playback equipment without digital processing capabilities, the sound equipment of such as intelligence reception analog signal or television set etc.
Another kind of mode is:
Described media data is forwarded to corresponding playback equipment by described playback equipment controller, and controls described playback equipment and play described media data.
In this implementation, described playback equipment controller can not process the media data received, and is directly forwarded to corresponding playback equipment, carries out playback process by playback equipment to described media data.This Method compare is applicable to the intelligent television with digital processing capabilities, intelligent sound equipment etc.
In the media play controlling method of intelligent terminal of the present invention, described intelligent terminal sends except media data except to described playback equipment controller, also can further to described playback equipment controller sending controling instruction;
Described playback equipment controller receives described control command, and performs 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, dormancy, pattern to described playback equipment and described playback equipment controller, determine, the control command such as volume, therefore just can be controlled flexibly playback equipment by intelligent terminal.
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 run on intelligent terminal, and the controller control 12 for running on 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 for receiving described media data, and controls corresponding playback equipment and plays described media data.
Wherein, described intelligent terminal comprises the handheld device such as mobile phone, panel computer, also comprises special remote controller; Described playback equipment refers to that sound equipment, TV etc. have the equipment of audio and video playing function; Described playback equipment controller comprises the control appliance such as Set Top Box of TV set-top box, TV box, sound equipment; Described media data then comprises audio file data, video file data, image file data etc.
Described intelligent terminal control 11 and described controller control 12 communicate towards the public network of not particular communication devices by WIFI etc., also communicate by instant communication networks set up such as Bluetooth communications.
In one embodiment, described intelligent terminal control 11 is further used for sending search data bag by Radio Broadcasting Agreements; And receive controller address, connect according to described controller address and corresponding described controller control 12;
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 searches for described controller control 12 by the mode of broadcast, can set up the data cube computation between described intelligent terminal control 11 and described controller control 12 quickly and easily.
As a kind of preferred implementation, described intelligent terminal control 11, after the described controller address of reception, according to the described controller address formation controller selective listing received, and shows described controller selective listing; When controller address in described controller selective listing is selected, connect according to described controller address and corresponding described controller control 12.
By showing described controller selective listing, user can intuitively to all playback equipment controllers searched, and user can select needs to carry out the playback equipment controller 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 intelligent terminal address to described controller control 12, and corresponding media data information; Receive the request of the acquisition media data that described controller control 12 sends, corresponding described media data is sent to described controller control 12;
Described controller control 12 receives described intelligent terminal address and described media data information, sends the request of described acquisition media data to described intelligent terminal control 11.
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 that described intelligent terminal control 11 responds described controller control 12 sends corresponding media data to it, realize two-way communication, avoid preparing and intelligent terminal control 11 folk prescription sends media data and causes sending unsuccessfully because described controller control 12 is not carried out to receive.
Further, in the present embodiment, the call format of described media data can be comprised in the request of described acquisition media data;
After described intelligent terminal control 11 receives the request of described acquisition media data, according to the call format of described media data, described controller control 12 is sent to the media data of corresponding format.
Because common playback equipment controller or playback equipment do not have carry out format conversion function to media data.And format conversion can be done at intelligent terminal to media data by the way, or select the media data meeting described playback equipment controller or the requirement of playback equipment broadcast format, enable the compatible more media formats of the present invention.
Described controller control 12 can control 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 and is carried out playback process to described media data, and exports the second media data obtained after playback process to corresponding playback equipment, controls described playback equipment and plays described second media data.
In this implementation, described playback equipment controller realizes the playback process to described media data, the second media data therefore exporting playback equipment to is exactly the audio stream or video flowing that can play-over.This Method compare is applicable to the playback equipment controlling not have digital processing capabilities, the sound equipment of such as intelligence reception analog signal or television set etc.
Another kind of mode is:
Described media data is forwarded to corresponding playback equipment by described controller control 12, and controls described playback equipment and play described media data.
In this implementation, described playback equipment controller can not process the media data received, and is directly forwarded to corresponding playback equipment, carries out playback process by playback equipment to described media data.This Method compare is applicable to the intelligent television controlling to have digital processing capabilities, intelligent sound equipment etc.
In the controlling media play system of intelligent terminal of the present invention, described intelligent terminal control 11, also can further to described controller control 12 sending controling instruction except sending except media data to described controller control 12;
After described controller control 12 receives described control command, and perform 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, dormancy, pattern to described playback equipment and described playback equipment controller, determine, the control command such as volume, therefore just can be controlled flexibly playback equipment by intelligent terminal.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-mentioned execution mode, and the control system of correspondence, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, 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-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not 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.