CN107623777A - Terminal and its control method for playing back, computer-readable recording medium - Google Patents
Terminal and its control method for playing back, computer-readable recording medium Download PDFInfo
- Publication number
- CN107623777A CN107623777A CN201710757223.6A CN201710757223A CN107623777A CN 107623777 A CN107623777 A CN 107623777A CN 201710757223 A CN201710757223 A CN 201710757223A CN 107623777 A CN107623777 A CN 107623777A
- Authority
- CN
- China
- Prior art keywords
- terminal
- play
- information
- control method
- resource
- 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
Links
Abstract
The present invention provides a kind of terminal plays control method, by detection terminal and the connection status of external headphones, and after terminal and external headphones successful connection is detected, judge that play-back application automatically turns on whether condition meets, if it is satisfied, then open corresponding play-back application;Solving the problems, such as, which needs user to carry out troublesome operation to terminal manually, could realize that audio plays, realize the process of the corresponding play-back application on automatically selecting and opening a terminal, avoid the need for a series of process that user manually performs troublesome operations, it is convenient for users, improve user experience.The invention also discloses a kind of terminal and computer-readable recording medium, and by implementing such scheme, solving, which needs user to perform some in terminal, arranges the cumbersome operation ability corresponding audio content of uppick, it has not been convenient to the problem of user uses.
Description
Technical field
The present invention relates to communication technique field, more specifically to a kind of terminal and its control method for playing back, computer
Readable storage medium storing program for executing.
Background technology
Bluetooth earphone exactly applies Bluetooth technology in hands-free headsets, allows user to exempt leading for irritating electric wire
Stumble, comfortable ground is easily conversed, listens to music etc. in a variety of ways.It is largely convenient for users, therefore, bluetooth ear
Machine just receives the extensive concern of people and liked once appearance.
But in some practical application scenes using bluetooth earphone, often it is unfavorable for user's operation in the presence of some
Situation, have impact on the use feeling of user.For example, when user is in ride, it is desirable to hear song, typically at least need
User opens bluetooth earphone, then waits after being successfully connected with mobile phone, then take out the corresponding music APP of mobile phone open and (apply journey
Sequence), corresponding play list is selected, user can be only achieved the purpose for listening song.And for the sake of security, also need to stop certainly
Come, after having performed aforesaid operations, could continue to start to ride.Therefore, for a user, operating process is comparatively laborious, not side
Just user uses, and have impact on the mood that user rides.
In another example in the way of seating public transport (such as bus, track traffic) on and off duty, it is generally very crowded,
Now when user wishes when this timing node, enrich oneself, improve the English level of oneself, it is necessary to listen to corresponding
During english programs, user similarly needs to perform the troublesome operation of some row, in this crowded compartment, is made to user's operation
Into serious inconvenience.
Based on above-mentioned listed practical problem and other it is that may be present using bluetooth earphone operating process it is cumbersome
The problem of, it is clear that at present urgently a solution to solve the above problems.
The content of the invention
The technical problem to be solved in the present invention is:It is existing after terminal is connected with external headphones, it is necessary to which user is at end
Some are performed on end and arranges the cumbersome operation ability corresponding audio content of uppick (such as listen song, listen to storytelling, broadcast), it has not been convenient to
User uses, and is even more inconvenience for user particularly in some practical application scenes (such as ride, take pubic transport),
It has impact on user experience.For the technical problem, there is provided a kind of terminal and its control method for playing back, computer-readable storage
Medium.
In order to solve the above technical problems, the present invention provides a kind of terminal plays control method, the terminal plays controlling party
Method includes:
After detecting terminal and external headphones successful connection;
Judge that play-back application automatically turns on whether condition meets;
As met, then play-back application is automatically turned on.
Optionally, the play-back application automatically turns on condition and included:
Judge that the external headphones have the play-back application of association.
Optionally, the play-back application for judging that the external headphones have association includes:
The identification information of the external headphones is obtained, should with playing by the identification information and default earphone identification information
Being matched with the first mapping table of program, when play-back application corresponding with the identification information be present, being judged
The play-back application of association be present in the external headphones.
Optionally, the play-back application automatically turns on condition and included:
Receive the enabled instruction that the external headphones are sent.
Optionally, after the automatic opening play-back application, in addition to:
Resource matched information is obtained, according to resource matched information matches audio resource to be played, and is treated described
The audio resource of broadcasting is sent to the external headphones to play out.
Optionally, the resource matched information includes current time information;It is described according to the resource matched information matches
Audio resource to be played includes:
The second mapping table of temporal information and audio resource is obtained, by the current time information and described second pair
The first audio resource that relation table is matched to obtain is answered as the audio resource to be played.
Optionally, the resource matched information includes current location information of terminal;It is described according to the resource matched information
Matching audio resource to be played includes:
The 3rd mapping table of positional information and audio resource is obtained, by the current location information of terminal and described the
The second audio resource that three mapping tables are matched to obtain is as the audio resource to be played.
Optionally, the external headphones are bluetooth earphone.
Further, present invention also offers a kind of terminal, the terminal to include processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize described in any of the above item
Terminal plays control method the step of.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium
It is stored with one or more program, one or more of programs can be by one or more computing device, to realize
The step of terminal plays control method described in any of the above item.
Beneficial effect
The present invention provides a kind of terminal and its control method for playing back, computer-readable recording medium, for existing at end
End with after external headphones connection, it is necessary to which user performs some in terminal arranges in the corresponding audio of cumbersome operation ability uppick
Hold, it has not been convenient to the problem of user uses, by detection terminal and the connection status of external headphones, and detecting terminal and outside
After earphone successful connection, judge that play-back application automatically turns on whether condition meets, if it is satisfied, then opening corresponding play
Application program;Solving the problems, such as, which needs user to carry out troublesome operation to terminal manually, could realize that audio plays, and realize certainly
The process of the corresponding play-back application on selecting and opening a terminal is moved, user is avoided the need for and manually performs a series of cumbersome behaviour
The process of work, it is convenient for users, improve user experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention;
Fig. 2 is a kind of basic flow sheet for terminal plays control method that first embodiment of the invention provides;
Fig. 3 is that the terminal interface that first embodiment of the invention provides sets schematic diagram one;
Fig. 4 is that the terminal interface that first embodiment of the invention provides sets schematic diagram two;
Fig. 5 is that the terminal interface that first embodiment of the invention provides sets schematic diagram three;
Fig. 6 is the schematic flow sheet for another terminal plays control method that first embodiment of the invention provides;
Fig. 7 is the basic flow sheet for the terminal plays control method that second embodiment of the invention provides;
Fig. 8 is the terminal structure schematic flow diagram that third embodiment of the invention provides.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
First embodiment
In order to solve during existing earphone is used cooperatively with terminal, it is necessary to user carried out in terminal it is a series of numerous
Trivial operation, it has not been convenient to which user uses, particularly in some practical application scenes (such as ride, take pubic transport), to user
For be even more inconvenience, the problem of have impact on user experience.The present embodiment provides a kind of terminal plays control method, refers to
Fig. 2, Fig. 2 are the basic flow sheet for the terminal plays control method that the present embodiment provides, and this method comprises the following steps:
S201, detect terminal and external headphones successful connection.
In the present embodiment, terminal can be specifically the equipment such as mobile phone, music player, and external headphones include wireless headset,
Such as bluetooth earphone etc..The connection state of detection terminal and external headphones, and detecting that terminal is successfully connected with external headphones
Afterwards, subsequent step S202 is performed, namely judges whether to meet that play-back application automatically turns on condition.
It should be appreciated that terminal and external headphones successful connection, can specifically refer to both " successful matchings ", namely outside
The voice data that portion's earphone can be sent with receiving terminal, and played out according to the voice data, allow users to normally listen to
To relevant audio content;When the external headphones have audio collection function (such as being provided with sound pick-up), it should also be possible to by
The audio collected is sent to terminal, so that the terminal is handled.Such as the acoustic information of collection user is sent to mobile phone reality
Now converse.
The state-detection whether being successfully connected for both, can use existing any-mode, the present embodiment to this simultaneously
It is not limited.For example, it may be when external headphones receive the connection request of terminal, the legitimacy of the connection request is tested
Checking information is carried in card, the generally connection request, external headphones parse to the checking information in the connection request, with
Verified, determine whether the access of the terminal.If the verification passes, then it can feed back one to terminal and be successfully accessed letter
Number, it is successfully connected with characterizing both.Terminal receive the external headphones transmission this be successfully accessed signal when, it can be determined that with
The external headphones, which realize, to be successfully connected.Certainly, after authentication failed, terminal may receive connecing for external headphones feedback
Enter failure signal, now terminal may determine that and the external headphones connection failure.
S202, judge whether to meet that play-back application automatically turns on condition;As met, step S203 is gone to, it is such as no, turn
To step S204.
After terminal and external headphones successful connection is detected, it should judge whether terminal meets oneself of play-back application
Dynamic unlocking condition, if meeting automatic opening condition, step S203 is performed, namely triggering automatically turns on and plays application accordingly
Program.Realize when terminal is successfully accessed external headphones, automatically open up the process of play-back application, intelligent and high-efficiency is convenient, no
The manually operated execution of user is needed, it is greatly convenient for users.
Certainly, when being unsatisfactory for automatic opening condition, then existing any-mode can be used to handle, do not limited herein
System.
In the present embodiment, there is provided the following two kinds specifically judges the mode for meeting automatic opening condition:
Mode one:After detecting terminal and external headphones are successfully connected, judge whether to associate with the external headphones
Play-back application, if there is the play-back application associated with the external headphones, it is determined that meet automatic opening condition.
If it is determined that in the absence of the play-back application associated with the external headphones, it is determined that be unsatisfactory for the automatic opening condition.
Specifically, the identification information of external headphones can be obtained, by the identification information and the identification information pre-set with
The first mapping table between play-back application is compared, and judges whether to play application corresponding to the identification information
Program, if it is determined that in the presence of play-back application corresponding with the identification information, it is determined that the external headphones have broadcasting for association
Put application program.Wherein, the play-back application of the association is play-back application corresponding to the identification information.It should illustrate
, the identification informations of external headphones can be earphone title (such as " * * earphone ") or earphone model (such as
) or earphone sequence number (such as SN codes, Serial Number, product ID) JVC-H30.Wherein, the first correspondence
Relation table may refer to shown in following table (table 1):
Table 1
Identification information | Play-back application |
Liu Yang earphone | BBC |
JVC-H30 | KuGoo music |
FL4QG2CEG79N | KuGoo music |
In order to more fully understand, illustrated with reference to specific example:User can set interface pin in terminal Bluetooth
To oneself bluetooth earphone (being, for example, " JVC-H30 "), refer to Fig. 3, set play-back application that the earphone associates (such as
For " KuGoo music "), refer to Fig. 4.After only needing user by once setting, when terminal is detecting the bluetooth earphone
When " JVC-H30 " is successfully connected, play-back application " KuGoo music " associated with it can be opened directly to trigger, it is not necessary to
User performs following troublesome operation again:Terminal is taken out first, is then unlocked, and finds corresponding play-back application " KuGoo music "
Icon, finally click on opening again.These operating process are directly eliminated by this programme, are detecting terminal and the bluetooth ear
When machine " JVC-H30 " is successfully connected, play-back application " KuGoo music " associated with it can be opened directly to trigger, greatly
It is convenient for users.
It should be appreciated that when judging that external headphones have the play-back application of association, terminal can trigger immediately
Corresponding play-back application is opened, delays when can also be accordingly and just opens.
Mode two:When terminal receives the enabled instruction of external headphones transmission, it is determined that meeting automatic opening condition.
After terminal and external headphones are successfully connected, user directly can send one to terminal by the external headphones and touch
Signal (namely enabled instruction), the play-back application associated with the external headphones is opened for triggering terminal.For example, pass through
The mode of broadcasting button in long-press external headphones, or by way of double-clicking the volume key in external headphones, sent out to terminal
Give the enabled instruction.In this, above-mentioned cumbersome operation is just performed by terminal without user and realizes that starting corresponding play applies journey
The process of sequence.
Specifically, referring to Fig. 5, user can open " automatic start when receiving enabled instruction " function of terminal,
When terminal receives the enabled instruction of external headphones transmission, automatic triggering starts the broadcasting application journey associated with the external headphones
Sequence.
S203, automatically turn on play-back application.
When judging to meet the automatic opening condition of play-back application, terminal automatically turns on corresponding play and applies journey
Sequence.
S204, do not automatically turn on play-back application.
It should be appreciated that when judging to be unsatisfactory for the automatic opening condition, existing any processing mode can be used
Handled, such as user manually boots play-back application.
It is more user-friendly in order to preferably use the present invention, the terminal plays control method that the present embodiment provides,
After the step of automatically turning on play-back application, Fig. 6 is referred to, can further include following steps:
S601, after detecting terminal and external headphones successful connection, judge to meet that play-back application automatically turns on condition
When, automatically turn on play-back application.
This step is similar to above-mentioned steps S201-S204, and detailed process refers to described above, will not be repeated here.
S602, obtain resource matched information.
After play-back application is automatically turned on, resource matched information can be obtained by terminal.In the present embodiment, resource
Match information is specifically including but not limited to:Current time information, current location information of terminal, broadcasting frequency information, playing duration
Information and the last broadcasting record information etc..
S603, according to resource matched information matches audio resource to be played.
When the resource matched information of acquisition is current time information, according to resource matched information matches audio to be played
Resource specifically includes:Obtain the second mapping table of the temporal information that pre-sets and audio resource, got described
Current time information is matched with second mapping table, so as to obtain the first audio corresponding with the current time information
Resource, and the first audio resource that the matching is obtained is as audio resource to be played.
Wherein, the second mapping table may refer to shown in following table (table 2):
Table 2
Temporal information | Audio resource |
8:00-9:00 | The U.S. text 100 of English |
12:30-13:00 | Classical light music 20 is first |
17:00-18:00 | Describe red building in detail |
It should be appreciated that above-mentioned second mapping table can flexibly be set according to the actual demand of user, for example, with
Wish to be on duty in way (8 at oneself in family:00-9:00) this period, is made full use of, improves the English level of oneself, it can
With the audio resource (" English U.S. text 100 " in such as table 2) of correlation, after terminal, which detects, to be successfully connected with external headphones,
The enabled instruction or directly automatically open up what is associated with the external headphones that terminal can be sent according to user by external headphones
Play-back application, obtain current temporal information, it is assumed that be 8:10, illustrate that user now wants to listen to the English resources, with
The English level of oneself is lifted, now terminal can select and the current time information 8:" English is beautiful for audio resource corresponding to 10
Text 100 " is sent to the external headphones and played out.Process entirely is listened to, terminal is operated completely without user, it is right
The operation of external headphones be also very simple it is convenient (by the external headphones to terminal send enabled instruction directly trigger startup with
Play-back application corresponding to the external headphones), external headphones are not carried out possibly even with any operation, and (it is outer that terminal starts this
The play-back application of portion's earphone association), it is greatly convenient for users, riding or taking traffic in particular for user
During the complex situations that the inconvenience such as instrument is operated to terminal, also can easily solve.
Similarly, it is to be played according to resource matched information matches when resource matched information is current location information of terminal
Audio resource includes:Obtain the 3rd mapping table of positional information and audio resource, the terminal current location that will be got
The second audio resource that information and the 3rd mapping table are matched to obtain is as audio resource to be played.Described 3rd
Mapping table may refer to shown in following table (table 3):
Table 3
Positional information | Audio resource |
Family | Audio resource 1 |
Company | Audio resource 2 |
* parks | Audio resource 3 |
It should be noted that when the resource matched information of acquisition is broadcasting frequency information, it that is to say user to not unisonance
The broadcasting frequency of frequency resource, it can be played out successively according to the height of broadcasting frequency;The resource matched information obtained can be with
It is playing duration information, the playing duration that terminal can be with counting user to different audio resources, obtains the broadcasting of each audio resource
Duration, then played out successively according to the length of playing duration;The resource matched information obtained can also be the broadcasting application
The the last of program plays record information, the audio resource according to corresponding to the last time plays record information acquisition, by this
Audio resource is as audio resource to be played.
It should be appreciated that audio resource to be played can be reading audio of a first song, a piece of article etc., can also
It is that (the inside may include multiple broadcasting fragments etc. to an audio file, such as number of songs inside a music folder, one
Multiple reading chapters and sections of piece masterpiece etc.) or an attribute broadcasting classification (such as in a music player software
" classical music " etc., the inside include the number of songs of same attribute " classics ").Specific audio resource to be played can according to
Family actual demand is flexibly configured, and is not limited herein.The corresponding mode for playing audio resource can be played in order, also may be used
To be loop play, naturally it is also possible to be shuffle.
Above-mentioned resource matched process is carried out after corresponding play-back application is automatically opened up, it should be appreciated that
The audio resource that different play-back applications is correspondingly arranged can be with identical, it can also be provided that different;Different earphone (titles
Difference, model difference, sequence number difference etc.) play-back application of association can be different, and can also be identical.
S604, the audio resource to be played is sent to the external headphones to play out.
When it is determined that audio resource to be played accordingly be present, the audio resource to be played is sent to external headphones
To play out.So as to realize the process for automatically selecting and playing of audio resource, it is not necessary to which user participates in performing, and facilitates use
Family uses.
In the present embodiment, for triggering automatically open up the play-back application associated with external headphones, can also use with
Under type:The identification information of binding time information and external headphones, specifically it may refer to shown in following table (table 4):
Table 4
That is, same external earphone can be directed to, different play-back applications is set in different time;For different
External headphones, the play-back application of setting can also can flexibly be set, to be more bonded with identical according to user's actual need
User's request, lift Consumer's Experience.
In some instances, after detecting that terminal and external headphones disconnect, will can also be currently running
Play-back application terminates process, exits the play-back application, to save power consumption of terminal.
In the present embodiment, before terminal and external headphones are successfully connected, it can also include:User opens bluetooth earphone
Bluetooth function, terminal receive the bluetooth earphone caused by Bluetooth signal, the identification information of the bluetooth earphone is obtained, according to the mark
When information judges to exist in terminal checking information corresponding with the bluetooth earphone, when the usual checking information is user's first connection
It is previously entered, terminal can preserve the checking information.So as to realize the company with the bluetooth earphone automatically according to the checking information
Connect.
Or can also be judged according to the identification information of the bluetooth earphone when play-back application associated with it be present,
Direct triggering terminal actively initiates connection request to the bluetooth earphone, equally, needs to carry corresponding checking in the connection request
Information, to ensure successfully to realize and connect with the bluetooth earphone.
The terminal plays control method that the present embodiment provides, by when detecting terminal and after external headphones successful connection,
When judging that the external headphones have the play-back application of association, or receiving the enabled instruction of external headphones transmission, automatically
The play-back application associated with the external headphones is opened, solving needs user's manual unlocking correlation play-back application, no
The problem of being user-friendly;Further, corresponding resource matched information can also be obtained, it is automatic to realize that selection is treated accordingly
The process of playing resource, it is not necessary to which user participates in performing, and solves user very well and (such as is ridden in some practical application scenes
Or ride public transportation means) inconvenient using terminal the problem of, significant increase user experience.Further, may be used also
So that when disconnecting the connection with external headphones, current play-back application is exited in automatic triggering, to save the power consumption of terminal.
Second embodiment
The present embodiment combination actual example, further to be illustrated to terminal plays control method provided by the invention.
Fig. 7 is referred to, Fig. 7 is the schematic flow sheet for the terminal plays control method that second embodiment of the invention provides, and this method includes:
S701, bluetooth earphone receive the open command that user issues.
Specifically, user can be by pressing the power on button on bluetooth earphone, namely issuing for open command is realized, it is blue
Tooth earphone monitors so as to outwards launch Bluetooth signal for user mobile phone.
S702, mobile phone monitor the Bluetooth signal of the bluetooth earphone, judge whether to belong to target Bluetooth earphone;In this way, turn
To step S703;It is such as no, go to step S704.
In the present embodiment, target Bluetooth earphone is preset for user, and broadcasting application associated with it is opened for triggering
The bluetooth earphone of program.Mobile phone can judge the identification information of the bluetooth earphone by the Bluetooth signal monitored, so as to it is pre-
If earphone identification information and play-back application mapping table carry out wind matching, if in the presence of the identification information pair with acquisition
The play-back application answered, it may be determined that the bluetooth earphone is target Bluetooth earphone;Otherwise, then judge the bluetooth earphone for non-mesh
Mark bluetooth earphone.
S703, mobile phone obtain the checking information corresponding with the bluetooth earphone prestored, and actively to the bluetooth earphone
Connection request is initiated, the checking information is carried in the connection request.
When the checking information can be that the mobile phone is connected by user with the bluetooth earphone first, the checking being manually entered connects
Password.The checking can be connected password and be preserved by mobile phone, and connection request reality is initiated to the bluetooth earphone so as to active
Now connect.
S704, it is not attached actively.
When it is not target Bluetooth earphone to judge the bluetooth earphone, then mobile phone actively can not initiate to connect to the bluetooth earphone
Connect request.It can specifically be handled using existing processing mode.
S705, bluetooth earphone receive the connection request of mobile phone transmission, and the checking information to wherein carrying is verified,
And it is successfully connected signal to mobile phone feedback when being verified.
S706, mobile phone receive when being successfully connected signal of bluetooth earphone feedback, it is determined that both are successfully connected, and beat automatically
Open the play-back application of bluetooth earphone association.
It is determined that when being successfully connected with the bluetooth earphone, play-back application associated with it is automatically opened up, realization is beaten automatically
Open the process of related play-back application.Avoid the need for user and carry out cumbersome operation.
S707, current time information is obtained, and obtain audio resource corresponding with the temporal information, the audio resource is sent out
The bluetooth earphone is given to play out.
It can specifically be selected current with acquisition according to the temporal information and the mapping table of audio resource pre-set
Audio resource corresponding to temporal information, to play out processing.
S708, when judging that mobile phone and the bluetooth earphone disconnect, the play-back application is carried out to exit processing.
When detecting that mobile phone disconnects with the bluetooth earphone, the key that user can be pressed on the bluetooth earphone is pressed
Button, Bluetooth function is disconnected, so as to the connection with mobile phone.After disconnection, it may indicate that user wishes to close and play, in order to save end
Power consumption is held, directly the process of corresponding play-back application can be killed, exit the play-back application.
3rd embodiment
The present embodiment additionally provides a kind of terminal, shown in Figure 8, and it is total that it includes processor 81, memory 82 and communication
Line 83, wherein:
Communication bus 83 is used to realize the connection communication between processor 81 and memory 82;
Processor 81 is used to perform one or more programs for storing in memory 82, with realize above-mentioned first embodiment and
Each step of terminal plays control method in second embodiment.
The present embodiment also provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has one
Or multiple programs, one or more of programs can be by one or more computing devices, to realize that above-mentioned first is real
Apply each step of the terminal plays control method in example and second embodiment.It is specific perform step refer to first embodiment and
Second embodiment, do not repeating herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of terminal plays control method, it is characterised in that the terminal plays control method includes:
Detect that terminal automatically turns on whether condition meets with after external headphones successful connection, judging play-back application;
As met, then play-back application is automatically turned on.
2. terminal plays control method as claimed in claim 1, it is characterised in that the play-back application automatically turns on bar
Part includes:
Judge that the external headphones have the play-back application of association.
3. terminal plays control method as claimed in claim 2, it is characterised in that described to judge that the external headphones have pass
The play-back application of connection includes:
The identification information of the external headphones is obtained, the identification information and default earphone identification information are applied into journey with playing
First mapping table of sequence is matched, when play-back application corresponding with the identification information be present, described in judgement
The play-back application of association be present in external headphones.
4. terminal plays control method as claimed in claim 1, it is characterised in that the play-back application automatically turns on bar
Part includes:
Receive the enabled instruction that the external headphones are sent.
5. the terminal plays control method as described in claim any one of 1-4, it is characterised in that played in described automatically turn on
After application program, in addition to:
Resource matched information is obtained, according to resource matched information matches audio resource to be played, and will be described to be played
Audio resource be sent to the external headphones to play out.
6. terminal plays control method as claimed in claim 5, it is characterised in that when the resource matched information includes current
Between information;The audio resource to be played according to the resource matched information matches includes:
The second mapping table of temporal information and audio resource is obtained, by current time information pass corresponding with described second
It is the first audio resource that table is matched to obtain as the audio resource to be played.
7. terminal plays control method as claimed in claim 5, it is characterised in that the resource matched information is worked as including terminal
Front position information;The audio resource to be played according to the resource matched information matches includes:
The 3rd mapping table of positional information and audio resource is obtained, by the current location information of terminal and described 3rd pair
The second audio resource that relation table is matched to obtain is answered as the audio resource to be played.
8. terminal plays control method as claimed in claim 5, it is characterised in that the external headphones are bluetooth earphone.
9. a kind of terminal, it is characterised in that the terminal includes processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of terminal plays control method described in one.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 8
Any one of terminal plays control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757223.6A CN107623777A (en) | 2017-08-29 | 2017-08-29 | Terminal and its control method for playing back, computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757223.6A CN107623777A (en) | 2017-08-29 | 2017-08-29 | Terminal and its control method for playing back, computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107623777A true CN107623777A (en) | 2018-01-23 |
Family
ID=61088194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710757223.6A Pending CN107623777A (en) | 2017-08-29 | 2017-08-29 | Terminal and its control method for playing back, computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107623777A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109195146A (en) * | 2018-10-31 | 2019-01-11 | 南昌与德软件技术有限公司 | A kind of data transmission method and device, electronic equipment and storage medium |
CN112286483A (en) * | 2020-10-29 | 2021-01-29 | 维沃移动通信有限公司 | Audio playing control method and device and electronic equipment |
CN113039516A (en) * | 2018-11-22 | 2021-06-25 | 深圳市欢太科技有限公司 | Method and device for processing application program and electronic equipment |
WO2022110631A1 (en) * | 2020-11-27 | 2022-06-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system to display applications based on bluetooth connection |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
CN103257873A (en) * | 2013-04-18 | 2013-08-21 | 北京小米科技有限责任公司 | Method and system for controlling intelligent terminal device |
CN103313164A (en) * | 2013-07-08 | 2013-09-18 | 王恩惠 | Earphone capable of intelligently controlling audio playing |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
CN105812568A (en) * | 2016-04-15 | 2016-07-27 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for automatically playing music |
CN106843923A (en) * | 2016-12-14 | 2017-06-13 | 广东小天才科技有限公司 | A kind of startup method and device of the audio application of mobile terminal |
-
2017
- 2017-08-29 CN CN201710757223.6A patent/CN107623777A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024193A (en) * | 2012-12-25 | 2013-04-03 | 北京百度网讯科技有限公司 | Mobile terminal and play control method and play control device for same |
CN103257873A (en) * | 2013-04-18 | 2013-08-21 | 北京小米科技有限责任公司 | Method and system for controlling intelligent terminal device |
CN103313164A (en) * | 2013-07-08 | 2013-09-18 | 王恩惠 | Earphone capable of intelligently controlling audio playing |
CN105491469A (en) * | 2014-09-15 | 2016-04-13 | Tcl集团股份有限公司 | Method and system for controlling audio output mode based on wearing earphone state |
CN105812568A (en) * | 2016-04-15 | 2016-07-27 | 惠州Tcl移动通信有限公司 | Mobile terminal and method for automatically playing music |
CN106843923A (en) * | 2016-12-14 | 2017-06-13 | 广东小天才科技有限公司 | A kind of startup method and device of the audio application of mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109195146A (en) * | 2018-10-31 | 2019-01-11 | 南昌与德软件技术有限公司 | A kind of data transmission method and device, electronic equipment and storage medium |
CN113039516A (en) * | 2018-11-22 | 2021-06-25 | 深圳市欢太科技有限公司 | Method and device for processing application program and electronic equipment |
CN112286483A (en) * | 2020-10-29 | 2021-01-29 | 维沃移动通信有限公司 | Audio playing control method and device and electronic equipment |
WO2022110631A1 (en) * | 2020-11-27 | 2022-06-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and system to display applications based on bluetooth connection |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107145293A (en) | A kind of screenshot method, mobile terminal and storage medium | |
CN107864357A (en) | Video calling special effect controlling method, terminal and computer-readable recording medium | |
WO2021129529A1 (en) | Device switching method and related device | |
CN107147928A (en) | Play method, terminal and the computer-readable recording medium of video | |
CN107704571A (en) | Information intelligent recommends method, apparatus and computer-readable recording medium | |
CN107623777A (en) | Terminal and its control method for playing back, computer-readable recording medium | |
CN107231473A (en) | A kind of audio output regulation and control method, equipment and computer-readable recording medium | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN108712566A (en) | A kind of voice assistant awakening method and mobile terminal | |
CN107592415A (en) | Voice transmitting method, terminal and computer-readable recording medium | |
CN109582817A (en) | A kind of song recommendations method, terminal and computer readable storage medium | |
CN107229389A (en) | A kind of method of shared file, equipment and computer-readable recording medium | |
CN108418948A (en) | A kind of based reminding method, mobile terminal and computer storage media | |
CN110022401A (en) | A kind of control parameter setting method, terminal and computer readable storage medium | |
CN107633850A (en) | A kind of volume adjusting method and electronic equipment | |
CN108307043A (en) | Speech message conversion method, mobile terminal and computer readable storage medium | |
CN110351407A (en) | A kind of audio frequency playing method and mobile terminal | |
CN108710786A (en) | A kind of method of Anti-addiction, equipment and computer readable storage medium | |
CN107273221A (en) | Application activating method, terminal and computer-readable recording medium | |
CN107239193A (en) | A kind of contact person's adding method, mobile terminal and computer-readable recording medium | |
CN106973168A (en) | Speech playing method, device and computer equipment | |
CN109729475A (en) | Charging bluetooth earphone method, circuit, terminal and computer readable storage medium | |
CN108771861A (en) | A kind of game control method, mobile terminal and computer readable storage medium | |
CN108769783A (en) | Video ads playback method, mobile terminal and computer readable storage medium | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180123 |
|
RJ01 | Rejection of invention patent application after publication |