CN103632691A - Method for playing media file and electronic equipment - Google Patents

Method for playing media file and electronic equipment Download PDF

Info

Publication number
CN103632691A
CN103632691A CN201210299788.1A CN201210299788A CN103632691A CN 103632691 A CN103632691 A CN 103632691A CN 201210299788 A CN201210299788 A CN 201210299788A CN 103632691 A CN103632691 A CN 103632691A
Authority
CN
China
Prior art keywords
media file
file
judged result
information
play
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210299788.1A
Other languages
Chinese (zh)
Other versions
CN103632691B (en
Inventor
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210299788.1A priority Critical patent/CN103632691B/en
Publication of CN103632691A publication Critical patent/CN103632691A/en
Application granted granted Critical
Publication of CN103632691B publication Critical patent/CN103632691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for playing a media file and electronic equipment. The method is applied to an apparatus for playing a media file, and comprises obtaining content information of a currently played media file, the content information including at least one of audio information, text information, image information of the media file; determining whether the media file satisfies a preset pause condition based on the content information and obtaining a first determination result; and pausing the media file when the first determination result indicates that the media file satisfies the preset pause condition. According to the invention, automatic pause of the media file can be achieved according to the content of the media file, frequent manual operation of the electronic equipment is avoided, the service life of the electronic equipment is extended and user operation is simplified.

Description

A kind of media file playing method and electronic equipment
Technical field
The present invention relates to control field, particularly relate to a kind of media file playing method and electronic equipment.
Background technology
At present electronic equipment, all has the function of playing media file conventionally.So-called media file, can be video file, can be also audio file.
In practical application, user, when using electronic equipment to play media file, need to carry out certain action according to the content of media file sometimes.For example, according to the content study in video file, cook.Personage in video file executes after certain action, and user also needs to carry out identical action.Because user is in learning phase, so that it carries out the required time of action in video file is longer.For example, the personage in the video file of certain instruction cooking process says after " auricularia auriculajudae is soaked 30 minutes ", and the picture of video file can be switched to next step conventionally at once.And user is within the time in short, be difficult to auricularia auriculajudae to be immersed in the action in water, finally can cause user's action not catch up with the action in video file.
When there is above-mentioned situation, in prior art, can only wait user to complete after corresponding operation by manually controlling the broadcasting that electronic equipment suspends current media file, more manually control electronic equipment and continue to play described media file.Therefore, media file playing method of the prior art, need to carry out repeatedly manual operation to electronic equipment, increases the wearing and tearing to electronic equipment respective keys region, also to user, brings very big inconvenience.
Summary of the invention
The object of this invention is to provide a kind of media file playing method and electronic equipment, can realize according to the content of media file the automatic pause of playback of media files, avoid the frequent manual operation to electronic equipment, extend the life-span of electronic equipment, simplify user's operation.
For achieving the above object, the invention provides following scheme:
A media file playing method, is applied to playback of media files device, and described method comprises:
Obtain the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
According to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result;
When described the first judged result represents that described media file meets default time-out condition, suspend and play described media file.
Optionally, described media file is video file or audio file;
The described content information that obtains in progress media file comprises: obtain the audio-frequency information of current in progress video file or audio file, audio-frequency information is resolved, extract voice messaging wherein;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result and comprises: voice messaging is carried out to semantic analysis, whether if having time judge in voice messaging length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
Optionally, described media file is video file;
The described content information that obtains in progress media file comprises: the caption information that obtains current in progress video file;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains first and judgment result is that: caption information is carried out to semantic analysis, whether if having time judge in caption information length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
Optionally, described playback of media files device has image acquisition units, when described media file is video file,
The described content information that obtains in progress media file comprises: obtain the image information of current in progress video file, therefrom extract action message;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result and comprises: the action message that gathers user by described image acquisition units; Whether the action message that judges described user matches with the action message of extracting from video file, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling, obtains representing that described media file does not meet the first judged result of default time-out condition.
Optionally, described method also comprises: before playing media file, it is normal mode or mode of learning that play mode is set;
The described content information that obtains in progress media file further comprises before: judge the play mode of this media file, when play mode is mode of learning, obtain the content information of in progress media file; When play mode is normal mode, play-over this media file.
Optionally, described method also comprises:
When described media file is when suspending broadcast state, judge whether to meet and play trigger condition, obtain the second judged result;
When described the second judged result represents to meet broadcasting trigger condition, continue to play described media file.
Optionally, described in judge whether meet to play trigger condition, comprising:
Whether the time-out reproduction time that judges described media file meets setting-up time;
Wherein, described setting-up time is to obtain according to the content information of described media file.
Optionally, when described media file is video file, and playback of media files device is while having image acquisition units, described in judge whether to meet and play trigger condition, comprising:
Whether the action message that judges described user matches with the action message of extracting from video file, obtains the 3rd judged result;
Described video file is play in described continuation, comprising:
When described the 3rd judged result represents that the action message occurring in described user's action message and described video file matches, continue to play described video file.
An electronic equipment, described electronic equipment also comprises:
Media file content information acquiring unit, for obtaining the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
The first judging unit, for according to described content information, judges that whether described media file meets default time-out condition, obtains the first judged result;
Suspend playing control unit, while presetting time-out condition for representing that when described the first judged result described media file is satisfied, suspend and play described media file.
Optionally, described media file is video file or audio file;
Described media file content information acquiring unit comprises:
Voice messaging obtains subelement, for obtaining the audio-frequency information of current in progress video file or audio file, audio-frequency information is resolved, and extracts voice messaging wherein;
Described the first judging unit comprises:
Whether the first semantic analysis subelement, for voice messaging is carried out to semantic analysis, judge in voice messaging free length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
Optionally, described media file is video file;
Described media file content information acquiring unit comprises:
Caption information obtains subelement, for obtaining the caption information of current in progress video file;
Described the first judging unit comprises:
Whether the second semantic analysis subelement, for caption information is carried out to semantic analysis, judge in caption information free length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
Optionally, described playback of media files device has image acquisition units, and described media file is video file,
Described media file content information acquiring unit comprises:
Image information acquisition unit, for obtaining the image information of current in progress video file, therefrom extracts action message;
Described the first judging unit comprises:
User action information collecting unit, for gathering user's action message by described image acquisition units;
Action message judgment sub-unit, for judging whether described user's action message matches with the action message of extracting from video file, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling, obtains representing that described media file does not meet the first judged result of default time-out condition.
Optionally, also comprise:
Play mode setting unit, for before playing media file, it is normal mode or mode of learning that play mode is set;
Play mode judging unit, for before obtaining the content information of in progress media file, judges the play mode of this media file, when play mode is mode of learning, obtains the content information of in progress media file; When play mode is normal mode, play-over this media file.
Optionally, also comprise:
The second judging unit, for when described media file is when suspending broadcast state, judges whether to meet and plays trigger condition, obtains the second judged result;
Play and recover control module, while playing trigger condition for representing when described the second judged result to meet, continue to play described media file.
Optionally, described the second judging unit comprises:
Suspend reproduction time judgment sub-unit, for judging whether the time-out reproduction time of described media file meets setting-up time;
Wherein, described setting-up time is to obtain according to the content information of described media file.
Optionally, when described media file is video file, and playback of media files device has image acquisition units, and described the second judging unit comprises:
The 3rd judgment sub-unit, for judging that whether described user's action message matches with the action message of extracting from video file, obtains the 3rd judged result;
Described broadcasting recovers control module and comprises:
Play to recover control subelement, when representing that when described the 3rd judged result described user's action message and the action message that described video file occurs match, the described video file of continuation broadcasting.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Media file playing method of the present invention and electronic equipment, by obtaining the content information of in progress media file, according to described content information, judge whether described media file meets default time-out condition, and then according to judged result, suspend the broadcasting of described media file, can realize according to the content of media file the automatic pause of playback of media files, avoid the frequent manual operation to electronic equipment, extend the life-span of electronic equipment, simplify user's operation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of media file playing method embodiment 1 of the present invention;
Fig. 2 is the process flow diagram of media file playing method embodiment 2 of the present invention;
Fig. 3 is the process flow diagram of media file playing method embodiment 3 of the present invention;
Fig. 4 is the process flow diagram of media file playing method embodiment 4 of the present invention;
Fig. 5 is the structural drawing of electronic equipment embodiment 1 of the present invention;
Fig. 6 is the structural drawing of electronic equipment embodiment 2 of the present invention;
Fig. 7 is the structural drawing of electronic equipment embodiment 3 of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Media file playing method of the present invention, is applied to playback of media files device.Described media file can be audio file, can be also video file.Described playback of media files device, can be panel computer, notebook computer, MP4, MP3, smart mobile phone etc.
Fig. 1 is the process flow diagram of media file playing method embodiment 1 of the present invention.As shown in Figure 1, described method comprises:
Step 101: obtain the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
Concrete, the content information of described media file refers to audio-frequency information or the Word message that represents time span information, also can mean the image information of certain action.For example, the personage in certain video file says: " auricularia auriculajudae is soaked 30 minutes ".Now, in described video file, just there is representing the audio-frequency information " 30 minutes " of time span information.On the other hand, in described video file, can also there is representing the Word message of time span information, on captions, also can occur the Word message of " 30 minutes ".For another example, the personage in this video file makes while washing dish action, there will be the image information that represents to wash dish action in this video file.
Can adopt following manner to obtain the content information of described media file.
For audio-frequency information, can the audio-frequency information of this media file be gathered by the playout software of media file, then adopt speech recognition technology to identify described audio-frequency information.
For image information, can directly call the accessed video information of playout software of media file.
For Word message, the document content information that can get from the playout software of media file, using the information separated showing as captions out.Especially, some video file has independent subtitle file.At this moment, just can directly from described subtitle file, obtain Word message.
Step 102: according to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result;
For audio-frequency information, can judge the voice whether in described audio-frequency information with expression time span information.If judgment result is that to be, the time stopped so just representing according to described voice is play described media file, and time out can be identical with the time that described voice represent.
While adopting image information to control the broadcasting of media file, also need the action message in conjunction with the beholder of media file, specifically will introduce in detail in the following embodiments.
For Word message, can adopt semantic recognition technology to analyze the Word message getting, judge the word whether in described Word message with expression time span information.If judgment result is that to be, the time stopped so just representing according to described Word message is play described media file, and time out can be identical with the time of described textual representation.
Step 103: when described the first judged result represents that described media file meets default time-out condition, automatic pause is play described media file.That is,, when described the first judged result represents that described media file meets default time-out condition, produce a pause instruction; And respond described pause instruction, end the broadcasting of described media file.
Time out can be identical with the time that voice or Word message represent.
The media file playing method of the present embodiment, by obtaining the content information of in progress media file, according to described content information, judge whether described media file meets default time-out condition, and then according to judged result, suspend the broadcasting of described media file, can realize according to the content of media file the automatic pause of playback of media files, avoid the frequent manual operation to electronic equipment, extend the life-span of electronic equipment, simplify user's operation.
Media file playing method in one embodiment of the present of invention further comprises: when described the first judged result represents that described media file meets default time-out condition, respond described pause instruction and start for recording the timer (timing unit) of time out when ending the broadcasting of described media file; When writing time that described timer (timing unit) records, meet and from the content information of described media file, analyzes while obtaining described time out, generation play instruction; According to described play instruction, controlling described media file starts to continue to play from described time-out.
Media file playing method in an alternative embodiment of the invention further comprises: when described the first judged result represents that described media file meets default time-out condition, respond described pause instruction and start collecting unit when ending the broadcasting of described media file, described collecting unit is for gathering user's operation, to apply operation that the electronic equipment of described media file playing method judges described user whether with to analyze the operation information that the user that obtains need to carry out content information from described media file consistent; When described user's operation with content information from described media file, analyze operation information that the user that obtains need to carry out and start for the described timer (timing unit) that records time out when consistent; When writing time that described timer (timing unit) records, meet and from the content information of described media file, analyzes while obtaining described time out, generation play instruction; According to described play instruction, controlling described media file starts to continue to play from described time-out.This embodiment is more natural with use habit, interactive mode that comparing of a upper embodiment more meets user.In other words be exactly that to have applied the electronic equipment of the method more intelligent.A upper embodiment carrys out computing time for directly start timer (timing unit) when having met default time-out condition.And the present embodiment is another condition of having introduced when having met default time-out condition, this condition analyzes for judging whether user has really carried out in the content information of media file the operation information that resulting user need to carry out.For example, in media file explanation such as " auricularia auriculajudae soak 30 minutes ", when electronic equipment, judge user and carried out and just start timer when auricularia auriculajudae is put into water and carry out timing (time out is 30 minutes).
Fig. 2 is the process flow diagram of the embodiment 2 of media file playing method of the present invention.In the present embodiment, the Word message of take in video file describes as example.As shown in Figure 2, described method comprises:
Step 201: obtain the Word message in video file;
In this step, mainly refer to the caption information obtaining in video file.
The video file combining for caption information and video information, the document content information that can get from the playout software of media file, using the information separated showing as captions out.
For the video file with independent subtitle file, can directly from described subtitle file, obtain Word message.
Step 202: judge the word that whether has occurred representing time span information in described Word message, obtain the first judged result;
In this step, can adopt semantic analysis technology to judge whether to occur representing the word of time span information.The word that represents time span information can be 1 minute, 10 seconds, half an hour etc.These represent that the word of time span information has the structure of " number+time measure word " conventionally.Therefore, can utilize semantic analysis software to obtain each word in caption information, the word getting is mated with the word in default number class dictionary, if the match is successful for the word in the word getting and number class dictionary, the word after this number is mated with the word in time quantum part of speech dictionary, if the match is successful again, judge the word that has occurred representing time span information in described Word message.
In practical application, may not that each represents that the word of time span information needs to suspend broadcasting media file.In order to realize more accurately the control to playback of media files, can increase the strict degree of judgement.For example, satisfied " number+time measure word " this condition can be upgraded to " verb+number+time measure word ".First judge whether to occur the word of verb class, if there is, judge whether again to occur the word of number class, if there is, judge whether again the word of time of occurrence measure word class, if above-mentioned three judged results are, be to judge the word that has occurred representing time span information in described Word message.This is because such as " auricularia auriculajudae soak 30 minutes ", and " coddle ten minutes " etc. need to suspend in the phrase that video file plays, and conventionally all has the feature structure of " verb+number+time measure word ".
Step 203: when described the first judged result represents to have occurred the word of expression time span information in described Word message, suspend and play described media file;
Time out can be identical with the time of described textual representation.
In the present embodiment, can also comprise:
Step 204: whether the time-out reproduction time that judges described video file meets setting-up time, obtains the second judged result;
Wherein, described setting-up time is to obtain according to the content information of described media file.Can be using the time of described textual representation as setting-up time in the present embodiment.
Step 205: when described the second judged result represents that the time-out reproduction time of described video file meets setting-up time, continue to play described media file.
Fig. 3 is the process flow diagram of the embodiment 3 of media file playing method of the present invention.In the present embodiment, the audio-frequency information of take in media file describes as example.As shown in Figure 3, described method comprises:
Step 301: obtain the audio-frequency information in media file;
Can the audio-frequency information of this media file be gathered by the playout software of media file.For the media file with a plurality of tracks, can determine by audio analysis technology the track at voice place, only obtain the audio-frequency information of the track at voice place.
Step 302: judge the sound that whether has occurred representing time span information in described audio-frequency information, obtain the first judged result;
In this step, can adopt speech recognition technology to judge whether to occur representing the sound (being audio-frequency information) of time span information.The sound that represents time span information can be 1 minute, 10 seconds, half an hour etc.These represent that the sound of time span information has the structure of " number+time measure word " conventionally.Therefore, can utilize speech recognition software to obtain each word in audio-frequency information, the word getting is mated with the word in default number class dictionary, if the match is successful for the word in the word getting and number class dictionary, the word after this number is mated with the word in time quantum part of speech dictionary, if the match is successful again, judge the sound that has occurred representing time span information in described audio-frequency information.
In practical application, may not that each represents that the word of time span information needs to suspend broadcasting media file.In order to realize more accurately the control to playback of media files, can increase the strict degree of judgement.For example, satisfied " number+time measure word " this condition can be upgraded to " verb+number+time measure word ".First judge whether to occur the sound of verb class, if there is, judge whether again to occur the sound of number class, if there is, judge whether again the sound of time of occurrence measure word class, if above-mentioned three judged results are, be to judge the sound that has occurred representing time span information in described audio-frequency information.This is because such as " auricularia auriculajudae soak 30 minutes ", and " coddle ten minutes " etc. need to suspend in the phrase of playback of media files, conventionally all have the feature structure of " verb+number+time measure word ".
Step 303: when described the first judged result represents to have occurred the sound of expression time span information in described audio-frequency information, suspend and play described media file;
Time out can be identical with the time that described sound represents.
In the present embodiment, can also comprise:
Step 304: whether the time-out reproduction time that judges described media file meets setting-up time, obtains the second judged result;
Wherein, described setting-up time is to obtain according to the content information of described media file.The time that described sound can be represented in the present embodiment is as setting-up time.
Step 305: when described the second judged result represents that the time-out reproduction time of described media file meets setting-up time, continue to play described media file.
Fig. 4 is the process flow diagram of the embodiment 4 of media file playing method of the present invention.In the present embodiment, the image information of take in video file describes as example.It is pointed out that in the present embodiment except utilizing the image information in video file, can also to the broadcasting of video file, control in conjunction with out of Memory.As shown in Figure 4, described method comprises:
Step 401: obtain image information in video file and user's action message;
Concrete, the image information of obtaining in video file can directly be called the video information that playback of media files software gets.
The action message of obtaining user at least can comprise following two kinds of modes.
A kind of mode is to obtain by camera user's action message.
Another kind of mode is the combination by multiple sensors, monitors the physical state information of the object corresponding with action message, according to described physical state information, perception user's action message.For example, a plurality of cameras can be set on the table top in kitchen, pressure transducer, wherein, the table top in this kitchen is the first surface of an electronic equipment keeping flat (described electronic equipment is the electronic equipment of the broadcasting media file method of the application embodiment of the present invention), described a plurality of camera is arranged in described electronic equipment and has formed the first surface of described electronic equipment, that is, the array of a plurality of cameras has formed the first surface of described electronic equipment.Described pressure transducer can be corresponding one by one with the array of a plurality of cameras, also integrated described pressure transducer in specific region only.Further described electronic equipment can also show at first surface, and its array of display cells is corresponding one by one with the array of described a plurality of cameras.Thereby guarantee that the collection of camera and the demonstration of display unit are independent of each other.Particularly, each camera can collect the object information that place corresponding region, table top top.The bottle that holds salt can have different bar codes with the bottle that holds vinegar.By camera collection, arrive above-mentioned bar code information, and then can identify the content information in the vessel of placing on table top.By pressure transducer, can sense the weight information of the vessel of placing on table top.The action that user does is " in pot, adding 10 grams of salt ".Now, what can identify that the bar code of the vessel of being forced off the table represents by camera is salt, and the weight that then induces by pressure transducer the vessel of containing salt of putting back to table top has reduced 10 grams, just can judge " in pot, having added 10 grams of salt ".Make described electronic equipment determine described user and carried out corresponding action.
Step 402: whether the action message that judges described user matches with the action message of extracting from video file, obtains the first judged result;
Concrete, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling obtains representing that described media file does not meet the first judged result of default time-out condition.
For the first, obtain the mode of user's action message, can adopt image analysis technology, analyze image information in video file and camera collection to user's action message whether mate.For the second, obtain the mode of user's action message, can adopt image analysis technology to analyze the user's that system senses that whether action that the image information in video file represents form with a plurality of sensors arrives action message identical, so judge image information in video file and camera collection to user's action message whether mate.
Step 403: when described the first judged result represents that described user's action message does not match with the action message of extracting from video file, suspend and play described media file; In other words, user does not also complete the making step of teaching in video file, so need to suspending the broadcasting of media file, electronic equipment waits for that user completes relevant actions/operations etc. in practical operation, to guarantee that user can really learn the content of being taught in video file.
In the present embodiment, can also comprise:
Step 404: continue to judge that whether described user's action message matches with the described action message of extracting, and obtains the 3rd judged result from video file;
Step 405: when described the 3rd judged result represents that the action message occurring in described user's action message and described video file matches, continue to play described video file.
Above-mentioned two steps can realize after user completes the action in video, continue to play the video file having suspended.
Also it should be noted that, in the present embodiment, described method can also comprise: before playing media file, it is normal mode or mode of learning that play mode is set;
The described content information that obtains in progress media file further comprises before: judge the play mode of this media file, when play mode is mode of learning, obtain the content information of in progress media file; When play mode is normal mode, play-over this media file.
Wherein, about the setting of normal mode or mode of learning, can automatically realize by obtaining the mode of user action information.
For example, for obtain the first kind of way of user's action message by camera, after can matching with the action message of extracting from video file in the described user's of judgement action message, further can determine that user is carrying out the action in media file, the play mode of media file is set to mode of learning; If described user's action message is not mated with the action message of extracting from video file, the play mode of media file is set to normal mode.
For by the combination of multiple sensors, monitor the physical state information of the object corresponding with action message, according to described physical state information, the second way of perception user's action message, also can adopt image analysis technology analyze the user's that action that the image information in video file represents arrives with the system senses of a plurality of sensors compositions really action message identical after, the play mode of media file is set to mode of learning; If described user's action message is not mated with the action message of extracting from video file, the play mode of media file is set to normal mode.
The invention also discloses a kind of electronic equipment.Described electronic equipment can be panel computer, notebook computer, mobile phone etc.
Fig. 5 is the structural drawing of electronic equipment embodiment 1 of the present invention.As shown in Figure 5, described electronic equipment comprises:
Media file content information acquiring unit 501, for obtaining the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
The first judging unit 502, for according to described content information, judges that whether described media file meets default time-out condition, obtains the first judged result;
Suspend playing control unit 503, while presetting time-out condition for representing that when described the first judged result described media file is satisfied, suspend and play described media file.
The electronic equipment of the present embodiment, by obtaining the content information of in progress media file, according to described content information, judge whether described media file meets default time-out condition, and then according to judged result, suspend the broadcasting of described media file, can realize according to the content of media file the automatic pause of playback of media files, avoid the frequent manual operation to electronic equipment, extend the life-span of electronic equipment, simplify user's operation.
Fig. 6 is the structural drawing of electronic equipment embodiment 2 of the present invention.As shown in Figure 6, described electronic equipment comprises:
Voice messaging obtains subelement 601, for obtaining the audio-frequency information of current in progress video file or audio file, audio-frequency information is resolved, and extracts voice messaging wherein;
Described voice messaging obtains subelement 601 can be contained in described media file content information acquiring unit 501.
Whether the first semantic analysis subelement 602, for voice messaging is carried out to semantic analysis, judge in voice messaging free length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
Described the first semantic analysis subelement 602 can be contained in described the first judging unit 502.
Suspend playing control unit 503, while presetting time-out condition for representing that when described the first judged result described media file is satisfied, suspend and play described media file.
In the present embodiment, can also comprise:
The second judging unit 603, for when described media file is when suspending broadcast state, judges whether to meet and plays trigger condition, obtains the second judged result;
Wherein, described setting-up time is to obtain according to the content information of described media file.Can be using the time of described textual representation as setting-up time in the present embodiment.
Play and recover control module 604, while playing trigger condition for representing when described the second judged result to meet, continue to play described media file.
Fig. 7 is the structural drawing of electronic equipment embodiment 3 of the present invention.As shown in Figure 7, described electronic equipment comprises:
Image information acquisition unit 701, for obtaining the image information of current in progress video file, therefrom extracts action message;
Described image information acquisition unit 701 can be contained in described media file content information acquiring unit 501.
User action information collecting unit 702, for gathering user's action message by described image acquisition units;
Action message judgment sub-unit 703, for judging whether described user's action message matches with the action message of extracting from video file, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling, obtains representing that described media file does not meet the first judged result of default time-out condition.
Described user action information collecting unit 702 and action message judgment sub-unit 703 can be contained in described the first judging unit 502.
Suspend playing control unit 503, while presetting time-out condition for representing that when described the first judged result described media file is satisfied, suspend and play described media file.
In the present embodiment, can also comprise:
The 3rd judgment sub-unit 704, for judging that whether described user's action message matches with the action message of extracting from video file, obtains the 3rd judged result;
Play to recover control subelement 705, when representing that when described the 3rd judged result described user's action message and the action message that described video file occurs match, the described video file of continuation broadcasting.
Also it should be noted that, in the present embodiment, described electronic equipment can also comprise:
Play mode setting unit, for before playing media file, it is normal mode or mode of learning that play mode is set;
Play mode judging unit, for before obtaining the content information of in progress media file, judges the play mode of this media file, when play mode is mode of learning, obtains the content information of in progress media file; When play mode is normal mode, play-over this media file.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential hardware platform by software and realize, can certainly all by hardware, implement, but in a lot of situation, the former is better embodiment.Understanding based on such, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed electronic equipment of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. a media file playing method, is characterized in that, is applied to playback of media files device, and described method comprises:
Obtain the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
According to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result;
When described the first judged result represents that described media file meets default time-out condition, suspend and play described media file.
2. method according to claim 1, is characterized in that, described media file is video file or audio file;
The described content information that obtains in progress media file comprises: obtain the audio-frequency information of current in progress video file or audio file, audio-frequency information is resolved, extract voice messaging wherein;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result and comprises: voice messaging is carried out to semantic analysis, whether if having time judge in voice messaging length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
3. method according to claim 1, is characterized in that, described media file is video file;
The described content information that obtains in progress media file comprises: the caption information that obtains current in progress video file;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains first and judgment result is that: caption information is carried out to semantic analysis, whether if having time judge in caption information length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
4. method according to claim 1, is characterized in that, described playback of media files device has image acquisition units, when described media file is video file,
The described content information that obtains in progress media file comprises: obtain the image information of current in progress video file, therefrom extract action message;
Described according to described content information, judge that whether described media file meets default time-out condition, obtains the first judged result and comprises: the action message that gathers user by described image acquisition units; Whether the action message that judges described user matches with the action message of extracting from video file, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling, obtains representing that described media file does not meet the first judged result of default time-out condition.
5. method according to claim 1, is characterized in that, described method also comprises: before playing media file, it is normal mode or mode of learning that play mode is set;
The described content information that obtains in progress media file further comprises before: judge the play mode of this media file, when play mode is mode of learning, obtain the content information of in progress media file; When play mode is normal mode, play-over this media file.
6. according to the method described in claim 1-5 any one, it is characterized in that, described method also comprises:
When described media file is when suspending broadcast state, judge whether to meet and play trigger condition, obtain the second judged result;
When described the second judged result represents to meet broadcasting trigger condition, continue to play described media file.
7. method according to claim 6, is characterized in that, described in judge whether meet to play trigger condition, comprising:
Whether the time-out reproduction time that judges described media file meets setting-up time;
Wherein, described setting-up time is to obtain according to the content information of described media file.
8. method according to claim 6, is characterized in that, when described media file is video file, and playback of media files device is while having image acquisition units, described in judge whether to meet and play trigger condition, comprising:
Whether the action message that judges described user matches with the action message of extracting from video file, obtains the 3rd judged result;
Described video file is play in described continuation, comprising:
When described the 3rd judged result represents that the action message occurring in described user's action message and described video file matches, continue to play described video file.
9. an electronic equipment, is characterized in that, described electronic equipment also comprises:
Media file content information acquiring unit, for obtaining the content information of in progress media file, described content information comprises at least one in the audio-frequency information, Word message, image information of described media file;
The first judging unit, for according to described content information, judges that whether described media file meets default time-out condition, obtains the first judged result;
Suspend playing control unit, while presetting time-out condition for representing that when described the first judged result described media file is satisfied, suspend and play described media file.
10. electronic equipment according to claim 9, is characterized in that, described media file is video file or audio file;
Described media file content information acquiring unit comprises:
Voice messaging obtains subelement, for obtaining the audio-frequency information of current in progress video file or audio file, audio-frequency information is resolved, and extracts voice messaging wherein;
Described the first judging unit comprises:
Whether the first semantic analysis subelement, for voice messaging is carried out to semantic analysis, judge in voice messaging free length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
11. electronic equipments according to claim 9, is characterized in that, described media file is video file;
Described media file content information acquiring unit comprises:
Caption information obtains subelement, for obtaining the caption information of current in progress video file;
Described the first judging unit comprises:
Whether the second semantic analysis subelement, for caption information is carried out to semantic analysis, judge in caption information free length information; If had, obtain representing that described media file meets the first judged result of default time-out condition, otherwise, obtain representing that described media file does not meet the first judged result of default time-out condition.
12. electronic equipments according to claim 9, is characterized in that, described playback of media files device has image acquisition units, and described media file is video file,
Described media file content information acquiring unit comprises:
Image information acquisition unit, for obtaining the image information of current in progress video file, therefrom extracts action message;
Described the first judging unit comprises:
User action information collecting unit, for gathering user's action message by described image acquisition units;
Action message judgment sub-unit, for judging whether described user's action message matches with the action message of extracting from video file, if do not mated, obtain representing that described media file meets the first judged result of default time-out condition, if coupling, obtains representing that described media file does not meet the first judged result of default time-out condition.
13. electronic equipments according to claim 9, is characterized in that, also comprise:
Play mode setting unit, for before playing media file, it is normal mode or mode of learning that play mode is set;
Play mode judging unit, for before obtaining the content information of in progress media file, judges the play mode of this media file, when play mode is mode of learning, obtains the content information of in progress media file; When play mode is normal mode, play-over this media file.
14. according to the electronic equipment described in claim 9-13 any one, it is characterized in that, also comprises:
The second judging unit, for when described media file is when suspending broadcast state, judges whether to meet and plays trigger condition, obtains the second judged result;
Play and recover control module, while playing trigger condition for representing when described the second judged result to meet, continue to play described media file.
15. methods according to claim 14, is characterized in that, described the second judging unit comprises:
Suspend reproduction time judgment sub-unit, for judging whether the time-out reproduction time of described media file meets setting-up time;
Wherein, described setting-up time is to obtain according to the content information of described media file.
16. methods according to claim 14, is characterized in that, when described media file is video file, and playback of media files device has image acquisition units, and described the second judging unit comprises:
The 3rd judgment sub-unit, for judging that whether described user's action message matches with the action message of extracting from video file, obtains the 3rd judged result;
Described broadcasting recovers control module and comprises:
Play to recover control subelement, when representing that when described the 3rd judged result described user's action message and the action message that described video file occurs match, the described video file of continuation broadcasting.
CN201210299788.1A 2012-08-21 2012-08-21 A kind of media file playing method and electronic equipment Active CN103632691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299788.1A CN103632691B (en) 2012-08-21 2012-08-21 A kind of media file playing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299788.1A CN103632691B (en) 2012-08-21 2012-08-21 A kind of media file playing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103632691A true CN103632691A (en) 2014-03-12
CN103632691B CN103632691B (en) 2017-07-25

Family

ID=50213661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299788.1A Active CN103632691B (en) 2012-08-21 2012-08-21 A kind of media file playing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103632691B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851422A (en) * 2017-03-29 2017-06-13 苏州百智通信息技术有限公司 A kind of video playback automatic pause processing method and system
CN108024144A (en) * 2017-11-28 2018-05-11 网宿科技股份有限公司 Video broadcasting method, terminal and computer-readable recording medium
CN109754288A (en) * 2019-01-10 2019-05-14 深圳市沃特沃德股份有限公司 Advertisement page playback method, device, storage medium and computer equipment
CN111508474A (en) * 2019-08-08 2020-08-07 马上消费金融股份有限公司 Voice interruption method, electronic equipment and storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490762A (en) * 2006-07-12 2009-07-22 皇家飞利浦电子股份有限公司 A device and a method for playing audio-video content
CN102084319A (en) * 2008-06-03 2011-06-01 谷歌公司 A WEB-based system for collaborative generation of interactive videos
US20120101608A1 (en) * 2009-06-19 2012-04-26 Electronics And Telecommunications Research Institute Object-based audio system, object-based audio providing method, and object-based audio playing method using preset function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490762A (en) * 2006-07-12 2009-07-22 皇家飞利浦电子股份有限公司 A device and a method for playing audio-video content
CN102084319A (en) * 2008-06-03 2011-06-01 谷歌公司 A WEB-based system for collaborative generation of interactive videos
US20120101608A1 (en) * 2009-06-19 2012-04-26 Electronics And Telecommunications Research Institute Object-based audio system, object-based audio providing method, and object-based audio playing method using preset function

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851422A (en) * 2017-03-29 2017-06-13 苏州百智通信息技术有限公司 A kind of video playback automatic pause processing method and system
CN108024144A (en) * 2017-11-28 2018-05-11 网宿科技股份有限公司 Video broadcasting method, terminal and computer-readable recording medium
CN108024144B (en) * 2017-11-28 2020-07-10 网宿科技股份有限公司 Video playing method, terminal and computer readable storage medium
CN109754288A (en) * 2019-01-10 2019-05-14 深圳市沃特沃德股份有限公司 Advertisement page playback method, device, storage medium and computer equipment
CN109754288B (en) * 2019-01-10 2023-10-24 深圳市沃特沃德股份有限公司 Advertisement page playing method and device, storage medium and computer equipment
CN111508474A (en) * 2019-08-08 2020-08-07 马上消费金融股份有限公司 Voice interruption method, electronic equipment and storage device

Also Published As

Publication number Publication date
CN103632691B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN106227335B (en) Interactive learning method for preview lecture and video course and application learning client
CN107992587A (en) A kind of voice interactive method of browser, device, terminal and storage medium
CN104935980A (en) Interactive information processing method, client and service platform
CN109960809A (en) A kind of generation method and electronic equipment for dictating content
CN103559907B (en) The way of recording, device and terminal
CN109448460A (en) One kind reciting detection method and user equipment
CN107291416A (en) A kind of audio frequency playing method, system and terminal device
CN103632691A (en) Method for playing media file and electronic equipment
US20140013192A1 (en) Techniques for touch-based digital document audio and user interface enhancement
CN105635782A (en) Subtitle output method and device
CN105938543A (en) Addiction-prevention-based terminal operation control method, device, and system
CN102290081A (en) Language study play control method
US20160309202A1 (en) Method, apparatus, and system for playing multimedia file
CN103458321A (en) Method and device for loading subtitles
CN106803996A (en) A kind of monitoring method and device
CN110675674A (en) Online education method and online education platform based on big data analysis
CN104349173A (en) Video repeating method and device
CN106612378A (en) Incoming call disturbance avoiding method and device
CN103702213A (en) Video file playing method and electronic equipment
CN106998495A (en) A kind of video broadcasting method and device
CN202661996U (en) Multimedia terminal
CN106571087A (en) Teaching system with memory function, and teaching method
CN103746835A (en) Data downloading method and apparatus
CN107071575A (en) Paster media file playing method and device
CN105975494A (en) Service information pushing method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant