CN106411449A - Play control method and device, and terminal - Google Patents

Play control method and device, and terminal Download PDF

Info

Publication number
CN106411449A
CN106411449A CN201610882909.3A CN201610882909A CN106411449A CN 106411449 A CN106411449 A CN 106411449A CN 201610882909 A CN201610882909 A CN 201610882909A CN 106411449 A CN106411449 A CN 106411449A
Authority
CN
China
Prior art keywords
playback equipment
information
playing
judged result
packets
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
CN201610882909.3A
Other languages
Chinese (zh)
Other versions
CN106411449B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610882909.3A priority Critical patent/CN106411449B/en
Publication of CN106411449A publication Critical patent/CN106411449A/en
Application granted granted Critical
Publication of CN106411449B publication Critical patent/CN106411449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Abstract

The embodiment of the invention provides a play control method and device, and a terminal. The method comprises the steps of receiving play finishing information sent by play devices according to preset cycles; obtaining clock errors between the system clocks of the play devices and the system clock of the play control device according to the play finishing information; judging whether the system clocks of the play devices are synchronous to the system clock of the play control device or not according to the clock errors, thereby obtaining judging results; sending corresponding cycle adjusting commands to the play devices according to the judging results, thereby enabling the play devices to adjust the preset cycles according to the period adjusting commands. According to scheme, the corresponding cycle adjusting commands are sent to the play devices according to whether the system clock of the play devices are synchronous to the system clock of the play control device or not, and the play devices adjust the preset cycles according to the cycle adjusting commands. When multiple play devices exist, the communication traffic between the play control device and the multiple play devices can be reduced, and the stability of a play system can be improved.

Description

Control method for playing back, device and terminal
Technical field
The present invention relates to technical field of electronic equipment is and in particular to a kind of control method for playing back, device and terminal.
Background technology
With growth in the living standard, audio-visual devices play important role in the life of people.Currently, will be multiple Music player devices (for example, audio amplifier, player, mobile phone etc.) and control device are interconnected by wired or wireless network, One Play System of composition, synchronous broadcasting identical music, it has been widely used.
In above-mentioned Play System, each equipment has independent system clock.Each playback equipment according to its own System clock is playing music.However, the system clock of each playback equipment is not always synchronous.Between each playback equipment It is sometimes synchronous, sometimes there may be the trickle time difference.When identical music play by multiple playback equipments, above-mentioned thin Micro- time difference leads to the playing progress rate of each playback equipment inconsistent, and the output tonequality thereby resulting in whole Play System declines.
In order to improve the output tonequality of Play System, need the system clock of each playback equipment in Play System is entered Row monitoring and adjustment, so that the system clock of multiple playback equipment keeps synchronous.However, continually to multiple playback equipments System clock is monitored and adjusts, and causes the traffic between control device and playback equipment to increase, cause control device with Network blockage between playback equipment, the stability thus resulting in Play System reduces, and needs improvement badly.
Content of the invention
The embodiment of the present invention provides a kind of control method for playing back, device and terminal, can improve the stability of Play System.
The embodiment of the present invention provides a kind of control method for playing back, including:
Receive the information that finishes playing that playback equipment is sent with predetermined period;
According to this finish playing acquisition of information and the clocking error of this playback equipment;
Judged whether synchronous with the system clock of this playback equipment according to this clocking error, to obtain judged result;
According to this judged result to this playback equipment send corresponding period modulation order so that this playback equipment according to This period modulation order adjusts this predetermined period.
Accordingly, the embodiment of the present invention also provides a kind of broadcast control device, including:
Receiver module, for receiving the information that finishes playing that playback equipment is sent with predetermined period;
Acquisition module, for according to this finish playing acquisition of information and the clocking error of this playback equipment;
Judge module, whether synchronous with the system clock of this playback equipment for being judged according to this clocking error, to obtain Judged result;
Sending module, for corresponding period modulation order is sent to this playback equipment according to this judged result, so that This playback equipment adjusts this predetermined period according to this period modulation order.
Accordingly, the embodiment of the present invention also provides a kind of terminal, including:
Touch-screen, for the touch operation of receive user;
Be stored with the memory of executable program code;
The processor coupling with this memory;
This processor calls this executable program code of storage in this memory, executes above-mentioned control method for playing back.
The embodiment of the present invention adopts and receives the information that finishes playing that playback equipment is sent with predetermined period;Played according to this Become the clocking error of acquisition of information and this playback equipment;Whether the system clock according to the judgement of this clocking error and this playback equipment Synchronous, to obtain judged result;Corresponding period modulation order is sent to this playback equipment according to this judged result, so that should Playback equipment adjusts this predetermined period according to this period modulation order.The program according to the clocking error of playback equipment judge with Whether this playback equipment is synchronous, sends corresponding period modulation order, playback equipment root according to judged result to this playback equipment Adjust this predetermined period according to this period modulation order.When there is multiple playback equipment, broadcast control device only needs to and minority Or the big playback equipment of clocking error frequently communicates individually, frequently leads to without the playback equipment little with other clocking errors Letter, can reduce the traffic between broadcast control device and multiple playback equipment it is thus possible to solve well due to playing The traffic between control device and multiple playback equipment network blockage caused greatly, can improve stablizing of Play System Property.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
Fig. 1 is the schematic flow sheet of the control method for playing back that the embodiment of the present invention one provides.
Fig. 2 is the composition schematic diagram of the Play System in the embodiment of the present invention two.
Fig. 3 is the schematic flow sheet of the control method for playing back that the embodiment of the present invention two provides.
Fig. 4 is the structural representation of the first broadcast control device that the embodiment of the present invention three provides.
Fig. 5 is the structural representation of the second broadcast control device that the embodiment of the present invention three provides.
Fig. 6 is the structural representation of the third broadcast control device that the embodiment of the present invention three provides.
Fig. 7 is the structural representation of the 4th kind of broadcast control device that the embodiment of the present invention three provides.
Fig. 8 is the structural representation of the first terminal that the embodiment of the present invention four provides.
Fig. 9 is the structural representation of the second terminal that the embodiment of the present invention four provides.
Specific embodiment
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 carried out clear, complete Site preparation describes.Obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The object of sample description can exchange in the appropriate case.Additionally, term " comprising " and " having " and their any deformation, meaning Figure is to cover non-exclusive comprising.For example, contain the process of series of steps, method or contain a series of modules or list The device of unit, terminal, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include unclear The step listed or module or unit it is also possible to include for these processes, method, device, terminal or intrinsic its of system Its step or module or unit.
The embodiment of the present invention provides a kind of control method for playing back, device and terminal, is described in detail respectively below.
Embodiment one
The present embodiment will be described from the angle of broadcast control device, this device specifically can integrated in the terminal, should Terminal can be the equipment such as smart mobile phone, panel computer.
A kind of control method for playing back, including:Receive the information that finishes playing that playback equipment is sent with predetermined period;According to this Finish playing acquisition of information and the clocking error of this playback equipment;When judging the system with this playback equipment according to this clocking error Whether clock is synchronous, to obtain judged result;Corresponding period modulation order is sent to this playback equipment according to this judged result, with This playback equipment is made to adjust this predetermined period according to this period modulation order.
As shown in figure 1, this control method for playing back, idiographic flow can include:
S101, receives the information that finishes playing that playback equipment is sent with predetermined period.
In concrete application, playback equipment can be the equipment that audio amplifier, music player etc. have audio playing function.This is broadcast The equipment of putting can send, to broadcast control device, the information that finishes playing with some cycles.This information that finishes playing represents that this broadcasting sets Standby play a number of packets of audio data.For example, playback equipment can send once for every 10 seconds to broadcast control device Finish playing information, and this information that finishes playing represents that this playback equipment has played a number of packet in this 10 seconds, Now this predetermined period is 10 seconds.
In certain embodiments, receive playback equipment with the information that finishes playing that predetermined period sends can specifically include with Lower step:
Send the packets of audio data with predetermined time period to playback equipment;
Receive the information that finishes playing of this playback equipment transmission, this information that finishes playing plays default for this playback equipment The information sending after this packets of audio data of quantity.
In practical application, broadcast control device can transfer the original sound in the memory being stored in this broadcast control device Frequency evidence.Broadcast control device can also obtain original audio number by wired or wireless network at server or other-end According to.Broadcast control device can also obtain original audio data from the storage mediums such as CD.This original audio data include but It is not limited to CD, WAV, MP3 (Moving Picture Experts Group Audio Layer III), WMA (Windows Media Audio) etc. form voice data.
After getting original audio data, this original audio data can be split into when having default by broadcast control device Between length multiple packets of audio data.Predetermined time period can be that the time arranging when this broadcast control device dispatches from the factory is long Angle value.This predetermined time period is to play the duration consuming required for this packets of audio data.For example, predetermined time period is 500 Millisecond.When splitting into multiple packets of audio data, broadcast control device can add in each packets of audio data splitting out to be broadcast Put the reproduction time of this packets of audio data.This reproduction time can be according to determined by the system clock of this broadcast control device The time point of one not yet arrival.Meanwhile, broadcast control device can be carried out continuously to the multiple packets of audio data splitting out Numbering, adds the sequence number of this packets of audio data in each packets of audio data.After the completion of fractionation, broadcast control device sets to broadcasting Preparation gives the packets of audio data that this splits out.
After playback equipment receives the packets of audio data of broadcast control device transmission, arrive in the system clock of this playback equipment When reaching this reproduction time, play this packets of audio data.After this playback equipment plays the packets of audio data of predetermined number, broadcast to this Put control device and send the information that finishes playing.This predetermined number can be to be set in advance in one of this playback equipment numerical value. For example, predetermined number can be 5.After then playback equipment often plays 5 packets of audio data, send to broadcast control device and broadcast Discharge into information.Broadcast control device receives the information that finishes playing of this playback equipment transmission.
S102, according to this finish playing acquisition of information and the clocking error of this playback equipment.
Specifically, after broadcast control device receives the information that finishes playing of playback equipment transmission, finished playing according to this Acquisition of information and the clocking error of this playback equipment.This clocking error is that the system clock of this broadcast control device is set with this broadcasting Error between standby system clock.
In certain embodiments, can specifically be wrapped with the clocking error of this playback equipment according to this acquisition of information that finishes playing Include following steps:
The audio frequency number that this playback equipment plays this predetermined number is calculated according to this reproduction time and this predetermined time period The theoretical deadline according to bag;
The reality of the packets of audio data playing this predetermined number according to this this playback equipment of acquisition of information that finishes playing is complete The one-tenth time;
Obtain the clocking error with this playback equipment according to this theoretical deadline and this actual finish time.
Specifically, playback equipment is sent to the audio frequency that can include broadcasting in the information that finishes playing of broadcast control device The sequence number of packet.For example, after playback equipment plays 5 packets of audio data of serial number 1 to 5, it is sent to broadcasting and controls dress Packets of audio data sequence number 1 to 5 is included in the information that finishes playing put.Wherein, packets of audio data sequence number is bigger, represents this audio frequency The reproduction time of packet is more late.
After broadcast control device receives the information of finishing playing, the packets of audio data that included according to this information that finishes playing Sequence number determining a reproduction time packets of audio data the latest.Then, the reproduction time according to this packets of audio data and should Predetermined time period calculates the theoretical deadline that this playback equipment plays the packets of audio data of this predetermined number.For example, broadcast The serial number 1 to 5 of 5 packets of audio data that equipment of putting has played, then can determine that packets of audio data 5 for reproduction time Evening.Subsequently, the reproduction time of packets of audio data 5 is added this predetermined time period as the theoretical deadline.For example, audio frequency The reproduction time corresponding moment of packet 5 be 1 point 10 seconds, predetermined time period be 500 milliseconds, then this theoretical deadline be 1 point 10.5 seconds.
This broadcast control device can receive this finish playing information when, record receive this information that finishes playing Time.Due to being communicated by cable network or wireless network between broadcast control device and playback equipment, feedback information with Electric signal (voltage or electric current) or the form of electromagnetic wave are transmitted.And the transmission speed of electric signal and electromagnetic wave is quickly, telecommunications Number or passing time between broadcast control device and playback equipment for the electromagnetic wave be negligible.It is therefore contemplated that should The time that broadcast control device receives this information that finishes playing is the audio frequency number that this playback equipment plays this predetermined number Actual finish time according to bag.
It is then possible to the clocking error with this playback equipment is calculated according to below equation:
t0=t1-t2
Wherein, t0The clocking error calculating for need, t1For this theoretical deadline, t2For this actual finish time.Work as clock Error t0It is on the occasion of, when that is, the theoretical deadline is ahead of actual finish time, the system clock representing playback equipment is than broadcasting The system clock of control device is slow;As clocking error t0For negative value, that is, the theoretical deadline delay when actual finish time, table Show that the system clock of playback equipment is faster than the system clock of broadcast control device;As clocking error t0During for 0, represent playback equipment System clock identical with the system clock of broadcast control device, there is no clock between playback equipment and broadcast control device by mistake Difference.
Whether S103, judge synchronous with the system clock of this playback equipment, to obtain judged result according to this clocking error.
In practical application, when broadcast control device and the clocking error very little of playback equipment, this clocking error is for people The sense of hearing for cannot perceive.Now it is believed that being synchronous between broadcast control device and playback equipment.Conversely, working as The sense of hearing of people can perceive during this clocking error it is believed that being asynchronous between this broadcast control device and this playback equipment 's.
In certain embodiments, judged according to this clocking error and whether the system clock of this playback equipment is synchronous, with To judged result, following steps can be specifically included:
Judge whether the absolute value of this clocking error is less than predetermined threshold value;
If so, the judged result then obtaining is synchronous with the system clock of this playback equipment;
If it is not, the judged result then obtaining is asynchronous with the system clock of this playback equipment.
Specifically, predetermined threshold value can be to be set in advance in one of broadcast control device clocking error numerical value.This is by mistake Difference value can represent the human ear institute perceived minimum time difference.For example, predetermined threshold value is 20 milliseconds.Broadcast control device obtains To with the clocking error of playback equipment after, judge that whether the absolute value of this clocking error is less than this predetermined threshold value.If so, then obtain Judged result be to be synchronous with the system clock of this playback equipment;If it is not, the judged result then obtaining is to set with this broadcasting Standby system clock is nonsynchronous.
S104, sends corresponding period modulation order according to this judged result to this playback equipment, so that this broadcasting sets Standby this predetermined period is adjusted according to this period modulation order.
In concrete application, after broadcast control device obtains the synchronous judged result and playback equipment between, according to this judgement Result sends corresponding period modulation order to this playback equipment.This period modulation order can be the cycle to increase order, also may be used To be the cycle to reduce order.After playback equipment receives this period modulation order, according to this period modulation order to its own system Clock carries out corresponding to adjustment.
In certain embodiments, corresponding period modulation order is sent to this playback equipment according to this judged result, so that Obtain this playback equipment and this predetermined period is adjusted according to this period modulation order, following steps can be specifically included:
When this judged result is synchronous with the system clock of this playback equipment, send cycle increase life to this playback equipment Order, so that this playback equipment increases this predetermined period;
When this judged result is asynchronous with the system clock of this playback equipment, send cycle reduction to this playback equipment Order, so that this playback equipment reduces this predetermined period.
Specifically, when the judged result obtaining in S103 is to be synchronous with the system clock of this playback equipment, then play Control device sends cycle increase order to this playback equipment.After this playback equipment receives the increase order of this cycle, increasing should Predetermined period.For example, when predetermined period is the corresponding duration of 5 packets of audio data, this predetermined period can be increased to 8 The corresponding duration of packets of audio data.
It is to be nonsynchronous with the system clock of this playback equipment when the judged result obtaining in S103, then play and control dress Put and send cycle reduction order to this playback equipment.After this playback equipment receives the reduction order of this cycle, reduce this default week Phase.For example, when predetermined period is the corresponding duration of 5 packets of audio data, this predetermined period can be reduced to 2 audio frequency numbers According to the corresponding duration of bag.
When broadcast control device controls multiple playback equipment, each playback equipment can be controlled with this broadcasting according to itself The clocking error situation of device dynamically adjusts the predetermined period sending the information that finishes playing to this broadcast control device.Play and control Device only need to the playback equipment big with minority or indivedual clocking error continually communicated it is not necessary to other clocking errors Little playback equipment is continually communicated.Therefore, it is possible to reduce the communication between broadcast control device and multiple playback equipment Amount is it is thus possible to solve well due to the network caused greatly of the traffic between broadcast control device and multiple playback equipment Blocking, can improve the stability of Play System.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict In the case of, some steps can also be carried out or be carried out simultaneously using other orders.
From the foregoing, it will be observed that control method for playing back provided in an embodiment of the present invention, reception playback equipment is adopted to send out with predetermined period The information that finishes playing sent;According to this finish playing acquisition of information and the clocking error of this playback equipment;According to this clocking error Judge whether synchronous with the system clock of this playback equipment, to obtain judged result;According to this judged result to this playback equipment Send corresponding period modulation order, so that this playback equipment adjusts this predetermined period according to this period modulation order.The party Case judges according to the clocking error with playback equipment and whether this playback equipment is synchronous, is sent out to this playback equipment according to judged result Send corresponding period modulation order, playback equipment adjusts this predetermined period according to this period modulation order.When there are multiple broadcastings During equipment, broadcast control device only needs to the playback equipment big with minority or indivedual clocking error and frequently communicates, without with The little playback equipment of other clocking errors frequently communicates, and can reduce the communication between broadcast control device and multiple playback equipment Amount is it is thus possible to solve well due to the network caused greatly of the traffic between broadcast control device and multiple playback equipment Blocking, can improve the stability of Play System.
Embodiment two
Citing is described in further detail by control method for playing back according to described by embodiment one below.
In the present embodiment, specifically will be integrated in smart mobile phone with broadcast control device, based on the broadcasting system shown in Fig. 2 System is described in detail to the control method for playing back of the present embodiment.
As shown in Fig. 2 the composition schematic diagram for one of the present embodiment Play System.Play System by server 211, Smart mobile phone 212 and multiple playback equipment 213 form.Server 211 can be in the server on network.Playback equipment 213 can be the equipment that audio amplifier, music player etc. have audio playing function.Smart mobile phone 212 passes through internet and service Device 211 enters row data communication, so that smart mobile phone 212 can obtain voice data from server 211.Meanwhile, smart mobile phone 212 pass through wireless network (such as WiFi) enters row data communication, so that smart mobile phone 212 is permissible with multiple playback equipments 213 Send packets of audio data to playback equipment 213.
As shown in figure 3, control method for playing back, idiographic flow can be as follows:
S201, sends the packets of audio data with predetermined time period to playback equipment.
In concrete application, smart mobile phone passes through internet and obtains original audio data from server, then by this original sound Frequency evidence splits into multiple packets of audio data with predetermined time period.This original audio data including but not limited to CD, WAV、MP3(Moving Picture Experts Group Audio Layer III)、WMA(Windows Media The voice data of form such as Audio).Predetermined time period can be the time span arranging when this smart mobile phone dispatches from the factory Value.This predetermined time period is to play the duration consuming required for this packets of audio data.For example, predetermined time period is 500 millis Second.When splitting into multiple packets of audio data, smart mobile phone can add this sound of broadcasting in each packets of audio data splitting out The reproduction time of frequency packet.This reproduction time can be according to determined by the system clock of this smart mobile phone one not yet arrive The time point reaching.Meanwhile, smart mobile phone can carry out serial number to the multiple packets of audio data splitting out, in each audio frequency The sequence number of this packets of audio data is added in packet.After the completion of fractionation, smart mobile phone sends what this splitted out to playback equipment Packets of audio data.
S202, receives the information that finishes playing of this playback equipment transmission, and this information that finishes playing is play for this playback equipment The information sending after this packets of audio data of complete predetermined number.
Specifically, after playback equipment receives the packets of audio data of smart mobile phone transmission, in the system of this playback equipment When clock reaches this reproduction time, play this packets of audio data.After this playback equipment plays the packets of audio data of predetermined number, to This smart mobile phone sends the information that finishes playing.This predetermined number can be to be set in advance in one of this playback equipment numerical value. For example, predetermined number can be 5.After then playback equipment often plays 5 packets of audio data, send to smart mobile phone and play One-tenth information.This information that finishes playing represents that this playback equipment has played a number of packets of audio data.This letter that finishes playing The sequence number of packets of audio data having played can be included in breath.Smart mobile phone receives the letter that finishes playing of this playback equipment transmission Breath.
S203, the reproduction time according to this packets of audio data and this predetermined time period calculate this playback equipment and play this The theoretical deadline of the packets of audio data of predetermined number.
In concrete application, packets of audio data sequence number is bigger, represents that the reproduction time of this packets of audio data is more late.Smart mobile phone After receiving the information of finishing playing, the sequence number of the packets of audio data being included according to this information that finishes playing determines reproduction time A packets of audio data the latest.Then, the reproduction time according to this packets of audio data and this predetermined time period calculate this and broadcast Put the theoretical deadline of the packets of audio data of device plays this predetermined number complete.For example, 5 sounds that playback equipment has played The serial number 1 to 5 of frequency packet, then can determine that packets of audio data 5 be reproduction time the latest.Subsequently, by voice data The reproduction time of bag 5 adds this predetermined time period as the theoretical deadline.For example, the reproduction time pair of packets of audio data 5 The moment answered be 1 point 10 seconds, predetermined time period be 500 milliseconds, then this theoretical deadline be 1 point 10.5 seconds.
S204, plays the reality of the packets of audio data of this predetermined number according to this this playback equipment of acquisition of information that finishes playing The border deadline.
Specifically, smart mobile phone can receive this finish playing information when, record receive this information that finishes playing Time.The time receiving this information that finishes playing is the packets of audio data that this playback equipment plays this predetermined number Actual finish time.
S205, obtains the clocking error with this playback equipment according to this theoretical deadline and this actual finish time.
Specifically, smart mobile phone can calculate the clocking error with this playback equipment according to below equation:
t0=t1-t2
Wherein, t0The clocking error calculating for need, t1For this theoretical deadline, t2For this actual finish time.Work as clock Error t0It is on the occasion of, when that is, the theoretical deadline is ahead of actual finish time, the system clock representing playback equipment is than intelligence The system clock of mobile phone is slow;As clocking error t0For negative value, that is, the theoretical deadline delay when actual finish time, expression is broadcast The system clock putting equipment is faster than the system clock of smart mobile phone;As clocking error t0During for 0, during the system of expression playback equipment Clock is identical with the system clock of smart mobile phone, does not have clocking error between playback equipment and smart mobile phone.
S206, judges whether the absolute value of this clocking error is less than predetermined threshold value.
Specifically, predetermined threshold value can be to be set in advance in one of smart mobile phone clocking error numerical value.This margin of error Value can represent the human ear institute perceived minimum time difference.For example, predetermined threshold value is 20 milliseconds.Smart mobile phone gets and plays After the clocking error of equipment, judge whether the absolute value of this clocking error is less than this predetermined threshold value.When being judged as YES, execute step Rapid S207;When being judged as NO, execution step S209.
S207, the judged result if so, then obtaining is synchronous with the system clock of this playback equipment.
Specifically, when the absolute value judging this clocking error in S206 is less than predetermined threshold value, the judged result obtaining System clock for smart mobile phone and this playback equipment is synchronous.For example, clocking error is 10 milliseconds, then may determine that this The absolute value that 10 milliseconds of clocking error is less than 20 milliseconds of this predetermined threshold value.The judged result now obtaining is broadcast with this for smart mobile phone The system clock putting equipment is synchronous.
S208, sends cycle increase order to this playback equipment, so that this playback equipment increases this predetermined period.
Specifically, when smart mobile phone is synchronous with playback equipment, send cycle increase order to this playback equipment.Playback equipment After receiving the increase order of this cycle, increase this predetermined period.For example, when predetermined period is that 5 packets of audio data are corresponding When long, this predetermined period can be increased to the corresponding duration of 8 packets of audio data.
S209, if it is not, the judged result then obtaining is asynchronous with the system clock of this playback equipment.
Specifically, when the absolute value judging this clocking error in S206 is not less than predetermined threshold value, the judgement obtaining is tied Fruit is nonsynchronous for smart mobile phone with the system clock of this playback equipment.For example, clocking error is -30 milliseconds, then can sentence Break the absolute value -30 milliseconds of this clocking error not less than 20 milliseconds of this predetermined threshold value.The judged result now obtaining is intelligence Mobile phone is nonsynchronous with the system clock of this playback equipment.
S210, sends cycle reduction order to this playback equipment, so that this playback equipment reduces this predetermined period.
Specifically, when smart mobile phone is asynchronous with playback equipment, send cycle reduction order to this playback equipment.Broadcasting sets Reduce after order for receiving this cycle, reduce this predetermined period.For example, when predetermined period is that 5 packets of audio data are corresponding During duration, this predetermined period can be reduced to the corresponding duration of 2 packets of audio data.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict In the case of, some steps can also be carried out or be carried out simultaneously using other orders.
From the foregoing, it will be observed that control method for playing back provided in an embodiment of the present invention, play by playback equipment using smart mobile phone The theoretical deadline of complete predetermined number packets of audio data and actual finish time obtain the clocking error with this playback equipment;Root Judge whether synchronous with this playback equipment according to this clocking error;Corresponding cycle tune is sent to this playback equipment according to judged result Whole order, playback equipment adjusts this predetermined period according to this period modulation order.When there is multiple playback equipment, smart mobile phone Only need to the playback equipment big with minority or indivedual clocking error frequently to communicate, without the broadcasting little with other clocking errors Equipment frequently communicates, the traffic between smart mobile phone and multiple playback equipment can be reduced it is thus possible to solve well by The traffic between smart mobile phone and multiple playback equipment network blockage caused greatly, can improve stablizing of Play System Property.
Embodiment three
In order to preferably implement above method, the embodiment of the present invention also provides a kind of broadcast control device, and this device is permissible Integrated in the terminal, this terminal can be the equipment such as smart mobile phone, panel computer.
As shown in figure 4, broadcast control device 300 can include:Receiver module 301, acquisition module 302, judge module 303rd, sending module 304, are described in detail below:
This receiver module 301, for receiving the information that finishes playing that playback equipment is sent with predetermined period;
This acquisition module 302, for according to this finish playing acquisition of information and the clocking error of this playback equipment;
This judge module 303, whether synchronous with the system clock of this playback equipment for being judged according to this clocking error, with Obtain judged result;
This sending module 304, for corresponding period modulation order is sent to this playback equipment according to this judged result, with This playback equipment is made to adjust this predetermined period according to this period modulation order.
Preferably, this judge module 303 specifically for:
Judge whether the absolute value of this clocking error is less than predetermined threshold value;
If so, the judged result then obtaining is synchronous with the system clock of this playback equipment;
If it is not, the judged result then obtaining is asynchronous with the system clock of this playback equipment.
Preferably, as shown in figure 5, this sending module 304 includes:First sending submodule 3041, the second sending submodule 3042, specific as follows:
This first sending submodule 3041, during for being the system clock synchronization with this playback equipment when this judged result, Send cycle increase order to this playback equipment, so that this playback equipment increases this predetermined period;
This second sending submodule 3042, for being asynchronous with the system clock of this playback equipment when this judged result When, send cycle reduction order to this playback equipment, so that this playback equipment reduces this predetermined period.
Preferably, as shown in fig. 6, this receiver module 301 includes:Data is activation submodule 3011, receiving submodule 3012, Specific as follows:
This data is activation submodule 3011, for sending the packets of audio data with predetermined time period to playback equipment;
This receiving submodule 3012, for receiving the information that finishes playing of this playback equipment transmission, this information that finishes playing The information sending play this packets of audio data of predetermined number for this playback equipment after.
Preferably, this packets of audio data includes the reproduction time of this packets of audio data, as shown in fig. 7, this acquisition module 302 include:Calculating sub module 3021, the first acquisition submodule 3022, the second acquisition submodule 3023, specific as follows:
This calculating sub module 3021, plays for calculating this playback equipment according to this reproduction time and this predetermined time period The theoretical deadline of the packets of audio data of this predetermined number complete;
This first acquisition submodule 3022, presets for playing this according to this this playback equipment of acquisition of information that finishes playing The actual finish time of the packets of audio data of quantity;
This second acquisition submodule 3023, is broadcast with this for being obtained according to this theoretical deadline and this actual finish time Put the clocking error of equipment.
When being embodied as, above modules can be realized as independent entity it is also possible to be combined, and makees To realize for same or several entities.Being embodied as of above modules can be found in embodiment of the method above, and here is not Repeat again.
From the foregoing, it will be observed that broadcast control device 300 provided in an embodiment of the present invention, broadcasting is received by receiver module 301 and sets The standby information that finishes playing being sent with predetermined period;Acquisition module 302 is according to this finish playing acquisition of information and this playback equipment Clocking error;Whether judge module 303 judges synchronous with the system clock of this playback equipment, to obtain according to this clocking error Judged result;Sending module 304 sends corresponding period modulation order according to this judged result to this playback equipment, so that should Playback equipment adjusts this predetermined period according to this period modulation order.The program according to the clocking error of playback equipment judge with Whether this playback equipment is synchronous, sends corresponding period modulation order, playback equipment root according to judged result to this playback equipment Adjust this predetermined period according to this period modulation order.When there is multiple playback equipment, broadcast control device only needs to and minority Or the big playback equipment of clocking error frequently communicates individually, frequently leads to without the playback equipment little with other clocking errors Letter, can reduce the traffic between broadcast control device and multiple playback equipment it is thus possible to solve well due to playing The traffic between control device and multiple playback equipment network blockage caused greatly, can improve stablizing of Play System Property.
Example IV
The embodiment of the present invention also provides a kind of terminal, and this terminal can be the equipment such as smart mobile phone, panel computer.
As shown in figure 8, terminal 400 can include:Receiver module 401, acquisition module 402, judge module 403, transmission mould Block 404, is described in detail below:
This receiver module 401, for receiving the information that finishes playing that playback equipment is sent with predetermined period;
This acquisition module 402, for according to this finish playing acquisition of information and the clocking error of this playback equipment;
This judge module 403, whether synchronous with the system clock of this playback equipment for being judged according to this clocking error, with Obtain judged result;
This sending module 404, for corresponding period modulation order is sent to this playback equipment according to this judged result, with This playback equipment is made to adjust this predetermined period according to this period modulation order.
Preferably, this judge module 403 specifically for:
Judge whether the absolute value of this clocking error is less than predetermined threshold value;
If so, the judged result then obtaining is synchronous with the system clock of this playback equipment;
If it is not, the judged result then obtaining is asynchronous with the system clock of this playback equipment.
Preferably, this sending module 404 includes:First sending submodule, the second sending submodule, specific as follows:
This first sending submodule, for when this judged result is synchronous with the system clock of this playback equipment, to this Playback equipment sends cycle increase order, so that this playback equipment increases this predetermined period;
This second sending submodule, for when this judged result is asynchronous with the system clock of this playback equipment, to This playback equipment sends cycle reduction order, so that this playback equipment reduces this predetermined period.
Preferably, this receiver module 401 includes:Data is activation submodule, receiving submodule, specific as follows:
This data is activation submodule, for sending the packets of audio data with predetermined time period to playback equipment;
This receiving submodule, for receiving the information that finishes playing of this playback equipment transmission, this information that finishes playing is should The information that playback equipment sends after playing this packets of audio data of predetermined number.
Preferably, this packets of audio data includes the reproduction time of this packets of audio data, and this acquisition module 402 includes:Meter Operator module, the first acquisition submodule, the second acquisition submodule, specific as follows:
This calculating sub module, plays this for calculating this playback equipment according to this reproduction time and this predetermined time period The theoretical deadline of the packets of audio data of predetermined number;
This first acquisition submodule, for playing this predetermined number according to this this playback equipment of acquisition of information that finishes playing Packets of audio data actual finish time;
This second acquisition submodule, is set with this broadcasting for being obtained according to this theoretical deadline and this actual finish time Standby clocking error.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
The embodiment of the present invention also provides another kind of terminal, as shown in figure 9, this terminal 500 can include radio frequency (RF, Radio Frequency) circuit 501, the memory 502 including one or more computer-readable recording mediums, input block 503rd, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507th, the parts such as processor 508 and the power supply 509 of or more than one processing core are included.People in the art Member, it is appreciated that the restriction of the terminal structure not structure paired terminal shown in Fig. 9, can include more more or less of than illustrating Part, or combine some parts, or different part arrangements.
Radio circuit 501 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station Downlink information receive after, transfer to one or more than one processor 508 processed;In addition, up data is activation will be related to To base station.Generally, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibration Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 501 can also pass through radio communication and network With other equipment communication.This radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 502 can be used for storing application program data.Include and can hold in the application program of memory 502 storage Line program code.Application program can form various functions module.Processor 508 passes through operation and is stored in answering of memory 502 With program, thus executing various function application and data processing.Memory 502 can mainly include storing program area and storage number According to area, wherein, storing program area can application program needed for storage program area, at least one function (such as sound plays work( Energy, image player function etc.) etc.;Storage data field can store according to terminal using created data (such as voice data, Phone directory etc.) etc..Additionally, memory 502 can include high-speed random access memory, non-volatile memories can also be included Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 can also include Memory Controller, to provide the access to memory 502 of processor 508 and input block 503.
Input block 503 can be used for numeral, character information or the user's characteristic information (such as fingerprint) of receives input, and Produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal input.Specifically Ground, input block 503 can include fingerprint recognition module.In certain embodiments, input block 503 can also include touch-sensitive table Face.Touch sensitive surface, also referred to as touch-screen or Trackpad, can collect user thereon or neighbouring touch operation (such as user Using the operation on Touch sensitive surface or near Touch sensitive surface of any suitable object such as finger, stylus or annex), and according to Formula set in advance drives corresponding attachment means.Optionally, Touch sensitive surface may include touch detecting apparatus and touch control Two parts of device.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and will believe Number send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact seat Mark, then gives processor 508, and can the order sent of receiving processor 508 being executed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize Touch sensitive surface.Except Touch sensitive surface, input block 503 also may be used To include other input equipments.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as sound Amount control button, switch key etc.), trace ball, mouse, one or more of action bars etc..
Display unit 504 can be used for display and by the information of user input or is supplied to the information of user and the various of terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display Unit 504 may include display floater.Optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to Device 508, to determine the type of touch event, provides accordingly according to the type of touch event on a display panel with preprocessor 508 Visual output.Although in fig .9, Touch sensitive surface and display floater are to realize inputting as two independent parts and to input Function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, hygrometer, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 506 can provide the COBBAIF between user and terminal by loudspeaker, microphone.Voicefrequency circuit The voice data receiving can be converted into electric signal by 506, be transferred to loudspeaker, be converted to voice signal output by loudspeaker; On the other hand, the voice signal of collection is converted to electric signal by microphone, is converted to audio frequency number by voicefrequency circuit 506 after being received According to then after processing voice data output processor 508, through radio circuit 501 being sent to such as another terminal, or by sound Frequency data output is to memory 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware Earphone and the communication of terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507 User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although Fig. 9 shows wireless fidelity module 507, but it is understood that, it is simultaneously not belonging to must be configured into of terminal, completely may be used To omit in the scope of essence not changing invention as needed.
Processor 508 is the control centre of terminal, using the various pieces of various interfaces and the whole terminal of connection, leads to Cross and run or execute the application program being stored in memory 502, and call the data being stored in memory 502, execution The various functions of terminal and processing data, thus carry out integral monitoring to terminal.Optionally, processor 508 may include one or Multiple processing cores;Preferably, processor 508 can integrated application processor and modem processor, wherein, application processor Main process operating system, user interface and application program etc., modem processor mainly processes radio communication.It is appreciated that , above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe Reason system is logically contiguous with processor 508, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or AC power, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 9, terminal can also include camera, bluetooth module etc., will not be described here.
Specifically in the present embodiment, the processor 508 in terminal can be according to following instruction, will be one or more The corresponding executable program code of process of application program is loaded in memory 502, and to be run by processor 508 and be stored in Application program in memory 502, thus realize various functions:
Receive the information that finishes playing that playback equipment is sent with predetermined period;Broadcast with this according to this acquisition of information that finishes playing Put the clocking error of equipment;Judged whether synchronous with the system clock of this playback equipment according to this clocking error, to be judged Result;Corresponding period modulation order is sent to this playback equipment according to this judged result, so that this playback equipment is according to this Period modulation order adjusts this predetermined period.
Preferably, processor 508 has receiver module, acquisition module, judge module, sending module, is described in detail below:
Processor 508 is used for receiving, by receiver module, the information that finishes playing that playback equipment is sent with predetermined period;
Processor 508 is used for being missed with the clock of this playback equipment according to this acquisition of information that finishes playing by acquisition module Difference;
With the system clock of this playback equipment whether processor 508 be used for being judged according to this clocking error by judge module Synchronous, to obtain judged result;
Processor 508 is used for sending corresponding period modulation according to this judged result to this playback equipment by sending module Order, so that this playback equipment adjusts this predetermined period according to this period modulation order.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
From the foregoing, it will be observed that embodiments providing a kind of terminal, by receiving what playback equipment was sent with predetermined period Finish playing information;According to this finish playing acquisition of information and the clocking error of this playback equipment;Judged according to this clocking error Whether synchronous with the system clock of this playback equipment, to obtain judged result;Sent to this playback equipment according to this judged result Corresponding period modulation order, so that this playback equipment adjusts this predetermined period according to this period modulation order.Program root Judge according to the clocking error with playback equipment whether synchronous with this playback equipment, phase is sent to this playback equipment according to judged result The period modulation order answered, playback equipment adjusts this predetermined period according to this period modulation order.When there are multiple playback equipments When, terminal only needs to the playback equipment big with minority or indivedual clocking error and frequently communicates, without with other clocking errors Little playback equipment frequently communicates, and can reduce the traffic between terminal and multiple playback equipment it is thus possible to solve well Certainly due to the network blockage caused greatly of the traffic between terminal and multiple playback equipment, stablizing of Play System can be improved Property.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program to complete come the hardware to instruct correlation, and this program can be stored in computer-readable storage medium In matter, storage medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of control method for playing back, device and the terminal that above the embodiment of the present invention are provided are described in detail, Specific case used herein is set forth to the principle of the present invention and embodiment, and the explanation of above example is to use Understand the method for the present invention and its core concept in help;Simultaneously for those skilled in the art, according to the think of of the present invention Think, all will change in specific embodiments and applications, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (11)

1. a kind of control method for playing back is it is characterised in that include:
Receive the information that finishes playing that playback equipment is sent with predetermined period;
According to described acquisition of information and the clocking error of described playback equipment of finishing playing;
Judged whether synchronous with the system clock of described playback equipment according to described clocking error, to obtain judged result;
Corresponding period modulation order is sent to described playback equipment according to described judged result, so that described playback equipment root Adjust described predetermined period according to described period modulation order.
2. control method for playing back according to claim 1 is it is characterised in that described judge and institute according to described clocking error Whether the system clock stating playback equipment is synchronous, is specifically included with the step obtaining judged result:
Judge whether the absolute value of described clocking error is less than predetermined threshold value;
If so, the judged result then obtaining is synchronous with the system clock of described playback equipment;
If it is not, the judged result then obtaining is asynchronous with the system clock of described playback equipment.
3. control method for playing back according to claim 2 is it is characterised in that described broadcast to described according to described judged result Equipment of putting sends corresponding period modulation order, so that described playback equipment is described pre- according to described period modulation order adjustment If the step in cycle specifically includes:
When described judged result is synchronous with the system clock of described playback equipment, send cycle increase to described playback equipment Order, so that described playback equipment increases described predetermined period;
When described judged result is asynchronous with the system clock of described playback equipment, subtract to the described playback equipment transmission cycle Little order, so that described playback equipment reduces described predetermined period.
4. control method for playing back according to claim 1 is it is characterised in that described reception playback equipment is sent out with predetermined period The step of the information that finishes playing sent specifically includes:
Send the packets of audio data with predetermined time period to playback equipment;
Receive the information that finishes playing that described playback equipment sends, the described information that finishes playing plays pre- for described playback equipment If the information sending after the described packets of audio data of quantity.
5. control method for playing back according to claim 4 is it is characterised in that described packets of audio data includes described audio frequency The reproduction time of packet, finish playing described in described basis acquisition of information and the step tool of the clocking error of described playback equipment Body includes:
The sound that described playback equipment plays described predetermined number is calculated according to described reproduction time and described predetermined time period The theoretical deadline of frequency packet;
Play the reality of the packets of audio data of described predetermined number according to the described playback equipment described in acquisition of information that finishes playing Deadline;
Obtain the clocking error with described playback equipment according to described theory deadline and described actual finish time.
6. a kind of broadcast control device is it is characterised in that include:
Receiver module, for receiving the information that finishes playing that playback equipment is sent with predetermined period;
Acquisition module, for according to described acquisition of information and the clocking error of described playback equipment of finishing playing;
Judge module, whether synchronous with the system clock of described playback equipment for being judged according to described clocking error, to obtain Judged result;
Sending module, for corresponding period modulation order is sent to described playback equipment according to described judged result, so that Described playback equipment adjusts described predetermined period according to described period modulation order.
7. broadcast control device according to claim 6 it is characterised in that described judge module specifically for:
Judge whether the absolute value of described clocking error is less than predetermined threshold value;
If so, the judged result then obtaining is synchronous with the system clock of described playback equipment;
If it is not, the judged result then obtaining is asynchronous with the system clock of described playback equipment.
8. broadcast control device according to claim 7 is it is characterised in that described sending module specifically includes:
First sending submodule, for when described judged result is synchronous with the system clock of described playback equipment, to described Playback equipment sends cycle increase order, so that described playback equipment increases described predetermined period;
Second sending submodule, for when described judged result is asynchronous with the system clock of described playback equipment, to institute State playback equipment and send cycle reduction order, so that described playback equipment reduces described predetermined period.
9. broadcast control device according to claim 6 is it is characterised in that described receiver module specifically includes:
Data is activation submodule, for sending the packets of audio data with predetermined time period to playback equipment;
Receiving submodule, for receiving the information that finishes playing that described playback equipment sends, the described information that finishes playing is described The information that playback equipment sends after playing the described packets of audio data of predetermined number.
10. broadcast control device according to claim 9 is it is characterised in that described packets of audio data includes described sound The reproduction time of frequency packet, described acquisition module specifically includes:
Calculating sub module, plays institute for calculating described playback equipment according to described reproduction time and described predetermined time period State the theoretical deadline of the packets of audio data of predetermined number;
First acquisition submodule, for playing described predetermined number according to the described playback equipment described in acquisition of information that finishes playing Packets of audio data actual finish time;
Second acquisition submodule, is set with described broadcasting for being obtained according to described theory deadline and described actual finish time Standby clocking error.
A kind of 11. terminals are it is characterised in that include:
Touch-screen, for the touch operation of receive user;
Be stored with the memory of executable program code;
The processor coupling with described memory;
Described processor calls the described executable program code of storage in described memory, appoints in execution such as claim 1 to 5 Control method for playing back described in one.
CN201610882909.3A 2016-10-08 2016-10-08 Control method for playing back, device and terminal Active CN106411449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882909.3A CN106411449B (en) 2016-10-08 2016-10-08 Control method for playing back, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882909.3A CN106411449B (en) 2016-10-08 2016-10-08 Control method for playing back, device and terminal

Publications (2)

Publication Number Publication Date
CN106411449A true CN106411449A (en) 2017-02-15
CN106411449B CN106411449B (en) 2019-02-01

Family

ID=59229665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882909.3A Active CN106411449B (en) 2016-10-08 2016-10-08 Control method for playing back, device and terminal

Country Status (1)

Country Link
CN (1) CN106411449B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542826A (en) * 2018-12-03 2019-03-29 郑州云海信息技术有限公司 A kind of SPI communicating control method, device, equipment and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090279572A1 (en) * 2008-05-07 2009-11-12 Canon Kabushiki Kaisha Transmission apparatus and method
CN101621745A (en) * 2008-07-03 2010-01-06 乐金电子(中国)研究开发中心有限公司 Synchronous play method for mobile phones based on wireless transmission
CN103219029A (en) * 2013-03-25 2013-07-24 广东欧珀移动通信有限公司 Method and system for automatically adjusting synchronization of audio and video
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
CN105656616A (en) * 2014-12-03 2016-06-08 中国移动通信集团公司 Inter-multi-device data synchronization method and device, transmitting end and receiving end
CN105872660A (en) * 2016-03-30 2016-08-17 北京奇艺世纪科技有限公司 Synchronous play method and device
CN105992025A (en) * 2015-02-15 2016-10-05 深圳市民展科技开发有限公司 Audio synchronous playing-based system time calibration method, audio synchronous playing method and devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090279572A1 (en) * 2008-05-07 2009-11-12 Canon Kabushiki Kaisha Transmission apparatus and method
CN101621745A (en) * 2008-07-03 2010-01-06 乐金电子(中国)研究开发中心有限公司 Synchronous play method for mobile phones based on wireless transmission
CN103839558A (en) * 2012-11-23 2014-06-04 三星电子(中国)研发中心 Method and server for synchronous playing and player
CN103219029A (en) * 2013-03-25 2013-07-24 广东欧珀移动通信有限公司 Method and system for automatically adjusting synchronization of audio and video
CN105656616A (en) * 2014-12-03 2016-06-08 中国移动通信集团公司 Inter-multi-device data synchronization method and device, transmitting end and receiving end
CN105992025A (en) * 2015-02-15 2016-10-05 深圳市民展科技开发有限公司 Audio synchronous playing-based system time calibration method, audio synchronous playing method and devices
CN105872660A (en) * 2016-03-30 2016-08-17 北京奇艺世纪科技有限公司 Synchronous play method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542826A (en) * 2018-12-03 2019-03-29 郑州云海信息技术有限公司 A kind of SPI communicating control method, device, equipment and system
CN109542826B (en) * 2018-12-03 2021-10-29 郑州云海信息技术有限公司 SPI communication control method, device, equipment and system

Also Published As

Publication number Publication date
CN106411449B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN104065982B (en) The method and apparatus of live streaming media
CN106411448A (en) Play control method and device, and terminal
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN106373600B (en) A kind of audio sync player method, device, system and terminal
CN104427083A (en) Volume adjusting method and device
CN104144312A (en) Video processing method and related device
CN104902116A (en) Time unifying method and device for audio data and reference signal
CN106452643B (en) Control method for playing back, device, terminal and play system
CN106341713B (en) A kind of multimedia synchronous plays method, apparatus, system and terminal
CN106506437B (en) Audio data processing method and device
CN103647868B (en) Reduce the method and apparatus that the tinkle of bells is bothered
CN103533127A (en) Call control method of terminal and terminal
CN106453597A (en) Data synchronization cycle adjustment method, device and system
CN103458114B (en) A kind of method of switching multi-media stream, equipment and terminal
CN106411447B (en) Control method for playing back, device and terminal
CN106452644B (en) Control method for playing back, device and terminal
CN105786439A (en) Method and device for controlling sound in terminal
CN106412625A (en) Multimedia synchronous playing method, device and system and terminal
CN105391870A (en) Timing reminding method and device
CN111081283A (en) Music playing method and device, storage medium and terminal equipment
CN106445458A (en) Playing control method and device and terminal
CN106411449A (en) Play control method and device, and terminal
CN106454421B (en) A kind of clock adjustment, device, terminal and multimedia synchronous play system
CN106375823B (en) A kind of clock adjustment, device, terminal and multimedia synchronous play system
CN106454420A (en) Clock synchronization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant