CN104967608A - Method of playing multimedia file, mobile terminal and fixing terminal - Google Patents

Method of playing multimedia file, mobile terminal and fixing terminal Download PDF

Info

Publication number
CN104967608A
CN104967608A CN201510209638.0A CN201510209638A CN104967608A CN 104967608 A CN104967608 A CN 104967608A CN 201510209638 A CN201510209638 A CN 201510209638A CN 104967608 A CN104967608 A CN 104967608A
Authority
CN
China
Prior art keywords
multimedia file
fixed terminal
information
mobile terminal
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510209638.0A
Other languages
Chinese (zh)
Other versions
CN104967608B (en
Inventor
左洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201510209638.0A priority Critical patent/CN104967608B/en
Publication of CN104967608A publication Critical patent/CN104967608A/en
Application granted granted Critical
Publication of CN104967608B publication Critical patent/CN104967608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method of playing a multimedia file, a mobile terminal and a fixing terminal, and belongs to the internet field. The method comprises the steps of when a push instruction of the multimedia file is received by an appointed application, displaying a playing equipment list, wherein the playing equipment list comprises at least one fixing terminals; when a selection instruction of any one fixing terminal of the at least one fixing terminal is received, packaging the push information and an appointed application identifier of the multimedia file to obtain a push request, wherein the push information at least comprises the multimedia information; sending the push request to the fixing terminal, so that the fixing terminal plays the multimedia file based on the multimedia information and the appointed application identifier and by the appointed application arranged on the fixing terminal. According to the present invention, the multimedia file is pushed to the fixing terminal by the appointed application, so that the fixing terminal is more abundant in functions and better in flexibility.

Description

The method of play multimedia file, mobile terminal and fixed terminal
Technical field
The present invention relates to internet arena, particularly a kind of method of play multimedia file, mobile terminal and fixed terminal.
Background technology
Along with the fast development of the Internet, mobile terminal not only can play the such as multimedia file such as video, audio frequency by third party's multimedia player, can also third party's multimedia player be passed through, multimedia file is pushed on the fixed terminals such as intelligent television and play.
At present, when mobile terminal and fixed terminal are in same local area network (LAN), can be connected by this local area network (LAN) between mobile terminal and fixed terminal.Afterwards, when mobile terminal receives propelling movement instruction, can based on the standard agreement between mobile terminal and fixed terminal, the broadcast address of multimedia file is encapsulated, obtain pushing request, and by the connection between fixed terminal, this propelling movement request is sent to fixed terminal, fixed terminal is asked based on this propelling movement, adopts the playing function carried to play this multimedia file.
The function that can realize due to standard agreement is simpler, and mobile terminal cannot be expanded standard agreement, therefore, multimedia file can only be pushed in fixed terminal and play by mobile terminal, that is to say, the multimedia file that mobile terminal pushes can only be play by fixed terminal, therefore, fixed terminal can only realize simple playing function, and function ratio is more single, and flexibility is poor.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method of play multimedia file, mobile terminal and fixed terminal.Described technical scheme is as follows:
First aspect, provide a kind of method of play multimedia file, described method comprises:
When by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and described playback equipment list comprises at least one fixed terminal;
When receiving the selection instruction to the arbitrary fixed terminal at least one fixed terminal described, encapsulate with appointment application identities the pushed information of described multimedia file, obtain pushing request, described pushed information at least comprises multimedia messages;
Described propelling movement request is sent to described fixed terminal, makes described fixed terminal based on described multimedia messages and described appointment application identities, by the appointment application that described fixed terminal is installed, play described multimedia file.
Second aspect, provide a kind of method of play multimedia file, described method comprises:
When receiving the propelling movement request of multimedia file, resolve described propelling movement request, obtain the pushed information of described multimedia file and specify application identities, described pushed information at least comprises multimedia messages;
Based on described multimedia messages and described appointment application identities, pass through installed appointment application, play described multimedia file.
The third aspect, provides a kind of mobile terminal, and described mobile terminal comprises:
First display module, for when by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and described playback equipment list comprises at least one fixed terminal;
First package module, for when receiving the selection instruction to the arbitrary fixed terminal at least one fixed terminal described, encapsulate with appointment application identities the pushed information of described multimedia file, obtain pushing request, described pushed information at least comprises multimedia messages;
First sending module, for described propelling movement request is sent to described fixed terminal, makes described fixed terminal based on described multimedia messages and described appointment application identities, by the appointment application that described fixed terminal is installed, plays described multimedia file.
Fourth aspect, provides a kind of fixed terminal, and described fixed terminal comprises:
First parsing module, for when receiving the propelling movement request of multimedia file, resolves described propelling movement request, and obtain the pushed information of described multimedia file and specify application identities, described pushed information at least comprises multimedia messages;
Playing module, for based on described multimedia messages and described appointment application identities, passes through installed appointment application, plays described multimedia file.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: in embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of play multimedia file that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram of the another kind of play multimedia file that the embodiment of the present invention provides;
Fig. 3 is the system architecture diagram of a kind of play multimedia file that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the method flow diagram of another play multimedia file that the embodiment of the present invention provides;
Fig. 6 (a) is the display interface schematic diagram of a kind of multimedia file that the embodiment of the present invention provides;
Fig. 6 (b) is the display interface schematic diagram of a kind of playback equipment list that the embodiment of the present invention provides;
Fig. 7 (a) is the interface schematic diagram of a kind of multimedia file playing progress rate that the embodiment of the present invention provides;
Fig. 7 (b) is the interface schematic diagram of a kind of multimedia file volume adjustment that the embodiment of the present invention provides;
Fig. 8 is the system architecture diagram of the another kind of play multimedia file that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Figure 10 is the method flow diagram of another play multimedia file that the embodiment of the present invention provides;
Figure 11 is the structural representation of a kind of mobile terminal that the embodiment of the present invention provides;
Figure 12 is the structural representation of a kind of fixed terminal that the embodiment of the present invention provides;
Figure 13 is the structural representation of the another kind of mobile terminal that the embodiment of the present invention provides;
Figure 14 is the structural representation of the another kind of fixed terminal that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the method flow diagram of a kind of play multimedia file that the embodiment of the present invention provides.The method is used in mobile terminal, and this mobile terminal can be the terminal such as mobile phone, panel computer, and see Fig. 1, the method comprises:
Step 101: when by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and this playback equipment list comprises at least one fixed terminal.
Step 102: when receiving the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, encapsulate with appointment application identities the pushed information of this multimedia file, obtain pushing request, this pushed information at least comprises multimedia messages.
Step 103: this propelling movement request is sent to this fixed terminal, makes this fixed terminal based on this multimedia messages and specifies application identities, by the appointment application that this fixed terminal is installed, plays this multimedia file.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When control command by specifying application to receive this multimedia file, encapsulate the control information of this multimedia file and this appointment application identities, obtain controlling request, this control information at least comprises controling parameters;
This control request is sent to this fixed terminal, makes this fixed terminal based on this controling parameters and specify application identities, by the described appointment application that this fixed terminal is installed, this multimedia file is controlled.
Alternatively, display the play list of devices, comprising:
When mobile terminal and this at least one fixed terminal are in different local area network (LAN)s, request is obtained to transfer server transmission list, this list obtains in request and carries mobile terminal identification, make transfer server identify based on the mobile terminal identification of this mobile terminal identification and storage and fixed terminal between corresponding relation, return playback equipment list to this mobile terminal;
When receiving the playback equipment list that transfer server sends, show this playback equipment list.
Alternatively, this propelling movement request is sent to this fixed terminal, comprising:
When this pushed information also comprises the facility information of this fixed terminal, this propelling movement request is sent to transfer server, transfer server is resolved this propelling movement request, obtain the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this propelling movement request is sent to this fixed terminal.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When receiving the broadcasting response message of this multimedia file, show this broadcasting response message, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When receiving the synchronizing information of this multimedia file, based on this synchronizing information, synchronous adjustment is carried out to the multimedia file of display.
Above-mentioned all alternatives, all can form optional embodiment of the present invention according to combining arbitrarily, the embodiment of the present invention repeats no longer one by one to this.
Fig. 2 is the method flow diagram of the another kind of play multimedia file that the embodiment of the present invention provides.The method is used in fixed terminal, and this fixed terminal can be intelligent television etc., and see Fig. 2, the method comprises:
Step 201: when receiving the propelling movement request of multimedia file, resolves this propelling movement request, and obtain the pushed information of this multimedia file and specify application identities, this pushed information at least comprises multimedia messages.
Step 202: based on this multimedia messages and appointment application identities, passes through installed appointment application, plays this multimedia file.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
Alternatively, based on this multimedia messages and appointment application identities, by the appointment application of installing, after playing this multimedia file, also comprise:
When receiving the control request of this multimedia file, resolve this control request, obtain the control information of this multimedia file and specify application identities, this control information at least comprises controling parameters;
Based on controling parameters and the appointment application identities of this multimedia file, pass through installed described appointment application, this multimedia file is controlled.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, play this multimedia file, comprising:
Based on this appointment application identities, the appointment application that pull-up is installed;
Based on this multimedia messages, by specifying application, play this multimedia file.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, after playing this multimedia file, also comprise:
Obtain the broadcasting response message of this multimedia file, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause;
The broadcasting response message of this multimedia file is sent to mobile terminal, makes mobile terminal show this broadcasting response message.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, after playing this multimedia file, also comprise:
Periodically obtain the synchronizing information of this multimedia file;
The synchronizing information of this multimedia file is sent to mobile terminal, makes mobile terminal based on the synchronizing information of this multimedia file, synchronous adjustment is carried out to the multimedia file of display.
Above-mentioned all alternatives, all can form optional embodiment of the present invention according to combining arbitrarily, the embodiment of the present invention repeats no longer one by one to this.
Due in the method for play multimedia file, the communication between mobile terminal from fixed terminal can comprise two kinds of different implementations, is hereafter described in detail in two different embodiments these two kinds of implementations.
Fig. 3 is the system architecture diagram of a kind of play multimedia file that the embodiment of the present invention provides.See Fig. 3, this system comprises mobile terminal and fixed terminal, and mobile terminal and this fixed terminal are positioned at same local area network (LAN), therefore, can be connected between mobile terminal and this fixed terminal by this local area network (LAN).And mobile terminal is used for multimedia file to be pushed in this fixed terminal, and mobile terminal can also directly control the multimedia file play in this fixed terminal; The multimedia file that this fixed terminal is used for pushing is play, and based on the control request that mobile terminal sends, controls the multimedia file play.
It should be noted that, in embodiments of the present invention, when mobile terminal and this fixed terminal are positioned at same local area network (LAN), mobile terminal can directly be connected with this fixed terminal, therefore, by the system architecture shown in above-mentioned Fig. 3, the player method of the multimedia file that the embodiment of the present invention provides can be realized.
As shown in Figure 4, in embodiments of the present invention, mobile terminal and fixed terminal all can comprise device discovery module, network transmission module, protocol module, cross-platform adaptation module and business logic modules.Wherein, device discovery module comprises lan device and finds module, the lan device of mobile terminal finds that module is used for periodically sending packet by local area network (LAN) after this mobile terminal starts, fixed terminal is made to find this mobile terminal, and the lan device of fixed terminal finds that module is used for periodically sending packet by local area network (LAN) after this fixed terminal starts, mobile terminal is made to find this fixed terminal; Network transmission module is for realizing the communication between mobile terminal and fixed terminal, and under mobile terminal and fixed terminal being in the scene of same local area network (LAN), network transmission module can realize the wireless connections by this local area network (LAN) between mobile terminal and fixed terminal.Further, network transmission module can pass through TCP (Transmission Control Protocol, transmission control protocol) agreement or UDP (User Datagram Protocol, User Datagram Protoco (UDP)) agreement communicates.The information such as propelling movement request, control request that protocol module is used for transmission encapsulates and resolves, can the Information encapsulation needing to transmit be got up for network delivery, and need the data that parsing opposite end passes over, and protocol module can use text protocol, also can adopt binary protocol, concrete protocol type can be determined by appointment application.Cross-platform adaptation module is used for encapsulating the information transmitted between different platform, such as, Android (Android) system, then use JNI (Java Native Interface, JAVA calls this locality) technology encapsulates, IOS system, then use object-c technology to encapsulate.Business logic modules is used for processing service logic, such as, can play multimedia file, can response limiting request etc.
Fig. 5 is the method flow diagram of a kind of play multimedia file that the embodiment of the present invention provides, the embodiment of the present invention is applied in the implementation environment shown in Fig. 3 with the method for this play multimedia file and illustrates, and the embodiment of the present invention is in the method for play multimedia file, communicated by the first implementation between mobile terminal with fixed terminal and set forth, see Fig. 5, the method comprises:
Step 501: when mobile terminal is by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and this playback equipment list comprises at least one fixed terminal.
In order to enrich the playing function of fixed terminal, and improve the flexibility of fixed terminal play multimedia file, can install on mobile terminals and specify application, and by specifying application to be pushed by this multimedia file, therefore, when mobile terminal is by specifying application to receive the propelling movement instruction of multimedia file, if under mobile terminal and this at least one fixed terminal are in the scene of same local area network (LAN), then mobile terminal receives the packet that this at least one fixed terminal is sent by this local area network (LAN), obtains at least one packet; From this at least one packet, obtain the facility information of this at least one fixed terminal respectively; The facility information of this at least one fixed terminal is added in playback equipment list, and shows this playback equipment list.
Specify application for playing this multimedia file, and this multimedia file is controlled.In addition, specify application for third party's multimedia player of specifying, or can have the appointment multimedia application of playing function, the embodiment of the present invention is not specifically limited this.Multimedia file can comprise the file such as video, audio frequency, and the embodiment of the present invention is not specifically limited equally to this.
It should be noted that, the propelling movement instruction of multimedia file is used for this multimedia file to be pushed in fixed terminal, the multimedia file of propelling movement is play by this fixed terminal, that is to say, the pushed information of this multimedia file directly can be sent to fixed terminal by mobile terminal, make fixed terminal from multimedia server, obtain this multimedia file based on this pushed information, thus play this multimedia file.In addition, the propelling movement instruction of this multimedia file can be triggered by user, that is to say, user can trigger the propelling movement instruction of this multimedia file by the first assigned operation, first assigned operation can be that the embodiment of the present invention is not specifically limited this to the slide at interface, multimedia file place, to pushing the clicking operation of button, the voice operating etc. to interface, multimedia file place in interface, multimedia file place.Such as, multimedia file is video, and as shown in Fig. 6 (a), Fig. 6 (a) is the display interface of multimedia file " 12 road cutting edge of a knife or a sword taste ", comprise " propelling movement " button at this interface, user can click this " propelling movement " button to trigger the propelling movement instruction of this multimedia file.
Wherein, this at least one fixed terminal can be broadcast data packet, multicast packet or unicast packet by the packet that this local area network (LAN) sends, that is to say, this at least one fixed terminal is by this local area network (LAN), this packet can be sent with the form of broadcast, or send this packet with the form of multicast, or send this packet with the form of clean culture, the embodiment of the present invention is not specifically limited this.
In addition, the facility information of this at least one fixed terminal can be the address information of this at least one fixed terminal, identification information etc., the address information of fixed terminal can be the IP (InternetProtocol of this fixed terminal, Internet protocol) address, MAC (Media Access Control, medium education) address etc., the identification information of fixed terminal can be the title, device numbering etc. of this fixed terminal, and the embodiment of the present invention is not specifically limited this.Such as, the facility information of this at least one fixed terminal comprises the title of this fixed terminal, if, comprise 2 fixed terminals, title is respectively " living-room TV " and " Bedroom TV ", the title of these 2 fixed terminals is added in playback equipment list, and in the interface such as shown in Fig. 6 (b), shows this playback equipment list.
It should be noted that, the embodiment of the present invention is only described for the playback equipment list shown in Fig. 6 (b), in practical application, in this playback equipment list except the title comprising this at least one fixed terminal, also may comprise the address information etc. of this at least one fixed terminal, therefore, the interface shown in above-mentioned Fig. 6 (b) does not form restriction to the embodiment of the present invention.
Step 502: when mobile terminal receives the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, the pushed information of this multimedia file is encapsulated with appointment application identities, obtain pushing request, and this propelling movement request is sent to this fixed terminal, this pushed information comprises multimedia messages.
In order to enrich the playing function of fixed terminal, appointment push protocol can be defined in appointment application, this appointment push protocol can be expanded, therefore, when mobile terminal receives the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, the pushed information of this multimedia messages can be obtained and specify application identities, and based on this appointment push protocol, the pushed information of this multimedia file is encapsulated with appointment application identities, obtain pushing request, this propelling movement request is sent to this fixed terminal.
Selection instruction is used for from least one fixed terminal that playback equipment list comprises, select a fixed terminal, and selection instruction can be triggered by user, that is to say, user can trigger this selection instruction by the second assigned operation, second assigned operation can be the clicking operation to playback equipment list, the voice operating etc. to playback equipment list, and the embodiment of the present invention is not specifically limited this.
The pushed information of this multimedia file pushes to the information needed for fixed terminal for this multimedia file, and in embodiments of the present invention, pushed information comprises multimedia messages, and multimedia messages can be the broadcast address of this multimedia file, the identification information etc. of multimedia messages.When multimedia messages is the identification information of this multimedia messages, the identification information of this multimedia messages can comprise the mark of this multimedia messages and the definition of this multimedia messages, the mark of this multimedia messages can be the title of this multimedia messages, the definition of this multimedia messages can comprise high definition, SD, smoothness etc., and the embodiment of the present invention is not specifically limited this.In addition, specify application identities to be the mark that this appointment is applied, for this appointment of unique identification application, this appointment application identities can be the title of this appointment application, and the embodiment of the present invention is not specifically limited this.
It should be noted that, based on this appointment push protocol, to the pushed information of this multimedia file with when specifying application identities to encapsulate, can encapsulate according to the specified format of this appointment push protocol, and the specified format of this appointment push protocol can comprise multiple, the embodiment of the present invention is not specifically limited this.
Further, before this propelling movement request is sent to this fixed terminal by mobile terminal, this mobile terminal can obtain the address information of this fixed terminal from this playback equipment list, and based on the address information of this fixed terminal, by this local area network (LAN), set up the wireless connections between this fixed terminal.Afterwards, can be communicated by these wireless connections between mobile terminal with this fixed terminal.
Further, before this propelling movement request is sent to fixed terminal by mobile terminal, the cross-platform adaptation module of this mobile terminal based on the operating system of fixed terminal, can encapsulate this propelling movement request, and the propelling movement request after encapsulation is sent to this fixed terminal.
Step 503: when fixed terminal receives the propelling movement request of this multimedia file, resolve this propelling movement request, obtains the multimedia messages of this multimedia file and specifies application identities.
Propelling movement request due to this multimedia file carries out encapsulation based on appointment push protocol to obtain, therefore, when fixed terminal receives the propelling movement request of this multimedia file, this fixed terminal can based on appointment push protocol, this propelling movement request is resolved, obtains the multimedia messages of this multimedia file and specify application identities.
It should be noted that, owing to can define appointment push protocol in this appointment application, therefore, when mobile terminal and this fixed terminal all install this appointment application, this mobile terminal and this fixed terminal all can know this appointment push protocol.
Step 504: fixed terminal is based on this multimedia messages and specify application identities, by the appointment application that fixed terminal is installed, plays this multimedia file.
Particularly, this fixed terminal based on appointment application identities, from the application that fixed terminal is installed, can be searched and specify application, and this appointment of pull-up application, afterwards, this fixed terminal, based on this multimedia messages, is applied by this appointment, plays this multimedia file.
This fixed terminal, based on this multimedia messages, is applied by this appointment, and the concrete operations of playing this multimedia file can be: this fixed terminal, based on this multimedia messages, obtains this multimedia file, and is applied by this appointment, plays this multimedia file.
In addition, because this multimedia messages can be the broadcast address of this multimedia file, the identification information etc. of this multimedia file, therefore, when multimedia messages is different, based on this multimedia messages, the method obtaining this multimedia file is different.Such as, when this multimedia messages is the broadcast address of this multimedia file, this fixed terminal is based on this multimedia messages, the method obtaining this multimedia file can be: this fixed terminal can send the first file acquisition request to multimedia server, carries the broadcast address of this multimedia file in the first file acquisition request; When this multimedia server receives the first file acquisition request, based on the broadcast address of this multimedia file, this multimedia file can be obtained, and this multimedia file is sent to this fixed terminal.For another example, when this multimedia messages is the identification information of this multimedia file, that is to say, when this multimedia messages is mark and the definition of this multimedia file, this fixed terminal is based on this multimedia messages, the method obtaining this multimedia file can be: this fixed terminal can send the second file acquisition request to multimedia server, carries mark and the definition of this multimedia file in the second file acquisition request; When this multimedia server receives the second file acquisition request, based on the mark of this multimedia file and definition, this multimedia file can be obtained, and this multimedia file is sent to this fixed terminal.
It should be noted that, server is based on the broadcast address of this multimedia file, the method obtaining this multimedia file can with reference to correlation technique, such as, server can based on the broadcast address of this multimedia file, from the corresponding relation between the broadcast address stored and multimedia file, obtain corresponding multimedia file.And server is based on the mark of this multimedia file and definition, the method obtaining this multimedia file also can with reference to correlation technique, such as, server can based on the mark of this multimedia file and definition, from the multimedia file identification stored, corresponding relation between definition and multimedia file, obtain corresponding multimedia file.
Further, when fixed terminal is based on this multimedia messages and appointment application identities, by the appointment application that fixed terminal is installed, after playing this multimedia file, this fixed terminal can obtain the broadcasting response message of this multimedia file, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause; The broadcasting response message of this multimedia file is sent to mobile terminal.When mobile terminal receives the broadcasting response message of this multimedia file, show this broadcasting response message.
Wherein, in embodiments of the present invention, mobile terminal not only can pass through said method, this multimedia file is pushed in this fixed terminal, mobile terminal by following method, can also control the multimedia file play in fixed terminal, specific as follows.
Step 505: when mobile terminal receives the control command to this multimedia file by this appointment application, the control information of this multimedia file is encapsulated with appointment application identities, obtain controlling request, and this control request is sent to fixed terminal, this control information comprises controling parameters.
In order to enrich the playing function of fixed terminal, prescribed control protocol can be defined in appointment application, this prescribed control protocol can be expanded, therefore, when mobile terminal receives the control command to this multimedia file by this appointment application, the control information of this multimedia file can be obtained and specify application identities, and based on this prescribed control protocol, the control information of this multimedia file is encapsulated with appointment application identities, obtain controlling request, this control request is sent to this fixed terminal.
The control command of this multimedia file is used for passing through mobile terminal, the multimedia file play in fixed terminal is controlled, and control command can be triggered by user, that is to say, user can trigger this control command by the 3rd assigned operation, 3rd assigned operation can for the slide, clicking operation, voice operating etc. to the multimedia file shown in mobile terminal, and the embodiment of the present invention is not specifically limited this.
Alternatively, in embodiments of the present invention, when user triggers this control command, controling parameters corresponding to this control command can be shown in the interface of mobile terminal.Such as, as shown in Fig. 7 (a), the playing progress rate of this multimedia file is adjusted and trigging control instruction time, the playing progress rate that can show this multimedia file in the interface shown in Fig. 7 (a) is 20:23.For another example, as shown in Fig. 7 (b), the volume of this multimedia file is adjusted and trigging control instruction time, the volume that can show this multimedia file in the interface shown in Fig. 7 (b) is 65.
The control information of this multimedia file for mobile terminal the multimedia file play in fixed terminal controlled needed for information, and control information comprises controling parameters.In addition, in embodiments of the present invention, when this multimedia file is controlled, can control the various control item of this multimedia file, the control item of this multimedia file can comprise the switching, time-out, recovery broadcasting etc. of the volume adjustment of this multimedia file, playing progress rate adjustment, screen intensity adjustment, definition.And for the different control items of this multimedia file, the controling parameters of this multimedia file is different, such as, when the control item of this multimedia file is the volume adjustment of this multimedia file, the controling parameters of this multimedia file is the volume of this multimedia file; When the control item that this multimedia is file is the playing progress rate adjustment of this multimedia file, the controling parameters of this multimedia file is the reproduction time of this multimedia file; When the control item of this multimedia file is the screen intensity adjustment of this fixed terminal, the controling parameters of this multimedia file is the brightness size of this multimedia file; When the control item of this multimedia file is the definition switching of this multimedia file, the controling parameters of this multimedia file is the definition mark of this multimedia file, the definition of this definition mark for identifying this multimedia file.
It should be noted that, based on this prescribed control protocol, to the control information of this multimedia file with when specifying application identities to encapsulate, can encapsulate according to the specified format of this prescribed control protocol, and the specified format of this prescribed control protocol can comprise multiple, the embodiment of the present invention is not specifically limited this.
Further, before this control request is sent to fixed terminal by mobile terminal, the cross-platform adaptation module of this mobile terminal based on the operating system of fixed terminal, can encapsulate this control request, and the control request after encapsulation is sent to this fixed terminal.
Step 506: when fixed terminal receives this control request, resolve this control request, obtains the controling parameters of this multimedia file and specifies application identities.
Control request due to this multimedia file carries out encapsulation based on prescribed control protocol to obtain, therefore, when fixed terminal receives the control request of this multimedia file, this fixed terminal can based on prescribed control protocol, this control request is resolved, obtains the controling parameters of this multimedia file and specify application identities.
It should be noted that, owing to can define prescribed control protocol in this appointment application, therefore, when mobile terminal and this fixed terminal all install this appointment application, this mobile terminal and this fixed terminal all can know this prescribed control protocol.
Step 507: this fixed terminal based on this multimedia file controling parameters and specify application identities, by appointment that fixed terminal is installed application, this multimedia file is controlled.
Particularly, this fixed terminal can based on appointment application identities, from the application that fixed terminal is installed, search and specify application, and this appointment of pull-up application, afterwards, this fixed terminal, based on the controling parameters of this multimedia file, is applied by this appointment, controls this multimedia file.
Further, after this fixed terminal plays this multimedia file, this fixed terminal periodically can obtain the synchronizing information of this multimedia file; And the synchronizing information of this multimedia file is sent to mobile terminal.When mobile terminal receives the synchronizing information of this multimedia file, based on the synchronizing information of this multimedia file, synchronous adjustment is carried out to the multimedia file of display.
Wherein, the synchronizing information of this multimedia file can comprise the volume, brightness, playing progress rate etc. of this multimedia file, therefore, when mobile terminal receives the synchronizing information of this multimedia file, based on the volume, brightness, playing progress rate etc. of this multimedia file, synchronous adjustment is carried out to the multimedia file of display, makes the multimedia file that shows in mobile terminal synchronous with the multimedia file play in fixed terminal.
It should be noted that, in embodiments of the present invention, the communication between mobile terminal and fixed terminal can adopt Transmission Control Protocol or udp protocol.Because Transmission Control Protocol has high reliability, the correctness transmitting data can be guaranteed, do not go out active or out of order, and udp protocol need not wait for the response of the other side when transmitting data, real-time is better, operating efficiency is higher, and the structure of the structural rate Transmission Control Protocol of udp protocol is simple, and therefore network overhead is also little.Therefore, in embodiments of the present invention, can the propelling movement request of this multimedia file be transmitted by Transmission Control Protocol and control request, and the broadcasting response message of this multimedia file and synchronizing information can be transmitted by udp protocol.In practical application, concrete which kind of communication protocol that adopts can be decided according to the actual requirements, and the embodiment of the present invention is not specifically limited this.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, multimedia file in fixed terminal can also be controlled, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.In addition, in embodiments of the present invention, when mobile terminal and fixed terminal are in same local area network (LAN), can be connected by this local area network (LAN) between this mobile terminal and this fixed terminal, and then can direct communication, improve the speed of communication.
Fig. 8 is the system architecture diagram of the another kind of play multimedia file that the embodiment of the present invention provides.See Fig. 8, this system comprises mobile terminal, transfer server and fixed terminal, and mobile terminal and this fixed terminal can be positioned at different local area network (LAN)s, now, mobile terminal can be connected by first network with between transfer server, and this fixed terminal can be connected by second network with between transfer server, and first network is the network of the current connection of mobile terminal, second network is the network of the current connection of this fixed terminal, and first network is different with second network.And mobile terminal is used for being pushed in this fixed terminal by transfer server by multimedia file, and mobile terminal can also be controlled the multimedia file play in this fixed terminal by transfer server; Transfer server is for realizing the communication between mobile terminal and this fixed terminal; The multimedia file that this fixed terminal is used for pushing is play, and based on the control request that mobile terminal sends, controls the multimedia file play.
It should be noted that, in embodiments of the present invention, when mobile terminal and this fixed terminal are positioned at different local area network (LAN)s, mobile terminal cannot directly be connected with this fixed terminal, therefore, by the system architecture shown in above-mentioned Fig. 8, the player method of the multimedia file that the embodiment of the present invention provides can be realized.And in practical application, only can adopt the system architecture shown in Fig. 8, when mobile terminal and this fixed terminal are positioned at same local area network (LAN), mobile terminal and this fixed terminal can directly connect, now, the connection between mobile terminal and transfer server can be disconnected, and disconnect the connection between this fixed terminal and transfer server, realize the player method of the multimedia file that above-described embodiment provides; And when mobile terminal and this fixed terminal are positioned at different local area network (LAN)s, do not connect between mobile terminal and this fixed terminal, and mobile terminal and this fixed terminal can be connected with between transfer server respectively, realize the player method of the multimedia file that the present embodiment provides.
As shown in Figure 9, in embodiments of the present invention, mobile terminal and fixed terminal all can comprise device discovery module, network transmission module, protocol module, cross-platform adaptation module and business logic modules.Wherein, device discovery module comprises non-local net device discovery module, and non-local net device discovery module is used for periodically sending connection packet to transfer server, makes transfer server know presence or the off-line state of this terminal.Network transmission module is for realizing the communication between mobile terminal and fixed terminal, under mobile terminal and fixed terminal being in the scene of LAN, network transmission module can realize the connection between mobile terminal and transfer server, connection between fixed terminal and transfer server, and then indirectly realize the connection between mobile terminal and fixed terminal.Further, network transmission module can be communicated by Transmission Control Protocol or udp protocol.The information such as propelling movement request, control request that protocol module is used for transmission encapsulates and resolves, can the Information encapsulation needing to transmit be got up for network delivery, and need the data that parsing opposite end passes over, and protocol module can use text protocol, also can adopt binary protocol, concrete protocol type can be determined by appointment application.Cross-platform adaptation module is used for encapsulating the information transmitted between different platform, and such as, android system, then use JNI technology to encapsulate, IOS system, then use object-c technology to encapsulate.Business logic modules is used for processing service logic, such as, can play multimedia file, can response limiting request etc.
Figure 10 is the method flow diagram of a kind of play multimedia file that the embodiment of the present invention provides, the embodiment of the present invention is applied in the implementation environment shown in Fig. 8 with the method for this play multimedia file and illustrates, and the embodiment of the present invention is in the method for play multimedia file, communicated by the second implementation between mobile terminal with fixed terminal and set forth, see Figure 10, the method comprises:
Step 1001: when mobile terminal is by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and this playback equipment list comprises at least one fixed terminal.
In order to enrich the playing function of fixed terminal, and improve the flexibility of fixed terminal play multimedia file, can install on mobile terminals and specify application, and by specifying application to be pushed by this multimedia file, therefore, when mobile terminal receives the propelling movement instruction of multimedia file by this appointment application, if under mobile terminal and this at least one fixed terminal are in the scene of different local area network (LAN)s, then this mobile terminal can obtain request to transfer server transmission list, this list obtains in request and carries mobile terminal identification, make this transfer server identify based on the mobile terminal identification of mobile terminal identification and storage and fixed terminal between corresponding relation, playback equipment list is returned to this mobile terminal, when mobile terminal receives the playback equipment list of this transfer server transmission, show this playback equipment list.
Due in embodiments of the present invention, communication between mobile terminal and this at least one fixed terminal is via transfer server, therefore, at least one fixed terminal of mobile terminal and this is connected with transfer server respectively, and know that in order to make transfer server whether mobile terminal and this at least one fixed terminal and the connection between it be normal, this mobile terminal and this at least one fixed terminal need periodically to send connection packet to this transfer server.When this transfer server receives the connection packet of mobile terminal transmission, determine this mobile terminal and the connection between it normal, now, the state arranging this mobile terminal is presence, when this transfer server does not all receive the connection packet of this mobile terminal transmission in continuous print N number of cycle, determine that this mobile terminal and the connection between it disconnect, now, the state arranging this mobile terminal is off-line state.In like manner, for the arbitrary fixed terminal in this at least one fixed terminal, when this transfer server receives the connection packet of this fixed terminal transmission, determine this fixed terminal and the connection between it normal, now, the state arranging this fixed terminal is presence, when this transfer server does not all receive the connection packet of this fixed terminal transmission in continuous print N number of cycle, determine that this fixed terminal and the connection between it disconnect, now, the state arranging this fixed terminal is off-line state.Wherein, N is the numerical value arranged in advance, and N is more than or equal to 0, and such as, N can be 2, and the size of the embodiment of the present invention to N is not specifically limited.
Therefore, corresponding relation between transfer server identifies based on the mobile terminal identification of mobile terminal identification and storage and fixed terminal, the operation returning playback equipment list to this mobile terminal can be: when transfer server receives this list acquisition request, the mobile terminal identification of asking to carry is obtained based on this list, from store mobile terminal identification and fixed terminal identify between corresponding relation, obtain corresponding fixed terminal mark, and from the fixed terminal mark obtained, select the fixed terminal mark being in line states, obtain at least one fixed terminal mark, identify based on this at least one fixed terminal, obtain the facility information of this at least one fixed terminal, and based on the facility information of this at least one fixed terminal, generate playback equipment list, and the playback equipment list of generation is sent to this mobile terminal.
Specify application for playing this multimedia file, and this multimedia file is controlled.In addition, specify application for third party's multimedia player of specifying, or can have the appointment multimedia application of playing function, the embodiment of the present invention is not specifically limited this.Multimedia file can comprise the file such as video, audio frequency, and the embodiment of the present invention is not specifically limited equally to this.
It should be noted that, the propelling movement instruction of multimedia file is used for this multimedia file to be pushed in fixed terminal, the multimedia file of propelling movement is play by this fixed terminal, that is to say, the pushed information of this multimedia file directly can be sent to fixed terminal by mobile terminal, make fixed terminal from multimedia server, obtain this multimedia file based on this pushed information, thus play this multimedia file.In addition, the propelling movement instruction of this multimedia file can be triggered by user, that is to say, user can trigger the propelling movement instruction of this multimedia file by the first assigned operation, first assigned operation can be that the embodiment of the present invention is not specifically limited this to the slide at interface, multimedia file place, to pushing the clicking operation of button, the voice operating etc. to interface, multimedia file place in interface, multimedia file place.Such as, as shown in Fig. 6 (a), Fig. 6 (a) is the display interface of multimedia file " 12 road cutting edge of a knife or a sword taste ", comprises " propelling movement " button at this interface, and user can click this " propelling movement " button to trigger the propelling movement instruction of this multimedia file.
In addition, the facility information of this at least one fixed terminal can be the address information of this at least one fixed terminal, identification information etc., the address information of fixed terminal can be the IP address, MAC Address etc. of this fixed terminal, the identification information of fixed terminal can be the title, device numbering etc. of this fixed terminal, and the embodiment of the present invention is not specifically limited this.Such as, the facility information of this at least one fixed terminal comprises the title of this fixed terminal, if, comprise 2 fixed terminals, title is respectively " living-room TV " and " Bedroom TV ", the title of these 2 fixed terminals is added in playback equipment list, and in the interface such as shown in Fig. 6 (b), shows this playback equipment list.
It should be noted that, the embodiment of the present invention is only described for the playback equipment list shown in Fig. 6 (b), in practical application, in this playback equipment list except the title comprising this at least one fixed terminal, also may comprise the address information etc. of this at least one fixed terminal, therefore, the interface shown in above-mentioned Fig. 6 (b) does not form restriction to the embodiment of the present invention.
Step 1002: when mobile terminal receives the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, the pushed information of this multimedia file is encapsulated with appointment application identities, obtain pushing request, and this propelling movement request is sent to transfer server, this pushed information comprises the facility information of multimedia messages and this fixed terminal.
In order to enrich the playing function of fixed terminal, appointment push protocol can be defined in appointment application, this appointment push protocol can be expanded, therefore, when mobile terminal receives the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, the pushed information of this multimedia messages can be obtained and specify application identities, and based on this appointment push protocol, the pushed information of this multimedia file is encapsulated with appointment application identities, obtain pushing request, and this propelling movement request is sent to transfer server.
Selection instruction is used for from least one fixed terminal that playback equipment list comprises, select a fixed terminal, and selection instruction can be triggered by user, that is to say, user can trigger this selection instruction by the second assigned operation, second assigned operation can be the clicking operation to playback equipment list, the voice operating etc. to playback equipment list, and the embodiment of the present invention is not specifically limited this.
The pushed information of this multimedia file pushes to the information needed for fixed terminal for this multimedia file, and in embodiments of the present invention, communication between mobile terminal and fixed terminal forwards via transfer server, therefore, pushed information comprises the facility information of multimedia messages and this fixed terminal, and multimedia messages can be the broadcast address of this multimedia file, the identification information etc. of multimedia messages.When multimedia messages is the identification information of this multimedia messages, the identification information of this multimedia messages can comprise the mark of this multimedia messages and the definition of this multimedia messages, the mark of this multimedia messages can be the title of this multimedia messages, the definition of this multimedia messages can comprise high definition, SD, smoothness etc., and the embodiment of the present invention is not specifically limited this.In addition, specify application identities to be the mark that this appointment is applied, for this appointment of unique identification application, this appointment application identities can be the title of this appointment application, and the embodiment of the present invention is not specifically limited this.
It should be noted that, based on this appointment push protocol, to the pushed information of this multimedia file with when specifying application identities to encapsulate, can encapsulate according to the specified format of this appointment push protocol, and the specified format of this appointment push protocol can comprise multiple, the embodiment of the present invention is not specifically limited this.
Further, before this propelling movement request is sent to transfer server by mobile terminal, the cross-platform adaptation module of this mobile terminal can based on the operating system of fixed terminal, this propelling movement request is encapsulated, propelling movement request after encapsulation is sent to this transfer server, makes transfer server that this propelling movement request is sent to fixed terminal.
Step 1003: when transfer server receives the propelling movement request that mobile terminal sends, this propelling movement request is resolved, obtains the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this propelling movement request is sent to this fixed terminal.
Propelling movement request due to this multimedia file carries out encapsulation based on appointment push protocol to obtain, and when this propelling movement request is sent to this fixed terminal by this transfer server, need the facility information obtaining this fixed terminal, therefore, when transfer server receives the propelling movement request of this multimedia file, this transfer server can based on appointment push protocol, this propelling movement request is resolved, obtain the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this propelling movement request is sent to this fixed terminal.
It should be noted that, owing to can define appointment push protocol in this appointment application, therefore, when mobile terminal and this fixed terminal all install this appointment application, this mobile terminal and this fixed terminal all can know this appointment push protocol.In addition, transfer server realizes the communication between mobile terminal and transfer server, and therefore, transfer server also can obtain this appointment push protocol.
Step 1004: when fixed terminal receives the propelling movement request of transfer server transmission, this propelling movement request is resolved, obtain the pushed information of this multimedia file and specify application identities.
Propelling movement request due to this multimedia file carries out encapsulation based on appointment push protocol to obtain, therefore, when fixed terminal receives the propelling movement request of this multimedia file, this fixed terminal can based on appointment push protocol, this propelling movement request is resolved, obtains the pushed information of this multimedia file and specify application identities.
In addition, pushed information due to this multimedia file comprises the facility information of multimedia document information and this fixed terminal, therefore, after this fixed terminal is resolved this propelling movement request, can based on the facility information in the pushed information of this multimedia file, determine that whether this facility information is self facility information, and then this multimedia file can be judged whether to play, improve the reliability of communication.
Step 1005: this fixed terminal is based on this pushed information and specify application identities, by the appointment application that fixed terminal is installed, plays this multimedia file.
Wherein, this step is identical with the step 504 of above-described embodiment, and the specific implementation of this step with reference to above-mentioned steps 504, no longer can be described in detail this step at this.
Wherein, in embodiments of the present invention, mobile terminal not only can pass through said method, this multimedia file is pushed in this fixed terminal, mobile terminal by following method, can also control the multimedia file play in fixed terminal, specific as follows.
Step 1006: when mobile terminal receives the control command to this multimedia file by this appointment application, the control information of this multimedia file is encapsulated with appointment application identities, obtain controlling request, and this control request is sent to transfer server, this control information comprises the facility information of controling parameters and this fixed terminal.
In order to enrich the playing function of fixed terminal, prescribed control protocol can be defined in appointment application, this prescribed control protocol can be expanded, therefore, when mobile terminal receives the control command to this multimedia file by this appointment application, the control information of this multimedia file can be obtained and specify application identities, and based on this prescribed control protocol, the control information of this multimedia file is encapsulated with appointment application identities, obtain controlling request, this control request is sent to this transfer server.
The control command of this multimedia file is used for passing through mobile terminal, the multimedia file play in fixed terminal is controlled, and control command can be triggered by user, that is to say, user can trigger this control command by the 3rd assigned operation, 3rd assigned operation can for the slide, clicking operation, voice operating etc. to the multimedia file shown in mobile terminal, and the embodiment of the present invention is not specifically limited this.
Alternatively, in embodiments of the present invention, when user triggers this control command, controling parameters corresponding to this control command can be shown in the interface of mobile terminal.Such as, as shown in Fig. 7 (a), the playing progress rate of this multimedia file is adjusted and trigging control instruction time, the playing progress rate that can show this multimedia file in the interface shown in Fig. 7 (a) is 20:23.For another example, as shown in Fig. 7 (b), the volume of this multimedia file is adjusted and trigging control instruction time, the volume that can show this multimedia file in the interface shown in Fig. 7 (b) is 65.
The control information of this multimedia file for mobile terminal the multimedia file play in fixed terminal controlled needed for information, and the control information of this multimedia file comprises the facility information of controling parameters and this fixed terminal.In addition, in embodiments of the present invention, when this multimedia file is controlled, can control the various control item of this multimedia file, the control item of this multimedia file can comprise the switching, time-out, recovery broadcasting etc. of the volume adjustment of this multimedia file, playing progress rate adjustment, screen intensity adjustment, definition.And for the different control items of this multimedia file, the controling parameters of this multimedia file is different, such as, when the control item of this multimedia file is the volume adjustment of this multimedia file, the controling parameters of this multimedia file is the volume of this multimedia file; When the control item that this multimedia is file is the playing progress rate adjustment of this multimedia file, the controling parameters of this multimedia file is the reproduction time of this multimedia file; When the control item of this multimedia file is the screen intensity adjustment of this fixed terminal, the controling parameters of this multimedia file is the brightness size of this multimedia file; When the control item of this multimedia file is the definition switching of this multimedia file, the controling parameters of this multimedia file is the definition mark of this multimedia file, the definition of this definition mark for identifying this multimedia file.
It should be noted that, based on this prescribed control protocol, to the control information of this multimedia file with when specifying application identities to encapsulate, can encapsulate according to the specified format of this prescribed control protocol, and the specified format of this prescribed control protocol can comprise multiple, the embodiment of the present invention is not specifically limited this.
Further, before this control request is sent to transfer server by mobile terminal, the cross-platform adaptation module of this mobile terminal can based on the operating system of fixed terminal, this control request is encapsulated, control request after encapsulation is sent to this transfer server, makes transfer server that this control request is sent to fixed terminal.
Step 1007: when transfer server receives the control request that this mobile terminal sends, this control request is resolved, obtains the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this control request is sent to this fixed terminal.
Control request due to this multimedia file carries out encapsulation based on prescribed control protocol to obtain, and when this control request is sent to this fixed terminal by this transfer server, need the facility information obtaining this fixed terminal, therefore, when transfer server receives the control request of this multimedia file, this transfer server can based on prescribed control protocol, this control request is resolved, obtain the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this control request is sent to this fixed terminal.
It should be noted that, owing to can define prescribed control protocol in this appointment application, therefore, when mobile terminal and this fixed terminal all install this appointment application, this mobile terminal and this fixed terminal all can know this prescribed control protocol.In addition, transfer server realizes the communication between mobile terminal and transfer server, and therefore, transfer server also can obtain this prescribed control protocol.
Step 1008: when fixed terminal receives the control request of transfer server transmission, this control request is resolved, obtain the control information of this multimedia file and specify application identities.
Control request due to this multimedia file carries out encapsulation based on prescribed control protocol to obtain, therefore, when fixed terminal receives the control request of this multimedia file that transfer server sends, this fixed terminal can based on prescribed control protocol, this control request is resolved, obtains the control information of this multimedia file and specify application identities.
In addition, control information due to this multimedia file comprises the facility information of multimedia document information and this fixed terminal, therefore, after this fixed terminal is resolved this control request, can based on the facility information in the control information of this multimedia file, determine that whether this facility information is self facility information, and then can judge whether to control this multimedia file, improve the reliability of communication.
Step 1009: this fixed terminal based on this multimedia file control information and specify application identities, by appointment that fixed terminal is installed application, this multimedia file is controlled.
Particularly, this fixed terminal can based on appointment application identities, from in the application that fixed terminal is installed, search and specify application, and this appointment of pull-up application, afterwards, this fixed terminal is based on the controling parameters in the control information of this multimedia file, applied by this appointment, this multimedia file is controlled.
Further, after this fixed terminal plays this multimedia file, this fixed terminal periodically can obtain the synchronizing information of this multimedia file; And the synchronizing information of this multimedia file is sent to mobile terminal.When mobile terminal receives the synchronizing information of this multimedia file, based on the synchronizing information of this multimedia file, synchronous adjustment is carried out to the multimedia file of display.
Wherein, the synchronizing information of this multimedia file can comprise the volume, brightness, playing progress rate etc. of this multimedia file, therefore, when mobile terminal receives the synchronizing information of this multimedia file, based on the volume, brightness, playing progress rate etc. of this multimedia file, synchronous adjustment is carried out to the multimedia file of display, makes the multimedia file that shows in mobile terminal synchronous with the multimedia file play in fixed terminal.
It should be noted that, in embodiments of the present invention, the communication between mobile terminal and fixed terminal can adopt Transmission Control Protocol or udp protocol.Because Transmission Control Protocol has high reliability, the correctness transmitting data can be guaranteed, do not go out active or out of order, and udp protocol need not wait for the response of the other side when transmitting data, real-time is better, operating efficiency is higher, and the structure of the structural rate Transmission Control Protocol of udp protocol is simple, and therefore network overhead is also little.Therefore, in embodiments of the present invention, can the propelling movement request of this multimedia file be transmitted by Transmission Control Protocol and control request, and the broadcasting response message of this multimedia file and synchronizing information can be transmitted by udp protocol.In practical application, concrete which kind of communication protocol that adopts can be decided according to the actual requirements, and the embodiment of the present invention is not specifically limited this.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, multimedia file in fixed terminal can also be controlled, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.In addition, in embodiments of the present invention, when mobile terminal and fixed terminal are in different local area network (LAN)s, can be connected by transfer server between this mobile terminal and this fixed terminal, achieve the communication of across a network.
Figure 11 is the structural representation embodiments providing a kind of mobile terminal.See Figure 11, this mobile terminal comprises:
First display module 1101, for when by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and this playback equipment list comprises at least one fixed terminal;
First package module 1102, for when receiving the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, encapsulate with appointment application identities the pushed information of this multimedia file, obtain pushing request, this pushed information at least comprises multimedia messages;
First sending module 1103, for this propelling movement request is sent to this fixed terminal, makes this fixed terminal based on this multimedia messages and specifies application identities, by the appointment application that this fixed terminal is installed, playing this multimedia file.
Alternatively, this mobile terminal also comprises:
Second package module, for when receiving the control command to this multimedia file by appointment application, encapsulate with appointment application identities the control information of this multimedia file, obtain controlling to ask, this control information at least comprises controling parameters;
Second sending module, for this control request is sent to this fixed terminal, makes this fixed terminal based on this controling parameters and specifies application identities, by the appointment application that this fixed terminal is installed, controlling this multimedia file.
Alternatively, the first display module 1101 comprises:
First transmitting element, for when mobile terminal and this at least one fixed terminal are in different local area network (LAN)s, request is obtained to transfer server transmission list, this list obtains in request and carries mobile terminal identification, make transfer server identify based on the mobile terminal identification of mobile terminal identification and storage and fixed terminal between corresponding relation, return playback equipment list to this mobile terminal;
Display unit, for when receiving the playback equipment list that transfer server sends, shows this playback equipment list.
Alternatively, the first sending module 1103 comprises:
Second transmitting element, for when this pushed information also comprises the facility information of fixed terminal, this propelling movement request is sent to transfer server, transfer server is resolved this propelling movement request, obtain the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this propelling movement request is sent to this fixed terminal.
Alternatively, this mobile terminal also comprises:
Second display module, for when receiving the broadcasting response message of this multimedia file, shows this broadcasting response message, and this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause.
Alternatively, this mobile terminal also comprises:
Synchronous adjustment module, for when receiving the synchronizing information of this multimedia file, based on the synchronizing information of this multimedia file, carries out synchronous adjustment to the multimedia file of display.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
It should be noted that: the mobile terminal that above-described embodiment provides is when play multimedia file, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by mobile terminal is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the mobile terminal that above-described embodiment provides and play multimedia file belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Figure 12 is the structural representation of a kind of fixed terminal that the embodiment of the present invention provides.See Figure 12, this fixed terminal comprises:
First parsing module 1201, for when receiving the propelling movement request of multimedia file, resolves this propelling movement request, and obtain the pushed information of this multimedia file and specify application identities, this pushed information at least comprises multimedia messages;
Playing module 1202, for based on this multimedia messages and appointment application identities, passes through installed appointment application, plays this multimedia file.
Alternatively, this fixed terminal also comprises:
Second parsing module, for when receiving the control request of this multimedia file, resolves this control request, and obtain the control information of this multimedia file and specify application identities, this control information at least comprises controling parameters;
Control module, for based on this multimedia file controling parameters and specify application identities, pass through installed described appointments and apply, this multimedia file is controlled.
Alternatively, playing module 1202 comprises:
Pull-up unit, for based on appointment application identities, pull-up install appointment application;
Broadcast unit, for based on this multimedia messages, by specifying application, plays this multimedia file.
Alternatively, this fixed terminal also comprises:
First acquisition module, for obtaining the broadcasting response message of this multimedia file, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause;
First sending module, for the broadcasting response message of this multimedia file is sent to mobile terminal, makes mobile terminal show this broadcasting response message.
Alternatively, this fixed terminal also comprises:
Second acquisition module, for periodically obtaining the synchronizing information of this multimedia file;
Second sending module, for the synchronizing information of this multimedia file is sent to mobile terminal, makes mobile terminal based on the synchronizing information of this multimedia file, carries out synchronous adjustment to the multimedia file of display.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
It should be noted that: the fixed terminal that above-described embodiment provides is when play multimedia file, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by fixed terminal is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the fixed terminal that above-described embodiment provides and play multimedia file belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Figure 13, it illustrates the block diagram of the mobile terminal that one embodiment of the invention provides, mobile terminal 1300 can comprise communication unit 1310, includes the memory 1320 of one or more computer-readable recording mediums, input unit 1330, display unit 1340, transducer 1350, voicefrequency circuit 1360, WIFI (Wireless Fidelity, Wireless Fidelity) module 1370, include the parts such as processor 1380 and power supply 1390 that more than or processes core.It will be understood by those skilled in the art that the mobile terminal structure shown in Figure 13 does not form the restriction to mobile terminal, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Communication unit 1310 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication unit 1310 can be RF (Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 1310 is RF circuit, after being received by the downlink information of base station, more than one or one processor 1380 is transferred to process; In addition, base station is sent to by relating to up data.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 1310 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code DivisionMultiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.Memory 1320 can be used for storing software program and module, and processor 1380 is stored in software program and the module of memory 1320 by running, thus performs the application of various function and data processing.Memory 1320 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile terminal 1300.In addition, memory 1320 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 1320 can also comprise Memory Controller, to provide the access of processor 1380 and input unit 1330 pairs of memories 1320.
Input unit 1330 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Preferably, input unit 1330 can comprise Touch sensitive surface 1331 and other input equipments 1332.Touch sensitive surface 1331, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 1331 or near Touch sensitive surface 1331 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 1331 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1380, and the order that energy receiving processor 1380 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 1331.Except Touch sensitive surface 1331, input unit 1330 can also comprise other input equipments 1332.Preferably, other input equipments 1332 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 1340 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1300 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 1340 can comprise display floater 1341, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 1341.Further, Touch sensitive surface 1331 can cover display floater 1341, when Touch sensitive surface 1331 detects thereon or after neighbouring touch operation, send processor 1380 to determine the type of touch event, on display floater 1341, provide corresponding vision to export with preprocessor 1380 according to the type of touch event.Although in fig. 13, Touch sensitive surface 1331 and display floater 1341 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 1331 and display floater 1341 integrated and realize input and output function.
Mobile terminal 1300 also can comprise at least one transducer 1350, such as optical sensor, motion sensor and other transducers.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 1341, and proximity transducer when terminal 1300 moves in one's ear, can cut out display floater 1341 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for mobile terminal 1300 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1360, loud speaker 1361, microphone 1362 can provide the audio interface between user and mobile terminal 1300.Voicefrequency circuit 1360 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 1361, by loud speaker 1361 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 1362, voice data is converted to after being received by voicefrequency circuit 1360, after again voice data output processor 1380 being processed, through communication unit 1310 to send to such as another terminal, or export voice data to memory 1320 to process further.Voicefrequency circuit 1360 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 1300.
In order to realize radio communication, this terminal can be configured with wireless communication unit 1370, this wireless communication unit 1370 can be WIFI module.WIFI belongs to short range wireless transmission technology, and by wireless communication unit 1370, mobile terminal 1300 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although there is shown wireless communication unit 1370, be understandable that, it does not belong to must forming of mobile terminal 1300, can omit in the scope of essence not changing invention as required completely.
Processor 1380 is control centres of mobile terminal 1300, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 1320 and/or module is stored in by running or performing, and call the data be stored in memory 1320, perform various function and the deal with data of mobile terminal 1300, thus integral monitoring is carried out to mobile phone.Optionally, processor 1380 can comprise one or more process core; Preferably, processor 1380 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1380.
Mobile terminal 1300 also comprises the power supply 1390 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 1380 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 1360 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, mobile terminal 1300 can also comprise camera, bluetooth module etc., does not repeat them here.
In the present embodiment, terminal also includes one or more than one program, this or more than one program are stored in memory, and be configured to be performed by more than one or one processor, described more than one or one program package, containing the instruction of the method for carrying out the play multimedia file that the embodiment of the present invention provides, comprising:
When by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and this playback equipment list comprises at least one fixed terminal;
When receiving the selection instruction to the arbitrary fixed terminal in this at least one fixed terminal, encapsulate with appointment application identities the pushed information of this multimedia file, obtain pushing request, this pushed information at least comprises multimedia messages;
This propelling movement request is sent to this fixed terminal, makes this fixed terminal based on this multimedia messages and specify application identities, by the appointment application that this fixed terminal is installed, play this multimedia file.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When control command by specifying application to receive this multimedia file, encapsulate the control information of this multimedia file and this appointment application identities, obtain controlling request, this control information at least comprises controling parameters;
This control request is sent to this fixed terminal, makes this fixed terminal based on this controling parameters and specify application identities, by the described appointment application that this fixed terminal is installed, this multimedia file is controlled.
Alternatively, display the play list of devices, comprising:
When mobile terminal and this at least one fixed terminal are in different local area network (LAN)s, request is obtained to transfer server transmission list, this list obtains in request and carries mobile terminal identification, make transfer server identify based on the mobile terminal identification of this mobile terminal identification and storage and fixed terminal between corresponding relation, return playback equipment list to this mobile terminal;
When receiving the playback equipment list that transfer server sends, show this playback equipment list.
Alternatively, this propelling movement request is sent to this fixed terminal, comprising:
When this pushed information also comprises the facility information of this fixed terminal, this propelling movement request is sent to transfer server, transfer server is resolved this propelling movement request, obtain the facility information of this fixed terminal, and based on the facility information of this fixed terminal, this propelling movement request is sent to this fixed terminal.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When receiving the broadcasting response message of this multimedia file, show this broadcasting response message, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause.
Alternatively, after this propelling movement request is sent to this fixed terminal, also comprise:
When receiving the synchronizing information of this multimedia file, based on this synchronizing information, synchronous adjustment is carried out to the multimedia file of display.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
Please refer to Figure 14, it illustrates the block diagram of the fixed terminal that one embodiment of the invention provides, fixed terminal 1400 can comprise communication unit 1410, includes the memory 1420 of one or more computer-readable recording mediums, input unit 1430, display unit 1440, transducer 1450, voicefrequency circuit 1460, WIFI (Wireless Fidelity, Wireless Fidelity) module 1470, include the parts such as processor 1480 and power supply 1490 that more than or processes core.It will be understood by those skilled in the art that the fixed terminal structure shown in Figure 14 does not form the restriction to fixed terminal, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Communication unit 1410 can be used for receiving and sending messages, the reception of signal and transmission, this communication unit 1410 can be RF (Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 1410 is RF circuit, after being received by the downlink information of base station, more than one or one processor 1480 is transferred to process; In addition, base station is sent to by relating to up data.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low NoiseAmplifier, low noise amplifier), duplexer etc.In addition, communication unit 1410 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code DivisionMultiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (ShortMessaging Service, Short Message Service) etc.Memory 1420 can be used for storing software program and module, and processor 1480 is stored in software program and the module of memory 1420 by running, thus performs the application of various function and data processing.Memory 1420 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of fixed terminal 1400.In addition, memory 1420 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 1420 can also comprise Memory Controller, to provide the access of processor 1480 and input unit 1430 pairs of memories 1420.
Input unit 1430 can be used for the numeral or the character information that receive input, and generation arranges with user and function controls the input of relevant remote controller.Preferably, input unit 1430 can comprise Touch sensitive surface 1431 and other input equipments 1432.Touch sensitive surface 1431, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 1431 or near Touch sensitive surface 1431 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 1431 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 1480, and the order that energy receiving processor 1480 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 1431.Except Touch sensitive surface 1431, input unit 1430 can also comprise other input equipments 1432.Preferably, other input equipments 1432 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), remote controller etc.
Display unit 1440 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1400 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 1440 can comprise display floater 1441, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 1441.Further, Touch sensitive surface 1431 can cover display floater 1441, when Touch sensitive surface 1431 detects thereon or after neighbouring touch operation, send processor 1480 to determine the type of touch event, on display floater 1441, provide corresponding vision to export with preprocessor 1480 according to the type of touch event.Although in fig. 14, Touch sensitive surface 1431 and display floater 1441 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 1431 and display floater 1441 integrated and realize input and output function.
Fixed terminal 1400 also can comprise at least one transducer 1450, such as optical sensor, motion sensor and other transducers.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 1441, and proximity transducer when terminal 1400 moves in one's ear, can cut out display floater 1441 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for fixed terminal 1400 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 1460, loud speaker 1461, microphone 1462 can provide the audio interface between user and fixed terminal 1400.Voicefrequency circuit 1460 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 1461, by loud speaker 1461 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 1462, voice data is converted to after being received by voicefrequency circuit 1460, after again voice data output processor 1480 being processed, through communication unit 1410 to send to such as another terminal, or export voice data to memory 1420 to process further.Voicefrequency circuit 1460 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and fixed terminal 1400.
In order to realize radio communication, this terminal can be configured with wireless communication unit 1470, this wireless communication unit 1470 can be WIFI module.WIFI belongs to short range wireless transmission technology, and by wireless communication unit 1470, fixed terminal 1400 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although there is shown wireless communication unit 1470, be understandable that, it does not belong to must forming of fixed terminal 1400, can omit in the scope of essence not changing invention as required completely.
Processor 1480 is control centres of fixed terminal 1400, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 1420 and/or module is stored in by running or performing, and call the data be stored in memory 1420, perform various function and the deal with data of fixed terminal 1400, thus integral monitoring is carried out to mobile phone.Optionally, processor 1480 can comprise one or more process core; Preferably, processor 1480 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 1480.
Fixed terminal 1400 also comprises the power supply 1490 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 1480 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 1460 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, fixed terminal 1400 can also comprise camera, bluetooth module etc., does not repeat them here.
In the present embodiment, terminal also includes one or more than one program, this or more than one program are stored in memory, and be configured to be performed by more than one or one processor, described more than one or one program package, containing the instruction of the method for carrying out the play multimedia file that the embodiment of the present invention provides, comprising:
When receiving the propelling movement request of multimedia file, resolve this propelling movement request, obtain the pushed information of this multimedia file and specify application identities, this pushed information at least comprises multimedia messages;
Based on this multimedia messages and appointment application identities, pass through installed appointment application, play this multimedia file.
Alternatively, based on this multimedia messages and appointment application identities, by the appointment application of installing, after playing this multimedia file, also comprise:
When receiving the control request of this multimedia file, resolve this control request, obtain the control information of this multimedia file and specify application identities, this control information at least comprises controling parameters;
Based on controling parameters and the appointment application identities of this multimedia file, pass through installed described appointment application, this multimedia file is controlled.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, play this multimedia file, comprising:
Based on this appointment application identities, the appointment application that pull-up is installed;
Based on this multimedia messages, by specifying application, play this multimedia file.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, after playing this multimedia file, also comprise:
Obtain the broadcasting response message of this multimedia file, this broadcasting response message comprises to be play successful information or plays failure information, and this broadcasting failure information comprises broadcasting failure cause;
The broadcasting response message of this multimedia file is sent to mobile terminal, makes mobile terminal show this broadcasting response message.
Alternatively, based on this multimedia messages and appointment application identities, pass through installed appointment application, after playing this multimedia file, also comprise:
Periodically obtain the synchronizing information of this multimedia file;
The synchronizing information of this multimedia file is sent to mobile terminal, makes mobile terminal based on the synchronizing information of this multimedia file, synchronous adjustment is carried out to the multimedia file of display.
In embodiments of the present invention, by specifying application, this multimedia file is pushed in fixed terminal, fixed terminal also should be used for playing this multimedia file by the appointment of installing, can expand well owing to specifying application, therefore, multimedia file not only can be pushed in fixed terminal and play by mobile terminal, other function control can also be carried out to the multimedia file in fixed terminal, that is to say, the multimedia file that mobile terminal pushes not only can be play by fixed terminal, can also based on the control request of mobile terminal, the multimedia file play is controlled, function ratio is abundanter, flexibility is better.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (22)

1. a method for play multimedia file, is characterized in that, described method comprises:
When by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and described playback equipment list comprises at least one fixed terminal;
When receiving the selection instruction to the arbitrary fixed terminal at least one fixed terminal described, encapsulate with appointment application identities the pushed information of described multimedia file, obtain pushing request, described pushed information at least comprises multimedia messages;
Described propelling movement request is sent to described fixed terminal, makes described fixed terminal based on described multimedia messages and described appointment application identities, by the appointment application that described fixed terminal is installed, play described multimedia file.
2. the method for claim 1, is characterized in that, described described propelling movement request is sent to described fixed terminal after, also comprise:
When by described control command of specifying application to receive described multimedia file, encapsulate the control information of described multimedia file and described appointment application identities, obtain controlling request, described control information at least comprises controling parameters;
Described control request is sent to described fixed terminal, makes described fixed terminal based on described controling parameters and described appointment application identities, by the described appointment application that described fixed terminal is installed, described multimedia file is controlled.
3. method as claimed in claim 1 or 2, is characterized in that, described in display the play list of devices, comprising:
When mobile terminal and at least one fixed terminal described are in different local area network (LAN)s, request is obtained to transfer server transmission list, described list obtains in request and carries mobile terminal identification, make described transfer server identify based on the mobile terminal identification of described mobile terminal identification and storage and fixed terminal between corresponding relation, return playback equipment list to described mobile terminal;
When receiving the playback equipment list that described transfer server sends, show described playback equipment list.
4. method as claimed in claim 3, is characterized in that, described described propelling movement request is sent to described fixed terminal, comprising:
When described pushed information also comprises the facility information of described fixed terminal, described propelling movement request is sent to transfer server, described transfer server is resolved described propelling movement request, obtain the facility information of described fixed terminal, and based on described facility information, described propelling movement request is sent to described fixed terminal.
5. the method for claim 1, is characterized in that, described described propelling movement request is sent to described fixed terminal after, also comprise:
When receiving the broadcasting response message of described multimedia file, show described broadcasting response message, described broadcasting response message comprises to be play successful information or plays failure information, and described broadcasting failure information comprises broadcasting failure cause.
6. the method for claim 1, is characterized in that, described described propelling movement request is sent to described fixed terminal after, also comprise:
When receiving the synchronizing information of described multimedia file, based on described synchronizing information, synchronous adjustment is carried out to the multimedia file of display.
7. a method for play multimedia file, is characterized in that, described method comprises:
When receiving the propelling movement request of multimedia file, resolve described propelling movement request, obtain the pushed information of described multimedia file and specify application identities, described pushed information at least comprises multimedia messages;
Based on described multimedia messages and described appointment application identities, pass through installed appointment application, play described multimedia file.
8. method as claimed in claim 7, is characterized in that, described based on described multimedia messages and described appointment application identities, by the appointment application of installing, after playing described multimedia file, also comprises:
When receiving the control request of described multimedia file, resolve described control request, obtain the control information of described multimedia file and described appointment application identities, described control information at least comprises controling parameters;
Based on controling parameters and the described appointment application identities of described multimedia file, pass through installed described appointment application, described multimedia file is controlled.
9. method as claimed in claim 7, is characterized in that, described based on described multimedia messages and described appointment application identities, passes through installed appointment application, plays described multimedia file, comprising:
Based on described appointment application identities, the appointment application that pull-up is installed;
Based on described multimedia messages, by described appointment application, play described multimedia file.
10. the method as described in claim as arbitrary in claim 7 to 9, is characterized in that, described based on described multimedia messages and described appointment application identities, passes through installed appointment application, after playing described multimedia file, also comprises:
Obtain the broadcasting response message of described multimedia file, described broadcasting response message comprises to be play successful information or plays failure information, and described broadcasting failure information comprises broadcasting failure cause;
The broadcasting response message of described multimedia file is sent to described mobile terminal, makes described mobile terminal show described broadcasting response message.
Method as described in 11. claims as arbitrary in claim 7 to 9, is characterized in that, described based on described multimedia messages and described appointment application identities, passes through installed appointment application, after playing described multimedia file, also comprises:
Periodically obtain the synchronizing information of described multimedia file;
The synchronizing information of described multimedia file is sent to described mobile terminal, makes described mobile terminal based on described synchronizing information, synchronous adjustment is carried out to the multimedia file of display.
12. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises:
First display module, for when by specifying application to receive the propelling movement instruction of multimedia file, display the play list of devices, and described playback equipment list comprises at least one fixed terminal;
First package module, for when receiving the selection instruction to the arbitrary fixed terminal at least one fixed terminal described, encapsulate with appointment application identities the pushed information of described multimedia file, obtain pushing request, described pushed information at least comprises multimedia messages;
First sending module, for described propelling movement request is sent to described fixed terminal, makes described fixed terminal based on described multimedia messages and described appointment application identities, by the appointment application that described fixed terminal is installed, plays described multimedia file.
13. mobile terminals as claimed in claim 12, it is characterized in that, described mobile terminal also comprises:
Second package module, for when by described control command of specifying application to receive described multimedia file, encapsulate the control information of described multimedia file and described appointment application identities, obtain controlling request, described control information at least comprises controling parameters;
Second sending module, for described control request is sent to described fixed terminal, make described fixed terminal based on described controling parameters and described appointment application identities, by the described appointment application that described fixed terminal is installed, described multimedia file is controlled.
14. mobile terminals as described in claim 12 or 13, it is characterized in that, described first display module comprises:
First transmitting element, for when mobile terminal and at least one fixed terminal described are in different local area network (LAN)s, request is obtained to transfer server transmission list, described list obtains in request and carries mobile terminal identification, make described transfer server identify based on the mobile terminal identification of described mobile terminal identification and storage and fixed terminal between corresponding relation, return playback equipment list to described mobile terminal;
Display unit, for when receiving the playback equipment list that described transfer server sends, shows described playback equipment list.
15. mobile terminals as claimed in claim 14, it is characterized in that, described first sending module comprises:
Second transmitting element, for when described pushed information also comprises the facility information of described fixed terminal, described propelling movement request is sent to transfer server, described transfer server is resolved described propelling movement request, obtain the facility information of described fixed terminal, and based on described facility information, described propelling movement request is sent to described fixed terminal.
16. mobile terminals as claimed in claim 12, it is characterized in that, described mobile terminal also comprises:
Second display module, for when receiving the broadcasting response message of described multimedia file, show described broadcasting response message, described broadcasting response message comprises to be play successful information or plays failure information, and described broadcasting failure information comprises broadcasting failure cause.
17. mobile terminals as claimed in claim 12, it is characterized in that, described mobile terminal also comprises:
Synchronous adjustment module, for when receiving the synchronizing information of described multimedia file, based on described synchronizing information, carries out synchronous adjustment to the multimedia file of display.
18. 1 kinds of fixed terminals, is characterized in that, described fixed terminal comprises:
First parsing module, for when receiving the propelling movement request of multimedia file, resolves described propelling movement request, and obtain the pushed information of described multimedia file and specify application identities, described pushed information at least comprises multimedia messages;
Playing module, for based on described multimedia messages and described appointment application identities, passes through installed appointment application, plays described multimedia file.
19. fixed terminals as claimed in claim 18, it is characterized in that, described fixed terminal also comprises:
Second parsing module, for when receiving the control request of described multimedia file, resolves described control request, and obtain the control information of described multimedia file and described appointment application identities, described control information at least comprises controling parameters;
Control module, for based on the controling parameters of described multimedia file and described appointment application identities, passes through installed described appointment application, controls described multimedia file.
20. fixed terminals as claimed in claim 18, it is characterized in that, described playing module comprises:
Pull-up unit, for based on described appointment application identities, the appointment application that pull-up is installed;
Broadcast unit, for based on described multimedia messages, by described appointment application, plays described multimedia file.
Fixed terminal as described in 21. claims as arbitrary in claim 18 to 20, it is characterized in that, described fixed terminal also comprises:
First acquisition module, for obtaining the broadcasting response message of described multimedia file, described broadcasting response message comprises to be play successful information or plays failure information, and described broadcasting failure information comprises broadcasting failure cause;
First sending module, for the broadcasting response message of described multimedia file is sent to described mobile terminal, makes described mobile terminal show described broadcasting response message.
Fixed terminal as described in 22. claims as arbitrary in claim 18 to 20, it is characterized in that, described fixed terminal also comprises:
Second acquisition module, for periodically obtaining the synchronizing information of described multimedia file;
Second sending module, for the synchronizing information of described multimedia file is sent to described mobile terminal, makes described mobile terminal based on described synchronizing information, carries out synchronous adjustment to the multimedia file of display.
CN201510209638.0A 2015-04-28 2015-04-28 Play method, mobile terminal and the fixed terminal of multimedia file Active CN104967608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510209638.0A CN104967608B (en) 2015-04-28 2015-04-28 Play method, mobile terminal and the fixed terminal of multimedia file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510209638.0A CN104967608B (en) 2015-04-28 2015-04-28 Play method, mobile terminal and the fixed terminal of multimedia file

Publications (2)

Publication Number Publication Date
CN104967608A true CN104967608A (en) 2015-10-07
CN104967608B CN104967608B (en) 2019-01-22

Family

ID=54221551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510209638.0A Active CN104967608B (en) 2015-04-28 2015-04-28 Play method, mobile terminal and the fixed terminal of multimedia file

Country Status (1)

Country Link
CN (1) CN104967608B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578270A (en) * 2015-12-16 2016-05-11 北京奇虎科技有限公司 Application starting method, router and television set
CN106385622A (en) * 2016-10-10 2017-02-08 腾讯科技(北京)有限公司 Media file playing method and device
CN106453032A (en) * 2016-08-30 2017-02-22 北京小米移动软件有限公司 Information pushing method, device and system
CN106658136A (en) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 Smart TV control method and apparatus
CN109168039A (en) * 2018-10-22 2019-01-08 武汉斗鱼网络科技有限公司 Code stream clarity switching method, device, terminal and the readable medium of android system
CN112153442A (en) * 2019-06-28 2020-12-29 Oppo广东移动通信有限公司 Playing method, device, terminal, television equipment, storage medium and electronic equipment
WO2021031590A1 (en) * 2019-08-22 2021-02-25 聚好看科技股份有限公司 Audio and video pushing method, mobile terminal and display terminal
CN115988277A (en) * 2022-12-07 2023-04-18 深圳创维-Rgb电子有限公司 Smart television control method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325144A (en) * 2011-09-29 2012-01-18 Tcl集团股份有限公司 Method and system for interconnection between media equipment and multimedia equipment
US20130328811A1 (en) * 2012-06-07 2013-12-12 Kontera Technologies, Inc. Interactive layer on touch-based devices for presenting web and content pages
CN103458317A (en) * 2012-06-04 2013-12-18 腾讯科技(深圳)有限公司 Method and system for controlling media playing of intelligent terminal
US20140125554A1 (en) * 2012-11-07 2014-05-08 Shanghai Powermo Information Tech. Co. Ltd. Apparatus and algorithm to implement smart mirroring for a multiple display system
CN103957452A (en) * 2014-03-31 2014-07-30 深圳市同洲电子股份有限公司 Video signal transmission method and device
CN103986965A (en) * 2014-05-14 2014-08-13 华为技术有限公司 Processing device, system and method for multimedia data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325144A (en) * 2011-09-29 2012-01-18 Tcl集团股份有限公司 Method and system for interconnection between media equipment and multimedia equipment
CN103458317A (en) * 2012-06-04 2013-12-18 腾讯科技(深圳)有限公司 Method and system for controlling media playing of intelligent terminal
US20130328811A1 (en) * 2012-06-07 2013-12-12 Kontera Technologies, Inc. Interactive layer on touch-based devices for presenting web and content pages
US20140125554A1 (en) * 2012-11-07 2014-05-08 Shanghai Powermo Information Tech. Co. Ltd. Apparatus and algorithm to implement smart mirroring for a multiple display system
CN103957452A (en) * 2014-03-31 2014-07-30 深圳市同洲电子股份有限公司 Video signal transmission method and device
CN103986965A (en) * 2014-05-14 2014-08-13 华为技术有限公司 Processing device, system and method for multimedia data

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578270A (en) * 2015-12-16 2016-05-11 北京奇虎科技有限公司 Application starting method, router and television set
CN105578270B (en) * 2015-12-16 2019-12-10 北京奇虎科技有限公司 Application starting method, router and television
CN106453032A (en) * 2016-08-30 2017-02-22 北京小米移动软件有限公司 Information pushing method, device and system
CN106453032B (en) * 2016-08-30 2019-09-10 北京小米移动软件有限公司 Information-pushing method and device, system
CN106385622A (en) * 2016-10-10 2017-02-08 腾讯科技(北京)有限公司 Media file playing method and device
CN106658136A (en) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 Smart TV control method and apparatus
CN109168039A (en) * 2018-10-22 2019-01-08 武汉斗鱼网络科技有限公司 Code stream clarity switching method, device, terminal and the readable medium of android system
CN112153442A (en) * 2019-06-28 2020-12-29 Oppo广东移动通信有限公司 Playing method, device, terminal, television equipment, storage medium and electronic equipment
WO2021031590A1 (en) * 2019-08-22 2021-02-25 聚好看科技股份有限公司 Audio and video pushing method, mobile terminal and display terminal
CN115988277A (en) * 2022-12-07 2023-04-18 深圳创维-Rgb电子有限公司 Smart television control method, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN104967608B (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN105430424A (en) Video live broadcast method, device and system
CN105025314A (en) Multimedia live broadcast method and device
CN104159136B (en) The acquisition methods of interactive information, terminal, server and system
CN104618440A (en) Intelligent equipment control method and device
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN103458012A (en) Method and device for wireless control over network television terminal
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
CN104683456A (en) Service processing method, server and terminal
CN105491135B (en) Establish the method and device of data connection
CN104820665A (en) Method, terminal and server for exhibiting recommendation information
CN104935955A (en) Live video stream transmission method, device and system
CN104243538A (en) Resource sharing method and system
CN105516784A (en) Virtual good display method and device
CN104717341A (en) Message prompting method and terminal
CN104967865A (en) Video previewing method and apparatus
CN104426963A (en) Terminal associating method and terminal
CN105007543A (en) Intercommunication method, apparatus, device and system
CN105208056A (en) Information exchange method and terminal
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN104036536A (en) Generating method and apparatus of stop motion animation
CN103634463B (en) The reminding method of state variation and terminal
CN105608124A (en) Screen capturing method and apparatus
CN104378755A (en) Terminal interaction method and device
CN104966520A (en) Play control method, intelligent terminal and vehicle-mounted play system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant