CN107277752A - Bluetooth connecting method, device, computer equipment and computer-readable recording medium - Google Patents
Bluetooth connecting method, device, computer equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107277752A CN107277752A CN201710524959.9A CN201710524959A CN107277752A CN 107277752 A CN107277752 A CN 107277752A CN 201710524959 A CN201710524959 A CN 201710524959A CN 107277752 A CN107277752 A CN 107277752A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- bluetooth
- application program
- running
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The embodiment of the present invention provides a kind of Bluetooth connecting method, device, computer equipment and computer-readable recording medium.Methods described includes:Obtain the subscription time of user's input;The application program of running of mobile terminal is monitored in the subscription time;If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.Above-mentioned Bluetooth connecting method, device, computer equipment and computer-readable recording medium, without the manually opened Bluetooth switch of user, are attached with vehicle-mounted Bluetooth equipment, make the connection procedure of bluetooth more convenient automatically.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of Bluetooth connecting method, device, computer equipment and
Computer-readable recording medium.
Background technology
The communication technology can realize the communication between multiple intelligent terminals so that the exchange and conmmunication between user become to get over
Come more convenient.Bluetooth technology be it is a kind of the technology communicated between multiple intelligent terminals can be realized in short-range, due to
The advantage such as convenient, inexpensive that it has, therefore Bluetooth technology is widely used.For example, can lead between multiple user terminals
Bluetooth data transmission is crossed, intelligent terminal can be by bluetooth connection on-vehicle acoustic apparatus, so as to realize by on-vehicle acoustic apparatus
Make a phone call, the function such as music.The method of traditional connection bluetooth needs user to go to open Bluetooth switch manually, then selects
Need the bluetooth equipment of connection to be attached, again closed bluetooth when need not use bluetooth.So every time
Need manual deactivation and close Bluetooth function so that the connection procedure of bluetooth is very cumbersome.
The content of the invention
The embodiment of the present invention provides a kind of Bluetooth connecting method, device, computer equipment and computer-readable recording medium,
The connection procedure of bluetooth can be made more convenient.
A kind of Bluetooth connecting method, including:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, with
The mobile terminal is set to be attached with vehicle-mounted Bluetooth equipment by bluetooth.
A kind of Bluetooth connection device, including:
Time-obtaining module, the subscription time for obtaining user's input;
Using module is monitored, the application program for monitoring running of mobile terminal in the subscription time;
Bluetooth opening module, if presetting application program for detecting the running of mobile terminal, opens the movement
The Bluetooth switch of terminal, so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.
Computer-readable instruction is stored in a kind of computer equipment, including memory and processor, the memory, institute
When stating instruction by the computing device so that the computing device following steps:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, with
The mobile terminal is set to be attached with vehicle-mounted Bluetooth equipment by bluetooth.
One or more non-volatile computer readable storage medium storing program for executing comprising computer executable instructions, are calculated when described
When machine executable instruction is executed by one or more processors so that the computing device following steps:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, with
The mobile terminal is set to be attached with vehicle-mounted Bluetooth equipment by bluetooth.
Bluetooth connecting method provided in an embodiment of the present invention, device, computer equipment and computer-readable recording medium,
Monitor terminal running situation in subscription time, when listening to default application program, opens the Bluetooth switch of mobile terminal so that
Mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth., can automatically and car without the manually opened Bluetooth switch of user
Carry bluetooth equipment to be attached, make the connection procedure of bluetooth more convenient.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of Bluetooth connecting method in one embodiment;
Fig. 2 is the flow chart of Bluetooth connecting method in another embodiment;
Fig. 3 is the schematic diagram of subscription time inputting interface in one embodiment;
Fig. 4 is the structural representation of Bluetooth connection device in one embodiment;
Fig. 5 is the structural representation of Bluetooth connection device in another embodiment;
Fig. 6 is the block diagram of the part-structure of the mobile phone related to computer equipment provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the flow chart of Bluetooth connecting method in one embodiment.As shown in figure 1, the Bluetooth connecting method includes step
Rapid S102 to step S106.Wherein:
Step S102, obtains the subscription time of user's input.
In the embodiment that the present invention is provided, subscription time refers to the time that the bluetooth that user pre-sets is opened, user
Subscription time is inputted by mobile terminal.It is generally believed that the time, which is user, may use the time of Bluetooth function.For example, with
, it is necessary to set up the connection of mobile phone and vehicle-mounted Bluetooth equipment, listen music to realize within time on and off duty daily, make a phone call in family
Function.
It is understood that the preset time can refer to a period.Within the period, mobile terminal allows certainly
It is dynamic to open Bluetooth switch.For example, user by mobile terminal set subscription time for the week 8 o'clock of morning to 9 points
Clock, allows to automatically turn on Bluetooth switch within this period.
In the other embodiment that the present invention is provided, the time that bluetooth can also be set to close, arrived in the bluetooth shut-in time
Up to when, Bluetooth switch is closed automatically.It is understood that the bluetooth shut-in time refers generally to some time point, reaching
When the time is electric, Bluetooth switch is closed.
Step S104, monitors the application program of running of mobile terminal in subscription time.
In one embodiment, application program refers to the software write in mobile terminal for certain application purpose.Example
Such as, music can be listened, video, study, shopping is seen and plays game etc. by the application program on mobile terminal.Monitor mobile whole
The application program of end operation refers to the running for monitoring application program, is answered it is known which current mobile terminal is currently running
With the running status of program, and these application programs.Usually, mobile terminal can monitor application program running status,
Number of threads shared by the memory usage of application program, application program etc..
Specifically, mobile terminal can set timer, monitor in real time the mobile terminal current time, current when listening to
When time reaches subscription time, it is switched on monitoring the monitoring task of application program, begins listening for what mobile terminal was currently run
All application programs.
Step S106, if detecting running of mobile terminal presets application program, the bluetooth for opening the mobile terminal is opened
Close, so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.
In the embodiment that the present invention is provided, default application program refers to application program set in advance, can be system
It is setting or user's setting.Usually, default application program refers to set with on-vehicle Bluetooth by mobile terminal
Standby connection, and then realize by mobile unit the application program of certain application function.
For example, default application program can be the application program of voice call, the application program for playing music etc..Language
The application program of sound call can realize voice call function by mobile unit, be received calls manually without user.Play
The application program of music can realize the function of music by on-vehicle acoustic apparatus, so as to amplify mobile terminal music broadcasting
Volume.
In one embodiment, mobile terminal can monitor the application program currently run and the fortune of each application program
Row state.When listen to be currently running default application program when, mobile terminal automatically opens up Bluetooth switch.
Further, after Bluetooth switch is opened, mobile terminal may search for neighbouring Bluetooth signal, while mobile whole
The Bluetooth signal at end can also be searched for by neighbouring bluetooth equipment.When the bluetooth of mobile terminal to search to vehicle-mounted Bluetooth equipment is believed
Number when, it is possible to be attached with vehicle-mounted Bluetooth equipment by bluetooth.After successful connection, it can be realized and moved by mobile unit
The application function for the application program installed in dynamic terminal.
Above-mentioned Bluetooth connecting method, the monitor terminal running situation in subscription time, when listening to default application program,
Open the Bluetooth switch of mobile terminal so that mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth.Without user's hand
It is dynamic to open Bluetooth switch, it can be attached automatically with vehicle-mounted Bluetooth equipment, make the connection procedure of bluetooth more convenient.
Fig. 2 is the flow chart of Bluetooth connecting method in another embodiment.As shown in Fig. 2 the Bluetooth connecting method includes
Step S202 to step S208.Wherein:
Step S202, obtains the subscription time of user's input.
In the embodiment that the present invention is provided, user can input subscription time by interface of mobile terminal.Fig. 3 is one
The schematic diagram of subscription time inputting interface in embodiment.As shown in figure 3, user, which clicks on reservation function, enters subscription time input circle
Face, input needs the time point preengage and reservation duration in subscription time inputting interface, in reservation since subscription time point
Within duration, Bluetooth function is allowed to automatically open up.Within the reservation duration, if bluetooth is not connected, mobile terminal is prohibited
The function that only bluetooth is automatically turned on.
In one embodiment, user sets subscription time by mobile terminal, what acquisition for mobile terminal to user was inputted
After subscription time, newly-built the automatically turning on Bluetooth function of the task, and mobile terminal current time is monitored in real time.If detecting current
Time reaches subscription time, then starts to perform the automatically turning on Bluetooth function of the task.
Step S204, monitors the application program of running of mobile terminal in subscription time.
In one of the embodiments, after the task of automatic opening Bluetooth function starts execution, begin listening for mobile whole
Hold the application program currently run.It is understood that the operation of application program in the terminal can be, but not limited to bag
Front stage operation and running background are included, front stage operation refers to that application program is directly run on the window of mobile terminal, and can
With the method for operation interacted with user.Running background refers to that application program is transported in the explorer of mobile terminal
The capable method of operation.
In the other embodiment that the present invention is provided, if it is default geographical position to detect mobile terminal present position
Put, then the application program of running of mobile terminal is monitored in subscription time.Preset geographical position refers to the geographical position pre-set
Put.In this embodiment it is believed that when mobile terminal reaches preset geographical position, may search for the bluetooth letter of vehicle-mounted Bluetooth equipment
Number.Specifically, when reaching subscription time, mobile terminal present position is detected in real time, if reaching preset geographical position,
Begin listening for the application program of running of mobile terminal.
Mobile terminal can prestore vehicle position, then preset geographical position can be the ground near vehicle position
Manage position.The vehicle position prestored can be that the geographical position that user is manually entered or mobile terminal are obtained automatically
The geographical position taken.For example, when vehicle is stopped preparing to exit vehicle by user, user is obtained by instruction triggers mobile terminal
Current geographical position is taken as vehicle position, the geographical position in the range of 50 meters of the position is regard as preset geographical position
Storage is in the terminal.When user reaches the preset geographical position in preset time, running of mobile terminal is begun listening for
Application program, to automatically turn on Bluetooth function.
In the other embodiment that the present invention is provided, vehicle position and mobile terminal present position are obtained, and
The positional distance between vehicle and mobile terminal is calculated according to vehicle position and mobile terminal present position;If position
Distance then monitors the application program of running of mobile terminal in the range of pre-determined distance in subscription time.
In one embodiment, (it can be determined in Global Positioning System, the whole world by the GPS of mobile terminal
Position system) function acquisition mobile terminal present position.
Step S206, if detecting running of mobile terminal presets application program, opens the Bluetooth switch of mobile terminal.
In the embodiment that the present invention is provided, if detect mobile terminal presets application program in front stage operation, open
The Bluetooth switch of mobile terminal.In the present embodiment, answered if detecting mobile terminal in subscription time and being preset in front stage operation
With program, it is believed that user is needed to realize the function of default application program by mobile unit, then the bluetooth for opening mobile terminal is opened
Close.Mobile unit refers to the equipment installed on vehicle.
In the other embodiment that provides of the present invention, the manually opened Bluetooth switch of user can be allowed.If detecting mobile whole
The default application program of end operation, then show the prompt window of opening Bluetooth switch in mobile terminal;If receiving user's input
The instruction of opened bluetooth function, then open the Bluetooth switch of mobile terminal.
Further, step S206 can also include:If detecting running of mobile terminal presets application program, obtain and move
Dynamic terminal current electric quantity;If mobile terminal current electric quantity is more than default electricity, the Bluetooth switch of mobile terminal is opened.If mobile
Terminal current electric quantity is less than default electricity, then detects whether mobile terminal charges;If mobile terminal charges, open
The Bluetooth switch of mobile terminal.In general, it is believed that realizing the function of default application program by mobile unit, it is necessary to ensure movement
The sufficient electricity of terminal.
In addition, can also include after step S206:If detecting mobile terminal current electric quantity is less than default electricity, close
Close the Bluetooth switch of mobile terminal.That is, after the Bluetooth switch of mobile terminal is opened, detection mobile terminal is worked as in real time
Preceding electricity, it is automatic to close Bluetooth switch if mobile terminal current electric quantity is less than default electricity.It can also be, detect movement
When terminal current electric quantity is less than default electricity, dialog box is shown on interface of mobile terminal, user can be defeated according to the dialog box
Enter the instruction for whether closing Bluetooth switch, if receiving the instruction of the closing Bluetooth switch of user's input, turning-off mobile terminal
Bluetooth switch.
Step S208, if the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment is more than preset signal strength, to default
Vehicle-mounted Bluetooth equipment initiates connection request.
In the embodiment that the present invention is provided, default vehicle-mounted Bluetooth equipment refers to the vehicle-mounted Bluetooth equipment pre-set, can
To be vehicle-mounted Bluetooth equipment or refer to the vehicle-mounted Bluetooth equipment being adapted to mobile terminal that user is set manually.
Specifically, mobile terminal opens the Bluetooth signal started after Bluetooth switch near search, when searching default car
When carrying the Bluetooth signal of bluetooth equipment, detect whether the Bluetooth signal of the default vehicle-mounted Bluetooth equipment is more than preset signal strength.
If the Bluetooth signal of default vehicle-mounted Bluetooth equipment is more than preset signal strength, initiating connection to default vehicle-mounted Bluetooth equipment please
Ask.
In one embodiment, if mobile terminal is more than default letter in the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment
Number intensity, then initiate Bluetooth connection request to default vehicle-mounted Bluetooth equipment.It also can be, but not limited to include in Bluetooth connection request
The contents such as bluetooth equipment mark, the bluetooth equipment mark of request reception and checking password that request is initiated.Connection request is sent
To vehicle-mounted Bluetooth equipment, the request results for allowing to connect that vehicle-mounted Bluetooth equipment is returned are received, connection is allowed according to this
Request results set up bluetooth connection with vehicle-mounted Bluetooth equipment.If it is understood that the vehicle-mounted Bluetooth equipment of request connection is with working as
Preceding mobile terminal set up connection, then the corresponding checking password of vehicle-mounted Bluetooth equipment is stored in current mobile terminal, then without
Checking password need to be sent to vehicle-mounted Bluetooth equipment.
Above-mentioned Bluetooth connecting method, the monitor terminal running situation in subscription time, when listening to default application program,
The Bluetooth switch of mobile terminal is opened, and when the signal intensity of default vehicle-mounted Bluetooth equipment is more than preset signal strength, to pre-
If vehicle-mounted Bluetooth equipment initiates Bluetooth connection request so that mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth.So
Without the manually opened Bluetooth switch of user, it can be attached automatically with vehicle-mounted Bluetooth equipment, make the connection procedure of bluetooth more
It is convenient.
Fig. 4 is the structural representation of Bluetooth connection device in one embodiment.As shown in figure 4, the Bluetooth connection device bag
Include time-obtaining module 402, using monitoring module 404 and bluetooth opening module 406, wherein:
Time-obtaining module 402, the subscription time for obtaining user's input.
Using module 404 is monitored, the application program for monitoring running of mobile terminal in the subscription time.
Bluetooth opening module 406, if presetting application program for detecting the running of mobile terminal, opens the shifting
The Bluetooth switch of dynamic terminal, so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.
Above-mentioned Bluetooth connection device, the monitor terminal running situation in subscription time, when listening to default application program,
Open the Bluetooth switch of mobile terminal so that mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth.Without user's hand
It is dynamic to open Bluetooth switch, it can be attached automatically with vehicle-mounted Bluetooth equipment, make the connection procedure of bluetooth more convenient.
Fig. 5 is the structural representation of Bluetooth connection device in another embodiment.As shown in figure 5, the Bluetooth connection device
Including time-obtaining module 502, using monitoring module 504, bluetooth opening module 506 and bluetooth connection module 508, wherein:
Time-obtaining module 502, the subscription time for obtaining user's input.
Using module 504 is monitored, the application program for monitoring running of mobile terminal in the subscription time.
Bluetooth opening module 506, if presetting application program for detecting the running of mobile terminal, opens the shifting
The Bluetooth switch of dynamic terminal, so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.
Bluetooth connection module 508, if strong more than preset signals for the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment
Degree, then initiate connection request to the default vehicle-mounted Bluetooth equipment.
Above-mentioned Bluetooth connection device, the monitor terminal running situation in subscription time, when listening to default application program,
Open the Bluetooth switch of mobile terminal so that mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth.Without user's hand
It is dynamic to open Bluetooth switch, it is attached automatically with vehicle-mounted Bluetooth equipment, makes the connection procedure of bluetooth more convenient.
In one of the embodiments, if being currently located using monitoring module 504 and being additionally operable to detect the mobile terminal
Position is preset geographical position, then the application program of running of mobile terminal is monitored in the subscription time.
In one embodiment, using monitoring, module 504 is additionally operable to obtain vehicle position and the mobile terminal is worked as
Preceding position, and the vehicle and mobile terminal are calculated according to the vehicle position and mobile terminal present position
Between positional distance;If the positional distance is in the range of pre-determined distance, mobile terminal is monitored in the subscription time
The application program of operation.
In one embodiment, if bluetooth opening module 506 be additionally operable to detect the mobile terminal it is pre- in front stage operation
If application program, then the Bluetooth switch of the mobile terminal is opened.
In one embodiment, if bluetooth opening module 506 is additionally operable to detect the default application program of running of mobile terminal,
Then obtain mobile terminal current electric quantity;If mobile terminal current electric quantity is more than default electricity, the bluetooth for opening mobile terminal is opened
Close.If mobile terminal current electric quantity is less than default electricity, whether detection mobile terminal charges;If mobile terminal fills
Electricity, then open the Bluetooth switch of mobile terminal.
Above-mentioned Bluetooth connection device, the monitor terminal running situation in subscription time, when listening to default application program,
Open the Bluetooth switch of mobile terminal so that mobile terminal and vehicle-mounted Bluetooth equipment are attached by bluetooth.Without user's hand
It is dynamic to open Bluetooth switch, it is attached automatically with vehicle-mounted Bluetooth equipment, makes the connection procedure of bluetooth more convenient.
The division of modules is only used for for example, in other embodiments in above-mentioned Bluetooth connection device, can be by indigo plant
Tooth attachment means are divided into different modules as required, to complete all or part of function of above-mentioned Bluetooth connection device.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium.It is one or more executable comprising computer
The non-volatile computer readable storage medium storing program for executing of instruction, when the computer executable instructions are executed by one or more processors
When so that the computing device following steps:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, with
The mobile terminal is set to be attached with vehicle-mounted Bluetooth equipment by bluetooth.
In one embodiment, be executed by processor it is described in the subscription time monitor running of mobile terminal should
Included with program:
If detecting the mobile terminal present position for preset geographical position, monitored in the subscription time
The application program of running of mobile terminal.
In the embodiment that provides of the present invention, if what is be executed by processor described detect the mobile terminal and is currently located
Position is preset geographical position, then the application program of running of mobile terminal is monitored in the subscription time and is included:
Vehicle position and the mobile terminal present position are obtained, and according to the vehicle position and shifting
Dynamic terminal present position calculates the positional distance between the vehicle and mobile terminal;
If the positional distance is in the range of pre-determined distance, answering for running of mobile terminal is monitored in the subscription time
Use program.
In one of the embodiments, if what is be executed by processor described detects the default application of the running of mobile terminal
Program, then opening the Bluetooth switch of the mobile terminal includes:
If detect the mobile terminal presets application program in front stage operation, the bluetooth for opening the mobile terminal is opened
Close.
In one embodiment, the methods described being executed by processor also includes:
If the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment is more than preset signal strength, vehicle-mounted indigo plant is preset to described
Tooth equipment initiates connection request.
The embodiment of the present invention additionally provides a kind of computer equipment.As shown in fig. 6, for convenience of description, illustrate only with
The related part of the embodiment of the present invention, particular technique details is not disclosed, refer to present invention method part.The calculating
Machine equipment can be include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant),
Any terminal device such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using computer equipment as
Exemplified by mobile phone:
Fig. 6 is the block diagram of the part-structure of the mobile phone related to computer equipment provided in an embodiment of the present invention.With reference to figure
6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, display unit 640,
Sensor 650, voicefrequency circuit 660, Wireless Fidelity (wireless fidelity, WiFi) module 670, processor 680 and
The grade part of power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 does not constitute the restriction to mobile phone, can
With including than illustrating more or less parts, either combining some parts or different parts arrangement.
Wherein, RF circuits 610 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations
After downlink information is received, handled to processor 680;Up data can also be sent to base station.Generally, RF circuits include but
Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuits 610 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio
Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of
Mobile communication, GSM), general packet radio service (General Packet Radio Service,
GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code
Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email,
Short Message Service (Short Messaging Service, SMS) etc..
Memory 620 can be used for storage software program and module, and processor 680 is stored in memory 620 by operation
Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 620 can mainly include
Program storage area and data storage area, wherein, the application journey that program storage area can be needed for storage program area, at least one function
Sequence (application program of such as sound-playing function, application program of image player function etc.) etc.;Data storage area can store root
Created data (such as voice data, address list etc.) etc. are used according to mobile phone.In addition, memory 620 can be included at a high speed
Random access memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device or
Other volatile solid-state parts.
Input block 630 can be used for the numeral or character information for receiving input, and generation and the user of mobile phone 600 to set
And the relevant key signals input of function control.Specifically, input block 630 may include contact panel 631 and other inputs
Equipment 632.Contact panel 631, alternatively referred to as touch-screen, collect touch operation (such as user of the user on or near it
Use the operation of any suitable object such as finger, stylus or annex on contact panel 631 or near contact panel 631),
And corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 631 may include to touch inspection
Survey two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation
The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 680, and the order sent of reception processing device 680 and can be performed.In addition,
Contact panel 631 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface
Plate 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can be included but not
It is limited to the one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 640 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and mobile phone
Menu.Display unit 640 may include display panel 641.In one embodiment, liquid crystal display (Liquid can be used
Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 641.In one embodiment, contact panel 631 can cover display panel 641, when contact panel 631 is examined
Measure after the touch operation on or near it, processor 680 is sent to determine the type of touch event, with preprocessor
680 provide corresponding visual output according to the type of touch event on display panel 641.Although in figure 6, contact panel
631 and display panel 641 are input and the input function that mobile phone is realized as two independent parts, but are implemented some
, can be by contact panel 631 and the input that is integrated and realizing mobile phone of display panel 641 and output function in example.
Mobile phone 600 may also include at least one sensor 650, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include 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 641, and proximity transducer can close display panel when mobile phone is moved in one's ear
641 and/or backlight.Motion sensor may include acceleration transducer, can detect and adds in all directions by acceleration transducer
The size of speed, can detect that size and the direction of gravity when static, application (the such as horizontal/vertical screen available for identification mobile phone posture
Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity
Other sensors such as meter, thermometer, infrared ray sensor etc..
Voicefrequency circuit 660, loudspeaker 661 and microphone 662 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data received conversion can be transferred to loudspeaker 661, sound is converted to by loudspeaker 661 by road 660
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, by voicefrequency circuit 660 receive after turn
It is changed to voice data, then after voice data output processor 680 is handled, another mobile phone can be sent to through RF circuits 610, or
Person exports voice data to memory 620 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 670
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 6 is shown
WiFi module 670, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone 600, can omit as needed.
Processor 680 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform and be stored in software program and/or module in memory 620, and call and be stored in memory 620
Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.In one embodiment, handle
Device 680 may include one or more processing units.In one embodiment, processor 680 can integrated application processor and modulation
Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc.;Modulation /demodulation is handled
Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 680.
Mobile phone 600 also includes the power supply 690 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 680 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
In one embodiment, mobile phone 600 can also include camera, bluetooth module etc..
In embodiments of the present invention, the processor 680 included by the mobile terminal performs the calculating of storage on a memory
Following steps are realized during machine program:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, with
The mobile terminal is set to be attached with vehicle-mounted Bluetooth equipment by bluetooth.
In one embodiment, be executed by processor it is described in the subscription time monitor running of mobile terminal should
Included with program:
If detecting the mobile terminal present position for preset geographical position, monitored in the subscription time
The application program of running of mobile terminal.
In the embodiment that provides of the present invention, if what is be executed by processor described detect the mobile terminal and is currently located
Position is preset geographical position, then the application program of running of mobile terminal is monitored in the subscription time and is included:
Vehicle position and the mobile terminal present position are obtained, and according to the vehicle position and shifting
Dynamic terminal present position calculates the positional distance between the vehicle and mobile terminal;
If the positional distance is in the range of pre-determined distance, answering for running of mobile terminal is monitored in the subscription time
Use program.
In one of the embodiments, if what is be executed by processor described detects the default application of the running of mobile terminal
Program, then opening the Bluetooth switch of the mobile terminal includes:
If detect the mobile terminal presets application program in front stage operation, the bluetooth for opening the mobile terminal is opened
Close.
In one embodiment, the methods described being executed by processor also includes:
If the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment is more than preset signal strength, vehicle-mounted indigo plant is preset to described
Tooth equipment initiates connection request.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of Bluetooth connecting method, it is characterised in that including:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, so that institute
Mobile terminal is stated to be attached by bluetooth with vehicle-mounted Bluetooth equipment.
2. Bluetooth connecting method according to claim 1, it is characterised in that described that movement is monitored in the subscription time
The application program of terminal operating includes:
If detecting the mobile terminal present position for preset geographical position, movement is monitored in the subscription time
The application program of terminal operating.
3. Bluetooth connecting method according to claim 2, it is characterised in that if described, to detect the mobile terminal current
Position is preset geographical position, then the application program of running of mobile terminal is monitored in the subscription time and is included:
Vehicle position and the mobile terminal present position are obtained, and according to the vehicle position and movement eventually
Present position is held to calculate the positional distance between the vehicle and mobile terminal;
If the positional distance is in the range of pre-determined distance, the application journey of running of mobile terminal is monitored in the subscription time
Sequence.
4. Bluetooth connecting method according to claim 1, it is characterised in that if described detect the running of mobile terminal
Default application program, then opening the Bluetooth switch of the mobile terminal includes:
If detect the mobile terminal presets application program in front stage operation, the Bluetooth switch of the mobile terminal is opened.
5. Bluetooth connecting method according to claim 1, it is characterised in that methods described also includes:
If the Bluetooth signal for detecting default vehicle-mounted Bluetooth equipment is more than preset signal strength, set to the default on-vehicle Bluetooth
Preparation plays connection request.
6. a kind of Bluetooth connection device, it is characterised in that including:
Time-obtaining module, the subscription time for obtaining user's input;
Using module is monitored, the application program for monitoring running of mobile terminal in the subscription time;
Bluetooth opening module, if presetting application program for detecting the running of mobile terminal, opens the mobile terminal
Bluetooth switch so that the mobile terminal is attached with vehicle-mounted Bluetooth equipment by bluetooth.
7. Bluetooth connection device according to claim 6, it is characterised in that if the application monitors module and is additionally operable to detection
It is preset geographical position to the mobile terminal present position, then running of mobile terminal is monitored in the subscription time
Application program.
8. Bluetooth connection device according to claim 6, it is characterised in that if the bluetooth opening module is additionally operable to detection
Application program is preset in front stage operation to the mobile terminal, then opens the Bluetooth switch of the mobile terminal.
9. computer-readable instruction is stored in a kind of computer equipment, including memory and processor, the memory, it is described
When instruction is by the computing device so that the computing device following steps:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, so that institute
Mobile terminal is stated to be attached by bluetooth with vehicle-mounted Bluetooth equipment.
10. one or more non-volatile computer readable storage medium storing program for executing comprising computer executable instructions, are calculated when described
When machine executable instruction is executed by one or more processors so that the computing device following steps:
Obtain the subscription time of user's input;
The application program of running of mobile terminal is monitored in the subscription time;
If detecting the running of mobile terminal presets application program, the Bluetooth switch of the mobile terminal is opened, so that institute
Mobile terminal is stated to be attached by bluetooth with vehicle-mounted Bluetooth equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524959.9A CN107277752B (en) | 2017-06-30 | 2017-06-30 | Bluetooth connecting method, device, computer equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524959.9A CN107277752B (en) | 2017-06-30 | 2017-06-30 | Bluetooth connecting method, device, computer equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107277752A true CN107277752A (en) | 2017-10-20 |
CN107277752B CN107277752B (en) | 2019-12-03 |
Family
ID=60069726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710524959.9A Active CN107277752B (en) | 2017-06-30 | 2017-06-30 | Bluetooth connecting method, device, computer equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277752B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174017A (en) * | 2017-11-29 | 2018-06-15 | 维沃移动通信有限公司 | A kind of bluetooth open method and mobile terminal |
CN108923971A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Blue-teeth equipment management method, apparatus, computer readable storage medium and its terminal |
CN108966194A (en) * | 2018-07-24 | 2018-12-07 | 重庆长安汽车股份有限公司 | Realize the system and method for mobile phone and the noninductive connection of car-mounted terminal bluetooth |
CN110139259A (en) * | 2019-05-15 | 2019-08-16 | 中国联合网络通信集团有限公司 | Bluetooth control method and system |
CN110751761A (en) * | 2019-10-25 | 2020-02-04 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN111554008A (en) * | 2020-04-22 | 2020-08-18 | 支付宝(杭州)信息技术有限公司 | Digital key binding method, digital key verification method, mobile electronic equipment and near field communication device |
CN113573291A (en) * | 2021-08-04 | 2021-10-29 | 杭州涂鸦信息技术有限公司 | Bluetooth connection method, device, computer equipment and computer readable storage medium |
CN113746985A (en) * | 2021-08-30 | 2021-12-03 | 深圳壹账通智能科技有限公司 | Bluetooth control method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491254A (en) * | 2013-09-26 | 2014-01-01 | 广东欧珀移动通信有限公司 | Method and device for simplifying phone call answering during driving |
CN104407894A (en) * | 2014-11-26 | 2015-03-11 | 重庆蓝岸通讯技术有限公司 | Method and system for automatically starting application of intelligent electronic equipment |
CN105554229A (en) * | 2015-06-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and user terminal |
CN105554861A (en) * | 2015-12-02 | 2016-05-04 | 广东小天才科技有限公司 | Method and system of automatic networking on the basis of position and time |
CN105846861A (en) * | 2016-03-17 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Signal processing method and mobile terminal |
CN106412241A (en) * | 2016-08-31 | 2017-02-15 | 捷开通讯(深圳)有限公司 | Application operating method and system, and mobile terminals |
CN106535249A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and control device for wireless local area networks, and terminal |
CN106856540A (en) * | 2015-12-09 | 2017-06-16 | 北京奇虎科技有限公司 | A kind of method and apparatus of communication of mobile terminal |
-
2017
- 2017-06-30 CN CN201710524959.9A patent/CN107277752B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103491254A (en) * | 2013-09-26 | 2014-01-01 | 广东欧珀移动通信有限公司 | Method and device for simplifying phone call answering during driving |
CN104407894A (en) * | 2014-11-26 | 2015-03-11 | 重庆蓝岸通讯技术有限公司 | Method and system for automatically starting application of intelligent electronic equipment |
CN105554229A (en) * | 2015-06-30 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Information processing method and user terminal |
CN105554861A (en) * | 2015-12-02 | 2016-05-04 | 广东小天才科技有限公司 | Method and system of automatic networking on the basis of position and time |
CN106856540A (en) * | 2015-12-09 | 2017-06-16 | 北京奇虎科技有限公司 | A kind of method and apparatus of communication of mobile terminal |
CN105846861A (en) * | 2016-03-17 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Signal processing method and mobile terminal |
CN106412241A (en) * | 2016-08-31 | 2017-02-15 | 捷开通讯(深圳)有限公司 | Application operating method and system, and mobile terminals |
CN106535249A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Control method and control device for wireless local area networks, and terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174017A (en) * | 2017-11-29 | 2018-06-15 | 维沃移动通信有限公司 | A kind of bluetooth open method and mobile terminal |
CN108923971A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Blue-teeth equipment management method, apparatus, computer readable storage medium and its terminal |
CN108966194A (en) * | 2018-07-24 | 2018-12-07 | 重庆长安汽车股份有限公司 | Realize the system and method for mobile phone and the noninductive connection of car-mounted terminal bluetooth |
CN108966194B (en) * | 2018-07-24 | 2021-04-06 | 重庆长安汽车股份有限公司 | System and method for realizing Bluetooth non-inductive connection between mobile phone and vehicle-mounted terminal |
CN110139259A (en) * | 2019-05-15 | 2019-08-16 | 中国联合网络通信集团有限公司 | Bluetooth control method and system |
CN110139259B (en) * | 2019-05-15 | 2022-05-13 | 中国联合网络通信集团有限公司 | Bluetooth control method and system |
CN110751761A (en) * | 2019-10-25 | 2020-02-04 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN110751761B (en) * | 2019-10-25 | 2022-04-29 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN111554008A (en) * | 2020-04-22 | 2020-08-18 | 支付宝(杭州)信息技术有限公司 | Digital key binding method, digital key verification method, mobile electronic equipment and near field communication device |
CN111554008B (en) * | 2020-04-22 | 2024-01-16 | 支付宝(杭州)信息技术有限公司 | Digital key binding method, digital key verification method, mobile electronic equipment and near field communication device |
CN113573291A (en) * | 2021-08-04 | 2021-10-29 | 杭州涂鸦信息技术有限公司 | Bluetooth connection method, device, computer equipment and computer readable storage medium |
CN113746985A (en) * | 2021-08-30 | 2021-12-03 | 深圳壹账通智能科技有限公司 | Bluetooth control method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107277752B (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277752A (en) | Bluetooth connecting method, device, computer equipment and computer-readable recording medium | |
CN106775323A (en) | Method, device and the mobile communication terminal of application program have been adjusted in communication process | |
CN107818465A (en) | Method, equipment, mobile terminal and the computer-readable storage medium of payment | |
CN106330211B (en) | LTE Frequency Band Selection method and apparatus | |
CN107368335A (en) | A kind of method and apparatus and mobile terminal of Quick Response Code identification | |
CN106375774A (en) | Live broadcast room display content control method, apparatus and system | |
CN104284001B (en) | The incoming information display methods and device of terminal | |
CN103744574A (en) | Method and device for turning off alarm clock of mobile terminal and mobile terminal | |
CN107592615A (en) | Localization method and device | |
CN106911848A (en) | Export the method and terminal device of prompting message | |
CN107566255A (en) | Unread message abstraction generating method and device | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN107391198A (en) | Method for scheduling task and device, computer-readable recording medium, mobile terminal | |
CN107145275A (en) | The method and intelligent watch of a kind of prompt operation application program | |
CN107025434A (en) | A kind of fingerprint register method and mobile terminal | |
CN107807820A (en) | Information processing method, device, mobile terminal and readable storage medium storing program for executing | |
CN107295591A (en) | Call method, device, computer can storage medium and mobile terminals | |
CN107623896A (en) | Connect method, apparatus, mobile terminal and the storage medium of on-vehicle Bluetooth | |
CN106817482A (en) | Mobile terminal and its method and apparatus called | |
CN107270927A (en) | Information displaying method, device, computer-readable recording medium and mobile terminal | |
CN107066090A (en) | The method and mobile terminal of a kind of control fingerprint recognition module | |
CN107454270A (en) | Mobile terminal screen brightness control method, device and terminal | |
CN107528958A (en) | Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal | |
CN105721282B (en) | Message display method and device | |
CN107465602A (en) | Processing method, device and the terminal device of information |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |