A kind of system and method for automatic playing audio-video document
Technical field
The present invention relates to a kind of technical field of electronic communication, more particularly to it is a kind of using the automatic playing audio-video text of ear stricture of vagina
The system and method for part.
Background technology
Under overall background Internet era current, Internet technology is just developed with unthinkable rapid pace, mutually
The prospect in networking epoch is good for industry, and terminal becomes one of emphasis of mobile Internet development, and the day of people is deeply implanted into
Often life.Used as carrier, its development trend will produce far-reaching influence to mobile terminal to mobile interchange business, around mobile interchange
The demand of net development, the developing trend of mobile Internet epoch mobile terminal is complete in close around user's request, providing the user
The service and experience in orientation;Used as most typically, most representational example in mobile terminal, the development of mobile phone is undoubtedly reflected and moved
Dynamic terminal development is most convictive.By taking China as an example, from the point of view of macroscopic aspect, the rapid expansion of domestic mobile phone market scale,
Constantly riseing for mobile phone production quantity, reflects the fast development of domestic mobile terminal market and technology.For mobile Internet
For, except mobile phone terminal, the necessarily developmental pattern of the mobile terminal product with wearable device as representative.
At present, with the progress and the popularization of individual terminal devices of society, people are also more next to the demand of individualized experience
More highlight, earphone is typically dispensed, because earphone has as the important accessory of mobile terminal device with individual mobile terminal equipment
The bodily form is compact, cheap, good looking appearance and it is convenient and practical the characteristics of, be deeply loved by the public;At present, the application of earphone has been
More and more extensively, particularly in public(For example on buses, subway and park etc.)The environment needed peace and quiet with some(Example
Such as hospital)Under, earphone is particularly important, because the presence of earphone, user still can freely listen oneself institute in these occasions
The music liked watches the video oneself liked, and which not only improves Consumer's Experience, it is often more important that do not affect it
Other people.
It is required for oneself going in mobile phone to ransack manually content and the progress played before, and nothing after the earphone of user's connection at present
Method carries out personal settings to different users, it is assumed that user listens music or viewing video by earphone, if at this moment
Someone wants to be chatted with him, and he must do a series of actions, including:Earphone is taken off, suspends audio frequency or video, may also be closed
The screen of terminal unit.After chat terminates, user if it is intended to continue listens music or viewing video, and he must do one and is again
Row action, including earphone is taken, opens mobile phone screen, and last to recover Voice & Video manually, these actions are quite loaded down with trivial details;Certainly
The user can also take earphone before chat, and earphone is put on after chat, but such audio frequency and video are remained and may proceed to what is played,
User just must find manually where original " interruption " again, in addition, this also results in equipment expends electric resources;And at present very
Multi-user puts on earphone and listens music or viewing video before getting used to sleeping, when sleep is prepared earphone is removed again, and closes
The power supply of terminal unit, if user wants to continue to listen music or viewing video for second day, it is necessary to play before finding manually
The application program of audio or video, and recover Voice & Video manually, these can all bring poor Consumer's Experience, and this is ability
Field technique personnel do not expect what is seen.
Therefore how finding one kind can automatically continue the remaining audio-video document of broadcasting when user puts on earphone again
System and method become those skilled in the art be devoted to study direction.
The content of the invention
For above-mentioned problem, the present invention discloses a kind of system of automatic playing audio-video document, is applied to connection
In having the terminal unit of earphone, the system includes:
Ear stricture of vagina acquisition module, to the ear stricture of vagina information for gathering user;
Real-time mark module, is connected with the ear stricture of vagina acquisition module, to utilize ear stricture of vagina information in real time to user's playing audio-video text
The broadcast information of part is marked;
Memory module, to the broadcasting for storing the ear stricture of vagina information of user and the audio-video document of ear stricture of vagina information the last time labelling
Information;
Multimedia processing module, to the broadcasting and stopping that controlling audio-video document;
Detecting real-time processing module, respectively with the process of the real-time mark module, the memory module and the multimedia
Module connects, and with detecting real-time ear stricture of vagina information, and judges whether to detect ear stricture of vagina information, if detecting ear stricture of vagina information, and detects
To ear stricture of vagina information and the memory module in the ear stricture of vagina information match that stores, then according to the ear stricture of vagina information from the storage
The broadcast information of the audio-video document of ear stricture of vagina information the last time labelling is transferred in module, and is controlled at the multimedia
Reason module is according to the broadcast information playing audio-video document.
Preferably, the broadcast information of user's playing audio-video document includes the storage of the audio-video document that user plays
Path and playing progress rate.
Preferably, if the detecting real-time processing module is detected less than ear stricture of vagina information, by the real-time mark module mark
The broadcast information of the audio-video document that the active user of note plays is stored into the memory module, and is controlled the multimedia and broadcast
Put processing module and stop playing audio-video document.
Preferably, if the detecting real-time processing module detects ear stricture of vagina information, and the ear stricture of vagina information for detecting with it is described
The ear stricture of vagina information stored in memory module is mismatched, then control the real-time mark module using ear stricture of vagina information flag active user
The broadcast information of playing audio-video document, and judge whether to detect ear stricture of vagina information, if so, then continue to control the real-time mark
The broadcast information of module marks active user's playing audio-video document;If it is not, then by the ear stricture of vagina information for detecting and active user
The broadcast information of the audio-video document of broadcasting is stored into the memory module, and stops playing audio-video document.
Preferably, the ear stricture of vagina acquisition module and the detecting real-time module are arranged on the earphone, the real-time mark
Note module, memory module, multimedia processing module and the processing module are arranged on the terminal unit.
Preferably, the terminal unit is mobile phone or panel computer.
The invention also discloses a kind of method of automatic playing audio-video document, is applied to be provided with terminal unit and earphone
System in, the terminal unit be provided with memory module, and the memory module user that is stored with ear stricture of vagina information and should
The broadcast information of the audio-video document of ear stricture of vagina information the last time labelling;Methods described includes:
Detecting real-time ear stricture of vagina information, and when ear stricture of vagina information is detected, judge the ear stricture of vagina information that detects whether with the storage
The ear stricture of vagina information match stored in module;
If the ear stricture of vagina information match stored in the ear stricture of vagina information for detecting and the memory module, according to the ear stricture of vagina
Information transfers the broadcast information of the audio-video document of ear stricture of vagina information the last time labelling from the memory module, and according to institute
Broadcast information playing audio-video document is stated, while broadcasting to user's playing audio-video document using the ear stricture of vagina information for detecting in real time
The information of putting is marked.
Preferably, the broadcast information of user's playing audio-video document includes the storage of the audio-video document that user plays
Path and playing progress rate.
Preferably, methods described also includes:If the ear stored in the ear stricture of vagina information for detecting and the memory module
Stricture of vagina information is mismatched, then judge whether playing audio-video document, if it is not, then with backed off after random;
Using the broadcast information of ear stricture of vagina information real-time mark active user's playing audio-video document.
Preferably, methods described also includes:Detecting real-time ear stricture of vagina information, and when detecting is less than ear stricture of vagina information, will detect
To ear stricture of vagina information and the broadcast information of audio-video document played of active user of labelling store into the memory module, together
When stop playing audio-video document.
Preferably, the terminal unit is mobile phone or panel computer.
Foregoing invention has the advantage that or beneficial effect:
A kind of system and method for automatic playing audio-video document disclosed by the invention, first with ear stricture of vagina acquisition module user is collected
Ear stricture of vagina information, the content and playing progress rate of the audio-video document then user played by real-time mark module are with its ear stricture of vagina
Information does real-time mark, and when user takes earphone, detecting real-time processing module is detected less than ear stricture of vagina information, then broadcast the user
The broadcast information of the audio-video document put is stored into memory module, and stops playing audio-video document, when the user wears again
During upper earphone, detecting real-time processing module can transfer the ear stricture of vagina information most according to the ear stricture of vagina information for detecting from memory module
The broadcast information of the audio-video document of a nearly labelling, and continue to broadcast according to the broadcast information control multimedia processing module
Put secondary not complete audio-video document;So that user continues broadcasting last time not complete audio frequency and video text by need to only taking earphone
Part, improves the experience of user.
Description of the drawings
By reading the detailed description made to non-limiting example with reference to the following drawings, the present invention and its feature, outward
Shape and advantage will become more apparent.Identical labelling indicates identical part in whole accompanying drawings.Not can according to than
Example draws accompanying drawing, it is preferred that emphasis is illustrate the purport of the present invention.
Fig. 1 is the system structure diagram of automatic playing audio-video document in the embodiment of the present invention;
Fig. 2 is the method flow diagram of automatic playing audio-video document in the embodiment of the present invention.
Specific embodiment
At present, the terminal unit such as mobile phone and computer is omnibearing incorporates daily life, using terminal unit
Playing audio-video document is not only sometimes a kind of entertainment way, is also a kind of mode of people's learning science cultural knowledge;And
For mobile phone or panel computer these hand-held terminal devices, due to being easy to carry, therefore people are in many public arenas
Can be entertained and be learnt using mobile phone or panel computer playing audio-video document(Such as public transport, waiting room, hospital
And park etc.), now, in order to leave other people alone, earphone is just particularly important;But after the earphone of user's connection at present all
Needs oneself go in mobile phone to ransack manually content and the progress played before;And as the ear stricture of vagina and fingerprint of earphone directly contact
It is unique, ear stricture of vagina recognition principle forms biometrics password by recording a series of geometric properties, so as to realize identification.
Therefore the audio-video document in order to allow user is faster, in convenient utilization earphone playing terminal equipment;The embodiment of the present invention is carried
A kind of system and method for automatic playing audio-video document is supplied;The local audio frequency and video text of broadcasting mobile phone is triggered automatically using ear stricture of vagina
Part, it is possible to its broadcasting content of real-time mark and progress;When earphone is taken, play and stop, to its ear stricture of vagina and real-time mark
Preserved, then can continue to play remaining audio-video frequency content when the user puts on earphone again.
Below in conjunction with the accompanying drawings the present invention is further illustrated with specific embodiment, but not as the limit of the present invention
It is fixed.
Embodiment one
As shown in figure 1, the present embodiment is related to a kind of system of automatic playing audio-video document, it is applied to be connected with the terminal of earphone
In equipment, it is preferred that the terminal unit is mobile terminal device, the earphone is wired earphone or wireless headset;The audio frequency and video text
Part is the local audio-video document of terminal unit;Specifically, the system includes:Ear stricture of vagina acquisition module, real-time mark module, storage
Module, multimedia processing module and detecting real-time processing module;Ear stricture of vagina acquisition module, to adopt when user takes earphone
The ear stricture of vagina information of collection user;Real-time mark module, is connected with ear stricture of vagina acquisition module, to utilize ear stricture of vagina information to play user in real time
The broadcast information of audio-video document is marked;Memory module to store user ear stricture of vagina information and the ear stricture of vagina information nearest one
The broadcast information of the audio-video document of secondary labelling;Multimedia processing module is to control the broadcasting of audio-video document and stop
Only;Detecting real-time processing module is connected respectively with real-time mark module, memory module and multimedia processing module, with real-time
Detecting ear stricture of vagina information, and judges whether to detect ear stricture of vagina information, if detect ear stricture of vagina information, and the ear stricture of vagina information for detecting with deposit
The ear stricture of vagina information match stored in storage module, then transfer the ear stricture of vagina information the last according to ear stricture of vagina information from memory module
The broadcast information of the audio-video document of labelling, and multimedia processing module is controlled according to broadcast information continuation playing audio-video
File;If the detecting of detecting real-time processing module plays the active user of real-time mark module marks less than ear stricture of vagina information
The broadcast information of audio-video document is stored into memory module, and controls multimedia processing module stopping playing audio-video text
Part, it is achieved thereby that the automatic broadcasting and stopping of audio-video document.
In a embodiment that can be excellent of the invention, the broadcast information of above-mentioned user's playing audio-video document is broadcast including user
The store path and playing progress rate of the audio-video document put(The playing progress rate generally refer to the time of audio-video document play into
Degree), for example, be stored with some films on mobile phone, and a film is stored in the RAM (random access memory) card of mobile phone, and user is playing the electricity
Shadow, the then store path and the time of the movie that the broadcast information of user's playing audio-video document is stored including film enters
Degree, such as movie time overall length are 2 hours, currently playing to 40 minutes.
In a embodiment that can be excellent of the invention, if detecting real-time processing module detects ear stricture of vagina information, and detect
Ear stricture of vagina information and memory module in the ear stricture of vagina information that stores mismatch(The ear stricture of vagina letter of active user is not stored in storage information
Breath, generally uses for the first time in the earphone playing terminal equipment for the user in the case of the unlatching of ear stricture of vagina identification function
Audio-video document), then broadcasting of the real-time mark module using ear stricture of vagina information flag active user's playing audio-video document is controlled
Information, and judge whether to detect ear stricture of vagina information, if so, then continue control real-time mark module marks active user's broadcasting sound and regard
The broadcast information of frequency file;If it is not, the broadcasting letter of the audio-video document for then playing the ear stricture of vagina information for detecting and active user
Breath is stored into memory module, and stops playing audio-video document.
Further, ear stricture of vagina information, and the ear stricture of vagina information for detecting and storage mould are detected in detecting real-time processing module
The ear stricture of vagina information stored in block is mismatched, then first judge the user whether playing audio-video document, if user's not playing audio-video
File, then do not carry out ear stricture of vagina real-time mark, if user's playing audio-video document, then real-time mark module is controlled using ear stricture of vagina information
The broadcast information of labelling active user's playing audio-video document.
In a embodiment that can be excellent of the invention, ear stricture of vagina acquisition module and detecting real-time module are arranged on earphone, its
Middle ear stricture of vagina acquisition module is arranged on the receiver of earphone;Real-time mark module, memory module, multimedia processing module and place
Reason module is arranged on terminal unit.
Further, the detecting real-time processing module includes Proximity Sensor, and the Proximity Sensor is preferably disposed on
On the left and right receiver of earphone, if there is user to put on earphone, the Proximity Sensor detects ear stricture of vagina and is less than apart from the distance of receiver
Preset distance, then judge that detecting real-time processing module detects ear stricture of vagina information;If user takes earphone, Proximity Sensor detection
It is more than preset distance to distance of the ear stricture of vagina apart from receiver, then judges that detecting real-time processing module is detected less than ear stricture of vagina information.
In a embodiment that can be excellent of the invention, above-mentioned mobile terminal device is the hand-held movement such as mobile phone or panel computer
Terminal unit.
In a embodiment that can be excellent of the invention, above-mentioned earphone is In-Ear Headphones.
In an optional embodiment of the present invention, above-mentioned earphone is additionally provided with ear stricture of vagina real-time control module, the ear stricture of vagina
Real-time control module is connected with ear stricture of vagina acquisition module, real-time mark module and detecting real-time processing module, only when the ear stricture of vagina reality
When control module open when, the system of above-mentioned automatic playing audio-video document could automatically control audio-video document according to ear stricture of vagina
Close and stop;If the ear stricture of vagina real-time control module is closed, above-mentioned earphone is then the not earphone with ear stricture of vagina identification function;This makes
Obtaining user can choose whether to need to play playing audio-video document automatically according to the demand of oneself, such that it is able to different use
Family carries out personal settings, is that user brings good experience.
Below the system of automatic playing audio-video document in the present embodiment is further elaborated with specific example:
After user A puts on earphone for the first time, detecting real-time processing module detects ear stricture of vagina information A1, and judges the ear stricture of vagina information
A1 whether with the ear stricture of vagina information match that stores in memory module, it is clear that because user A is to put on the earphone for the first time, then should
Ear stricture of vagina information A1 is mismatched with the ear stricture of vagina information of storage in memory module, then earphone end is gathered by the ear stricture of vagina being arranged on receiver
Module gathers the ear stricture of vagina information of user A(Such as ear stricture of vagina information A1), when user A plays manually the local audio-video document of mobile phone(Example
Such as play the film of entitled " M " that store in RAM (random access memory) card)When, then the real-time mark module triggered automatically on mobile phone goes real-time profit
The store path and reproduction time progress of the audio-video document played with ear stricture of vagina information A1 labelling user A;And trigger real on earphone
When detecting processing module go detecting real-time ear stricture of vagina information change situation.
After user first time A takes earphone, now detecting real-time processing module is detected less than ear stricture of vagina information A1, then triggered
Multimedia processing module stops playing audio-video document, while trigger memory module to go to preserve the ear stricture of vagina information of collection, and
Store the store path and reproduction time progress of the audio-video document of the ear stricture of vagina information first time labelling(For example with ear stricture of vagina information
The store path of A1 labellings for entitled " M " in the RAM (random access memory) card of mobile phone film, the reproduction time progress of storage is 40 minutes).
After user A puts on earphone for the second time, when detecting real-time processing module detects again ear stricture of vagina information A1, and from depositing
The real-time mark content matched with the ear stricture of vagina is called in storage module(It is handss for example with the store path of ear stricture of vagina information A1 labelling
The film of entitled " M " in the RAM (random access memory) card of machine, the reproduction time progress of storage is 40 minutes), and control multimedia process
Module is automatically continued from the film that time schedule is entitled " M " in the RAM (random access memory) card for commence play out for 40 minutes mobile phone, so as to need not
User A manual operations are capable of achieving the automatic broadcasting of audio-video document, are that user A has saved valuable time.
Embodiment two
As shown in Fig. 2 the invention also discloses a kind of method of automatic playing audio-video document, is applied to be provided with terminal unit
With playing audio-video document in the system of earphone, it is preferred that the terminal unit is mobile terminal device, the earphone is wired earphone
Or wireless headset, the audio-video document is the local audio-video document of terminal unit;The terminal unit is provided with memory module, and
The broadcast information of the ear stricture of vagina information of user that is stored with memory module and the audio-video document of ear stricture of vagina information the last time labelling;
Specifically, the method includes:
Detecting real-time ear stricture of vagina information, and when ear stricture of vagina information is detected, judge the ear stricture of vagina information that detects whether with memory module
The ear stricture of vagina information match of middle storage.
If the ear stricture of vagina information match stored in the ear stricture of vagina information for detecting and memory module, according to ear stricture of vagina information from depositing
The broadcast information of the audio-video document of ear stricture of vagina information the last time labelling is transferred in storage module, and sound is played according to broadcast information
Video file, while in real time the broadcast information of user's playing audio-video document is marked using the ear stricture of vagina information for detecting,
And continue detecting real-time ear stricture of vagina information.
If the ear stricture of vagina information for detecting is mismatched with the ear stricture of vagina information of storage in memory module(I.e. with the ear stricture of vagina information
User is played in the terminal unit using the earphone for the first time in the case where the ear stricture of vagina Real Time Control Function of the earphone is opened
Audio-video document), then playing audio-video document is continued to determine whether(The user for now needing the ear stricture of vagina information plays manually sound
Video file), if it is not, then not carrying out ear stricture of vagina real-time mark with backed off after random;
If the user's playing audio-video document with the ear stricture of vagina information, using ear stricture of vagina information real-time mark active user sound is played
The broadcast information of video file;And continue the situation of change of detecting real-time ear stricture of vagina information;If detecting ear stricture of vagina information and ear stricture of vagina being believed
Breath is unchanged, then continue with the broadcast information of ear stricture of vagina information real-time mark active user's playing audio-video document.
If detecting is less than ear stricture of vagina information, the audio frequency and video text that the active user of the ear stricture of vagina information for detecting and labelling is played
The broadcast information of part is stored into memory module, while stopping playing audio-video document.
In a embodiment that can be excellent of the invention, the broadcast information of above-mentioned user's playing audio-video document is broadcast including user
The store path and playing progress rate of the audio-video document put(The playing progress rate generally refer to the time of audio-video document play into
Degree).
In a embodiment that can be excellent of the invention, above-mentioned mobile terminal device is the hand-held movement such as mobile phone or panel computer
Terminal unit.
In a embodiment that can be excellent of the invention, above-mentioned earphone is In-Ear Headphones.
Below the present embodiment is further elaborated with specific example:
After user B puts on earphone, detecting real-time to ear stricture of vagina information B1, and judge ear stricture of vagina information B1 that detects whether with storage
The ear stricture of vagina information match stored in module.
If the ear stricture of vagina information match stored in ear stricture of vagina information B1 for detecting and memory module, according to ear stricture of vagina information B1
The broadcast information of the audio-video document of ear stricture of vagina information B1 the last time labelling is transferred from memory module, and according to broadcast information
Last time not complete audio-video document is played in continuation, while being broadcast to user's B playing audio-video documents using ear stricture of vagina information B1 in real time
The information of putting is marked, and continues detecting real-time ear stricture of vagina information B1, if detecting is less than ear stricture of vagina information, by ear stricture of vagina information B1 labelling
The broadcast information of user's B playing audio-video documents store into memory module, and stop playing audio-video document.
If ear stricture of vagina information B1 for detecting is mismatched with the ear stricture of vagina information of storage in memory module, continue to determine whether to broadcast
Playback video file(Now need the manual playing audio-video document of user of the ear stricture of vagina information), if it is not, then not entering with backed off after random
Any operation of row;If user's B playing audio-video documents, using ear stricture of vagina information B1 real-time mark active user playing audio-video text
The broadcast information of part;And continue detecting real-time ear stricture of vagina information;If can still detect ear stricture of vagina information B1, ear stricture of vagina letter is continued with
The broadcast information of breath B1 real-time mark active user's B playing audio-video documents.If detecting will be detected less than ear stricture of vagina information B
Ear stricture of vagina information B1 and the broadcast information of audio-video document played of active user of labelling store into memory module, while stopping
Only playing audio-video document.
It is seen that, the present embodiment is the method corresponding with the embodiment of the system of above-mentioned automatic playing audio-video document
Embodiment, the present embodiment can work in coordination enforcement with the embodiment of the system of above-mentioned automatic playing audio-video document.It is above-mentioned automatic
The relevant technical details mentioned in the embodiment of the system of playing audio-video document are still effective in the present embodiment, in order to reduce
Repeat, repeat no more here.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in above-mentioned automatic broadcasting
In the embodiment of the system of audio-video document.
To sum up, the system and method for automatic playing audio-video document disclosed by the invention, can cause user putting on ear
After machine, you can last time not complete audio-video document is played in continuation, and after user takes earphone, playing audio-video text is automatically stopped
Part, so as to be operated manually without the need for user by recover last time play video, provide users with the convenient, improve user
Experience.
The specific embodiment of the present invention has been described in detail above, but it is intended only as example, and the present invention is not limited
It is formed on particular embodiments described above.To those skilled in the art, any equivalent modifications that the present invention is carried out and
Replacement is also all among scope of the invention.Therefore, the impartial conversion made without departing from the spirit and scope of the invention and
Modification, all should cover within the scope of the invention.