Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to the structural representation of the multimedia play system shown in Fig. 1, one embodiment of the invention proposes a kind of multimedia play system and comprises at least one mobile device 1(Fig. 1 and be shown as 11,12 ..., 1n), interaction device 2 and a multimedia output apparatus 3; At least one mobile device 1 connects interaction device 2 respectively by wireless network, controls interaction device 2 respectively and generates play signal; Interaction device 2 connects multimedia output apparatus 3 by multimedia interface, sends play signal to multimedia output apparatus 3; Multimedia output apparatus 3 exports play signal.
At least one mobile device 1 in the present invention is the smart machine with wireless network linkage function and data processing function, can adopt but be not limited to the multiple portable units such as mobile phone, PDA, panel computer, MP4.
Interaction device 2 in the present invention comprises processor, memory, radio network interface, supply module and multimedia interface, and wherein supply module can adopt USB to power.Interaction device 2 small volume, similar with flash disk size, quality is little, and function is strong, easy to carry.
Multimedia output apparatus 3 in the present invention has audio amplifier, audio-frequency information can be exported to the equipment of spectators, also can have image output function, can adopt but be not limited to the multiple technologies such as projecting apparatus, television set, home theater.
Set up with reference at least one mobile device shown in Fig. 2 and interaction device the schematic flow sheet that wireless network is connected, one embodiment of the invention proposes at least one mobile device 1 and interaction device 2 and sets up the flow process that wireless network is connected and comprise:
Step S11, at least one mobile device 1 send the broadcast based on local area network (LAN) to interaction device 2;
Step S12, interaction device 2 receive the broadcast that at least one mobile device 1 sends, and own IP address and other number information are informed at least one mobile device 1 by broadcast;
Step S13, at least one mobile device 1 show all interaction devices 2 found respectively, determine the interaction device 2 that will connect respectively according to the selection of user;
Step S14, at least one mobile device 1 connect with selected interaction device 2.
The present invention proposes, above-mentioned wireless network comprise in WIFI, GSM, GPRS and/or bluetooth one or more.To adopt WIFI radio network technique, the radio network interface of interaction device 2 can support the ap mode of WIFI.At least one mobile device 1 sends the broadcast used based on local area network (LAN) after connecting upper WIFI wireless routing, interaction device 2 receives the broadcast that at least one mobile device 1 sends, and at least one mobile device 1 is informed by broadcast in the IP address of oneself and other coded messages.At least one mobile device 1 shows the interaction device 2 in local area network (LAN) on its interface, is selected whether to be connected to this interaction device 2 by user.If user selects interaction device 2, then this mobile device 1 can create Socket with interaction device 2 and is connected, and the wireless network communication realized between at least one mobile device 1 and interaction device 2 is machine-processed.
If there is multiple interaction device and multiple mobile device simultaneously, then each interaction device can adopt above-mentioned flow process respectively, connects with at least one mobile device.
The schematic flow sheet that interaction device generates play signal is controlled with reference at least one mobile device shown in Fig. 3.One embodiment of the invention proposes, and at least one mobile device 1 controls the flow process that interaction device 2 generates play signal and comprises:
Step S21, at least one mobile device 1 determine the multi-medium data that will carry out playing respectively according to user operation; And/or
Step S22, at least one mobile device 1 determine the instruction of carrying out playing manipulation to multi-medium data according to user operation respectively;
Step S23, at least one mobile device 1 send multi-medium data and/or instruction respectively by wireless network to interaction device 2;
Step S24, interaction device 2 receiving multimedia data and/or instruction;
Step S25, interaction device 2 process the multi-medium data and/or instruction that receive, according to instruction manipulation multi-medium data, generate play signal.
Above-mentioned steps S23, can transmit multi-medium data and instruction simultaneously; Can first move instruction, then transmit multi-medium data; Interaction device end can also perform instruction at receiving multimedia data simultaneously, carries out broadcasting manipulation to multi-medium data.
There is no strict sequencing between above-mentioned steps S21, S22 and S23, first can perform step S21, determine the multi-medium data that will play; Then perform step S23, multi-medium data is sent to interaction device 2; Perform step S22 again, determine the instruction to this multi-medium data; Perform step S23 again, instruction is sent to interaction device 2.Also first can perform step S21, determine the multi-medium data that will play; Perform step S22 again, determine the instruction to this multi-medium data; Then perform step S23, multi-medium data and instruction are sent to interaction device 2.Mobile device 1 runs and plays management application, realize the storage to multi-medium data, call, manage, and multi-medium data is carried out to the instruction of broadcasting manipulation, include but not limited to that broadcasting, stopping, time-out, recovery broadcasting, F.F., rewind, redirect song, tonequality adjustment, volume adjust, exit.Multi-medium data is issued interaction device 2 by mobile device 1 of the present invention, interaction device 2 and mobile device 1 open self multi-medium data respectively, even the two can open different multi-medium datas, which achieves interaction device 2 and mobile device 1 can play different contents, broadcasting can be manipulated respectively to multi-medium data.One interaction device 2 can be supported that multiple mobile device 1 connects simultaneously and manipulate with broadcasting, conveniently shares on other multimedia equipments by the multi-medium data on mobile device, can play in turn for many people.
For the multi-medium data of MP3 format, if there is in the first mobile device 11 and the second mobile device 12, first mobile device 11 multi-medium data having a file " 123.mp3 " by name in Play System.A kind of flow process of the present embodiment is as follows:
Step S201, the first mobile device 11 carry out remote equipment and search and be connected, if fill order successful connection, " getAttachedPeerID " orders the mark that will return interaction device 2;
Step S202, the first mobile device 11 build oneself http server, call startHttpServer and open service;
Step S203, unlatching remote interaction application plays need to build corresponding Intent information, started by startApp (intent), according to the http address of " 123.mp3 " file that the operation of user will be play, and other information are delivered to interaction device 2, after interaction device 2 receives order, then processing command, starts corresponding music program and plays, and forms play signal;
In step S204, playing process, the first mobile device 11 opening timing device timing (as every 1 second) asks the information such as playing progress rate to interaction device 2, and gives the user of the first mobile device 11 by the information displaying of reception;
If to suspend in step S205, playing process, recover broadcasting, F.F., rewind, upper one bent, next is bent, stop, the operation such as to exit, and calls step S203 above, by Play Control command routing to interaction device 2, interaction device 2 carries out respective handling;
Step S206, when interaction device 2 finishes playing, automatically can send a message to the first mobile device 11 and play that next is bent, after the first mobile device 11 receives message, the information of next song be sent to interaction device 2, continue to control interaction device 2 and form play signal;
The message such as the playing progress rate that in step S204, interaction device 2 returns return to the first mobile device 11 by the form that branch connects into character string, and concrete string format can be: " music aggregate scheduling (millisecond, shaping character string); Current playing progress rate (millisecond, shaping character string); Long-range broadcast state (character string of boolean type); Whether remote player runs (character string of boolean type); Whether current song finishes playing (character string of boolean type) ".
If the second mobile device 12 will control interaction device 2 and generate play signal, then the second mobile device 12 first performs above-mentioned at least one mobile device 1 and interaction device 2 and sets up the flow process that wireless network is connected, and sets up wireless network be connected with interaction device 2; Perform above-mentioned at least one mobile device 1 again and control the flow process that interaction device 2 generates play signal.Sequencing between the step specifically comprised and step can be different from the flow process that above-mentioned first mobile device 11 performs, but all need user to specify the played file that will play to send to interaction device 2, the manipulation instruction of user to this played file is sent to interaction device 2; Perform instruction by interaction device 2, broadcasting manipulation is carried out to the played file of interaction device 2 end, forms play signal.
The present invention proposes, and interaction device 2 connects multimedia output apparatus 3 by multimedia interface, controls multimedia output apparatus 3 and exports play signal.Multimedia interface comprise in HDMI, RGB, VGA, IEEE1394, DVI digital input interface, AV interface, S-Video bis-component video interface, IEEE1394, parallel interface, serial line interface, RS-232 interface, USB interface one or more.To adopt HDMI technology, multimedia output apparatus 3 receives play signal by HDMI, and is played to user.
With reference to the transmission shown in Fig. 4 and fill order flow chart, the present invention also proposes, and at least one mobile device is controlled interaction device respectively and realized by transmission and exectorial mode, specifically comprises:
Step S231, at least one mobile device send order respectively to interaction device;
Step S232, interaction device receive and fill order respectively;
Step S233, interaction device are to the execution result of at least one mobile device difference return command.
With reference to a kind of Play System working timing figure shown in Fig. 5, based on above-described embodiment, at least one mobile device 1 of the present invention runs plays management application, realize the storage to multi-medium data, call, manage, and multi-medium data is carried out to the instruction of broadcasting manipulation, include but not limited to that broadcasting, stopping, time-out, recovery broadcasting, F.F., rewind, redirect song, tonequality adjustment, volume adjust, exit.This broadcasting management application distributes self-defined message, the order that different manipulation command assignment is different, as remoteRewind() be " rewind " order, remoteVolumeDown() be the order of " volume reduction ", and getRemoteMediaNotice() be " request playing progress rate data " etc., refer to Fig. 5.Interaction device 2 fill order, and return exectorial result at least one mobile device 1.
With reference to the Play System workflow diagram shown in Fig. 6, another embodiment of the present invention proposes, and a kind of workflow of Play System comprises:
Step S41, at least one mobile device 1 start plays application;
Step S42, at least one mobile device 1 check whether needs upgrading, if need upgrade, enters upgrading flow process; Otherwise carry out step S43;
Step S43, at least one mobile device 1 send statistical information;
Step S44, at least one mobile device 1 select the multi-medium data that will play respectively according to user operation;
Step S45, at least one mobile device 1 are selected to open file according to user operation respectively, if open file successfully, carry out step S46; Otherwise return step S44;
Step S46, at least one mobile device 1 show the multi-medium data that will play to user, the operation according to user carries out broadcasting manipulation to multi-medium data;
Step S47, at least one mobile device 1 select whether play this multi-medium data at interaction device 2 according to the operation of user, and the operation according to user is carried out step S48 or returns step S46;
Step S48, select to play this multi-medium data at interaction device 2 for user, at least one mobile device 1 is set up wireless network with interaction device 2 and is connected, if successful connection, carry out step S49, otherwise return step S46;
The multi-medium data application version version match whether and instruction is specified of step S49, detection interaction device 2, if do not mate, returns step S46, otherwise carries out step S410;
Step S410, multi-medium data and/or instruction are sent to interaction device 2 by wireless network;
Step S411, interaction device 2 receiving multimedia data and/or instruction, process the multi-medium data and/or instruction that receive, according to instruction manipulation multi-medium data, generates play signal;
Play signal is issued multimedia output apparatus 3 by multimedia interface by step S412, interaction device 2;
Step S413, multimedia output apparatus 3 export play signal.
The present invention also proposes a kind of player method, based at least one mobile device 1, interaction device 2 with realize playing with the multimedia output apparatus 3 that interaction device 2 is connected by multimedia interface.With reference to the player method schematic flow sheet shown in Fig. 7, first embodiment of the invention comprises:
Step S1, at least one mobile device 1 connect the step of interaction device 2 respectively by wireless network;
Step S2, at least one mobile device 1 control the step that interaction device 2 generates play signal respectively; With
Step S3, multimedia output apparatus 3 export the step of play signal.
The structure of at least one mobile device 1 of the present embodiment, interaction device 2 and multimedia output apparatus 3, annexation and operation principle are similar to previous embodiment, therefore do not repeat.
At least one mobile device of reference shown in Fig. 2 and interaction device set up the schematic flow sheet that wireless network is connected, and one embodiment of the invention proposes, and the step that step 1, at least one mobile device 1 connect interaction device 2 respectively by wireless network comprises:
Step S11, at least one mobile device 1 send the broadcast based on local area network (LAN) to interaction device 2;
Step S12, interaction device 2 receive the broadcast that at least one mobile device 1 sends, and own IP address and other number information are informed at least one mobile device 1 by broadcast;
Step S13, at least one mobile device 1 show all interaction devices 2 found respectively, determine the interaction device 2 that will connect respectively according to the selection of user;
Step S14, at least one mobile device 1 connect with selected interaction device 2.
Control with reference at least one mobile device shown in Fig. 3 the schematic flow sheet that interaction device generates play signal, one embodiment of the invention proposes, and step S2, at least one mobile device 1 control the step that interaction device 2 generates play signal respectively and comprise:
Step S21, at least one mobile device 1 determine the multi-medium data that will carry out playing respectively according to user operation; And/or
Step S22, at least one mobile device 1 determine the instruction of carrying out playing manipulation to multi-medium data according to user operation respectively;
Step S23, at least one mobile device 1 send multi-medium data and/or instruction respectively by wireless network to interaction device 2;
Step S24, interaction device 2 receiving multimedia data and/or instruction;
Step S25, interaction device 2 process the multi-medium data and/or instruction that receive, according to instruction manipulation multi-medium data, generate play signal.
Above-mentioned steps S23, can transmit multi-medium data and instruction simultaneously; Can first move instruction, then transmit multi-medium data; Interaction device end can also perform instruction at receiving multimedia data simultaneously, carries out broadcasting manipulation to multi-medium data.
There is no strict sequencing between above-mentioned steps S21, S22 and S23, first can perform step S21, determine the multi-medium data that will play; Then perform step S23, multi-medium data is sent to interaction device 2; Perform step S22 again, determine the instruction to this multi-medium data; Perform step S23 again, instruction is sent to interaction device 2.Also first can perform step S21, determine the multi-medium data that will play; Perform step S22 again, determine the instruction to this multi-medium data; Then perform step S23, multi-medium data and instruction are sent to interaction device 2.Mobile device 1 runs and plays management application, realize the storage to multi-medium data, call, manage, and multi-medium data is carried out to the instruction of broadcasting manipulation, include but not limited to that broadcasting, stopping, time-out, recovery broadcasting, F.F., rewind, redirect song, tonequality adjustment, volume adjust, exit.
The present invention also proposes an embodiment, and the step that step S3, multimedia output apparatus 3 export play signal is that interaction device 2 connects multimedia output apparatus 3 by multimedia interface, controls multimedia output apparatus 3 and exports play signal.The adoptable technical scheme of multimedia interface is similar to previous embodiment, therefore does not repeat.
With reference to the transmission shown in Fig. 4 and fill order flow chart.Based on above-described embodiment, the present invention also proposes, and the step that step S2, at least one mobile device 1 control interaction device generation play signal is respectively realized by transmission and exectorial mode, specifically comprises:
Step S231, at least one mobile device send order respectively to interaction device;
Step S232, interaction device receive and fill order respectively;
Step S233, interaction device return exectorial result respectively at least one mobile device.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.