CN107770570A - Audio video synchronization player method, system and computer-readable recording medium - Google Patents

Audio video synchronization player method, system and computer-readable recording medium Download PDF

Info

Publication number
CN107770570A
CN107770570A CN201710824534.XA CN201710824534A CN107770570A CN 107770570 A CN107770570 A CN 107770570A CN 201710824534 A CN201710824534 A CN 201710824534A CN 107770570 A CN107770570 A CN 107770570A
Authority
CN
China
Prior art keywords
terminal
audio video
video synchronization
playing
time
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.)
Withdrawn
Application number
CN201710824534.XA
Other languages
Chinese (zh)
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.)
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710824534.XA priority Critical patent/CN107770570A/en
Publication of CN107770570A publication Critical patent/CN107770570A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/4302Content synchronisation processes, e.g. decoder synchronisation

Abstract

The invention discloses a kind of audio video synchronization player method.The audio video synchronization player method includes:Server determines to receive the second terminal of the audio video synchronization playing request when receiving the audio video synchronization playing request of first terminal transmission according to the audio video synchronization playing request;The audio video synchronization playing request is sent to the second terminal, and receives the reply result of the second terminal feedback;When the reply result is receives the synchronous playing request, the second system time of the second terminal, and the first system time of the first terminal and the first video playback time are obtained;The second video playback time of the second terminal is adjusted according to the first system time, second system time and the first video playback time.The invention also discloses a kind of audio video synchronization play system and computer-readable recording medium.The present invention can realize the synchronous broadcasting of same video between the plurality of terminals.

Description

Audio video synchronization player method, system and computer-readable recording medium
Technical field
The present invention relates to video display arts field, more particularly to a kind of audio video synchronization player method, system and computer Readable storage medium storing program for executing.
Background technology
In free life, people, which often like, sees TV play, film, variety show and ball match etc. to kill time, but When sometimes one people watches video, lack the enjoyment of chat, now, video sharing can be watched discussion together to friend, relatives. However, because network delay and user operate the reason such as inconsistent, playing progress rate of the same video between different user terminals It is inconsistent, cause user to exchange the inconsistency of content, so as to influence Consumer's Experience.
The content of the invention
It is a primary object of the present invention to provide a kind of audio video synchronization player method, system and computer-readable storage medium Matter, it is intended to realize the synchronous broadcasting of same video between the plurality of terminals.
To achieve the above object, the present invention provides a kind of audio video synchronization player method, the audio video synchronization player method bag Include:
For server when receiving the audio video synchronization playing request of first terminal transmission, being played according to the audio video synchronization please Seek the second terminal for determining to receive the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply of the second terminal feedback As a result;
When the reply result is receives the synchronous playing request, when obtaining the second system of the second terminal Between, and the first system time of the first terminal and the first video playback time;
The second terminal is adjusted according to the first system time, second system time and the first video playback time Second video playback time.
Alternatively, it is described that institute is adjusted according to the first system time, second system time and the first video playback time The step of stating the second video playback time of second terminal, including:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
Alternatively, the audio video synchronization player method also includes:
Every preset time obtain the first playing progress rate of the first terminal respectively and the second of second terminal play into Degree, and whether detect first playing progress rate and the second playing progress rate consistent;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second and broadcast Playing progress rate difference between degree of putting into;
The very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate Video, wherein time out are the playing progress rate difference.
Alternatively, the audio video synchronization player method also includes:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line Enable instruction;
If so, then enabling instruction according to communication function on the line and enabling work(is exchanged on the line of the audio video synchronization broadcasting Energy.
Alternatively, communication function includes video exchange and speech exchange on the line, and the audio video synchronization player method is also Including:
When receiving exchange function switch instruction on line, determine to exchange the switching command of function switch instruction on the line Type;
When the switching command type is that video exchange switches to speech exchange instruction, by the first terminal and second The video AC mode of terminal switches to speech exchange pattern;
When the switching command type is that speech exchange switches to video exchange instruction, by the first terminal and second The speech exchange pattern switching of terminal is video AC mode.
In addition, to achieve the above object, the present invention also provides a kind of audio video synchronization play system, the audio video synchronization plays System includes:Server, terminal and audio video synchronization playing program, the terminal includes first terminal and second terminal, described to regard Frequently following steps are realized when synchronous playing program is performed by the server and mobile terminal:
The server is broadcast when receiving the audio video synchronization playing request of first terminal transmission according to the audio video synchronization Request is put to determine to receive the second terminal of the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply of the second terminal feedback As a result;
When the reply result is receives the synchronous playing request, when obtaining the second system of the second terminal Between, and the first system time of the first terminal and the first video playback time;
The second terminal is adjusted according to the first system time, second system time and the first video playback time Second video playback time.
Alternatively, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
Alternatively, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
Every preset time obtain the first playing progress rate of the first terminal respectively and the second of second terminal play into Degree, and whether detect first playing progress rate and the second playing progress rate consistent;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second and broadcast Playing progress rate difference between degree of putting into;
The very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate Video, wherein time out are the playing progress rate difference.
Alternatively, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line Enable instruction;
If so, then enabling instruction according to communication function on the line and enabling work(is exchanged on the line of the audio video synchronization broadcasting Energy.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Audio video synchronization playing program is stored with storage medium, following walk is realized when the audio video synchronization playing program is executed by processor Suddenly:
The server is broadcast when receiving the audio video synchronization playing request of first terminal transmission according to the audio video synchronization Request is put to determine to receive the second terminal of the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply of the second terminal feedback As a result;
When the reply result is receives the synchronous playing request, when obtaining the second system of the second terminal Between, and the first system time of the first terminal and the first video playback time;
The second terminal is adjusted according to the first system time, second system time and the first video playback time Second video playback time.
The present invention provides a kind of audio video synchronization player method, system and computer-readable recording medium, is existed by server When receiving the audio video synchronization playing request of first terminal transmission, regarded according to the audio video synchronization playing request determines reception The second terminal of frequency synchronous playing request;The audio video synchronization playing request is sent to the second terminal, and described in reception The reply result of second terminal feedback;When the reply result is receives the synchronous playing request, described second is obtained eventually The second system time at end, and the first system time of the first terminal and the first video playback time;According to described first System time, second system time and the first video playback time adjust the second video playback time of the second terminal.It is logical Aforesaid way is crossed, server is when receiving the audio video synchronization playing request of first terminal transmission in the present invention, according to the video Synchronization object is determined in synchronous playing request, that is, receives the second terminal of the audio video synchronization playing request, and the video is same Step playing request is sent to second terminal, is then receiving the reply knot for receiving the synchronous playing request of second terminal feedback During fruit, the second system time of the second terminal is obtained, and the first system time of the first terminal and the first video are broadcast The time is put, so that by carrying out time check and correction between the first system time and second system time, and according to the first video playback Second video playback time of adjustment second terminal corresponding to time, to cause the reproduction time phase of first terminal and second terminal Unanimously, so as to realize the synchronous broadcasting of same video between the plurality of terminals, and then ensure that user exchanges the uniformity of content, from And lift Consumer's Experience.
Brief description of the drawings
Fig. 1 is the system architecture schematic diagram that scheme of the embodiment of the present invention is related to;
Fig. 2 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 3 is the schematic flow sheet of audio video synchronization player method first embodiment of the present invention;
When Fig. 4 is in the embodiment of the present invention according to the first system time, second system time and the first video playback Between adjust the second terminal the second video playback time refinement schematic flow sheet;
Fig. 5 is the schematic flow sheet of audio video synchronization player method second embodiment of the present invention;
Fig. 6 is the schematic flow sheet of audio video synchronization player method 3rd embodiment of the present invention;
Fig. 7 is the schematic flow sheet of audio video synchronization player method fourth embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In the prior art, when strange land good friend is watched, and same video is discussed, because network delay and user's operation differ The reasons such as cause, playing progress rate of the same video between different user terminals is inconsistent, causes user to exchange the inconsistent of content Property, so as to influence Consumer's Experience.
In order to solve the above-mentioned technical problem, the present invention provides a kind of audio video synchronization player method, is being received by server During the audio video synchronization playing request sent to first terminal, determine to receive the video according to the audio video synchronization playing request same Walk the second terminal of playing request;The audio video synchronization playing request is sent to the second terminal, and receives described second The reply result of terminal feedback;When the reply result is receives the synchronous playing request, the second terminal is obtained Second system time, and the first system time of the first terminal and the first video playback time;According to the first system Time, second system time and the first video playback time adjust the second video playback time of the second terminal.By upper Mode is stated, server is when receiving the audio video synchronization playing request of first terminal transmission in the present invention, according to the audio video synchronization Synchronization object is determined in playing request, that is, receives the second terminal of the audio video synchronization playing request, and the audio video synchronization is broadcast Put request to send to second terminal, then receive the reply result for receiving the synchronous playing request of second terminal feedback When, obtain second system time of the second terminal, and the first system time of the first terminal and the first video playback Time, so as to by carrying out time check and correction between the first system time and second system time, and during according to the first video playback Between it is corresponding adjustment second terminal the second video playback time, to cause the reproduction time phase one of first terminal and second terminal Cause, so as to realize the synchronous broadcasting of same video between the plurality of terminals, and then ensure that user exchanges the uniformity of content, so as to Lift Consumer's Experience.
Referring to Fig. 1, Fig. 1 is the system architecture schematic diagram that scheme of the embodiment of the present invention is related to, the audio video synchronization plays system System includes server, terminal and audio video synchronization playing program, wherein:
Terminal can be that smart mobile phone or PC, tablet personal computer, pocket computer etc. have video playback capability Terminal device.The terminal includes first terminal and second terminal, and first terminal and second terminal are mounted on video software, can For playing video, in addition, first terminal and second terminal are also equipped with social software, for sharing video frequency.Need what is illustrated It is that first terminal includes one, and second terminal can include one, can also include multiple.
Server enables instruction for receiving communication function on the audio video synchronization play instruction, line that first terminal is sent, also It can be used for audio video synchronization play instruction being sent to corresponding second terminal, can also be by obtaining the second system of second terminal Unite the time, and the first system time of the first terminal and the first video playback time, the of corresponding adjustment second terminal Two video playback times.
The audio video synchronization playing program realizes following steps when being performed by the server and mobile terminal:
The server is broadcast when receiving the audio video synchronization playing request of first terminal transmission according to the audio video synchronization Request is put to determine to receive the second terminal of the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply of the second terminal feedback As a result;
When the reply result is receives the synchronous playing request, when obtaining the second system of the second terminal Between, and the first system time of the first terminal and the first video playback time;
The second terminal is adjusted according to the first system time, second system time and the first video playback time Second video playback time.
Further, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
Further, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
Every preset time obtain the first playing progress rate of the first terminal respectively and the second of second terminal play into Degree, and whether detect first playing progress rate and the second playing progress rate consistent;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second and broadcast Playing progress rate difference between degree of putting into;
The very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate Video, wherein time out are the playing progress rate difference.
Further, following step is also realized when the audio video synchronization playing program is performed by the server and mobile terminal Suddenly:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line Enable instruction;
If so, then enabling instruction according to communication function on the line and enabling work(is exchanged on the line of the audio video synchronization broadcasting Energy.
Further, referring to Fig. 2, Fig. 2 is the terminal structure for the hardware running environment that scheme of the embodiment of the present invention is related to Schematic diagram.
Terminal of the embodiment of the present invention can be smart mobile phone or PC, tablet personal computer, pocket computer etc. have regard The terminal device of frequency playing function.Said in the embodiment of the present invention so that first terminal and second terminal are smart mobile phone as an example It is bright.
As shown in Fig. 2 the terminal can include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Displ audio video synchronizations play y), input block such as keyboard (Keybo audio video synchronizations Play rd), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 is optional Wireline interface, the wave point (such as WI-FI interfaces) of standard can be included.Memory 1005 can be that high speed R audio video synchronizations are broadcast Put M memories or stable memory (non-vol audio video synchronizations play tile memory), such as disk storage Device.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Alternatively, terminal can also include camera, RF (R audio video synchronizations play dio Frequency, radio frequency) circuit, Sensor, voicefrequency circuit, Wi-Fi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display screen, proximity transducer can when mobile terminal is moved in one's ear, close display screen and/ Or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) and accelerate The size of degree, size and the direction of gravity are can detect that when static, the application available for identification mobile terminal posture is (such as vertical and horizontal Shield switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Certainly, it is mobile Terminal can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, no longer superfluous herein State.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 2 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in Fig. 2 it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module, Subscriber Interface Module SIM and audio video synchronization playing program.
In the terminal shown in Fig. 2, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client;And processor 1001 can be used for calling the audio video synchronization playing program stored in memory 1005, and perform following operate:
For server when receiving the audio video synchronization playing request of first terminal transmission, being played according to the audio video synchronization please Seek the second terminal for determining to receive the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply of the second terminal feedback As a result;
When the reply result is receives the synchronous playing request, when obtaining the second system of the second terminal Between, and the first system time of the first terminal and the first video playback time;
The second terminal is adjusted according to the first system time, second system time and the first video playback time Second video playback time.
Further, processor 1001 can call the audio video synchronization playing program stored in memory 1005, also perform Operate below:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
Further, processor 1001 can call the audio video synchronization playing program stored in memory 1005, also perform Operate below:
Every preset time obtain the first playing progress rate of the first terminal respectively and the second of second terminal play into Degree, and whether detect first playing progress rate and the second playing progress rate consistent;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second and broadcast Playing progress rate difference between degree of putting into;
The very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate Video, wherein time out are the playing progress rate difference.
Further, processor 1001 can call the audio video synchronization playing program stored in memory 1005, also perform Operate below:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line Enable instruction;
If so, then enabling instruction according to communication function on the line and enabling work(is exchanged on the line of the audio video synchronization broadcasting Energy.
Based on said system framework and hardware configuration, audio video synchronization player method embodiment of the present invention is proposed.
The present invention provides a kind of audio video synchronization player method.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of audio video synchronization player method first embodiment of the present invention.
In embodiments of the present invention, the audio video synchronization player method includes:
Step S10, server are same according to the video when receiving the audio video synchronization playing request of first terminal transmission Playing request is walked to determine to receive the second terminal of the audio video synchronization playing request;
In embodiments of the present invention, first terminal and second terminal can be smart mobile phone or PC, flat board electricity Brain, pocket computer etc. have the terminal device of video playback capability.The first terminal and second terminal are mounted on video Software, available for video is played, in addition, first terminal and second terminal are also equipped with social software, for sharing video frequency.Need Illustrate, first terminal includes one, and second terminal can include one, can also include multiple.In the embodiment of the present invention, Illustrated so that first terminal and second terminal are smart mobile phone as an example.
In embodiments of the present invention, server receive first terminal transmission audio video synchronization playing request when, according to The audio video synchronization playing request determines to receive the second terminal of the audio video synchronization playing request.Wherein, the audio video synchronization plays Request includes video address and synchronization object, and the initiation of the audio video synchronization playing request can be following three kinds of situations:1) user When watching certain video, the sharing function in video software is clicked directly on, and select synchronization object to be divided by social software Enjoy;2) user clicks on synchronization video option in social software in the dialog box of a certain synchronization object, and is selected by video software A certain video is selected to be shared;3) user clicks on synchronization video option in social software in the dialog box of a certain synchronization object, And a certain video for selecting to have downloaded in mobile phone file is shared.Then, asked by parsing the audio video synchronization, can be true Corresponding synchronization object is made, so that it is determined that going out to receive second terminal corresponding to the instruction.
Step S20, the audio video synchronization playing request is sent to the second terminal, and it is anti-to receive the second terminal The reply result of feedback;
Step S30, when the reply result is receives the synchronous playing request, obtain the second of the second terminal System time, and the first system time of the first terminal and the first video playback time;
In embodiments of the present invention, will when server determines to receive the second terminal of the audio video synchronization playing request The request is sent to second terminal.Then, when the expression for receiving second terminal feedback receives the reply result of the request, obtain Take the second system time of the second terminal, and the first system time of the first terminal and the first video playback time. Specifically, party A-subscriber by A mobile phones to party B-subscriber initiate audio video synchronization playing request when, party B-subscriber is in the dialog box of social software It when receiving the request, can prompt the user whether to receive the request, be when user clicks on, or click directly on and divide corresponding to entrance When enjoying link, that is, represent to receive audio video synchronization request.
Step S40, according to the first system time, second system time and the first video playback time adjustment described the Second video playback time of two terminals.
Then, by carrying out time check and correction between the first system time and second system time that get, and according to the Second video playback time of adjustment second terminal corresponding to one video playback time, to cause first terminal and second terminal Reproduction time is consistent, so as to realize the synchronous broadcasting of same video between the plurality of terminals, and then ensures that user exchanges content Uniformity, so as to lift Consumer's Experience.
Specifically, referring to Fig. 4, Fig. 4 is according to the first system time, second system time in the embodiment of the present invention And first video playback time adjust the second terminal the second video playback time refinement schematic flow sheet.Step S40 Including:
Step S41, calculate the time difference between the first system time and second system time;
Step S42, the second video of the second terminal is adjusted according to the time difference and the first video playback time Reproduction time.
After the first system time and second system time is got, calculate the first system time and second system time it Between time difference, i.e., using the first system time of first terminal as standard, second terminal and first terminal is carried out school It is right.Then the second video playback time of second terminal is adjusted according to the first video playback time of first terminal, i.e., second regards The reproduction time of frequency is that the first video playback time adds time difference.For example, the first system time of first terminal A mobile phones is 9:00, now, the second system time of second of B mobile phone is 9:10, then time difference is 10min, it is assumed that A mobile phones, which are specified, to be started The time for playing video is 9:05, i.e. the first video playback time is 9:05, then adjust B mobile phones the second video playback time be 9:15, so as to show 9 in A mobile phones:05, B mobile phone shows 9:When 15, start simultaneously at and play video, it is necessary to explanation, Yong Hu Can be pause buffer status after point opens video sharing link, to be more beneficial for the follow-up smooth broadcasting of video.Need what is illustrated It is that the proofreading method of time can also be that the system time of A mobile phones and B mobile phones with server is proofreaded, and record out A respectively Time difference a and b between mobile phone and B mobile phones and the system time of server, what then can be specified according to A mobile phones starts to broadcast Put the time (the first video playback time) and time difference a calculates corresponding server time, calculated further according to time difference b Second video playback time corresponding to going out.In addition it is also necessary to explanation, the server can also be both-end server, A mobile phones Can the corresponding server progress time check and correction with both-end server respectively with B mobile phones.
The present invention provides a kind of audio video synchronization player method, same in the video for receiving first terminal transmission by server When walking playing request, determined to receive the second terminal of the audio video synchronization playing request according to the audio video synchronization playing request; The audio video synchronization playing request is sent to the second terminal, and receives the reply result of the second terminal feedback;When When the reply result is receives the synchronous playing request, second system time of the second terminal is obtained, and described the The first system time of one terminal and the first video playback time;According to the first system time, second system time and One video playback time adjusts the second video playback time of the second terminal.By the above-mentioned means, server in the present invention It is synchronous right according to being determined in the audio video synchronization playing request when receiving the audio video synchronization playing request of first terminal transmission As, that is, receive the second terminal of the audio video synchronization playing request, and the audio video synchronization playing request is sent to second terminal, so When receiving the reply result of the synchronous playing request of second terminal feedback is being received afterwards, is obtaining the second of the second terminal System time, and the first system time of the first terminal and the first video playback time, so as to pass through the first system time Time check and correction is carried out between the second system time, and the second of second terminal is adjusted according to corresponding to the first video playback time Video playback time, to cause the reproduction time of first terminal and second terminal consistent, so as to realize same video multiple Synchronous broadcasting between terminal, and then ensure that user exchanges the uniformity of content, so as to lift Consumer's Experience.
Referring to Fig. 5, Fig. 5 is the schematic flow sheet of audio video synchronization player method second embodiment of the present invention.
Based on the first embodiment shown in Fig. 3, after the step s 40, the audio video synchronization player method also includes:
Step S50, every preset time obtain respectively the first terminal the first playing progress rate and second terminal Two playing progress rates, and whether detect first playing progress rate and the second playing progress rate consistent;
Step S60, when first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate And the second playing progress rate difference between playing progress rate;
Step S70, according to the corresponding pause of first playing progress rate and the second playing progress rate play the playing progress rate compared with The video of fast terminal, wherein time out is the playing progress rate difference.
To avoid the reasons such as network delay from causing the video playback progress of a certain terminal to lag, and then cause broadcasting for two terminals It is inconsistent to put step into, in embodiments of the present invention, after two terminals commence play out same video, is obtained respectively every preset time First playing progress rate of first terminal and the second playing progress rate of second terminal, and detect the first playing progress rate and second play into Whether degree is consistent, when the playing progress rate of two terminals is consistent, then continues to play;When the broadcasting progress of two terminals is inconsistent, then Playing progress rate difference between two terminals is calculated according to first playing progress rate and the second playing progress rate, and carries out corresponding adjust Whole, specifically, can suspend the video of the very fast terminal of playing progress rate in two terminals, time out is the playing progress rate being calculated Difference, broadcasting is then proceeded by, so that the broadcasting progress of two terminals recovers consistent.It should be noted that specific real Apply in example, when second terminal includes multiple, when that playing progress rate is inconsistent being present in first terminal and multiple second terminals When, normal play plays the video of progressive most slow terminal, and the video of other-end suspends broadcastings, time out be play into Difference maximum is spent, is then further continued for playing.For example, in synchronization, the system time of mobile phone A is 10:00, video playback is entered Spend for 55min, the system time of mobile phone B is 10:10, video playback progress is 52min, and mobile phone C system time is 10:15, Video playback progress is 50min, at this point it is possible to suspend mobile phone A and B video, continues to play after pause 5min.
In addition, method of adjustment can also be the video for keeping the most fast terminal of playing progress rate, the video for adjusting slower terminal is broadcast Degree of putting into is playing progress rate corresponding to most fast terminal.For example, the system time of mobile phone A is 10:00, video playback progress is 55min, the system time of mobile phone B is 10:10, video playback progress is 52min, and mobile phone C system time is 10:15, video Playing progress rate is 50min, at this point it is possible to keep the video normal play of A mobile phones, the playing progress rate of mobile phone B and mobile phone C is redirected Played out during to 55min;It is of course also possible to suspend the video of A mobile phones, the playing progress rate of mobile phone B and mobile phone C is jumped to 55min, then play out simultaneously, the video playback progress so as to ensure between multiple terminals continues unanimously.Certainly, specific During implementation, user oneself can be pre-selected which kind of adjustment mode setting uses.
Referring to Fig. 6, Fig. 6 is the schematic flow sheet of audio video synchronization player method 3rd embodiment of the present invention.
Based on the first embodiment shown in Fig. 3, after the step s 40, the audio video synchronization player method also includes:
Step S80, when the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive on line Communication function enables instruction;
Step S90, enabled if so, then enabling instruction according to communication function on the line on the line of the audio video synchronization broadcasting Communication function.
Communication and discussion is carried out while synchronous viewing video for the convenience of the user, in embodiments of the present invention, when the first end When end and second terminal synchronously play same video, detect whether to receive communication function on line and enable instruction, wherein, line is submitted Stream function, which enables instruction and can enable to instruct including speech exchange, to be exchanged with video and enables instruction, and communication function enables finger on the line Order can exchange option or cloud because exchanging option by clicking directly on video, so as to facilitate user while video is synchronously watched Communication and discussion is carried out, lifts Consumer's Experience.In addition, when opening video exchange, instruction can also be exchanged according to the video and determined Display pattern is exchanged on corresponding line.It can be system default that display pattern is exchanged on line, can also be carried out by user flexible Selection.Specifically, when carrying out video exchange while user is watching video, line corresponding to user's selection can be prompted to submit Display pattern is flowed, when receiving the selection instruction of user, shows the selective listing that display pattern is exchanged on line, wherein, on line Exchanging can show in the selective listing of display pattern including split screen display available and wicket, then be used according to the selection of user Display pattern is exchanged on corresponding line.
Referring to Fig. 7, Fig. 7 is the schematic flow sheet of audio video synchronization player method fourth embodiment of the present invention.
Based on the 3rd embodiment shown in Fig. 6, after step S90, the audio video synchronization player method also includes:
Step S100, when receiving exchange function switch instruction on line, determine to exchange function switch instruction on the line Switching command type;
Step S110, when the switching command type is that video exchange switches to speech exchange instruction, by described first The video AC mode of terminal and second terminal switches to speech exchange pattern;
Step S120, when the switching command type is that speech exchange switches to video exchange instruction, by described first The speech exchange pattern switching of terminal and second terminal is video AC mode.
In embodiments of the present invention, when user opens AC mode on line while video is synchronously watched, when receiving When exchanging function switch instruction on line, determine to exchange the switching command type of function switch instruction on the line, and according to switching AC mode on line, can help to user and switches the AC mode oneself liked, so as to lift use corresponding to instruction type switching Family experience effect.Specifically, when the user of first terminal and second terminal opens video AC mode, handed over receiving video When stream switches to speech exchange instruction, the video AC mode of first terminal and second terminal is switched into speech exchange pattern; When the user of first terminal and second terminal opens speech exchange pattern, refer to receiving speech exchange and switching to video exchange It is video AC mode by the speech exchange pattern switching of first terminal and second terminal when making.In addition, when network speed is bad, When user uses video AC mode, user can also be prompted to switch to speech exchange pattern, so as to keep video playback Process.
The present invention also proposes a kind of computer-readable recording medium, and it is same to be stored with video on the computer-readable recording medium Playing program is walked, the video as described in any of the above item embodiment is realized when the audio video synchronization playing program is executed by processor The step of synchronous broadcast method.
The specific embodiment of computer-readable recording medium of the present invention and each embodiment base of above-mentioned audio video synchronization player method This is identical, and therefore not to repeat here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/R audio video synchronizations play M, magnetic disc, CD), including some instructions are causing a station terminal equipment (can be mobile phone, computer, server, air conditioner, or network equipment etc.) performs the side described in each embodiment of the present invention Method.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of audio video synchronization player method, it is characterised in that the audio video synchronization player method comprises the following steps:
Server is true according to the audio video synchronization playing request when receiving the audio video synchronization playing request of first terminal transmission Surely the second terminal of the audio video synchronization playing request is received;
The audio video synchronization playing request is sent to the second terminal, and receives the reply knot of the second terminal feedback Fruit;
When the reply result is receives the synchronous playing request, the second system time of the second terminal is obtained, and The first system time of the first terminal and the first video playback time;
The second of the second terminal is adjusted according to the first system time, second system time and the first video playback time Video playback time.
2. audio video synchronization player method as claimed in claim 1, it is characterised in that it is described according to the first system time, The step of second system time and the first video playback time adjust the second video playback time of the second terminal, including:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
3. audio video synchronization player method as claimed in claim 1, it is characterised in that the audio video synchronization player method also wraps Include:
Obtain the first playing progress rate of the first terminal and the second playing progress rate of second terminal respectively every preset time, and Whether consistent detect first playing progress rate and the second playing progress rate;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second play into Playing progress rate difference between degree;
The video of the very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate, Wherein time out is the playing progress rate difference.
4. audio video synchronization player method as claimed in claim 1, it is characterised in that the audio video synchronization player method also wraps Include:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line and enable Instruction;
If so, then enabling instruction according to communication function on the line enables communication function on the line of the audio video synchronization broadcasting.
5. audio video synchronization player method as claimed in claim 4, it is characterised in that communication function is handed over including video on the line Stream and speech exchange, the audio video synchronization player method also include:
When receiving exchange function switch instruction on line, determine to exchange the switching command class of function switch instruction on the line Type;
When the switching command type is that video exchange switches to speech exchange instruction, by the first terminal and second terminal Video AC mode switch to speech exchange pattern;
When the switching command type is that speech exchange switches to video exchange instruction, by the first terminal and second terminal Speech exchange pattern switching be video AC mode.
6. a kind of audio video synchronization play system, it is characterised in that the audio video synchronization play system includes:Server, terminal and Audio video synchronization playing program, the terminal include first terminal and second terminal, and the audio video synchronization playing program is by the clothes Business device and mobile terminal realize following steps when performing:
For the server when receiving the audio video synchronization playing request of first terminal transmission, being played according to the audio video synchronization please Seek the second terminal for determining to receive the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply knot of the second terminal feedback Fruit;
When the reply result is receives the synchronous playing request, the second system time of the second terminal is obtained, and The first system time of the first terminal and the first video playback time;
The second of the second terminal is adjusted according to the first system time, second system time and the first video playback time Video playback time.
7. audio video synchronization play system as claimed in claim 6, it is characterised in that the audio video synchronization playing program is described Server and mobile terminal also realize following steps when performing:
Calculate the time difference between the first system time and second system time;
The second video playback time of the second terminal is adjusted according to the time difference and the first video playback time.
8. audio video synchronization play system as claimed in claim 6, it is characterised in that the audio video synchronization playing program is described Server and mobile terminal also realize following steps when performing:
Obtain the first playing progress rate of the first terminal and the second playing progress rate of second terminal respectively every preset time, and Whether consistent detect first playing progress rate and the second playing progress rate;
When first playing progress rate and inconsistent the second playing progress rate, calculate first playing progress rate and second play into Playing progress rate difference between degree;
The video of the very fast terminal of playing progress rate is played according to first playing progress rate and the corresponding pause of the second playing progress rate, Wherein time out is the playing progress rate difference.
9. audio video synchronization play system as claimed in claim 6, it is characterised in that the audio video synchronization playing program is described Server and mobile terminal also realize following steps when performing:
When the first terminal and second terminal carry out audio video synchronization broadcasting, detect whether to receive communication function on line and enable Instruction;
If so, then enabling instruction according to communication function on the line enables communication function on the line of the audio video synchronization broadcasting.
10. a kind of computer-readable recording medium, it is characterised in that it is same to be stored with video on the computer-readable recording medium Playing program is walked, the audio video synchronization playing program realizes following steps when being executed by processor:
For the server when receiving the audio video synchronization playing request of first terminal transmission, being played according to the audio video synchronization please Seek the second terminal for determining to receive the audio video synchronization playing request;
The audio video synchronization playing request is sent to the second terminal, and receives the reply knot of the second terminal feedback Fruit;
When the reply result is receives the synchronous playing request, the second system time of the second terminal is obtained, and The first system time of the first terminal and the first video playback time;
The second of the second terminal is adjusted according to the first system time, second system time and the first video playback time Video playback time.
CN201710824534.XA 2017-09-13 2017-09-13 Audio video synchronization player method, system and computer-readable recording medium Withdrawn CN107770570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710824534.XA CN107770570A (en) 2017-09-13 2017-09-13 Audio video synchronization player method, system and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710824534.XA CN107770570A (en) 2017-09-13 2017-09-13 Audio video synchronization player method, system and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107770570A true CN107770570A (en) 2018-03-06

Family

ID=61266048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710824534.XA Withdrawn CN107770570A (en) 2017-09-13 2017-09-13 Audio video synchronization player method, system and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107770570A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683932A (en) * 2018-05-22 2018-10-19 珠海格力电器股份有限公司 A kind of sharing method and terminal device of multimedia file segment
CN109375891A (en) * 2018-08-21 2019-02-22 奇酷互联网络科技(深圳)有限公司 Acoustic source synchronization method, mobile terminal and computer readable storage medium
CN110213648A (en) * 2019-06-05 2019-09-06 重庆菜鸽途讯科技有限公司 One kind is the same as screen method, system, mobile terminal and computer readable storage medium
CN110300319A (en) * 2019-07-08 2019-10-01 深圳创维-Rgb电子有限公司 Audio video synchronization playback method, system and storage medium
CN110830823A (en) * 2019-11-27 2020-02-21 北京奇艺世纪科技有限公司 Play progress correction method and device, electronic equipment and readable storage medium
CN111628916A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Method for cooperation of intelligent sound box and electronic equipment
CN111970414A (en) * 2020-07-20 2020-11-20 北京百度网讯科技有限公司 Picture synchronization method and device based on real-time temperature measurement system and storage medium
CN112272305A (en) * 2020-09-28 2021-01-26 天下秀广告有限公司 Multi-channel real-time interactive video cache storage method
CN112954426A (en) * 2021-02-07 2021-06-11 咪咕文化科技有限公司 Video playing method, electronic equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683932A (en) * 2018-05-22 2018-10-19 珠海格力电器股份有限公司 A kind of sharing method and terminal device of multimedia file segment
CN109375891A (en) * 2018-08-21 2019-02-22 奇酷互联网络科技(深圳)有限公司 Acoustic source synchronization method, mobile terminal and computer readable storage medium
CN111628916A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Method for cooperation of intelligent sound box and electronic equipment
CN110213648A (en) * 2019-06-05 2019-09-06 重庆菜鸽途讯科技有限公司 One kind is the same as screen method, system, mobile terminal and computer readable storage medium
CN110300319A (en) * 2019-07-08 2019-10-01 深圳创维-Rgb电子有限公司 Audio video synchronization playback method, system and storage medium
CN110830823A (en) * 2019-11-27 2020-02-21 北京奇艺世纪科技有限公司 Play progress correction method and device, electronic equipment and readable storage medium
CN111970414A (en) * 2020-07-20 2020-11-20 北京百度网讯科技有限公司 Picture synchronization method and device based on real-time temperature measurement system and storage medium
CN112272305A (en) * 2020-09-28 2021-01-26 天下秀广告有限公司 Multi-channel real-time interactive video cache storage method
CN112272305B (en) * 2020-09-28 2023-03-24 天下秀广告有限公司 Multi-channel real-time interactive video cache storage method
CN112954426A (en) * 2021-02-07 2021-06-11 咪咕文化科技有限公司 Video playing method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107770570A (en) Audio video synchronization player method, system and computer-readable recording medium
CN111294638B (en) Method, device, terminal and storage medium for realizing video interaction
CN108769814B (en) Video interaction method, device, terminal and readable storage medium
US10659844B2 (en) Interaction method and system based on recommended content
US20170302990A1 (en) Method, terminal, and system for processing data of video stream
US10701451B2 (en) Program interaction system, method, client, and backend server
US11025686B2 (en) Network call method and apparatus, terminal, and server
US8806564B2 (en) Mobile consumer electronic applications on internet video platform
CN108055572A (en) Control method, mobile terminal and the computer readable storage medium of mobile terminal
CN106803993B (en) Method and device for realizing video branch selection playing
CN111491197B (en) Live content display method and device and storage medium
CN106990828A (en) A kind of apparatus and method for controlling screen display
CN106791958A (en) Position marker information generation method and device
CN106162236A (en) A kind of method and device of sharing video frequency
RU2745737C1 (en) Video recording method and video recording terminal
CN112363785A (en) Terminal display method, terminal and computer readable storage medium
CN107493497A (en) A kind of video broadcasting method, terminal and computer-readable recording medium
CN109646940A (en) Method, terminal and the computer readable storage medium of synchronization applications
CN107463255A (en) A kind of video broadcasting method, terminal and computer-readable recording medium
WO2021042761A1 (en) Audio playback control method, smart phone, apparatus and readable storage medium
CN107027053A (en) Audio frequency playing method, terminal and computer-readable recording medium
CN108200332A (en) A kind of pattern splicing method, mobile terminal and computer readable storage medium
CN108307105A (en) A kind of image pickup method, terminal and computer readable storage medium
CN108744495A (en) A kind of control method of virtual key, terminal and computer storage media
CN108541116A (en) Lamp light control method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180306

WW01 Invention patent application withdrawn after publication