CN106453306A - Media data transmission synchronous method, device and system - Google Patents
Media data transmission synchronous method, device and system Download PDFInfo
- Publication number
- CN106453306A CN106453306A CN201610882891.7A CN201610882891A CN106453306A CN 106453306 A CN106453306 A CN 106453306A CN 201610882891 A CN201610882891 A CN 201610882891A CN 106453306 A CN106453306 A CN 106453306A
- Authority
- CN
- China
- Prior art keywords
- media data
- playback equipment
- compression ratio
- synchronous
- compression
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/762—Media network packet handling at the source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a media data transmission synchronous method, device and system. When playing of media data is started, a master playing device obtains media data compression ratios corresponding to slave playing devices; compression of the corresponding media data compression ratios is carried out on the media data according to the media data compression ratios corresponding to the slave playing devices; media data synchronous playing instructions are generated; the compressed corresponding media data and the media data synchronous playing instructions are sent to the corresponding slave playing devices; and the slave playing devices synchronously play the received media data according to the synchronous playing instructions. According to the method, the device and the system, the slave playing devices are guaranteed to receive the synchronous media data according to transmission of different media data compression ratios; the slave playing devices are guaranteed to play the media data synchronously; and the condition of playing delay or asynchronous playing due to the transmission delay of the media data is effectively avoided.
Description
Technical field
The present invention relates to communication technical field, more particularly, to a kind of synchronous method of media data transmission, apparatus and system.
Background technology
In the prior art, intelligent multimedia system, as one kind of smart home, is often set by multiple stage intelligent multimedia
Standby composition, these intelligent multimedia equipment can be controlled by Network Synchronization to execute a certain item simultaneously and operate, and such as synchronously broadcasts
Put a certain song.The media data transmission of each intelligent multimedia equipment (as playback equipment) is regarded as media
Stream, then the synchronization between multiple intelligent multimedia equipment is play it is possible to be interpreted as synchronous between stream.
Because synchronous broadcasting is the action that multiple playback equipments synchronously play out, by main playback equipment, media data is same
When be sent to and multiple play out output from playback equipment.However, main playback equipment and each network between playback equipment
State is to be not quite similar it is possible to certain network between playback equipment and main playback equipment is not highly desirable, i.e. number
Being insufficient for transmitting the media data play according to transmittability, therefore, being easy to that data delay occurs, thus cause broadcasting
Put interim card or play nonsynchronous situation.
Therefore it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
Content of the invention
In view of this, it is an object of the invention to provide a kind of synchronous method of media data transmission, apparatus and system, purport
Solve existing main playback equipment and each network state between playback equipment be not quite similar it is possible to certain
Individual network between playback equipment and main playback equipment is not highly desirable, therefore, is easy to data delay, thus drawing
Rise and play interim card or play nonsynchronous problem.
For solving above-mentioned technical problem, embodiments provide technical scheme below:
Embodiments provide a kind of synchronous method of media data transmission, comprise the following steps:
Obtain each from playback equipment corresponding media data compression ratio;
According to each from playback equipment corresponding media data compression ratio, respective media is carried out respectively to described media data
The compression of data compression ratio;
Will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment so that each is from broadcasting
Equipment of putting synchronously plays described media data.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides technical scheme below:
The embodiment of the present invention additionally provides a kind of sychronisation of media data transmission, including:
Compression ratio acquisition module, for obtaining each from playback equipment corresponding media data compression ratio;
Compression module, divides to described media data from playback equipment corresponding media data compression ratio for according to each
Do not carry out the compression of respective media data compression ratio;
Sending module, for will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment,
So that each synchronously plays described media data from playback equipment.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides technical scheme below:
The embodiment of the present invention additionally provides a kind of synchronization system of media data transmission it is characterised in that including:One main broadcaster
Put equipment and multiple from playback equipment;
Described main playback equipment, for obtaining each from playback equipment corresponding media data compression ratio;According to each from
Playback equipment corresponding media data compression ratio, carries out the compression of respective media data compression ratio respectively to described media data;
Generate media data synchronization play instruction;By the respective media data obtaining after compression and synchronous play instruction, it is sent to correspondence
From playback equipment;
Described from playback equipment, for according to described synchronous play instruction, synchronously playing the described media data receiving.
With respect to prior art, the synchronous method of media data transmission of present invention offer, apparatus and system, by working as matchmaker
Volume data is play when starting, and main playback equipment obtains each from playback equipment corresponding media data compression ratio;According to each from
Playback equipment corresponding media data compression ratio, carries out the compression of respective media data compression ratio respectively to described media data;
Generate media data synchronization play instruction;By the respective media data obtaining after compression and synchronous play instruction, it is sent to correspondence
From playback equipment;, from playback equipment according to described synchronous play instruction, the described media that it receives are play in synchronization for each
Data.Therefore, the present invention can ensure that each receives from playback equipment same according to the transmission of different media data compression ratios
The media data of step, thus ensure that each synchronously can play media data from playback equipment, effectively prevent media data
Transmission delay, thus cause broadcasting interim card or play nonsynchronous situation.
Brief description
Fig. 1 be the embodiment of the present invention one provide the synchronous method of media data transmission realize schematic flow sheet.
Fig. 2 be the embodiment of the present invention two provide the synchronous method of media data transmission realize schematic flow sheet.
Fig. 3 is the interactive schematic diagram of the synchronization system of media data transmission that the embodiment of the present invention three provides.
Fig. 4 is the module diagram of the sychronisation of media data transmission that the embodiment of the present invention four provides.
Fig. 5 is the detailed module diagram of the sychronisation of media data transmission that the embodiment of the present invention four provides.
Fig. 6 is the structural representation of the mobile terminal that the embodiment of the present invention five provides.
Specific embodiment
Refer to the schema in accompanying drawing, wherein identical element numbers represent identical assembly, the principle of the present invention be with
It is implemented in illustrating in a suitable computing environment.The following description is being embodied as based on the exemplified present invention
Example, it is not construed as limiting the present invention other specific embodiments not detailed herein.
The principle of the invention to be illustrated with above-mentioned word, and it is not represented as a kind of restriction, and those skilled in the art can
Solve the plurality of step of described below and operation also may be implemented in the middle of hardware.The principle of the present invention is using many other wide usages
Or specific purpose computing, communication environment or configuration are being operated.
Embodiment one
Refer to Fig. 1, show the synchronous method of media data transmission provided in an embodiment of the present invention.
The synchronous method of described media data transmission, is applied in main playback equipment, specifically includes following steps:
In step S101, media data is play when starting, and obtains each and compresses from the corresponding media data of playback equipment
Than.
In the present embodiment, before media data broadcasting, need to calculate each from the corresponding media data of playback equipment
Compression ratio, is implemented as follows:
1st, send detection bag to each respectively from playback equipment, described detection bag be used for detecting main playback equipment with each from
Network condition between playback equipment.
As installation media data syn-chronization playout software in main playback equipment, when user selects a lot of from playback equipment
Afterwards, main playback equipment obtains the good detection bag of preset design, and detects bag to multiple the transmission respectively from playback equipment selecting.By
In different network environments, the speed detecting bag that each receives from playback equipment is also be not quite similar, when setting from broadcasting
For receiving after detection bag, result of detection can be generated according to the reception time, and return result of detection, this spy to main playback equipment
Survey result and include time, the handling capacity receiving detection bag.
2nd, receive each and detect, according to described, the result of detection that bag returns from playback equipment.
3rd, according to described result of detection, main playback equipment and each message transmission rate between playback equipment are obtained.
Wherein, main playback equipment is according to the reception time in result of detection, handling capacity, to calculate main playback equipment with from
Message transmission rate between playback equipment.
4th, according to described message transmission rate, calculate each from playback equipment corresponding media data compression ratio.
In the present embodiment, according to each described message transmission rate, calculate the maximum of corresponding media data transmission
Bit rate;According to the bit rate of corresponding described Maximum Bit Rate and media data currently to be played, calculate each from broadcasting
Equipment of putting corresponding media data compression ratio.
In step s 102, according to each from playback equipment corresponding media data compression ratio, described media data is divided
Do not carry out the compression of respective media data compression ratio.
Preferably, described according to each from playback equipment corresponding media data compression ratio, described media data is divided
After not carrying out the step of compression of respective media data compression ratio, also include:
The respective media data obtaining after compression is packed respectively.The respective media data that will obtain after packing, point
Be not sent to corresponding from playback equipment so that each synchronously plays described media data from playback equipment.
In step s 103, will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment,
So that each synchronously plays described media data from playback equipment.
In the present embodiment, after described media data is carried out respectively with the compression of respective media data compression ratio, generate matchmaker
Volume data synchronization play instruction;Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from broadcasting
Put in equipment so that each from playback equipment according to described synchronous play instruction, synchronous play described media data.
In practical application, can be sent by wired mode it is also possible to by WiFi (Wireless Fidelity, wirelessly
Fidelity), bluetooth, the wireless mode such as 3G/4G send.
From the foregoing, it will be observed that the synchronous method of the media data transmission of the present embodiment one offer, opened by playing when media data
During the beginning, main playback equipment obtains each from playback equipment corresponding media data compression ratio;Corresponded to from playback equipment according to each
Media data compression ratio, described media data is carried out respectively with the compression of respective media data compression ratio;Generate media data
Synchronous play instruction;Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from playback equipment
In;, from playback equipment according to described synchronous play instruction, the described media data that it receives is play in synchronization for each.Therefore, originally
According to the transmission of different media data compression ratios, embodiment one can ensure that each receives synchronous media from playback equipment
Data, thus ensure that each can synchronously play media data from playback equipment, the transmission that effectively prevent media data is prolonged
Late, thus causing broadcasting interim card or playing nonsynchronous situation.
Embodiment two
Refer to Fig. 2, show the synchronous method of media data transmission provided in an embodiment of the present invention.
With mobile phone as main playback equipment, as a example playback equipment is as intelligent sound, describe the multiple intelligence of mobile phone control in detail
Sound equipment can synchronously play and realize process with a piece of music:
In step s 201, before playing music, mobile phone sends to multiple intelligent sounds and detects bag, and the described bag that detects is used
Network condition between detection mobile phone and each intelligent sound.
In step S202, each intelligent sound, after receiving detection bag, can return result of detection to mobile phone.
In step S203, mobile phone receives each intelligent sound and detects, according to described, the result of detection that bag returns.
In step S204, mobile phone passes according to described result of detection, the data obtaining between mobile phone and each intelligent sound
Defeated speed.
In step S205, mobile phone, according to each described message transmission rate, calculates the corresponding matchmaker of each intelligent sound
The Maximum Bit Rate of volume data transmission.
In step S206, mobile phone according to the bit rate of corresponding described Maximum Bit Rate and music currently to be play,
Calculate each intelligent sound corresponding media data compression ratio.
In step S207, when music starts, mobile phone obtains each intelligent sound corresponding media data compression ratio.
In step S208, mobile phone is according to each intelligent sound corresponding media data compression ratio, the audio frequency to this music
Data carries out the compression of respective media data compression ratio respectively.
In step S209, the respective audio data that mobile phone obtains after compressing is packed respectively.
In step S210, after packing, mobile phone generates synchronous music play instruction.
In step S211, mobile phone passes through bluetooth, and the respective audio data obtaining after packing and synchronous play instruction are sent out
Deliver in corresponding intelligent sound, so that each intelligent sound is according to described synchronous play instruction, synchronous this song of broadcasting.
From the foregoing, it will be observed that the synchronous method of media data transmission that the present embodiment two provides, by when music starts,
Mobile phone obtains each intelligent sound corresponding media data compression ratio;Compressed according to the corresponding media data of each intelligent sound
Than the voice data of this music is carried out respectively with the compression of respective media data compression ratio;Generate synchronous play instruction;To compress
The respective audio data obtaining afterwards and synchronous play instruction, are sent in corresponding intelligent sound;Each intelligent sound is according to institute
State synchronous play instruction, the synchronous described voice data play it and receive.Therefore, the present embodiment two can be according to different media
The transmission of data compression ratio, to ensure that each receives synchronous media data from playback equipment, thus ensure that each from broadcasting
The equipment of putting can synchronously play media data, effectively prevent the transmission delay of media data, thus cause broadcasting interim card or
Play nonsynchronous situation.
Embodiment three
Refer to Fig. 3, the interactive schematic diagram of the synchronization system of the media data transmission providing for the embodiment of the present invention three;For
It is easy to illustrate, illustrate only the part related to the embodiment of the present invention.The synchronization system of described media data transmission, including:
One main playback equipment and multiple from playback equipment.
Described main playback equipment, for when media data plays beginning, obtaining each from the corresponding media of playback equipment
Data compression ratio;According to each from playback equipment corresponding media data compression ratio, described media data is carried out accordingly respectively
The compression of media data compression ratio;Generate media data synchronization play instruction;Will after compression the respective media data that obtain and with
Step play instruction, be sent to corresponding from playback equipment.
Specifically, described main playback equipment, before media data broadcasting, sends detection bag to each from playback equipment respectively,
The described bag that detects is for detecting main playback equipment and each network condition between playback equipment;Receive each from playback equipment
Detect the result of detection that bag returns according to described;According to described result of detection, obtain main playback equipment with each from playback equipment
Between message transmission rate;According to described message transmission rate, calculate each from playback equipment corresponding media data pressure
Contracting ratio.When media data plays beginning, obtain each from playback equipment corresponding media data compression ratio;According to each from broadcasting
Equipment of putting corresponding media data compression ratio, carries out the compression of respective media data compression ratio respectively to described media data;Will
The respective media data obtaining after compression is packed respectively.After packing, generate media data synchronization play instruction;After compressing
The respective media data obtaining and synchronous play instruction, be sent to corresponding from playback equipment.
Described from playback equipment, for according to described synchronous play instruction, synchronously playing the described media data receiving.
From the foregoing, it will be observed that the synchronization system of the media data transmission of the present embodiment three offer, opened by playing when media data
During the beginning, main playback equipment obtains each from playback equipment corresponding media data compression ratio;Corresponded to from playback equipment according to each
Media data compression ratio, described media data is carried out respectively with the compression of respective media data compression ratio;Generate media data
Synchronous play instruction;Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from playback equipment
In;, from playback equipment according to described synchronous play instruction, the described media data that it receives is play in synchronization for each.Therefore, originally
According to the transmission of different media data compression ratios, embodiment three can ensure that each receives synchronous media from playback equipment
Data, thus ensure that each can synchronously play media data from playback equipment, the transmission that effectively prevent media data is prolonged
Late, thus causing broadcasting interim card or playing nonsynchronous situation.
Example IV
See also Fig. 4 and Fig. 5, the module of the sychronisation of the media data transmission providing for the embodiment of the present invention four
Schematic diagram;For convenience of description, illustrate only the part related to the embodiment of the present invention.The synchronization dress of described media data transmission
Put 100 to include:Compression ratio acquisition module 101, compression module 102, sending module 103.The synchronization dress of described media data transmission
Put the unit of software unit, hardware cell or the software and hardware combining that can be to be built in main playback equipment.However, it is possible to
It is understood by, this main playback equipment can be the smart machine such as mobile terminal, computer, panel computer.
Compression ratio acquisition module 101, for when media data plays beginning, obtaining each from the corresponding matchmaker of playback equipment
Volume compression ratio.
Compression module 102, for according to each from playback equipment corresponding media data compression ratio, to described media data
Carry out the compression of respective media data compression ratio respectively.
Sending module 103, for will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment
In, so that each synchronously plays described media data from playback equipment.
In the present embodiment, the sychronisation of described media data transmission, also includes:Detect bag sending module 104, detect
Result receiver module 105, transfer rate acquisition module 106, compression ratio computing module 107.
Detect bag sending module 104, for sending detection bag to each respectively from playback equipment, described detection bag is used for visiting
Survey main playback equipment and each network condition between playback equipment.
Result of detection receiver module 105, detects, according to described, the detection knot that bag returns from playback equipment for receiving each
Really.
Transfer rate acquisition module 106, is set from broadcasting with each for according to described result of detection, obtaining main playback equipment
Message transmission rate between standby.
Compression ratio computing module 107, for according to described message transmission rate, calculating each corresponding from playback equipment
Media data compression ratio.
Specifically, described compression ratio computing module 107, including:Bit rate computing module 1071, compression ratio calculating sub module
1072.
Bit rate computing module 1071, for according to each described message transmission rate, calculating corresponding media data
The Maximum Bit Rate of transmission.
Compression ratio calculating sub module 1072, for according to corresponding described Maximum Bit Rate and media number currently to be played
According to bit rate, calculate each from playback equipment corresponding media data compression ratio.
Preferably, the sychronisation of described media data transmission, also includes:Packetization module 108.
Packetization module 108, for being packed the respective media data obtaining after compression respectively.
In the present embodiment, the sychronisation of described media data transmission, also includes:Directive generation module 109.
Directive generation module 109, for generating media data synchronization play instruction.
Described sending module 103, specifically for the respective media data and the synchronous play instruction that obtain after compressing, sends
To corresponding from playback equipment so that each from playback equipment according to described synchronous play instruction, synchronous play described media
Data.
From the foregoing, it will be observed that the sychronisation of the media data transmission of the present embodiment four offer, opened by playing when media data
During the beginning, main playback equipment obtains each from playback equipment corresponding media data compression ratio;Corresponded to from playback equipment according to each
Media data compression ratio, described media data is carried out respectively with the compression of respective media data compression ratio;Generate media data
Synchronous play instruction;Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from playback equipment
In;, from playback equipment according to described synchronous play instruction, the described media data that it receives is play in synchronization for each.Therefore, originally
According to the transmission of different media data compression ratios, example IV can ensure that each receives synchronous media from playback equipment
Data, thus ensure that each can synchronously play media data from playback equipment, the transmission that effectively prevent media data is prolonged
Late, thus causing broadcasting interim card or playing nonsynchronous situation.
The synchronous method of media data transmission provided in an embodiment of the present invention and device belong to same design, and it implements
Process refers to specification in full, and here is omitted.
Embodiment five
Fig. 6 shows the concrete structure block diagram of the mobile terminal that the embodiment of the present invention five provides, and this mobile terminal can be used
In the synchronous method/device implementing the media data transmission providing in above-described embodiment.This mobile terminal 1 200 can be intelligence
Mobile phone or panel computer.
As shown in fig. 6, mobile terminal 1 200 can include RF (Radio Frequency, radio frequency) circuit 110, include
The memory 120 of one or more (in figure only illustrates one) computer-readable recording mediums, input block 130, display
Unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include one or more than one (in figure only illustrates one
Individual) part such as the processor 180 of processing core and power supply 190.It will be understood by those skilled in the art that the shifting shown in Fig. 6
Dynamic terminal 1200 structure does not constitute the restriction to mobile terminal 1 200, can include ratio and illustrate more or less of part, or
Person combines some parts, or different part arrangements.Wherein:
RF circuit 110 is used for receiving and sends electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical
News network or other equipment are communicated.RF circuit 110 may include the various existing circuit elements for executing these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuit 110 can be communicated with various networks such as internet, intranet, wireless network or be passed through wireless
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Above-mentioned wireless network can be using various communication standards, agreement and technology, including but not limited to global system for mobile communications
(Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple
Access, WCDMA), CDMA (Code Division Access, CDMA), tdma (Time
Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) is (as U.S.'s electricity
Gas and Electronic Engineering Association's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE
802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, IMU
News and the agreement of short message, and any other suitable communications protocol, or even may include those and be currently developed not yet
Agreement.
Memory 120 can be used for storing software program and module, the synchronization of media data transmission such as in above-described embodiment
Corresponding programmed instruction/the module of method, device, processor 180 pass through to run be stored in software program in memory 120 and
Module, thus executing various function application and data processing, that is, realizes the function of the synchronization of media data transmission.Memory
120 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage device, sudden strain of a muscle
Deposit or other non-volatile solid state memories.In some instances, memory 120 can further include with respect to processor
180 remotely located memories, these remote memories can be by network connection to mobile terminal 1 200.The reality of above-mentioned network
Example includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input block 130 can be used for numeral or the character information of receives input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, input block 130 may include tactile
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use
Family thereon or neighbouring touch operation (such as user uses any suitable object such as finger, stylus or annex in touch-sensitive table
Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.Optional
, Touch sensitive surface 131 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch
Receive touch information in detection means, and be converted into contact coordinate, then give processor 180, and can receiving processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more of trace ball, mouse, action bars etc..
Display unit 140 can be used for showing by the information of user input or the information and the mobile terminal that are supplied to user
1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination
To constitute.Display unit 140 may include display floater 141, optionally, can adopt LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes
Configuration display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects at it
On or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch
The type touching event provides corresponding visual output on display floater 141.Although in figure 6, Touch sensitive surface 131 and display surface
Plate 141 is to realize input and input function as two independent parts, but in some embodiments it is possible to by touch-sensitive table
Face 131 is integrated with display floater 141 and realize input and output function.
Mobile terminal 1 200 may also include at least one sensor 150, such as optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can basis
The light and shade of ambient light adjusting the brightness of display floater 141, proximity transducer can when mobile terminal 1 200 moves in one's ear,
Close display floater 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect all directions
The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity when static, can be used for identifying mobile phone attitude
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes
Hit) etc.;The gyroscope that can also configure as mobile terminal 1 200, barometer, hygrometer, thermometer, infrared ray sensor etc. its
His sensor, will not be described here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio frequency between user and mobile terminal 1 200 to connect
Mouthful.Electric signal after the voice data receiving conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit
160 receive after be converted to voice data, then after voice data output processor 180 is processed, through RF circuit 110 to be sent to ratio
As another terminal, or voice data is exported to memory 120 to process further.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 1 200.
Mobile terminal 1 200 can help user to send and receive e-mail by transport module 170 (such as Wi-Fi module), clear
Look at webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows transmission mould
Block 170, but it is understood that, it is simultaneously not belonging to must be configured into of mobile terminal 1 200, completely can be as needed not
Omit in the scope of the essence changing invention.
Processor 180 is the control centre of mobile terminal 1 200, each using various interfaces and connection whole mobile phone
Individual part, is stored in software program and/or module in memory 120 by running or executing, and calls and be stored in storage
Data in device 120, the various functions of execution mobile terminal 1 200 and processing data, thus carry out integral monitoring to mobile phone.Can
Choosing, processor 180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modulation
Demodulation processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modulation /demodulation is processed
Device mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Mobile terminal 1 200 also includes the power supply 190 (such as battery) powered to all parts it is preferred that power supply can lead to
Cross power-supply management system logically contiguous with processor 180, thus by power-supply management system realize management charge, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal 1 200 can also include camera, bluetooth module etc., will not be described here.Specifically
In the present embodiment, the display unit of mobile terminal is touch-screen display, and mobile terminal also includes memory, and one
Or more than one program, one of or more than one program storage in memory, and be configured to by one or
More than one computing device of person states one or more than one program bag contains the instruction for carrying out following operation:
Media data is play when starting, and obtains each from playback equipment corresponding media data compression ratio.
According to each from playback equipment corresponding media data compression ratio, respective media is carried out respectively to described media data
The compression of data compression ratio.
Will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment so that each is from broadcasting
Equipment of putting synchronously plays described media data.
Also execute to give an order:
When described media data plays beginning, obtain each step from playback equipment corresponding media data compression ratio
Before, also include:Send detection bag to each respectively from playback equipment, described detection bag be used for detecting main playback equipment and each
Network condition between playback equipment;Receive each and detect, according to described, the result of detection that bag returns from playback equipment;According to
Described result of detection, obtains main playback equipment and each message transmission rate between playback equipment;Passed according to described data
Defeated speed, calculates each from playback equipment corresponding media data compression ratio.
Also execute to give an order:
According to described message transmission rate, calculate each step from playback equipment corresponding media data compression ratio,
Specifically include:According to each described message transmission rate, calculate the Maximum Bit Rate of corresponding media data transmission;According to right
The described Maximum Bit Rate answered and the bit rate of media data currently to be played, calculate each from the corresponding matchmaker of playback equipment
Volume compression ratio.
Also execute to give an order:
Described according to each from playback equipment corresponding media data compression ratio, phase is carried out respectively to described media data
After answering the step of compression of media data compression ratio, also include:The respective media data obtaining after compression is carried out beating respectively
Bag.
Also execute to give an order:
Will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment so that each is from broadcasting
Put the step that equipment synchronously plays described media data, specifically include:Generate media data synchronization play instruction;To obtain after compressing
The respective media data arriving and synchronous play instruction, be sent to corresponding from playback equipment so that each is from playback equipment root
According to described synchronous play instruction, the described media data of synchronous broadcasting.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
In sum although the present invention is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit
The present invention processed, those of ordinary skill in the art, without departing from the spirit and scope of the present invention, all can make various change and profit
Decorations, therefore protection scope of the present invention is defined by the scope that claim defines.
Claims (11)
1. a kind of synchronous method of media data transmission is it is characterised in that comprise the following steps:
Obtain each from playback equipment corresponding media data compression ratio;
According to each from playback equipment corresponding media data compression ratio, respective media data is carried out respectively to described media data
The compression of compression ratio;
Will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment so that each sets from broadcasting
The described media data of standby synchronous broadcasting.
2. the synchronous method of media data transmission as claimed in claim 1 is it is characterised in that obtain each from broadcasting described
Before the step of equipment corresponding media data compression ratio, also include:
Send detection bag to each from playback equipment respectively, described detection bag is used for detecting main playback equipment and is set from broadcasting with each
Network condition between standby;
Receive each and detect, according to described, the result of detection that bag returns from playback equipment;
According to described result of detection, obtain main playback equipment and each message transmission rate between playback equipment;
According to described message transmission rate, calculate each from playback equipment corresponding media data compression ratio.
3. media data transmission as claimed in claim 2 synchronous method it is characterised in that according to described data transfer speed
Rate, calculates each step from playback equipment corresponding media data compression ratio, specifically includes:
According to each described message transmission rate, calculate the Maximum Bit Rate of corresponding media data transmission;
According to the bit rate of corresponding described Maximum Bit Rate and media data currently to be played, calculate each and set from broadcasting
Standby corresponding media data compression ratio.
4. media data transmission as claimed in claim 1 synchronous method it is characterised in that described according to each from broadcasting
Equipment corresponding media data compression ratio, the step that described media data is carried out respectively with the compression of respective media data compression ratio
Afterwards, also include:
The respective media data obtaining after compression is packed respectively.
5. the synchronous method of media data transmission as claimed in claim 1 is it is characterised in that will the corresponding matchmaker that obtain after compression
Volume data, be separately sent to corresponding from playback equipment so that each synchronously plays described media data from playback equipment
Step, specifically includes:
Generate media data synchronization play instruction;
Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from playback equipment so that often
Individual from playback equipment according to described synchronous play instruction, synchronous play described media data.
6. a kind of sychronisation of media data transmission is it is characterised in that include:
Compression ratio acquisition module, for obtaining each from playback equipment corresponding media data compression ratio;
Compression module, enters to described media data from playback equipment corresponding media data compression ratio respectively for according to each
The compression of row respective media data compression ratio;
Sending module, for will the respective media data that obtain after compression, be separately sent to corresponding from playback equipment so that
Each synchronously plays described media data from playback equipment.
7. media data transmission as claimed in claim 6 sychronisation it is characterised in that described media data transmission same
Step device, also includes:
Detect bag sending module, for sending detection bag to each respectively from playback equipment, described detection bag is used for detecting main broadcaster
Put equipment and each network condition between playback equipment;
Result of detection receiver module, detects, according to described, the result of detection that bag returns from playback equipment for receiving each;
Transfer rate acquisition module, for according to described result of detection, obtain main playback equipment and each between playback equipment
Message transmission rate;
Compression ratio computing module, for according to described message transmission rate, calculating each from playback equipment corresponding media number
According to compression ratio.
8. the sychronisation of media data transmission as claimed in claim 7 is it is characterised in that described compression ratio computing module,
Including:
Bit rate computing module, for according to each described message transmission rate, calculating corresponding media data transmission
Big bit rate;
Compression ratio calculating sub module, for the bit according to corresponding described Maximum Bit Rate and media data currently to be played
Rate, calculates each from playback equipment corresponding media data compression ratio.
9. media data transmission as claimed in claim 6 sychronisation it is characterised in that described media data transmission same
Step device, also includes:
Packetization module, for being packed the respective media data obtaining after compression respectively.
10. the sychronisation of media data transmission as claimed in claim 6 is it is characterised in that described media data transmission
Sychronisation, also includes:Directive generation module;
Directive generation module, for generating media data synchronization play instruction;
Described sending module, specifically for the respective media data and the synchronous play instruction that obtain after compressing, is sent to correspondence
From playback equipment so that each from playback equipment according to described synchronous play instruction, synchronous play described media data.
A kind of 11. synchronization systems of media data transmission are it is characterised in that include:One main playback equipment and multiple set from broadcasting
Standby;
Described main playback equipment, for obtaining each from playback equipment corresponding media data compression ratio;According to each from broadcasting
Equipment corresponding media data compression ratio, carries out the compression of respective media data compression ratio respectively to described media data;Generate
Media data synchronization play instruction;Will the respective media data that obtain and synchronous play instruction after compression, be sent to corresponding from
In playback equipment;
Described from playback equipment, for according to described synchronous play instruction, synchronously playing the described media data receiving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882891.7A CN106453306A (en) | 2016-10-08 | 2016-10-08 | Media data transmission synchronous method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882891.7A CN106453306A (en) | 2016-10-08 | 2016-10-08 | Media data transmission synchronous method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453306A true CN106453306A (en) | 2017-02-22 |
Family
ID=58172323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610882891.7A Pending CN106453306A (en) | 2016-10-08 | 2016-10-08 | Media data transmission synchronous method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453306A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682452A (en) * | 2017-10-31 | 2018-02-09 | 沈阳东软医疗系统有限公司 | A kind of data processing method, apparatus and system |
CN108259566A (en) * | 2017-12-22 | 2018-07-06 | 浪潮通用软件有限公司 | The method of data synchronization and device of a kind of application |
CN110366154A (en) * | 2019-07-26 | 2019-10-22 | 深圳市瑞荣达电子有限公司 | A kind of Bluetooth audio frequency wireless networking system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1367984A (en) * | 2000-01-14 | 2002-09-04 | 皇家菲利浦电子有限公司 | Latency handling for interconnected devices |
US6907516B2 (en) * | 2002-05-30 | 2005-06-14 | Microsoft Corporation | Compression of program instructions using advanced sequential correlation |
CN1744592A (en) * | 2005-09-29 | 2006-03-08 | 西安交通大学 | Multi-source flow media transmission QoS control method |
CN101455086A (en) * | 2006-05-31 | 2009-06-10 | 高通股份有限公司 | Video error control based on reverse link information |
CN101765003A (en) * | 2008-12-23 | 2010-06-30 | 上海茂碧信息科技有限公司 | Method for transmitting audio and video under environment of network with different speeds |
CN201541328U (en) * | 2009-10-28 | 2010-08-04 | 英属维京群岛速位互动股份有限公司 | Data transmission device |
CN103428535A (en) * | 2013-08-02 | 2013-12-04 | 汎惪股份有限公司 | Real-time video transmission method, real-time video transmission and synchronous playing method and system and sending unit for real-time video transmission method |
CN104954853A (en) * | 2015-06-09 | 2015-09-30 | 广东欧珀移动通信有限公司 | Playing information saving method and system, play terminal and control terminal |
-
2016
- 2016-10-08 CN CN201610882891.7A patent/CN106453306A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1367984A (en) * | 2000-01-14 | 2002-09-04 | 皇家菲利浦电子有限公司 | Latency handling for interconnected devices |
US6907516B2 (en) * | 2002-05-30 | 2005-06-14 | Microsoft Corporation | Compression of program instructions using advanced sequential correlation |
CN1744592A (en) * | 2005-09-29 | 2006-03-08 | 西安交通大学 | Multi-source flow media transmission QoS control method |
CN101455086A (en) * | 2006-05-31 | 2009-06-10 | 高通股份有限公司 | Video error control based on reverse link information |
CN101765003A (en) * | 2008-12-23 | 2010-06-30 | 上海茂碧信息科技有限公司 | Method for transmitting audio and video under environment of network with different speeds |
CN201541328U (en) * | 2009-10-28 | 2010-08-04 | 英属维京群岛速位互动股份有限公司 | Data transmission device |
CN103428535A (en) * | 2013-08-02 | 2013-12-04 | 汎惪股份有限公司 | Real-time video transmission method, real-time video transmission and synchronous playing method and system and sending unit for real-time video transmission method |
CN104954853A (en) * | 2015-06-09 | 2015-09-30 | 广东欧珀移动通信有限公司 | Playing information saving method and system, play terminal and control terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682452A (en) * | 2017-10-31 | 2018-02-09 | 沈阳东软医疗系统有限公司 | A kind of data processing method, apparatus and system |
CN108259566A (en) * | 2017-12-22 | 2018-07-06 | 浪潮通用软件有限公司 | The method of data synchronization and device of a kind of application |
CN110366154A (en) * | 2019-07-26 | 2019-10-22 | 深圳市瑞荣达电子有限公司 | A kind of Bluetooth audio frequency wireless networking system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414630B (en) | Network interdynamic method and relevant apparatus and communication system | |
CN107977144A (en) | A kind of screenshotss processing method and mobile terminal | |
CN110034876A (en) | PUCCH resource instruction, processing method, network side equipment, user terminal | |
CN106231379A (en) | A kind of methods, devices and systems playing live video | |
CN106170034B (en) | A kind of sound effect treatment method and mobile terminal | |
CN104602100A (en) | Method and device for recording video and audio in applications | |
CN105491135B (en) | Establish the method and device of data connection | |
CN108810860B (en) | Audio transmission method, terminal equipment and main earphone | |
CN104375811A (en) | Method and device for processing sound effects | |
CN104144312A (en) | Video processing method and related device | |
CN103391473A (en) | Methods and devices for providing and acquiring audios and videos | |
CN104935955A (en) | Live video stream transmission method, device and system | |
CN110035505A (en) | Semi-static SRS resource instruction, processing method, network side equipment, user terminal | |
WO2017215661A1 (en) | Scenario-based sound effect control method and electronic device | |
CN104869465A (en) | Video playing control method and device | |
CN109814930A (en) | A kind of application loading method, device and mobile terminal | |
CN104093053A (en) | Video file playing method, devices and system | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN107949021B (en) | Switch the method and terminal device of receives link in terminal device | |
CN111405043B (en) | Information processing method and device and electronic equipment | |
CN106412629B (en) | Processing method, device, system and the computer-readable media medium of media data transmission | |
CN107911777B (en) | Processing method and device for return-to-ear function and mobile terminal | |
CN106453306A (en) | Media data transmission synchronous method, device and system | |
CN104426747A (en) | Instant messaging method, terminal and system | |
CN109068084A (en) | Video calling picture display process, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |