CN103985398A - Audio playing system - Google Patents

Audio playing system Download PDF

Info

Publication number
CN103985398A
CN103985398A CN201410156907.7A CN201410156907A CN103985398A CN 103985398 A CN103985398 A CN 103985398A CN 201410156907 A CN201410156907 A CN 201410156907A CN 103985398 A CN103985398 A CN 103985398A
Authority
CN
China
Prior art keywords
audio file
receiver
play
broadcasting
player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410156907.7A
Other languages
Chinese (zh)
Inventor
钟擎天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Shang Hui Information Technology Co Ltd
Original Assignee
Qingdao Shang Hui Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Shang Hui Information Technology Co Ltd filed Critical Qingdao Shang Hui Information Technology Co Ltd
Priority to CN201410156907.7A priority Critical patent/CN103985398A/en
Publication of CN103985398A publication Critical patent/CN103985398A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an audio playing system. The audio playing system overcomes the defects that due the fact that when a current intelligent mobile terminal plays an audio file, the audio file is played again from the beginning after the intelligent mobile terminal is switched between a receiver and a loud speaker, time is wasted and user experience is lowered. The audio playing system comprises a sensor, a processor and a controller. The sensor is set to sense whether an object exists around a receiver or not in real time and obtain a sensing result. The processor is set to obtain the current playing position of the audio file and conduct playing device switching between the receiver and the loud speaker when the sensing result changes. The controller is set to control a player to play the audio file through the switched playing device according to the current playing position. The audio playing system can obviously improve user experience.

Description

A kind of audio frequency broadcast system
Technical field
The present invention relates to a kind of Play System, relate in particular to a kind of audio frequency broadcast system.
Background technology
Along with the development of development of Mobile Internet technology, spanning operation system platform that can real-time communication, also promptly enter popular daily life across the immediate communication tool of common carrier.This class immediate communication tool can carry out the communication of the contents such as voice, word, picture real-time, is very easy to popular communication.
The speech talkback technology of this class communication tool, be the audio file of recording transmitting terminal user at transmitting terminal by the intelligent mobile terminal such as mobile phone, panel computer, then in real time corresponding audio data stream sent to the intelligent mobile terminal of receiving end by network (as WiFi, 3G, 4G and GPRS etc.).Receiving end intelligent mobile terminal receives after this audio data stream, just can play corresponding audio file by the receiver of intelligent mobile terminal or loudspeaker.
More existing intelligent mobile terminals are in the time of displaying audio file, user has changed the distance between intelligent mobile terminal receiver and user's ear position, such as the intelligent mobile terminal being attached to before is in one's ear moved in face of user, now intelligent mobile terminal can be to adopt loudspeaker displaying audio file by adopting receiver displaying audio file auto-changing in real time, be convenient to improve the volume of playing, make after intelligent mobile terminal moves to the certain distance away from user's ear, user still can know and hear voice messaging.
But, in the process of displaying audio file, if causing audio frequency to be play automatically, the variation of user's posture or action produces switching between receiver or these two kinds broadcasting devices of loudspeaker, and audio file all needs to start anew to play.The repeat playing starting anew can make the reproduction time of whole file elongated, reduces user's experience.If the content of repeat playing is more, can the serious waste time.
Summary of the invention
Technical matters to be solved by this invention is while overcoming current intelligent mobile terminal displaying audio file, after switching between receiver and loudspeaker, starts anew to replay audio file, causes losing time and reducing the deficiency that user experiences.
In order to solve the problems of the technologies described above, the invention provides a kind of audio frequency broadcast system, for intelligent mobile terminal displaying audio file, described intelligent mobile terminal includes two to be play device and adopts the player of described two one of them displaying audio files of broadcasting device, and described two broadcasting devices are respectively receiver and loudspeaker; Wherein, this system comprises:
Inductor, is set in the time that described player adopts described receiver or loudspeaker to play described audio file, and described in sensing, whether the periphery of receiver has object and obtain sensing result in real time;
Processor, is set in the time that described sensing result changes, and obtains the current play position of described audio file, and the switching of playing device between described receiver and loudspeaker;
Controller, is set to control described player and adopts the broadcasting device after switching to play described audio file according to described current play position.
Preferably, described controller is further set in the time that described sensing result changes, and controls described player and suspends the described audio file one Preset Time section of broadcasting; And in the time that described Preset Time section arrives, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position.
Preferably, when described controller is set to described Preset Time section arrival, controls described player and start to adopt the broadcasting device switching to continue to play described audio file from described current play position.
Preferably, described processor is set to, in the time that described sensing result is changed to the periphery that represents described receiver and has object without object from the periphery that represents described receiver, broadcasting device be switched to described receiver from described loudspeaker; And in the time that described sensing result has object to be changed to represent the periphery of described receiver without object from representing the periphery of described receiver, broadcasting device is switched to described loudspeaker from described receiver.
Preferably, described controller comprises:
Determination module, is set in the paragraph of broadcasting between described current play position, determine a continued broadcasting position in the reference position of described audio file;
Control module, is set to control described player from described continued broadcasting position, adopts the broadcasting device after switching to play described audio file.
Preferably, described determination module is set to according to described playing duration that paragraph is corresponding and the default duration threshold value play, and determines described continued broadcasting position described in having play paragraph.
Preferably, when playing duration has been less than or equal to described duration threshold value described in described determination module is set to, the reference position of described audio file is defined as to described continued broadcasting position; And described playing duration is while being greater than described duration threshold value, determine described continued broadcasting position described in having play paragraph according to a default replay duration.
Preferably, to be set to the described playing duration of described audio file to deduct the location positioning that described replay duration is corresponding be described continued broadcasting position to described determination module.
Compared with prior art, the application's embodiment can be in the time of intelligent mobile terminal displaying audio file automatically plays with loudspeaker and plays and between these two kinds of modes, carry out self-adaptation switching and continue broadcasting at receiver, facilitate user to be undertaken by simple action according to the content of voice messaging that privacy is maintained secrecy or the operation such as Information Sharing, can not cause the repeat playing audio file that starts anew, save user time, the fluency of voice messaging is listened in guarantee, improves user and experiences.The application's embodiment replays from the reference position of audio file can avoid intelligent mobile terminal to switch broadcasting device time at every turn, prevent from causing user to occur uninteresting mood because of large section ground repeat playing, especially play again for playing more content the situation that device switches, can significantly improve user and experience.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in instructions, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for instructions, is used from and explains technical scheme of the present invention with the application's embodiment mono-, does not form the restriction to technical solution of the present invention.
Fig. 1 is the organigram of the audio frequency broadcast system of the embodiment of the present application.
Fig. 2 is the schematic flow sheet of the audio frequency playing method of the embodiment of the present application.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure of reaching relevant art effect can fully understand and implement according to this.Each feature in the embodiment of the present application and embodiment is the mutually combining under prerequisite of not conflicting mutually, all within protection scope of the present invention.
In addition, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing.And, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
The audio frequency broadcast system of the embodiment of the present application, for intelligent mobile terminal displaying audio file.This intelligent mobile terminal includes two to be play device and can adopt two players of playing one of them displaying audio file of device, plays device for these two and is respectively receiver and loudspeaker.Also, player both can adopt receiver displaying audio file independently, can adopt independently again loudspeaker displaying audio file.As shown in Figure 1, this Play System comprises inductor 110, processor 120 and controller 130 etc., wherein:
Inductor 110, is set in the time that player adopts receiver or loudspeaker displaying audio file, and whether the periphery of sensing receiver has object in real time, and obtains the sensing result that receiver periphery has object or there is no object.Wherein the periphery of receiver has the sensing result of object, represents that inductor 110 has object to exist near can sensing the receiver of intelligent mobile terminal; The periphery of receiver, without the sensing result of object, represents that inductor 110 has object to exist near responding to the receiver less than intelligent mobile terminal.In the application's embodiment, inductor 110 can be distance-sensor, can be also light sensor.It should be noted that, whether the dissimilar inductor how periphery of sensing receiver has object, not within the discussion scope of this patent.
It should be noted that, the intelligent mobile terminal under receiver is not the object of so-called receiver periphery herein.The object of so-called receiver periphery herein, refers to the object that is positioned at receiver place intelligent mobile terminal periphery, and what discuss is to be distributed in receiver object around, such as ear of user etc.
Player adopts receiver displaying audio file still to adopt loudspeaker displaying audio file, can set in advance, and can be also that intelligent mobile terminal carries out adaptively selected according to different situations.
For the situation setting in advance, user or manufacturer etc. can be receiver or loudspeaker by the broadcasting device default setting of audio file in advance on intelligent mobile terminal., under default scenario, the player in intelligent mobile terminal just can carry out displaying audio file according to default setting.User can, by modes such as amendments, change the broadcasting device of player plays audio file, and such as default setting is that player adopts receiver displaying audio file,, in having needs, user can be revised as adopts loudspeaker displaying audio file.Vice versa, default setting is for adopting loudspeaker displaying audio file, and, in having needs, user can be revised as adopts receiver displaying audio file.
For the adaptively selected receiver of the player in intelligent mobile terminal or loudspeaker displaying audio file, can be that user controls while playing this voice messaging, whether the periphery of the real-time sensing receiver of intelligent mobile terminal has object to exist, and automatically selects receiver or loudspeaker to play and the corresponding complete audio file of this voice messaging according to sensing result.
According to general use habit, user carries out the operation of displaying audio file or answer voice information etc. on intelligent mobile terminal, and when the object distance receiver of the receiver periphery of intelligent mobile terminal very closely can sensed device senses, can think that the receiver of intelligent mobile terminal should be attached to user in one's ear.Under this situation, the sensing result that the periphery that inductor can obtain receiver has object to exist, the player in intelligent mobile terminal can be selected the broadcasting device of receiver as displaying audio file automatically according to this sensing result, plays this audio file by receiver.And user carries out the operation of displaying audio file or answer voice information etc. on intelligent mobile terminal, and the object distance receiver of the receiver periphery of intelligent mobile terminal is compared with far away and while cannot sensed device sensing, can think that the receiver of intelligent mobile terminal should be not to be attached to user in one's ear.Under this situation, the periphery that inductor can obtain receiver does not have the sensing result of object, and player will be selected the broadcasting device of loudspeaker as displaying audio file automatically according to this sensing result, plays this audio file by loudspeaker.
In the application's embodiment, if sensing the periphery of receiver, inductor have object to exist, in the situation that there is no obvious external noise, general user is can be by receiver clear or comparatively clearly hear the content that the voice messaging of intelligent mobile terminal displaying audio file comprises.If sensing the periphery of receiver, inductor there is no object, in the situation that there is no obvious external noise, general user can not be clear or be difficult to clearly to hear the content that the voice messaging of intelligent mobile terminal displaying audio file comprises, now to adopt loudspeaker displaying audio file be proper to player, is convenient to the content that voice messaging that user can clearly hear electronic equipment displaying audio file comprises.
Processor 120, be connected with inductor 110, be set in the time that receiver periphery has object or do not have the sensing result of object to change, obtain the current play position of this audio file of player plays, this current play position is carried out to mark, and between receiver and loudspeaker, play the switching of device.In the application's embodiment, sensing result changes, and such as being has object to change to receiver periphery from receiver periphery there is no object, or does not have object to change to receiver periphery from receiver periphery to have object.
In the application's embodiment, be changed to while representing that the periphery of receiver has object from the periphery that represents receiver in sensing result without object, processor 120 switches to receiver by broadcasting device from loudspeaker.In sensing result, from the periphery that represents the periphery of receiver and have object to be changed to represent a receiver during without object, processor 120 switches to loudspeaker by broadcasting device from receiver.
If player is to adopt receiver displaying audio file before this sensing result changes, plays after device switches employing loudspeaker is carried out to follow-up play; If player is to adopt loudspeaker displaying audio file before this sensing result changes, plays after device switches employing receiver is carried out to follow-up play.
Particularly, if from representing that receiver periphery changes to and represents that receiver periphery has the sensing result of object without the sensing result of object, processor 120 switches to receiver by the broadcasting device of playing this audio file from loudspeaker, so that the follow-up play of this audio file adopts receiver to carry out.If from representing that receiver periphery has the sensing result of object to change to and represents the sensing result of receiver periphery without object, processor 120 switches to loudspeaker by the broadcasting device of playing this audio file from receiver, so that the follow-up play of this audio file adopts loudspeaker to carry out.
Conventionally under situation, user does not use the utility appliance such as earphone directly on intelligent mobile terminal when displaying audio file, be generally that intelligent mobile terminal is placed in front or is play by the side of and by loudspeaker, or intelligent mobile terminal is placed on to ear limit and plays by receiver.
When player in intelligent mobile terminal passes through loudspeaker displaying audio file, user by intelligent mobile terminal from face of or take by the side of ear limit and listen to voice messaging, if also continue to adopt loudspeaker displaying audio file, for general use scenes, it is excessive that the sound that intelligent mobile terminal displaying audio file produces will seem, easily stimulate the ear to user, bring sense of discomfort to user, reduce user and experience.And, be also unfavorable for the protection of secret content in voice messaging.Now, broadcasting device is switched to receiver from loudspeaker, not only can ensure that user clearly hears follow-up voice messaging, ensure that user listens to the comfort level of subsequent voice information, but also can ensure the privacy of subsequent voice information, prevent that other people from hearing the secret content in subsequent voice information.
When player in intelligent mobile terminal passes through receiver displaying audio file, user takes intelligent mobile terminal in front or listens to by the side of voice messaging from ear limit, if also continue to adopt receiver displaying audio file, for general use scenes, the sound that intelligent mobile terminal is play will seem too small, user is difficult to not hear the voice messaging that intelligent mobile terminal is play, and reduces user and experiences.And, be also unfavorable for sharing of voice messaging.Now, broadcasting device is switched to loudspeaker from receiver, not only can ensure that user clearly hears follow-up voice messaging, ensure that user listens to the comfort level of subsequent voice information, but also can ensure sharing in time of subsequent voice information, make around other people of user also can hear in time follow-up voice messaging.
Controller 130, is connected with processor 120, is set to control player according to the current play position of the audio file of 120 marks of processor, adopts the broadcasting device displaying audio file after switching.Such as, be to adopt receiver displaying audio file before, after switching, change loudspeaker displaying audio file into; And for example, be to adopt loudspeaker displaying audio file before, after switching, change receiver displaying audio file into.
In the application's embodiment, controller 130 can be set in the time that sensing result changes, and controls player and suspends displaying audio file one Preset Time section; And in the time that Preset Time section arrives, control player and adopt the broadcasting device displaying audio file after switching according to current play position.Such as, controller 130 can be set in the time that Preset Time section arrives, and controls player and starts to adopt the broadcasting device switching to continue displaying audio file from current play position.Processor 120 can complete the switching of playing device within the time period of this time-out, for providing time enough, this switching prepares, also avoided in the process of the continuous displaying audio file of player, because switch and play device and issuable noise suddenly, affect user's experience simultaneously.
Controller 130, in the time that this Preset Time section arrives, is controlled player according to this current play position, adopts the broadcasting device displaying audio file after switching.Such as, controller 130 can be set to arrive and complete after the switching between receiver and loudspeaker in this Preset Time section of suspending broadcasting, control intelligent mobile terminal from this current play position, adopt the broadcasting device after switching to continue to play this audio file.So process, intelligent mobile terminal is switched and play after device, can again not replay audio file from the reference position of audio file, user's listening period avoids waste, especially for the replaying of long period, can save in a large number user's time, ensure the fluency of linking up.
In the time that aforesaid sensing result changes, control intelligent mobile terminal and suspend this audio file one Preset Time section of broadcasting, be convenient to user and listen to and continue displaying audio file by the broadcasting device after switching and reserve and change and adaptation time, avoid playing the volume that device brings and changing suddenly and bring discomfort to user because switch in playing process continuously.On the other hand, in the process of continuous displaying audio file, switch and play device suddenly, be also difficult to avoid occurring tonequality sudden change, noise or other playback problem, by the time-out in playing process, also can effectively avoid.
As shown in Figure 2, in the application's embodiment, controller 130 includes determination module 131 and control module 132.Determination module 131 is connected with processor 120, is set in the paragraph of broadcasting between current play position, determine a continued broadcasting position in the reference position of audio file.Such as, determination module 131 can be set to, according to playing the playing duration that paragraph is corresponding and a duration threshold value of presetting, determine continued broadcasting position in playing paragraph.Control module 132 is connected with determination module 131, controls player from this continued broadcasting position, adopts the broadcasting device displaying audio file after switching.
For this situation, play position is to the part this current play position from this for audio file, and intelligent mobile terminal can adopt receiver and loudspeaker respectively to play one time.This processing mode, be convenient to user and can clearly listen to the voice messaging before and after this current play position, make user can be because of posture for a change, switch play device and play voice messaging volume suddenly from large to small or the variation holiday content of changing from small to big.Meanwhile, be also provided with a buffering for player adopts different variations of playing the generation of device displaying audio file, be convenient to this variation of user adaptation.And, this processing mode is switched after broadcasting device intelligent mobile terminal at every turn, can all not replay audio file from the reference position of audio file, the user's that avoids waste listening period, and effectively avoided user to repeat passively to listen to the play content of large section.Certainly,, if user wants again to listen to voice messaging from the reference position of audio file or forward position, can replay audio file by manual control and realize.
In the application's embodiment, determination module 131 is determined this continued broadcasting position in the reference position of audio file in the paragraph of broadcasting between this current play position, can carry out to the corresponding playing duration of the paragraph of broadcasting this current play position from reference position according to audio file.Such as, determination module 131 by this playing duration compare with a default duration threshold value, then in the paragraph of broadcasting of audio file, determine this continued broadcasting position according to comparative result.
In the application's embodiment, determination module 131 can be set to, in the time that the corresponding playing duration of the paragraph of broadcasting of audio file is less than or equal to this duration threshold value, the reference position of audio file is defined as to continued broadcasting position.In the time that the corresponding playing duration of the paragraph of broadcasting of audio file is greater than this duration threshold value, in playing paragraph, determine continued broadcasting position according to a default replay duration.
In the application's embodiment, this duration threshold value is such as can be 1 second.Certainly the duration of, being arranged to other numerical value is also fine certainly.Like this, if one the corresponding duration of the paragraph of audio file before the current play position at time-out place is less than or equal to 1 second, illustrate that now audio file has also only been play little by little content, can start anew completely to replay, be convenient to user complete, clearly hear the corresponding voice messaging of audio file.Under this situation, after switching broadcasting device, player just can continue to play from the reference position of audio file, be equivalent to replay this audio file.If the corresponding duration of the paragraph of this audio file before the current play position at time-out place is greater than 1 second, such as being 15 seconds, illustrate that now audio file has been play more content, user should not hear the most contents from reference position, only may be at the close end place that plays paragraph, because intelligent mobile terminal moves or other reasons etc. is not clearly heard corresponding information.Now, just need not replay from the starting position of audio file, avoid the clear content of listening to again to play one time and waste user's listening period, ensure that user listens to voice messaging glibly.Under this situation, after switching broadcasting device, just can, according to default replay duration, in the paragraph of broadcasting of audio file, determine a continued broadcasting position.Wherein, this replay duration is less than the playing duration of audio file.
In the application's embodiment, determination module 131 in controller 130 can be set in the time that the corresponding playing duration of the paragraph of broadcasting of audio file is greater than default duration threshold value, the whole playing duration of audio file can be deducted to corresponding position after this duration threshold value, be defined as this continued broadcasting position.In the application's embodiment, this replay duration can equal aforesaid duration threshold value.
The application's embodiment, can be applied to user and apply the scene of carrying out voice communication by micro-letter or other instant messagings.Such as, two users chat by the micro-letter on mobile phone separately respectively, first user sends a voice messaging to the second user.The second user's mobile phone receives after this voice messaging, with the form of audio file, this voice messaging is stored in to this locality.The second user, in the time controlling this voice messaging of broadcasting, on the desk in face of mobile phone is placed in, and adopts the form that loudspeaker is put to play this audio file outward.In the process of this audio file of broadcasting, the second user has changed posture, and the mobile phone on desk in face of being previously placed on is taken to ear limit.The second user's mobile phone senses this variation in real time, controls player and suspends and play 1 second of this audio file, and the broadcasting device that mobile phone is play voice messaging is switched to receiver from loudspeaker.In the time that arrive in 1 second of suspending, control player and adopt receiver to continue displaying audio file.
If the second user controls while playing this audio file, mobile phone is placed on to ear limit, the form that adopts receiver to play is play corresponding audio file.In the process of this audio file of broadcasting, the second user has changed posture, and the mobile phone that was previously placed on ear limit is taken on desk.The second user's mobile phone senses this variation in real time, controls mobile phone and suspends and play 1 second of this audio file, and the broadcasting device of playing voice messaging is switched to loudspeaker from receiver.In the time that arrive in 1 second of suspending, control player and adopt loudspeaker to continue displaying audio file.
In the time sensing in real time sensing result that earpiece periphery has or not object and change, also can control player from play position toward one section of content of reference position direction rebound of audio file.After the switching completing between receiver and loudspeaker, controlling player starts to adopt the broadcasting device switching to continue to play voice messaging again from jumped back to position, or suspending after a period of time, then controlling the broadcasting device of player from jumped back to position starts employing switching and continue to play voice messaging.
In some public occasions, or except user, also have under the sight of presence of others, user plays voice messaging by the loudspeaker of intelligent mobile terminal.Perceive follow-up voice messaging by the content of having play and may relate to inconvenient disclosed communication content, such as privacy or information that need to be secret between user, user can be placed into the receiver of intelligent mobile terminal rapidly the position near ear, now control player and stop continuing to play this audio file by loudspeaker, broadcasting device is switched to receiver.Then, control the position (be also aforesaid current play position) that stop broadcasting of player from audio file, or control player from the some positions of having play before the position that stops playing, adopt receiver to continue to play the remainder of this audio file.Like this, subsequent content just can not leaked to other people easily, has ensured to link up the privacy of content.Even, when user perceives follow-up communication content and relates to privacy or other private informations, can be promptly by the receiver of intelligent mobile terminal near any position of health, or near any object, intelligent mobile terminal will automatically switch into the mode that adopts receiver displaying audio file, has effectively prevented that the situation of playing private information in the presence of all from occurring.
Other situation, such as exchanging party information between friend, when aggregate information or other are wished communication content that many people know, the user of receiving end intelligent mobile terminal can take intelligent mobile terminal from ear position, intelligent mobile terminal just can stop displaying audio file, and the mode that adopts before receiver displaying audio file is automatically switched to the mode that adopts loudspeaker displaying audio file, then directly from stopping the continuous displaying audio file in position of broadcasting, or suspend after a period of time the continuous displaying audio file in position from stopping playing again, an or repeat playing part continue displaying audio file back from the position that stops playing, or suspend after a period of time a more back repeat playing part continue displaying audio file of position from stopping playing, be convenient to user's periphery other people can be together with user, listen to relevant voice messaging in the very first time simultaneously.
As shown in Figure 2, the audio frequency playing method of the embodiment of the present application mainly comprises following content:
Step S210, in the time that player adopts receiver or loudspeaker displaying audio file, whether the periphery of sensing receiver has object in real time, and the periphery that obtains receiver has the periphery of object or receiver without the sensing result of object.Wherein the periphery of receiver has object, and expression has object to exist near can sensing the receiver of intelligent mobile terminal; The periphery of receiver is without object, and representing has object to exist near the receiver of induction less than intelligent mobile terminal.
Step S220, in the time that receiver periphery has object or do not have the sensing result of object to change, obtain the current play position of this audio file of player plays, this current play position is carried out to mark, and switch between receiver and these two broadcasting devices of loudspeaker.
If intelligent mobile terminal is to adopt receiver displaying audio file before this sensing result changes, now enable loudspeaker in order to follow-up play; If intelligent mobile terminal is to adopt loudspeaker displaying audio file before this sensing result changes, now enable receiver in order to follow-up play.
Particularly, if from representing that receiver periphery changes to and represents that receiver periphery has the sensing result of object without the sensing result of object, player switches to receiver by the broadcasting device of playing this audio file from loudspeaker, so that the follow-up play of this audio file adopts receiver to carry out.If from representing that receiver periphery has the sensing result of object to change to and represents the sensing result of receiver periphery without object, player switches to loudspeaker by the broadcasting device of playing this audio file from receiver, so that the follow-up play of this audio file adopts loudspeaker to carry out.
Step S230, controls player according to the current play position of the audio file of institute's mark, adopts the broadcasting device displaying audio file after switching.
In the application's embodiment, can be in the time that the periphery of receiver has or do not have the sensing result of object to change, control player and suspend this audio file one Preset Time section of broadcasting, switching between receiver and loudspeaker can be carried out in this Preset Time section, for providing time enough, this switching prepares, also avoided in the process of the continuous displaying audio file of player, because switch and play device and issuable noise suddenly, affect user's experience simultaneously.
In the time that this Preset Time section arrives, control player according to this current play position, adopt the broadcasting device displaying audio file after switching.Such as, play this Preset Time section at time-out and arrive and complete after the switching between receiver and loudspeaker, control intelligent mobile terminal from this current play position, adopt the broadcasting device continuation after switching to play this audio file.So process, intelligent mobile terminal is switched and play after device, can again not replay audio file from the reference position of audio file, user's listening period avoids waste, especially for the replaying of long period, can save in a large number user's time, ensure the fluency of linking up.
In the time that aforesaid sensing result changes, control intelligent mobile terminal and suspend this audio file one Preset Time section of broadcasting, be convenient to user and listen to and continue displaying audio file by the broadcasting device after switching and reserve and change and adaptation time, avoid playing the volume that device brings and changing suddenly and bring discomfort to user because switch in playing process continuously.On the other hand, in the process of continuous displaying audio file, switch and play device suddenly, be also difficult to avoid occurring tonequality sudden change, noise or other playback problem, by the time-out in playing process, also can effectively avoid.
The application's embodiment also can, after switching completes, determine a continued broadcasting position in the reference position of audio file in the paragraph of broadcasting between this current play position of suspending.Then, control player from this continued broadcasting position of audio file, adopt the remainder of this audio file of broadcasting device continuation broadcasting after switching.
In the application's embodiment, reference position at audio file is determined this continued broadcasting position in the paragraph of broadcasting between this current play position, can carry out to the corresponding playing duration of the paragraph of broadcasting this current play position from reference position according to audio file.Particularly, when the corresponding playing duration of the paragraph of broadcasting of audio file is less than or equal to default duration threshold value, just the reference position of audio file is defined as to this continued broadcasting position.When the corresponding playing duration of the paragraph of broadcasting of audio file is greater than default duration threshold value, just in the paragraph of broadcasting of audio file, determine this continued broadcasting position according to a default replay duration.
It is apparent to those skilled in the art that each ingredient of the system that above-mentioned the embodiment of the present application provides, and each step in method, they can concentrate on single calculation element, or are distributed on the network that multiple calculation elements form.Alternatively, they can be realized with the executable program code of calculation element.Thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Although the disclosed embodiment of the present invention as above, the embodiment that described content only adopts for ease of understanding the present invention, not in order to limit the present invention.Those of skill in the art under any the present invention; do not departing under the prerequisite of the disclosed spirit and scope of the present invention; can in the form of implementing and details, carry out any amendment and variation; but scope of patent protection of the present invention, still must be as the criterion with the scope that appending claims was defined.

Claims (8)

1. an audio frequency broadcast system, for intelligent mobile terminal displaying audio file, described intelligent mobile terminal includes two to be play device and adopts the player of described two one of them displaying audio files of broadcasting device, and described two broadcasting devices are respectively receiver and loudspeaker; Wherein, this system comprises:
Inductor, is set in the time that described player adopts described receiver or loudspeaker to play described audio file, and described in sensing, whether the periphery of receiver has object and obtain sensing result in real time;
Processor, is set in the time that described sensing result changes, and obtains the current play position of described audio file, and the switching of playing device between described receiver and loudspeaker;
Controller, is set to control described player and adopts the broadcasting device after switching to play described audio file according to described current play position.
2. system according to claim 1, wherein:
Described controller is further set in the time that described sensing result changes, and controls described player and suspends the described audio file one Preset Time section of broadcasting; And in the time that described Preset Time section arrives, control described player and adopt the broadcasting device after switching to play described audio file according to described current play position.
3. system according to claim 2, wherein:
When described controller is set to described Preset Time section arrival, controls described player and start to adopt the broadcasting device switching to continue to play described audio file from described current play position.
4. system according to claim 1 and 2, wherein:
Described processor is set to, in the time that described sensing result is changed to the periphery that represents described receiver and has object without object from the periphery that represents described receiver, broadcasting device be switched to described receiver from described loudspeaker; And in the time that described sensing result has object to be changed to represent the periphery of described receiver without object from representing the periphery of described receiver, broadcasting device is switched to described loudspeaker from described receiver.
5. system according to claim 1 and 2, wherein, described controller comprises:
Determination module, is set in the paragraph of broadcasting between described current play position, determine a continued broadcasting position in the reference position of described audio file;
Control module, is set to control described player from described continued broadcasting position, adopts the broadcasting device after switching to play described audio file.
6. system according to claim 5, wherein:
Described determination module is set to according to described playing duration that paragraph is corresponding and the default duration threshold value play, and determines described continued broadcasting position described in having play paragraph.
7. system according to claim 6, wherein:
When playing duration has been less than or equal to described duration threshold value described in described determination module is set to, the reference position of described audio file is defined as to described continued broadcasting position; And described playing duration is while being greater than described duration threshold value, determine described continued broadcasting position described in having play paragraph according to a default replay duration.
8. system according to claim 7, wherein:
It is described continued broadcasting position that described determination module is set to the described playing duration of described audio file to deduct the location positioning that described replay duration is corresponding.
CN201410156907.7A 2014-04-18 2014-04-18 Audio playing system Pending CN103985398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410156907.7A CN103985398A (en) 2014-04-18 2014-04-18 Audio playing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410156907.7A CN103985398A (en) 2014-04-18 2014-04-18 Audio playing system

Publications (1)

Publication Number Publication Date
CN103985398A true CN103985398A (en) 2014-08-13

Family

ID=51277341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410156907.7A Pending CN103985398A (en) 2014-04-18 2014-04-18 Audio playing system

Country Status (1)

Country Link
CN (1) CN103985398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875960A (en) * 2017-01-19 2017-06-20 努比亚技术有限公司 The player method and mobile terminal of a kind of audio file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223784A (en) * 2000-02-10 2001-08-17 Matsushita Electric Ind Co Ltd Output switching circuit for portable terminal
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103702163A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system of dynamically outputting audio file and television

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001223784A (en) * 2000-02-10 2001-08-17 Matsushita Electric Ind Co Ltd Output switching circuit for portable terminal
CN102843464A (en) * 2012-08-03 2012-12-26 深圳市金立通信设备有限公司 System and method utilizing distance sensor to adjust call audio output mode
CN103702163A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system of dynamically outputting audio file and television

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875960A (en) * 2017-01-19 2017-06-20 努比亚技术有限公司 The player method and mobile terminal of a kind of audio file

Similar Documents

Publication Publication Date Title
CN103985394A (en) Audio file playing method
CN106488302B (en) Method for switching audio output, playback equipment and playback system
CN103984518A (en) Intelligent mobile terminal
CN106454644B (en) Audio playing method and device
CN103019529A (en) Volume adjustment method and system
JP6186518B2 (en) Voice call prompt method, apparatus, program, and recording medium
CN107621933B (en) Audio playing method and device and related medium product
WO2017045453A1 (en) Monitoring method and device based on earphone
WO2018028071A1 (en) Audio playback system, and hearing protection method for use when playing back audio using same
WO2017148270A1 (en) Volume control method and device, and terminal
CN103985400A (en) Audio file playing system
CN103985396A (en) Audio playing method
CN111770416A (en) Loudspeaker control method and device and electronic equipment
CN106341757A (en) Sound source simultaneous playing method, device and terminal
CN107329727B (en) Volume control method and device and computer storage readable storage medium
CN103985405A (en) Audio player
CN106648540B (en) Music switching method and device
CN112565876A (en) Screen projection method, device, equipment, system and storage medium
CN111107226A (en) Volume control method applied to mobile terminal
CN103985398A (en) Audio playing system
US20200244809A1 (en) Method of automatically playing a voice message, and smart phone and computer program product implementing the same
KR100632506B1 (en) Mobile phone with broadcast display function and control method
CN103985397A (en) Electronic device
CN111835922A (en) Multi-channel call voice control method and device
JP2013197812A (en) Audio equipment control program and mobile telephone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140813

RJ01 Rejection of invention patent application after publication