CN105791223A - Media stream data processing method and system and electronic equipment - Google Patents

Media stream data processing method and system and electronic equipment Download PDF

Info

Publication number
CN105791223A
CN105791223A CN201410808277.7A CN201410808277A CN105791223A CN 105791223 A CN105791223 A CN 105791223A CN 201410808277 A CN201410808277 A CN 201410808277A CN 105791223 A CN105791223 A CN 105791223A
Authority
CN
China
Prior art keywords
electronic equipment
stream data
media stream
server
media
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
CN201410808277.7A
Other languages
Chinese (zh)
Other versions
CN105791223B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410808277.7A priority Critical patent/CN105791223B/en
Publication of CN105791223A publication Critical patent/CN105791223A/en
Application granted granted Critical
Publication of CN105791223B publication Critical patent/CN105791223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a media stream data processing method and system and electronic equipment. The method is applied to first electronic equipment. The method comprises the following steps: sending a first media stream transmission request to a server when a first operation of a user specific to the first electronic equipment is received; establishing a connection with the server; receiving media stream data transmitted by the server; converting the media stream data according to a target protocol supported by the first electronic equipment; and controlling the first electronic equipment to output the converted media stream data. According to the method, protocol conversion of the media stream data can be performed in the first electronic equipment, so that transmission of the media stream data between the electronic equipment and the server is performed without conforming to a media stream transmission protocol, and the server does not need to resolve the media stream data. An environment in which the first electronic equipment converting the media stream data is positioned is simple, so that time delay is avoided, and the smoothness in multimedia data outputting of the first electronic equipment is enhanced.

Description

The processing method of a kind of media stream data and system, electronic equipment
Technical field
The present invention relates to media flow transmission technical field, more particularly to processing method and system, the electronic equipment of a kind of media stream data.
Background technology
Along with popularizing of computer, quickly grow with the multimedia technology that audio frequency, video etc. are core.As a kind of mode, media stream data can be transferred to server by the second electronic equipment, and the first electronic equipment can send request to server, to receive the media stream data that server sends, enabling export on the first electronic equipment.
In the prior art, for above-mentioned situation, the media stream data carried out between the first electronic equipment, server and the second electronic equipment transmission needs to follow media flow transmission agreement, such as RTSP agreement.So, server needs the media stream data received from the second electronic equipment is carried out protocol analysis.
And wan networking environment residing for server is complicated, therefore, first carry out the mode that protocol analysis transmits again and be easy to that time delay occurs, thus causing that Caton phenomenon occurs in the multi-medium data exported on the first electronic equipment.
Summary of the invention
In view of this, the invention provides the processing method of a kind of media stream data and system, electronic equipment, to solve prior art carries out the parsing of media stream data at server, it is easy to cause that the technical problem of Caton phenomenon occurs in the multi-medium data that the first electronic equipment exports.
For achieving the above object, the present invention provides following technical scheme:
The processing method of a kind of media stream data, is applied to the first electronic equipment, and the method includes:
Receive user for described first electronic equipment first operation time, to server send first media flow transmission request;
Set up the connection with described server;
Receive the media stream data that described server sends;
Described media stream data is changed according to the target protocol that described first electronic equipment is supported;
Control the media stream data after described first electronic equipment output conversion;
Wherein, described media stream data is the data that the second electronic equipment is sent to described server.
Preferably, the media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data that described server adopts propelling movement mode to send.
Preferably, the described target protocol supported according to described first electronic equipment changes described media stream data, particularly as follows:
According to the target protocol that described first electronic equipment is supported, change described media stream data successively according to reception order.
Preferably, described to server send first media flow transmission request, particularly as follows:
The the first media flow transmission request carrying time period mark is sent to described server;
The media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data between the first moment to the second moment that described server sends;
Wherein, described first moment is the initial time corresponding with mark of described time period, and described second moment is the cut-off time corresponding with mark of described time period.
Preferably, the media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data from the second electronic equipment real-time reception that described server sends.
The processing method of a kind of media stream data, is applied in the second electronic equipment, and the method includes:
Send the second media flow transmission request to server, set up the connection with described server;
Propelling movement mode is adopted to send media stream data to described server in real time;
Wherein, described server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with described first electronic equipment, described media stream data to be sent to described first electronic equipment so that described first electronic equipment change described media stream data according to the target protocol supported and export conversion after media stream data.
Preferably, described employing propelling movement mode sends after media stream data to described server in real time, also includes:
Detect when the connecting link between described second electronic equipment and described server disconnects, stop sending media stream data to described server.
Preferably, described send the second media flow transmission request to server, set up with the connection of described server before, also include:
Obtain the 3rd moment that described second electronic equipment is presently in;
Determine the object time that described 3rd moment reaches to preset.
A kind of electronic equipment, including:
Receive transmitting element, for when receiving user and operating for the first of described electronic equipment, sending the first media flow transmission request to server;
First sets up unit, for setting up and the connection of described server;
First receives unit, for receiving the media stream data that described server sends;
First converting unit, changes described media stream data for the target protocol supported according to described electronic equipment;
First control unit, for controlling the media stream data after the output of described electronic equipment is changed;
Wherein, described media stream data is the data that the second electronic equipment is sent to described server.
Preferably, described first unit is received specifically for receiving the media stream data that described server adopts propelling movement mode to send.
Preferably, described first converting unit target protocol specifically for supporting according to described electronic equipment, change described media stream data successively according to reception order.
Preferably, described reception transmitting element specifically for when receiving user and operating for the first of described electronic equipment, sending the first media flow transmission request carrying time period mark to described server;
Described first receives unit specifically for receiving the media stream data between the first moment to the second moment that described server sends;
Wherein, described first moment is the initial time corresponding with mark of described time period, and described second moment is the cut-off time corresponding with mark of described time period.
Preferably, described reception transmitting element is specifically for when receiving user and operating for the first of described electronic equipment, receiving the media stream data from the second electronic equipment real-time reception that described server sends.
A kind of electronic equipment, including:
Unit is set up in transmission, for sending the second media flow transmission request to server, sets up the connection with described server;
First transmitting element, is used for adopting propelling movement mode to send media stream data to described server in real time;
Wherein, described server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with described first electronic equipment, described media stream data to be sent to described first electronic equipment so that described first electronic equipment change described media stream data according to the target protocol supported and export conversion after media stream data.
Preferably, also include:
Detection stop element, during for detecting that the connecting link between described electronic equipment and described server disconnects, stops sending media stream data to described server.
Preferably, also include:
First acquiring unit, for obtaining the 3rd moment that described electronic equipment is presently in;
First determines unit, is used for determining the object time that described 3rd moment reaches to preset.
A kind of process system of media stream data, including:
First electronic equipment;
Second electronic equipment;
Server;
Wherein: described second electronic equipment, for sending the second media flow transmission request to described server, to set up the connection with described server, and adopts propelling movement mode to send media stream data to described server in real time;
Described server is for receiving the described media stream data that described second electronic equipment sends;
When described first electronic equipment operates for the first of described first electronic equipment for receiving user, send the first media flow transmission request to described server, to set up the connection with described server;
Described server is additionally operable to after setting up the connection with described first electronic equipment, sends described media stream data to described first electronic equipment;
Described first electronic equipment is additionally operable to receive the media stream data that described server sends, and the target protocol supported according to described first electronic equipment change described media stream data and export conversion after media stream data.
Known via above-mentioned technical scheme, compared with prior art, the embodiment of the invention discloses the processing method of a kind of media stream data, when receiving user and operating for the first of the first electronic equipment, the first media flow transmission request is sent to set up the connection with server to server, and then enable the server to send media stream data to the first electronic equipment, and the media stream data received can be changed by the first electronic equipment according to the target protocol that the first electronic equipment is supported, and then the media stream data after output conversion;This shows, in the present invention, the protocol conversion of media stream data can carry out in the first electronic equipment, what make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, and accordingly, server is without the parsing carrying out media stream data, and owing to the first electronic equipment local environment of conversion media stream data is simple, therefore, do not have time delay, improve the fluency of the first electronic equipment output multi-medium data.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the schematic flow sheet of the processing method of a kind of media stream data disclosed in one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the processing method of the disclosed another kind of media stream data of one embodiment of the invention;
Fig. 3 is the schematic flow sheet of the processing method of the disclosed another kind of media stream data of another embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the processing method of the disclosed another kind of media stream data of further embodiment of this invention;
Fig. 5 is the structural representation of a kind of electronic equipment disclosed in one embodiment of the invention;
Fig. 6 is the structural representation of the disclosed another kind of electronic equipment of one embodiment of the invention;
Fig. 7 is the structural representation of the disclosed another kind of electronic equipment of another embodiment of the present invention;
Fig. 8 is the structural representation of the disclosed another kind of electronic equipment of further embodiment of this invention;
Fig. 9 is the structural representation of the process system of a kind of media stream data disclosed in one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
One embodiment of the invention discloses the processing method of a kind of media stream data, and the method can apply in the electronic equipments such as mobile phone, panel computer, notebook computer;
As it is shown in figure 1, the method may comprise steps of:
Step 101: receive user for the first electronic equipment first operation time, to server send first media flow transmission request;
First electronic equipment that makes that first operation carries out for the first electronic equipment for user can export the operation of multi-medium data.
Wherein, the way of realization of the first operation is in the not concrete restriction of the present invention, as this first operation can trigger the operation of a certain specific physics or virtual key on the first electronic equipment for user, concrete, first electronic equipment can utilize player to export multi-medium data, so, the first operation can trigger the operation playing button set on player for user.
When receiving user and operating for the first electronic equipment first, it is determined that need output multi-medium data, at this point it is possible to send the first media flow transmission request to server.
Step 102: set up the connection with server;
After server receives the first media flow transmission request that the first electronic equipment sends, it is possible to respond this request, to set up the connection with the first electronic equipment.
Step 103: receive the media stream data that server sends;
When after the connection that server is set up with the first electronic equipment, it is possible to sending media stream data to the first electronic equipment, wherein, this media stream data is the data that the second electronic equipment is sent to server.
Step 104: the target protocol conversion media stream data supported according to the first electronic equipment;
In order to make the media stream data that the first electronic equipment export server sends, it may be determined that the target protocol that the first electronic equipment is supported, media stream data is changed according to this target protocol.
Such as, when the first electronic equipment need to export this media stream data by player, then may determine that the target protocol that the player of the first electronic equipment is supported, media stream data is changed according to this target protocol.
It should be noted that the target protocol that the first electronic equipment is supported can be multiple, in the present invention, one of them target protocol conversion media stream data need to only be selected.
Step 105: control the media stream data after the first electronic equipment output conversion.
After media stream data is converted to the media stream data that the first electronic equipment is supported, it is possible to export on the first electronic equipment so that user can watch.
In embodiments of the present invention, the protocol conversion of media stream data can carry out in the first electronic equipment, make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, accordingly, server is without the parsing carrying out media stream data, and the first electronic equipment local environment owing to changing media stream data is simple, therefore, do not have time delay, improve the fluency of the first electronic equipment output multi-medium data.
In the prior art, set up between server and the first electronic equipment once to connect and can only transmit a frame media stream data, and the wan networking environment complexity residing for server, therefore, this transmission means easily causes packet loss, so that there is Huaping phenomenon during the first electronic equipment output media stream data.
Based on this problem, another embodiment of the present invention also discloses the processing method of a kind of media stream data, in the present embodiment, unlike the embodiments above is, server can adopt propelling movement mode to send media stream data to the first electronic equipment, accordingly, the media stream data receiving server transmission is specifically as follows: receive the media stream data that server adopts propelling movement mode to send.
Concrete, after server responds the first media flow transmission request that the first electronic equipment sends, long connection can be set up between server and the first electronic equipment, the connection of this length specifically refers to set up on a basis being connected at the first electronic equipment with server, and server can send multiframe media stream data to the first electronic equipment.After long connection set up by server and the first electronic equipment, server can adopt propelling movement mode to continue to send media stream data to the first electronic equipment.
This propelling movement mode specifically refers to server and the first electronic equipment is set up after connecting, and the media stream data received can be pushed to the first electronic equipment by server continually.
It should be noted that when, after the connection that server actively disconnects with the first electronic equipment, server will not send media stream data to the first electronic equipment.And when after the connection that the first electronic equipment actively disconnects with server, even if server sends media stream data to the first electronic equipment, the first electronic equipment can not receive;And as a kind of implementation, server can, when the connection detected between the first electronic equipment disconnects, actively stop sending media stream data to the first electronic equipment.
In actual applications, websocket mode can be adopted between the first electronic equipment and server to set up long connection.
In the present embodiment, the connection set up between server and the first electronic equipment connects for long so that server can adopt propelling movement mode to send media stream data to the first electronic equipment, it is to avoid the phenomenon of packet loss occur.
First electronic equipment is after receiving the media stream data that server employing propelling movement mode sends, in order to ensure that the order receiving media stream data preserves consistent with the order of output media stream data, in the present embodiment, according to the target protocol conversion media stream data that the first electronic equipment is supported, it is specifically as follows: the target protocol supported according to the first electronic equipment, changes media stream data successively according to reception order.Accordingly, it is possible to control the first electronic equipment and be sequentially output the media stream data taken a turn for the better.
In the present invention, the first electronic equipment can send the first media flow transmission request according to the demand of user to server, so that the media stream data of the first electronic equipment output is the media stream data that user wants viewing;
Concrete, as a kind of implementation, send the first media transmission request to server, be specifically as follows: send the first media flow transmission request carrying time period mark to server.Accordingly, receive the media stream data that described server sends, be specifically as follows: receive the media stream data between the first moment to the second moment that server sends.
Wherein, the first moment was the initial time corresponding with time period mark, and the second moment was the cut-off time corresponding with time period mark.
The corresponding relation that first moment and the second moment and time period identify can be determined according to the concrete form of time period mark;
Mode is determined, if time period mark includes initial time and finish time as one, then, the first moment can for the initial time of time period mark, and the second moment can be the finish time of time period.
Such as, current time was 10 o'clock sharps, and user wants viewing the second electronic equipment to be sent to the media stream data of server at 8:30 to 9:00, so, user can control the first electronic equipment and send to server and carry the first media flow transmission that this time period of 8:30~9:00 identify and ask, and server is after receiving the request of this first media flow transmission, understand the media stream data that determine that from the media stream data of institute's buffer memory this time period of 8:30~9:00 receives, and it is sent to successively the first electronic equipment.
And alternatively determine mode, if the time period is designated a time span, then, the first moment can be early than server receive the first media flow transmission request current time and with moment of this current time at intervals time period, and the second moment can be sky.
Such as, current time was 10 o'clock sharps, and user wants viewing the second electronic equipment to start to be sent to the media stream data of server before 30min, so, user can control the first electronic equipment and send to server and carry the first media flow transmission that this time period of 30min identify and ask, and server is after receiving the request of this first media flow transmission, the media stream data starting reception from 9:30 can be determined from the media stream data of buffer memory, and it is sent to successively the first electronic equipment.
As another kind of implementation, the the first media flow transmission request not carrying any mark can be sent to server by the first electronic equipment, the media stream data received from the second electronic equipment in real time, after receiving the first media flow transmission request, is sent to the first electronic equipment by server;Accordingly, receive the media stream data that server sends, be specifically as follows: receive the media stream data from the second electronic equipment real-time reception that server sends.
One embodiment of the invention also discloses the processing method of another kind of media stream data, the method can apply in the second electronic equipment, second electronic equipment can be media streaming device, such as IP Camera, it is also possible to for having shooting or the mobile phone of sound-recording function, panel computer, computer etc..
As in figure 2 it is shown, the method comprises the following steps:
Step 201: send the second media flow transmission request to server, set up the connection with server;
Server is after receiving the second media flow transmission request that the second electronic equipment sends, it is possible to responding this request, being connected thus setting up with the second electronic equipment.
Step 202: adopt propelling movement mode to send media stream data to server in real time.
Can setting up long connection between server and the second electronic equipment, this length connects specifically can refer to that the second electronic equipment is set up on a basis being connected with server, and the second electronic equipment can send multiframe media stream data to server.That is, after connecting long connection between server and the second electronic equipment, second electronic equipment can adopt propelling movement mode to send media stream data to server in real time, and namely the media stream data gathered can be pushed in server by the second electronic equipment endlessly.
Wherein, server is after receiving the media stream data that the second electronic equipment sends, it is possible to its buffer memory is then sent to the first electronic equipment, or directly the media stream data received is sent to the first electronic equipment;Concrete, server is after receiving the first media flow transmission request that the first electronic equipment sends, can set up and the connection of the first electronic equipment, media stream data to be sent to the first electronic equipment so that the first electronic equipment can according to the target protocol conversion media stream data supported the media stream data after exporting conversion.
In embodiments of the present invention, the protocol conversion of media stream data can carry out in the first electronic equipment, make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, accordingly, server is without the parsing carrying out media stream data, and the first electronic equipment local environment owing to changing media stream data is simple, therefore, do not have time delay, improve the fluency of the first electronic equipment output multi-medium data;
Further, owing to the connection between the second electronic equipment and server connects for long so that the second electronic equipment can adopt propelling movement mode to send media stream data to server, it is to avoid the phenomenon of packet loss occurs.
Another embodiment of the present invention also discloses the processing method of a kind of Media Stream, as it is shown on figure 3, the method may comprise steps of:
Step 301: send the second media flow transmission request to server, set up the connection with server;
Step 302: adopt propelling movement mode to send media stream data to server in real time;
Step 303: detect when the connecting link between the second electronic equipment and server disconnects, stops sending media stream data to server;
Wherein, connecting link between second electronic equipment and server disconnects and at least there are two kinds of situations, a kind of situation is, the second electronic equipment can actively disconnect the connection with server when stopping gathering media stream data or need not sending media stream data to server.
And another kind situation is, server actively disconnects the connection with the second electronic equipment, such as, the media stream data of server institute buffer memory is too much or in Preset Time, the first electronic equipment does not send the first media flow transmission request to server, server all can actively disconnect and the connection of the second electronic equipment, in this case, in order to economize on resources, second electronic equipment can, when the connecting link detected between the second electronic equipment and server disconnects, stop sending media stream data to server.
Further embodiment of this invention also discloses the processing method of a kind of media stream data, and as shown in Figure 4, the method may comprise steps of:
Step 401: obtain the 3rd moment that the second electronic equipment is presently in;
Wherein it is possible to obtain the 3rd moment that the second electronic equipment is currently displaying, it is also possible to obtain, by the webserver, the 3rd moment that geographical position residing for the second electronic equipment is current.
Step 402: determine that the 3rd moment was default object time;
Wherein, object time is the moment that the second electronic equipment starts to server transport media stream data, so, that obtain the 3rd moment that the second electronic equipment is presently in after, need to compare the 3rd moment and object time, after the 3rd moment reached object time, it is possible to server transport media stream data;And when the 3rd miss the mark moment in moment, then can not to server transport media stream data.
It should be noted that the second electronic equipment can be constantly in beginning state for the device gathering media stream data, but only had for the 3rd moment reached object time and just start to service area transmitting media flow data.Certainly, in order to save resource, the second electronic equipment after determining that the 3rd moment reached object time, can also control the device for gathering media stream data and open, and as started photographic head, and then transmits the media stream data gathered to server.
Step 403: send the second media flow transmission request to server, set up the connection with server;
Step 404: adopt propelling movement mode to send media stream data to server in real time.
One embodiment of the invention discloses a kind of electronic equipment, and this electronic equipment can be mobile phone, panel computer, notebook computer etc..
As it is shown in figure 5, this electronic equipment may include that reception transmitting element 501, first sets up unit 502, first and receive unit the 503, first converting unit 504 and the first control unit 505;Wherein:
Receive transmitting element 501, it is possible to for when receiving user and operating for the first of electronic equipment, sending the first media flow transmission request to server;
First sets up unit 502, it is possible to for setting up the connection with server;
First receives unit 503, it is possible to for receiving the media stream data that server sends;
First converting unit 504, it is possible to for the target protocol conversion media stream data supported according to electronic equipment;
First control unit 505, it is possible to for controlling the media stream data after electronic equipment output is changed;
Wherein, media stream data is the data that the second electronic equipment is sent to server.
In embodiments of the present invention, the protocol conversion of media stream data can carry out in the electronic device, make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, accordingly, server is without the parsing carrying out media stream data, and the first electronic equipment local environment owing to changing media stream data is simple, therefore, do not have time delay, improve the fluency of electronic equipment output multi-medium data.
In embodiments of the present invention, the first reception unit specifically may be used for receiving the media stream data that server adopts propelling movement mode to send.
Concrete, after the first media flow transmission request that server response electronic equipment sends, long connection can be set up between server and electronic equipment, the connection of this length specifically refers to set up on a basis being connected at electronic equipment with server, and server can send multiframe media stream data to electronic equipment.After long connection set up by server and electronic equipment, server can adopt propelling movement mode to continue to send media stream data to electronic equipment.
In actual applications, websocket mode can be adopted between electronic equipment and server to set up long connection.
In the present embodiment, the connection set up between server and electronic equipment connects for long so that server can adopt propelling movement mode to send media stream data to electronic equipment, it is to avoid the phenomenon of packet loss occur.
Electronic equipment is after receiving the media stream data that server employing propelling movement mode sends, in order to ensure that the order receiving media stream data preserves consistent with the order of output media stream data, in the present embodiment, first converting unit target protocol specifically for supporting according to electronic equipment, changes media stream data successively according to reception order.Accordingly, the first control unit specifically may be used for control electronic equipment be sequentially output the media stream data taken a turn for the better.
In the present invention, the first electronic equipment can send the first media flow transmission request according to the demand of user to server, so that the media stream data of the first electronic equipment output is the media stream data that user wants viewing;
Concrete, as a kind of implementation, receive transmitting element and specifically may be used for when receiving user and operating for the first of electronic equipment, send the first media flow transmission request carrying time period mark to server;Accordingly, first the media stream data that unit specifically may be used for receiving between first moment to the second moment of server transmission is received.
Wherein, the first moment was the initial time corresponding with time period mark, and the second moment was the cut-off time corresponding with time period mark.
As another kind of implementation, receive transmitting element and specifically may be used for, when receiving user and operating for the first of electronic equipment, receiving the media stream data from the second electronic equipment real-time reception that server sends.
One embodiment of the invention also discloses another kind of electronic equipment, and this electronic equipment can be media streaming device, such as IP Camera, it is also possible to for having shooting or the mobile phone of sound-recording function, panel computer, computer etc..
As shown in Figure 6, this electronic equipment may include that unit 601 and the first transmitting element 602 are set up in transmission;Wherein:
Unit 601 is set up in transmission, it is possible to for sending the second media flow transmission request to server, set up the connection with server;
First transmitting element 602, it is possible to be used for adopting propelling movement mode to send media stream data to server in real time.
Wherein, server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with the first electronic equipment, media stream data to be sent to the first electronic equipment so that the first electronic equipment is according to the target protocol conversion media stream data supported the media stream data after exporting conversion.
In embodiments of the present invention, the protocol conversion of media stream data can carry out in the first electronic equipment, make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, accordingly, server is without the parsing carrying out media stream data, and the first electronic equipment local environment owing to changing media stream data is simple, therefore, do not have time delay, improve the fluency of the first electronic equipment output multi-medium data;
Further, owing to the connection between the second electronic equipment and server connects for long so that the second electronic equipment can adopt propelling movement mode to send media stream data to server, it is to avoid the phenomenon of packet loss occurs.
Another embodiment of the present invention also discloses a kind of electronic equipment, as it is shown in fig. 7, this electronic equipment may include that unit the 701, first transmitting element 702 and detection stop element 703 are set up in transmission;Wherein:
Unit 701 is set up in transmission, it is possible to for sending the second media flow transmission request to server, set up the connection with server;
First transmitting element 702, it is possible to be used for adopting propelling movement mode to send media stream data to server in real time;
Wherein, server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with the first electronic equipment, media stream data to be sent to the first electronic equipment so that the first electronic equipment is according to the target protocol conversion media stream data supported the media stream data after exporting conversion.
Detection stop element 703, it is possible to during for detecting that the connecting link between electronic equipment and server disconnects, stops sending media stream data to server.
Further embodiment of this invention also discloses a kind of electronic equipment, and as shown in Figure 8, this electronic equipment may include that the first acquiring unit 801, first determines unit 802, sends and set up unit 803 and the first transmitting element 804;Wherein:
First acquiring unit 801, it is possible to for obtaining the 3rd moment that electronic equipment is presently in;
First determines unit 802, it is possible to be used for determining the object time that the 3rd moment reached to preset;
Unit 803 is set up in transmission, it is possible to for sending the second media flow transmission request to server, set up the connection with server;
First transmitting element 804, it is possible to be used for adopting propelling movement mode to send media stream data to server in real time.
This system the invention also discloses the process system of a kind of media stream data, as it is shown in figure 9, may include that the first electronic equipment the 901, second electronic equipment 902 and server 903;Wherein:
Second electronic equipment 902 may be used for sending the second media flow transmission request to server, to set up the connection with described server, and adopts propelling movement mode to send media stream data to server in real time;
Server 903 may be used for receiving the media stream data that the second electronic equipment sends;
When first electronic equipment 901 may be used for receiving user for the first operation of the first electronic equipment, send the first media flow transmission request to server, to set up the connection with server;
Server 903 may be used for, after setting up the connection with the first electronic equipment, sending media stream data to the first electronic equipment;
First electronic equipment 901 may be used for receiving the media stream data that server sends, and the target protocol conversion media stream data supported according to the first electronic equipment the media stream data after exporting conversion.
In embodiments of the present invention, the protocol conversion of media stream data can carry out in the first electronic equipment, make the transmission of carried out media stream data between electronic equipment and server need not follow media flow transmission agreement, accordingly, server is without the parsing carrying out media stream data, and the first electronic equipment local environment owing to changing media stream data is simple, therefore, do not have time delay, improve the fluency of the first electronic equipment output multi-medium data.
In the present invention, the media stream data that the second electronic equipment received sends when not receiving the first media flow transmission request that the first electronic equipment sends, can be carried out buffer memory by server.When buffer memory reaches preset buffer memory amount or when long-time the first media flow transmission request not receiving the first electronic equipment transmission such as Preset Time, delete the media stream data of institute's buffer memory, certainly, server can also actively disconnect the connection with the second electronic equipment, no longer to receive the media stream data that the second electronic equipment sends.
Each device is corresponding with embodiment of the method with the embodiment of system above, specifically can referring to embodiment of the method, and in this not go into detail.
In this specification, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (17)

1. the processing method of a media stream data, it is characterised in that being applied to the first electronic equipment, the method includes:
Receive user for described first electronic equipment first operation time, to server send first media flow transmission request;
Set up the connection with described server;
Receive the media stream data that described server sends;
Described media stream data is changed according to the target protocol that described first electronic equipment is supported;
Control the media stream data after described first electronic equipment output conversion;
Wherein, described media stream data is the data that the second electronic equipment is sent to described server.
2. method according to claim 1, it is characterised in that the media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data that described server adopts propelling movement mode to send.
3. method according to claim 2, it is characterised in that the described target protocol supported according to described first electronic equipment changes described media stream data, particularly as follows:
According to the target protocol that described first electronic equipment is supported, change described media stream data successively according to reception order.
4. method according to claim 1, it is characterised in that described to server send first media flow transmission request, particularly as follows:
The the first media flow transmission request carrying time period mark is sent to described server;
The media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data between the first moment to the second moment that described server sends;
Wherein, described first moment is the initial time corresponding with mark of described time period, and described second moment is the cut-off time corresponding with mark of described time period.
5. method according to claim 1, it is characterised in that the media stream data that the described server of described reception sends, particularly as follows:
Receive the media stream data from the second electronic equipment real-time reception that described server sends.
6. the processing method of a media stream data, it is characterised in that being applied in the second electronic equipment, the method includes:
Send the second media flow transmission request to server, set up the connection with described server;
Propelling movement mode is adopted to send media stream data to described server in real time;
Wherein, described server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with described first electronic equipment, described media stream data to be sent to described first electronic equipment so that described first electronic equipment change described media stream data according to the target protocol supported and export conversion after media stream data.
7. method according to claim 6, it is characterised in that described employing pushes mode and sends after media stream data to described server in real time, also includes:
Detect when the connecting link between described second electronic equipment and described server disconnects, stop sending media stream data to described server.
8. method according to claim 6, it is characterised in that described send the second media flow transmission request to server, set up with the connection of described server before, also include:
Obtain the 3rd moment that described second electronic equipment is presently in;
Determine the object time that described 3rd moment reaches to preset.
9. an electronic equipment, it is characterised in that including:
Receive transmitting element, for when receiving user and operating for the first of described electronic equipment, sending the first media flow transmission request to server;
First sets up unit, for setting up and the connection of described server;
First receives unit, for receiving the media stream data that described server sends;
First converting unit, changes described media stream data for the target protocol supported according to described electronic equipment;
First control unit, for controlling the media stream data after the output of described electronic equipment is changed;
Wherein, described media stream data is the data that the second electronic equipment is sent to described server.
10. electronic equipment according to claim 9, it is characterised in that described first receives unit specifically for receiving the media stream data that described server adopts propelling movement mode to send.
11. electronic equipment according to claim 9, it is characterised in that described first converting unit target protocol specifically for supporting according to described electronic equipment, change described media stream data successively according to reception order.
12. electronic equipment according to claim 9, it is characterised in that described reception transmitting element specifically for when receiving user and operating for the first of described electronic equipment, sending the first media flow transmission request carrying time period mark to described server;
Described first receives unit specifically for receiving the media stream data between the first moment to the second moment that described server sends;
Wherein, described first moment is the initial time corresponding with mark of described time period, and described second moment is the cut-off time corresponding with mark of described time period.
13. electronic equipment according to claim 9, it is characterized in that, described reception transmitting element is specifically for when receiving user and operating for the first of described electronic equipment, receiving the media stream data from the second electronic equipment real-time reception that described server sends.
14. an electronic equipment, it is characterised in that including:
Unit is set up in transmission, for sending the second media flow transmission request to server, sets up the connection with described server;
First transmitting element, is used for adopting propelling movement mode to send media stream data to described server in real time;
Wherein, described server is for when receiving the first media flow transmission request that the first electronic equipment sends, set up the connection with described first electronic equipment, described media stream data to be sent to described first electronic equipment so that described first electronic equipment change described media stream data according to the target protocol supported and export conversion after media stream data.
15. electronic equipment according to claim 14, it is characterised in that also include:
Detection stop element, during for detecting that the connecting link between described electronic equipment and described server disconnects, stops sending media stream data to described server.
16. electronic equipment according to claim 14, it is characterised in that also include:
First acquiring unit, for obtaining the 3rd moment that described electronic equipment is presently in;
First determines unit, is used for determining the object time that described 3rd moment reaches to preset.
17. the process system of a media stream data, it is characterised in that including:
First electronic equipment;
Second electronic equipment;
Server;
Wherein: described second electronic equipment, for sending the second media flow transmission request to described server, to set up the connection with described server, and adopts propelling movement mode to send media stream data to described server in real time;
Described server is for receiving the described media stream data that described second electronic equipment sends;
When described first electronic equipment operates for the first of described first electronic equipment for receiving user, send the first media flow transmission request to described server, to set up the connection with described server;
Described server is additionally operable to after setting up the connection with described first electronic equipment, sends described media stream data to described first electronic equipment;
Described first electronic equipment is additionally operable to receive the media stream data that described server sends, and the target protocol supported according to described first electronic equipment change described media stream data and export conversion after media stream data.
CN201410808277.7A 2014-12-22 2014-12-22 media stream data processing method and system and electronic equipment Active CN105791223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410808277.7A CN105791223B (en) 2014-12-22 2014-12-22 media stream data processing method and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410808277.7A CN105791223B (en) 2014-12-22 2014-12-22 media stream data processing method and system and electronic equipment

Publications (2)

Publication Number Publication Date
CN105791223A true CN105791223A (en) 2016-07-20
CN105791223B CN105791223B (en) 2020-01-31

Family

ID=56385564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410808277.7A Active CN105791223B (en) 2014-12-22 2014-12-22 media stream data processing method and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN105791223B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385494A (en) * 2016-09-07 2017-02-08 努比亚技术有限公司 Method and device for obtaining dynamic home page of mobile terminal application
CN111314303A (en) * 2020-01-17 2020-06-19 网易(杭州)网络有限公司 Live broadcast system, and data processing method and device of live broadcast system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5339413A (en) * 1992-08-21 1994-08-16 International Business Machines Corporation Data stream protocol for multimedia data streaming data processing system
US20110258294A1 (en) * 2008-12-26 2011-10-20 Huawei Technologies Co., Ltd. Method, apparatus, and system for processing media data
CN102308560A (en) * 2011-07-18 2012-01-04 华为技术有限公司 Transmission method and device of media stream data in cloud calculative system
CN102843351A (en) * 2012-03-31 2012-12-26 华为技术有限公司 Streaming media service processing method, streaming media server and system
CN103200430A (en) * 2012-01-04 2013-07-10 华为终端有限公司 Personal content sharing method, system, server and terminal devices
CN103546725A (en) * 2013-10-24 2014-01-29 北京百纳威尔科技有限公司 Mobile phone client and remote video monitor and control system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5339413A (en) * 1992-08-21 1994-08-16 International Business Machines Corporation Data stream protocol for multimedia data streaming data processing system
US20110258294A1 (en) * 2008-12-26 2011-10-20 Huawei Technologies Co., Ltd. Method, apparatus, and system for processing media data
CN102308560A (en) * 2011-07-18 2012-01-04 华为技术有限公司 Transmission method and device of media stream data in cloud calculative system
CN103200430A (en) * 2012-01-04 2013-07-10 华为终端有限公司 Personal content sharing method, system, server and terminal devices
CN102843351A (en) * 2012-03-31 2012-12-26 华为技术有限公司 Streaming media service processing method, streaming media server and system
CN103546725A (en) * 2013-10-24 2014-01-29 北京百纳威尔科技有限公司 Mobile phone client and remote video monitor and control system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385494A (en) * 2016-09-07 2017-02-08 努比亚技术有限公司 Method and device for obtaining dynamic home page of mobile terminal application
CN106385494B (en) * 2016-09-07 2020-05-05 努比亚技术有限公司 Method and device for acquiring dynamic home page of mobile terminal application
CN111314303A (en) * 2020-01-17 2020-06-19 网易(杭州)网络有限公司 Live broadcast system, and data processing method and device of live broadcast system

Also Published As

Publication number Publication date
CN105791223B (en) 2020-01-31

Similar Documents

Publication Publication Date Title
EP2744169B1 (en) Method and apparatus for playing streaming media files
CN107241640B (en) A kind of method that mobile device and television equipment are played simultaneously
EP2713609A1 (en) Dynamic delay handling in mobile live video production systems
CN104954633A (en) Live broadcasting instruction method, client and system
US9826491B2 (en) Method and apparatus for synchronization of devices
WO2014134965A1 (en) Multi-party video sharing method and device
WO2006024011A3 (en) Method and apparatus for capturing and transmitting screen images
CN106131407A (en) Shooting synchronous method and synchronizer
CN111372112A (en) Method, device and system for synchronously displaying videos
WO2020233462A1 (en) Communication method for unmanned vehicle, and unmanned vehicle
CN105763905A (en) Method and system for sharing camera between mobile phone and television set
CN105791752A (en) Method and device for signal common cable transmission
CN102541555A (en) Method for remotely smoothly playing desktop video in API (application programming interface) interception mode
CN106210842A (en) Control method for playing back and device
CN103856558B (en) A kind of data processing method and device for terminal applies
RU2013103717A (en) METHOD AND DEVICE FOR CONVERSION OF CONTENT
CN105791223A (en) Media stream data processing method and system and electronic equipment
CN107277593B (en) Method and device for playing videos on same screen
CN105357568B (en) A kind of control method and device of broadcast source switching
CN108712407A (en) A kind of audio/video live broadcasting method and its system based on browser
CN106792030B (en) A kind of audio data processing method and TV
WO2015156476A1 (en) Device for transmitting and receiving seamless stream on basis of chunk, and method therefor
EP3089459B1 (en) Apparatus and method for implementing video-on-demand quick switching among multiple screens
CN105721920A (en) Method and apparatus for cooperative playing of media on multi devices, and terminal
JP6219531B2 (en) Television program image frame capture device, television program image frame acquisition device, system and method

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