CN108173939A - The switching method and device of a kind of Voice and Video - Google Patents

The switching method and device of a kind of Voice and Video Download PDF

Info

Publication number
CN108173939A
CN108173939A CN201711459126.5A CN201711459126A CN108173939A CN 108173939 A CN108173939 A CN 108173939A CN 201711459126 A CN201711459126 A CN 201711459126A CN 108173939 A CN108173939 A CN 108173939A
Authority
CN
China
Prior art keywords
file
lessons
teaching tempo
tempo
teaching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711459126.5A
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.)
Tax Net Cmi Holdings Ltd In Beijing
Original Assignee
Tax Net Cmi Holdings Ltd In Beijing
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 Tax Net Cmi Holdings Ltd In Beijing filed Critical Tax Net Cmi Holdings Ltd In Beijing
Priority to CN201711459126.5A priority Critical patent/CN108173939A/en
Publication of CN108173939A publication Critical patent/CN108173939A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47214End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market

Abstract

The present invention provides the switching methods and device of a kind of Voice and Video, receive the pattern switching instruction for including lecture contents mark;Obtain again lecture contents identify corresponding first give lessons file stop play end time of giving lessons;Using the second teaching tempo, using the corresponding end time of giving lessons of the first teaching tempo as starting point, play second and give lessons file, wherein, first give lessons file and the second corresponding lecture contents of file synchronization of giving lessons it is identical.It can be seen that, pass through technical solution provided by the invention, ensure when the first teaching tempo is switched to the second teaching tempo, second gives lessons the lecture contents of file and the first lecture contents for giving lessons file can link up, no longer the content learned is played for user, user's learning time is saved, improves user experience.

Description

The switching method and device of a kind of Voice and Video
Technical field
The present invention relates to Internet technical field, more particularly to the switching method and device of a kind of Voice and Video.
Background technology
Give lessons in internet in software, for same item lecture contents, to user each provide video teaching tempo and Audio teaching tempo.After user has selected a lecture contents, the video teaching tempo using the lecture contents can be selected, It can also select the audio teaching tempo using the lecture contents.
User is when learning a lecture contents, it is understood that there may be is switched to second of teaching tempo from the first teaching tempo Situation, such as:During from wifi network environment changing to 4G network environments, need to be switched to audio from video teaching tempo and give lessons Pattern, to save flow consumption;Or after public environment returns to private environment, video is switched to by audio teaching tempo Teaching tempo, to obtain experience etc. of preferably giving lessons.
But after the first teaching tempo is switched to second of teaching tempo, second of teaching tempo can be used, from this Lecture contents most start to give lessons to user, and user needs the content of the study study of Confucian classics repeated, leads to user experience Difference.
Invention content
Present invention solves the technical problem that it is to provide the switching method and device of a kind of Voice and Video, so as to reality The seamless switching of existing Voice and Video, ensures when the first teaching tempo is switched to the second teaching tempo, and second gives lessons file Content and the first content for giving lessons file can link up, and no longer play the content learned for user, save user's study Time improves user experience.
For this purpose, the technical solution that the present invention solves technical problem is:
A kind of switching method of Voice and Video, the method includes:
Reception pattern switching command, the pattern switching instruction include the mark of lecture contents;
The file of giving lessons of mark corresponding first for obtaining the lecture contents stops the end time of giving lessons played, and described the One file of giving lessons is played out using the first teaching tempo;
Using second teaching tempo, using the end time of giving lessons as starting point, to the mark pair of the lecture contents Second answered file of giving lessons plays out, and the second teaching tempo is switched to realize from first teaching tempo, and described second File of giving lessons is played out using second teaching tempo, described first give lessons file and described second give lessons file with for the moment It is identical to carve corresponding lecture contents.
Optionally, the reception pattern switching command includes:
Receive the pattern switching instruction of user's triggering.
Optionally, the reception pattern switching command includes:
Monitoring network access module when network insertion pattern changes, receives the pattern switching instruction of automatic trigger, The network insertion pattern includes wireless network mode and mobile cellular network access module.
Optionally, it is described to use second teaching tempo, using the end time of giving lessons as starting point, in described give lessons The mark corresponding second of appearance give lessons file play out including:
Second is obtained according to the mark of the lecture contents from Cloud Server to give lessons file;
Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file;
Using second teaching tempo, file of giving lessons from the play position described second plays out.
Optionally, when first teaching tempo is video teaching tempo, second teaching tempo is that audio is given lessons mould Formula;
Alternatively,
When first teaching tempo is audio teaching tempo, second teaching tempo is video teaching tempo.
A kind of Voice and Video switching device, described device include:
Receiving unit, reception pattern switching command, the pattern switching instruction include the mark of lecture contents;
Acquiring unit, obtain the lecture contents mark corresponding first give lessons file stop play give lessons termination when It carves, the described first file of giving lessons is played out using the first teaching tempo;
Switch unit, using second teaching tempo, using the end time of giving lessons as starting point, to the lecture contents The file of giving lessons of mark corresponding second play out, switch to the second teaching tempo from first teaching tempo to realize, Described second file of giving lessons is played out using second teaching tempo, and the described first file and described second of giving lessons is given lessons text The corresponding lecture contents of part synchronization are identical.
Optionally, the receiving unit is specifically used for:
Receive the pattern switching instruction of user's triggering.
Optionally, the receiving unit is specifically used for:
Monitoring network access module when network insertion pattern changes, receives the pattern switching instruction of automatic trigger, The network insertion pattern includes wireless network mode and mobile cellular network access module.
Optionally, the switch unit is specifically used for:
Second is obtained according to the mark of the lecture contents from Cloud Server to give lessons file;
Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file;
Using second teaching tempo, file of giving lessons from the play position described second plays out.
Optionally, when first teaching tempo is video teaching tempo, second teaching tempo is that audio is given lessons mould Formula;
Alternatively,
When first teaching tempo is audio teaching tempo, second teaching tempo is video teaching tempo.
According to the above-mentioned technical solution, the method have the advantages that:
It in technical solution provided by the invention, is given lessons end time under the first teaching tempo by obtaining, using the When two teaching tempos are given lessons to user, end time of being given lessons using under the first teaching tempo as the second teaching tempo starting point, from And realize the seamless switching between different teaching tempos.Specifically, receive the pattern switching instruction for including lecture contents mark; Obtain again lecture contents identify corresponding first give lessons file stop play end time of giving lessons;Using the second teaching tempo, Using the corresponding end time of giving lessons of the first teaching tempo as starting point, play second and give lessons file, wherein, first gives lessons file and the Two corresponding lecture contents of file synchronization of giving lessons are identical.As it can be seen that by technical solution provided by the invention, ensure first When teaching tempo is switched to the second teaching tempo, second gives lessons the lecture contents of file and the first lecture contents for giving lessons file can To link up, the content learned no longer is played for user, saves user's learning time, improves user experience.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of Voice and Video switching method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of Audio conversion provided in an embodiment of the present invention to video method flow chart;
Fig. 3 switches to audio method flow diagram for a kind of video provided in an embodiment of the present invention;
Fig. 4 is a kind of Voice and Video switching device structure chart provided in an embodiment of the present invention.
Specific embodiment
In order to provide the implementation of Voice and Video switching, an embodiment of the present invention provides a kind of cutting for Voice and Video Method and apparatus are changed, the embodiment of the present invention are illustrated below in conjunction with Figure of description, it should be understood that described herein Embodiment is merely to illustrate and explain the present invention, and is not intended to limit the present invention.And in the absence of conflict, in the application Embodiment and embodiment in feature can be combined with each other.
For the ease of understanding technical solution provided by the invention, letter first is carried out to technical solution of the present invention research background below Unitary declaration.
Inventor has found under study for action, existing to switch to video teaching tempo or from video from audio teaching tempo When teaching tempo switches to audio teaching tempo, playback equipment with the teaching tempo broadcasting after switching give lessons file when, can be from Give lessons file the beginning part play.Due to the teaching tempo after the teaching tempo before switching corresponding give lessons file, with switching It is corresponding give lessons file difference, playback equipment play another give lessons file when, under normal circumstances, can from the beginning play should It gives lessons file, and the problem of such broadcast mode is brought is to have repeated playing the content that user had learnt, if user When being not intended to the content that repetitive learning had been learned, need to manually adjust playing progress rate, waste time, lead to poor user experience.
Based on this, an embodiment of the present invention provides a kind of switching method of Voice and Video, include giving lessons specifically, receiving Content identification pattern switching instruction, obtain lecture contents identify corresponding first give lessons file stop play give lessons termination when It carves, when using the second teaching tempo, using above-mentioned end time of giving lessons as starting point, gives lessons lecture contents mark corresponding second File plays out, with realize from first teaching tempo switch to the second teaching tempo when, no longer play and learned for user Content saves user's learning time, improves user experience.
It is situated between below in conjunction with attached drawing 1 to the audio shown in exemplary embodiment of the present and the switching method used It continues.
It is a kind of Voice and Video switching method flow chart provided in an embodiment of the present invention referring to Fig. 1, this method is specifically wrapped It includes:
S101:Reception pattern switching command, the pattern switching instruction include the mark of lecture contents.
In embodiments of the present invention, pattern switching instruction is indicated for the instruction switched over to teaching tempo, the mould Formula switching command includes the mark of lecture contents.Wherein, the mark of lecture contents is used for identifying a lecture contents.It is same to award Hold the different teaching tempos corresponded to, i.e. the first teaching tempo and the second teaching tempo within the class period.Wherein, the first teaching tempo corresponds to There is the first storage address for giving lessons file, the second teaching tempo is corresponding with the second storage address for giving lessons file.In practical application In, the first give lessons file, the second file of giving lessons can be obtained respectively according to above-mentioned different storage address and played out.
In practical applications, pattern switching instruction can trigger phase in playback equipment manually by user according to individual demand The control answered, playback equipment is instructed in response to the trigger action generation pattern switching of user, to realize the switching of teaching tempo; Pattern switching instruction can also be automatically generated according to the variation of network access environment by playback equipment.Wherein, playback equipment can be with The electronic equipments such as mobile phone, computer, tablet computer, computer.Above two realization method is introduced respectively below.
A kind of optional realization method, trigger action generation of the pattern switching instruction based on user, specifically, the reception Pattern switching instruction includes:Receive the pattern switching instruction of user's triggering.
In the embodiment of the present application, user triggers pattern switching according to demands of individuals, for example, setting one on broadcast interface A button for switching when user triggers the button, that is, triggers pattern switching.Response and the trigger action generation mould of user Formula switching command realizes teaching tempo switching.For example, user be initially classroom by watch video mode study give lessons in Hold, when user needs library and wants using the road time to continue to learn, regarded due to being not easy to watch in the process of walking Frequently, then current video teaching tempo can be switched to audio teaching tempo by user by playback equipment, user to be facilitated to continue Study;When user reaches library, present video teaching tempo can also be switched to video again by playback equipment and awarded Class pattern.
In the embodiment of the present application, or playback equipment is according to the situation for detecting network environment quality, with pop-up The form of frame inquires whether the user needs to switching teaching tempo, provide in the pop-up box one for switching button, when with When the button is triggered at family, that is, trigger pattern switching;If user does not trigger the button, do not generate pattern switching instruction, still with Current teaching tempo plays file of giving lessons for user.It gives lessons text for example, active user plays video using video teaching tempo Part, when playback equipment detects that current network conditions are second-rate, and video teaching tempo compares network environment quality requirement Height, audio teaching tempo comparatively than relatively low, give lessons to network environment quality requirement if still played with video teaching tempo File then will appear the situation of interim card, cause user experience poor, and playback equipment can inquire use in the form of pop-up box at this time Whether family needs to switch teaching tempo, if user's selection is to generate pattern switching instruction, gives lessons mould to realize from video Formula switches to audio teaching tempo, and playing audio using audio teaching tempo gives lessons file;If user's selection is no, still use Video teaching tempo plays video for user and gives lessons file.
A kind of optional realization method, pattern switching instruction are automatically generated based on the variation for identifying network insertion pattern, Specifically, the reception pattern switching command includes:Network insertion pattern is detected, when network insertion pattern changes, is connect The pattern switching instruction of automatic trigger is received, the network insertion pattern includes wireless network mode and mobile cellular network access mould Formula.
Wherein, wireless network can be WLAN (Wi-Fi);Mobile cellular network can be 2G/3G/4G networks.
In specific implementation, playback equipment can be converted with the access module of Auto Observation System network when from wireless network mode Wireless network mode is transformed into mobile cellular network access module or from mobile cellular network, in response to network insertion mould The variation of formula, playback equipment automatically generate pattern switching instruction, to instruct the switching of implementation pattern according to pattern switching.For example, Active user's cell phone network access module is Wi-Fi accesses, then can play lecture contents for user by video teaching tempo; 4G network insertion patterns are transformed into when mobile phone leaves Wi-Fi access environments, monitor that network access environment changes, it is automatic to touch Pattern switching instruction is sent out, audio teaching tempo is switched to from video teaching tempo.
S102:Obtain the lecture contents mark corresponding first give lessons file stop play end time of giving lessons, Described first file of giving lessons is played out using the first teaching tempo.
In embodiments of the present invention, when first give lessons file stop playing when, establish this and first give lessons awarding belonging to file The mark held within the class period, with the first of the first teaching tempo give lessons file end time of giving lessons correspondence.When receiving mould During formula switching command, the mark of the lecture contents in being instructed according to the pattern switching, you can corresponded to obtaining the first teaching tempo First give lessons file stop play end time of giving lessons.
S103:Using second teaching tempo, using the end time of giving lessons as starting point, to the mark of the lecture contents Know the corresponding second file of giving lessons to play out, the second teaching tempo is switched to from first teaching tempo to realize, it is described Second file of giving lessons is played out using second teaching tempo, described first give lessons file and the described second file of giving lessons it is same One moment, corresponding lecture contents were identical.
In the embodiment of the present application, second give lessons file and the second teaching tempo be it is mutual corresponding, can be by giving lessons The mark of appearance obtains the second teaching tempo, gives lessons file obtaining second according to the corresponding storage address of the second teaching tempo, with Realize the broadcasting for file of giving lessons second.
In specific implementation, playback equipment plays second using the second teaching tempo and gives lessons file, gives lessons file with first The broadcasting stop timing for starting point, continue to play second and give lessons file, the lecture contents and for file of giving lessons so as to fulfill second One give lessons file lecture contents play when seamless connection.For example, first give lessons file at the time of stop playing for the 10th Minute, then playback equipment was then played when file is given lessons in the second teaching tempo of use broadcasting second since the 10th minute.
In embodiments of the present invention, it is described using second teaching tempo, it is right using the end time of giving lessons as starting point The mark corresponding second of the lecture contents give lessons file play out including:It is taken according to the mark of the lecture contents from cloud Business device obtains second and gives lessons file;Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file; Using second teaching tempo, file of giving lessons from the play position described second plays out.
In specific implementation, first gives lessons file and the second file of giving lessons can be stored in Cloud Server, when broadcasting is set It is standby to play when giving lessons file, corresponding file of giving lessons can be obtained from Cloud Server as user's broadcasting.Wherein, two texts of giving lessons Part is possibly stored in a subregion, can also be directed in the different storages to different subregions of file format, for example, first awards Text part is audio file, and form can be mp3, Wave, amr etc.;Second gives lessons file as video file, and form can Mp4, flash, rmvb etc. are thought, in practical application, can store audio format file to audio database, video lattice The storage of formula file is to video database, to facilitate Cloud Server management and subsequently be given lessons text according to the marker extraction of lecture contents Part.
In embodiments of the present invention, when first teaching tempo is video teaching tempo, second teaching tempo is Audio teaching tempo;Alternatively, when first teaching tempo is audio teaching tempo, second teaching tempo is that video is given lessons Pattern.
In embodiments of the present invention, first file is given lessons using the broadcasting of the first teaching tempo;Second gives lessons file using the Two teaching tempos play out.When the first teaching tempo is video teaching tempo, the second teaching tempo is audio teaching tempo, Then the first file of giving lessons be give lessons file, the second file of giving lessons of video is that audio is given lessons file.When the first teaching tempo is audio During teaching tempo, the second teaching tempo is video teaching tempo, first give lessons file for audio give lessons file, second give lessons file It gives lessons file for video.Wherein, audio is given lessons during file can give lessons file from corresponding video and is extracted, so as to ensure that audio is awarded Text part and video corresponding lecture contents of file synchronization of giving lessons are identical.
In practical applications, can be switched to audio teaching tempo from video teaching tempo;Can also be awarded from audio To video teaching tempo, the embodiment of the present invention does not limit class pattern switching about the concrete embodiment of the first teaching tempo.Having , can be according to the application environment of playback equipment reality when body is realized, video gives lessons file and audio is given lessons, and that file uses is same Player switches over broadcasting, can also switch over broadcasting using different players.
Using technical solution provided by the invention, give lessons what file stopping played by under the first teaching tempo of acquisition first It gives lessons end time, when being given lessons using the second teaching tempo to user, is given lessons text as second using above-mentioned end time of giving lessons The starting point that part plays, it is achieved thereby that the seamless switching between different teaching tempos, no longer plays the content learned for user, User's learning time is saved, user experience is provided.
By the description of above method embodiment it is found that can both be switched to video teaching tempo from audio teaching tempo, Audio teaching tempo can also be switched to from video teaching tempo, in order to make it easy to understand, below will be respectively to above-mentioned two situations It describes in detail.
Referring to Fig. 2, it illustrates a kind of Audio conversions provided in an embodiment of the present invention to the method flow diagram of video, the party Method specifically includes:
S201:Reception pattern switching command, the pattern switching instruction include the mark of lecture contents.
In embodiments of the present invention, pattern switching instruction is indicated for the instruction switched over to teaching tempo, the mould Formula switching command includes the mark of lecture contents, wherein, the mark of lecture contents is awarded for identifying the corresponding difference of lecture contents Class pattern, i.e. audio teaching tempo and video teaching tempo.Wherein, audio teaching tempo is corresponding with audio and gives lessons the storage of file Address, video teaching tempo are corresponding with video and give lessons the storage address of file.It in practical applications, can be according to above-mentioned different Storage address obtains give lessons file, video of audio and gives lessons file respectively.
In practical applications, reception pattern switching command can be the pattern switching instruction for receiving user's triggering, can also For monitoring network access module, when network insertion pattern changes, the pattern switching instruction of automatic trigger is received.Specifically , network insertion pattern includes wireless network interface mode and mobile cellular net access module.
S202:The corresponding audio of the mark file of giving lessons for obtaining lecture contents stops the end time of giving lessons played.
In the embodiment of the present application, by the mark of lecture contents can obtain audio teaching tempo give lessons termination when It carves.
S203:It is corresponding to the mark of lecture contents using above-mentioned end time of giving lessons as starting point using video teaching tempo Video file of giving lessons plays out, and video teaching tempo is switched to from audio teaching tempo to realize.
In the embodiment of the present application, video give lessons file and video teaching tempo be it is mutual corresponding, can be by giving lessons The mark of appearance obtains video teaching tempo, gives lessons file obtaining video according to the corresponding storage address of video teaching tempo, with Realize the broadcasting for file of giving lessons video.
In specific implementation, playback equipment plays video using video teaching tempo and gives lessons file, is given lessons file with audio The broadcasting stop timing for starting point, continue to play video and give lessons file, given lessons the lecture contents of file with realizing playing video When, the lecture contents for the file that can give lessons with audio link up.Wherein, audio gives lessons file and video gives lessons file with for the moment It is identical to carve corresponding lecture contents.In practical applications, audio is given lessons to extract during file can give lessons file from video and be obtained, from And ensure that audio file and video file of giving lessons of giving lessons is identical in the corresponding lecture contents of synchronization, switch to video to realize During teaching tempo, end time is given lessons as starting point using audio, continues to play other lecture contents to user.
In embodiments of the present invention, the specific implementation of above step may refer to the realization of Fig. 1 the method embodiments, This is repeated no more.
Through the embodiment of the present invention, when user need switch to video teaching tempo from audio teaching tempo when or play When device network access environment changes, playback equipment is obtained by reception pattern switching command according to the mark of lecture contents Stop timing when audio being taken to give lessons the file stop timing, then being given lessons using audio teaching tempo is played video as starting point and given lessons text Part realizes the seamless switching from audio teaching tempo to video teaching tempo, no longer plays the content learned, section for user User's learning time is saved, user experience is provided.
Referring to Fig. 3, it illustrates one kind provided in an embodiment of the present invention to switch to audio method flow diagram, the party from video Method can specifically include:
S301:Reception pattern switching command, the pattern switching instruction include the mark of lecture contents.
In embodiments of the present invention, pattern switching instruction is indicated for the instruction switched over to teaching tempo, the mould Formula switching command includes the mark of lecture contents, wherein, the mark of lecture contents is awarded for identifying the corresponding difference of lecture contents Class pattern, i.e. video teaching tempo and audio teaching tempo.Wherein, audio teaching tempo is corresponding with audio and gives lessons the storage of file Address, video teaching tempo are corresponding with video and give lessons the storage address of file.It in practical applications, can be according to above-mentioned different Storage address obtains that audio gives lessons file and video is given lessons file respectively.
In practical applications, reception pattern switching command can be the pattern switching instruction for receiving user's triggering, can also For monitoring network access module, when network insertion pattern changes, the pattern switching instruction of automatic trigger is received.Specifically , network insertion pattern includes wireless network interface mode and mobile cellular net access module.
S302:The corresponding video of the mark file of giving lessons for obtaining lecture contents stops the end time of giving lessons played.
In the embodiment of the present application, by the mark of lecture contents can obtain video teaching tempo give lessons termination when It carves.
S303:Using audio teaching tempo, using end time of giving lessons as starting point, corresponding audio is identified to lecture contents and is awarded Text part plays out, and audio teaching tempo is switched to from video teaching tempo to realize.
In the embodiment of the present application, audio give lessons file and audio teaching tempo be it is mutual corresponding, can be by giving lessons The mark of appearance obtains audio teaching tempo, gives lessons file obtaining audio according to the corresponding storage address of audio teaching tempo, with Realize the broadcasting for file of giving lessons audio.
In specific implementation, playback equipment plays audio using audio teaching tempo and gives lessons file, is given lessons file with video The broadcasting stop timing for starting point, continue to play audio and give lessons file, given lessons the lecture contents of file with realizing playing audio When, the lecture contents for the file that can give lessons with video are linking up.Wherein, audio gives lessons file and video file of giving lessons is same Moment, corresponding lecture contents were identical.In specific implementation, audio is given lessons to extract during file can give lessons file from video and be obtained, So as to ensure that audio file and video file of giving lessons of giving lessons is identical in the corresponding lecture contents of synchronization, sound is switched to realize During frequency teaching tempo, end time is given lessons as starting point using video, continues to play other lecture contents to user.
In embodiments of the present invention, the specific implementation of above step may refer to the realization of Fig. 1 the method embodiments, This is repeated no more.
Through the embodiment of the present invention, when user need switch to audio teaching tempo from video teaching tempo when or play When device network access environment changes, playback equipment is obtained by reception pattern switching command according to the mark of lecture contents Stop timing when video being taken to give lessons the file stop timing, then being given lessons using video teaching tempo is played audio as starting point and given lessons text Part realizes the seamless switching from video teaching tempo to audio teaching tempo, no longer plays the content learned, section for user User's learning time is saved, user experience is provided.
It is corresponding with method shown in above-mentioned Fig. 1, an embodiment of the present invention provides a kind of Voice and Video switching device, under Face is introduced the device with reference to Fig. 4.
Referring to Fig. 4, recommend square law device schematic diagram for course provided in an embodiment of the present invention, which includes:It obtains Unit 401, determination unit 402, recommendation unit 403;
Receiving unit 401, reception pattern switching command, the pattern switching instruction include the mark of lecture contents;
Acquiring unit 402, obtain the lecture contents mark corresponding first give lessons file stop play give lessons end Only moment, the described first file of giving lessons are played out using the first teaching tempo;
Switch unit 403 using second teaching tempo, using the end time of giving lessons as starting point, is given lessons described The mark corresponding second of content file of giving lessons plays out, to realize that switching to second from first teaching tempo gives lessons mould Formula, the described second file of giving lessons are played out using second teaching tempo, and the described first file and described second of giving lessons is awarded The corresponding lecture contents of text part synchronization are identical.
In some embodiments, the receiving unit is specifically used for:
Receive the pattern switching instruction of user's triggering.
In some embodiments, the receiving unit is specifically used for:
Monitoring network access module when network insertion pattern changes, receives the pattern switching instruction of automatic trigger, The network insertion pattern includes wireless network mode and mobile cellular network access module.
In some embodiments, the switch unit is specifically used for:
Second is obtained according to the mark of the lecture contents from Cloud Server to give lessons file;
Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file;
Using second teaching tempo, file of giving lessons from the play position described second plays out.
Wherein, when first teaching tempo is video teaching tempo, second teaching tempo is audio teaching tempo; Alternatively, when first teaching tempo is audio teaching tempo, second teaching tempo is video teaching tempo.
It should be noted that the setting of each unit or realization is referred to method shown in Fig. 1 and reality in apparatus of the present invention Existing, details are not described herein.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the principle of the present invention, several improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that A little elements, but also including other elements that are not explicitly listed or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except also there are other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of switching method of Voice and Video, which is characterized in that the method includes:
Reception pattern switching command, the pattern switching instruction include the mark of lecture contents;
Obtain the lecture contents mark corresponding first give lessons file stop play end time of giving lessons, described first awards Text part is played out using the first teaching tempo;
It is corresponding to the mark of the lecture contents using the end time of giving lessons as starting point using second teaching tempo Second file of giving lessons plays out, and switches to the second teaching tempo from first teaching tempo to realize, described second gives lessons File is played out using second teaching tempo, and the described first file and described second of giving lessons is given lessons file synchronization pair The lecture contents answered are identical.
2. according to the method described in claim 1, it is characterized in that, the reception pattern switching command includes:
Receive the pattern switching instruction of user's triggering.
3. according to the method described in claim 1, it is characterized in that, the reception pattern switching command includes:
Monitoring network access module when network insertion pattern changes, receives the pattern switching instruction of automatic trigger, described Network insertion pattern includes wireless network mode and mobile cellular network access module.
4. according to the method described in claim 1-3 any one, which is characterized in that it is described to use second teaching tempo, Using the end time of giving lessons as starting point, corresponding to the mark of the lecture contents second give lessons file play out including:
Second is obtained according to the mark of the lecture contents from Cloud Server to give lessons file;
Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file;
Using second teaching tempo, file of giving lessons from the play position described second plays out.
5. according to the method described in any of claim 1 to 4, which is characterized in that
When first teaching tempo is video teaching tempo, second teaching tempo is audio teaching tempo;
Alternatively,
When first teaching tempo is audio teaching tempo, second teaching tempo is video teaching tempo.
6. a kind of Voice and Video switching device, which is characterized in that including:
Receiving unit, reception pattern switching command, the pattern switching instruction include the mark of lecture contents;
Acquiring unit, obtain the lecture contents mark corresponding first give lessons file stop play end time of giving lessons, Described first file of giving lessons is played out using the first teaching tempo;
Switch unit, using second teaching tempo, using the end time of giving lessons as starting point, to the mark of the lecture contents Know the corresponding second file of giving lessons to play out, the second teaching tempo is switched to from first teaching tempo to realize, it is described Second file of giving lessons is played out using second teaching tempo, described first give lessons file and the described second file of giving lessons it is same One moment, corresponding lecture contents were identical.
7. device according to claim 6, which is characterized in that the receiving unit is specifically used for:
Receive the pattern switching instruction of user's triggering.
8. device according to claim 6, which is characterized in that the receiving unit is specifically used for:
Monitoring network access module when network insertion pattern changes, receives the pattern switching instruction of automatic trigger, described Network insertion pattern includes wireless network mode and mobile cellular network access module.
9. device according to claim 6, which is characterized in that the switch unit is specifically used for:
Second is obtained according to the mark of the lecture contents from Cloud Server to give lessons file;
Described second is jumped to give lessons the corresponding play position of end time of giving lessons described in file;
Using second teaching tempo, file of giving lessons from the play position described second plays out.
10. according to the device described in claim 6-9, which is characterized in that
When first teaching tempo is video teaching tempo, second teaching tempo is audio teaching tempo;
Alternatively,
When first teaching tempo is audio teaching tempo, second teaching tempo is video teaching tempo.
CN201711459126.5A 2017-12-28 2017-12-28 The switching method and device of a kind of Voice and Video Pending CN108173939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711459126.5A CN108173939A (en) 2017-12-28 2017-12-28 The switching method and device of a kind of Voice and Video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711459126.5A CN108173939A (en) 2017-12-28 2017-12-28 The switching method and device of a kind of Voice and Video

Publications (1)

Publication Number Publication Date
CN108173939A true CN108173939A (en) 2018-06-15

Family

ID=62518890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711459126.5A Pending CN108173939A (en) 2017-12-28 2017-12-28 The switching method and device of a kind of Voice and Video

Country Status (1)

Country Link
CN (1) CN108173939A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024490A (en) * 2012-12-26 2013-04-03 北京奇艺世纪科技有限公司 Method and device supporting independent playing of audio and video
CN104581320A (en) * 2013-10-16 2015-04-29 中兴通讯股份有限公司 Method, device and terminal for switching play modes
CN105490894A (en) * 2015-11-27 2016-04-13 上海斐讯数据通信技术有限公司 Terminal capable of switching audio/video play modes and switching method of the terminal
CN106792075A (en) * 2017-01-04 2017-05-31 合网络技术(北京)有限公司 Video broadcasting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024490A (en) * 2012-12-26 2013-04-03 北京奇艺世纪科技有限公司 Method and device supporting independent playing of audio and video
CN104581320A (en) * 2013-10-16 2015-04-29 中兴通讯股份有限公司 Method, device and terminal for switching play modes
CN105490894A (en) * 2015-11-27 2016-04-13 上海斐讯数据通信技术有限公司 Terminal capable of switching audio/video play modes and switching method of the terminal
CN106792075A (en) * 2017-01-04 2017-05-31 合网络技术(北京)有限公司 Video broadcasting method and device

Similar Documents

Publication Publication Date Title
CN108012169B (en) A kind of interactive voice throws screen method, apparatus and server
CN104703036B (en) A kind of method, apparatus and system of synchronized multimedia file playback progress
CN105049903A (en) Method and system for cross-device synchronization of media files and media playing device
CN104837051B (en) Video broadcasting method and client
CN107864410B (en) Multimedia data processing method and device, electronic equipment and storage medium
CN106059904B (en) Method and system for scoring live broadcast songs based on instant messaging software
CN103151057A (en) Music playing method and third party application
CN101739437A (en) Implementation method for network sound-searching unit and specific device thereof
CN105117102A (en) Audio interface display method and device
CN104918129A (en) User-defined method and system of television desktop
CN104166547A (en) Channel control method and device
CN104168263A (en) Server and clock realization method thereof
CN103796181A (en) Playing method of sending message, system and related equipment thereof
JP6925469B2 (en) Smart microphone control server and system
CN104506957A (en) Method and device for displaying subtitles
CN103647997A (en) Data-resource transmission method and device
CN106782459A (en) Piano automatic Playing control system and method based on application program for mobile terminal
CN102663907B (en) Video teaching system and video teaching method
CN105005612B (en) A kind of acquisition methods and mobile terminal of music file
CN104410866A (en) Multimedia video-on-demand system capable of being operated by multiple terminals in same room
CN206400819U (en) Course recording arrangement and system
CN103607630B (en) Realizing method and device of dockbar of intelligent TV set and intelligent TV set
CN107871415A (en) Cloud classroom course switching method, device and system
CN108173939A (en) The switching method and device of a kind of Voice and Video
CN105282305A (en) Efficient learning method through integrated utilization of functions of mobile phone

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615