CN105897314A - Bluetooth connection control method and terminal - Google Patents

Bluetooth connection control method and terminal Download PDF

Info

Publication number
CN105897314A
CN105897314A CN201610490416.5A CN201610490416A CN105897314A CN 105897314 A CN105897314 A CN 105897314A CN 201610490416 A CN201610490416 A CN 201610490416A CN 105897314 A CN105897314 A CN 105897314A
Authority
CN
China
Prior art keywords
terminal
bluetooth
location information
bluetooth module
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610490416.5A
Other languages
Chinese (zh)
Inventor
董云霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610490416.5A priority Critical patent/CN105897314A/en
Publication of CN105897314A publication Critical patent/CN105897314A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/70

Abstract

The invention provides a Bluetooth connection control method and a terminal. The Bluetooth connection control method comprises the following steps: when detecting that current position information of the terminal is matched with pre-set position information, controlling the terminal to switch on a Bluetooth module of the terminal and connecting the Bluetooth module to be connected with Bluetooth equipment corresponding to the current position information and an identity mark stored by the terminal; and when detecting that a first pre-set time period after connection between the Bluetooth module of the terminal and the Bluetooth equipment is failed is finished, controlling the terminal to switch off the Bluetooth module of the terminal. According to the scheme provided by the invention, the switching-on/off of the Bluetooth module can be automatically controlled according to the position of the terminal (the use habit of the Bluetooth module of a user), so that automatic switching-on/off of Bluetooth can be realized and the disadvantage in the prior art that the Bluetooth needs to be manually switched on and off is improved.

Description

The control method of a kind of bluetooth connection and terminal
Technical field
The present invention relates to wireless technical field, particularly relate to control method and terminal that a kind of bluetooth connects.
Background technology
Along with the development of science and technology, the use of bluetooth is more and more universal, such as: most people driving can use car Carry bluetooth to be connected with mobile phone, it is ensured that convenience during driving and safety;Or, by handheld device and bluetooth sound Case is connected, and enjoys the music of high-quality;Etc..
But, need manually opened bluetooth when using bluetooth equipment and be attached with target device at present, Use also wants manual-lock bluetooth after completing.If forgetting that closing bluetooth there will be power consumption or bothered by others Situation.
Summary of the invention
It is an object of the invention to provide control method and terminal that a kind of bluetooth connects, solve in prior art Use the problem that bluetooth needs manual operation to make troubles.
In order to solve above-mentioned technical problem, the embodiment of the present invention provides the control method that a kind of bluetooth connects, bag Include:
When current location information and the pre-stored location information match of terminal being detected, control described terminal and open Open the bluetooth module of this terminal, and corresponding with the identity of described current location information and described terminal storage Bluetooth equipment be attached;
The first Preset Time after the bluetooth module described terminal being detected and described bluetooth equipment connection failure At the end of Duan, control described terminal and close the bluetooth module of this terminal.
Present invention also offers a kind of terminal, including:
First control module, for detecting current location information and the pre-stored location information match of terminal Time, control described terminal and open the bluetooth module of this terminal, and with described current location information and described terminal The bluetooth equipment that the identity of storage is corresponding is attached;
Second control module, for being connected mistake at the bluetooth module described terminal being detected with described bluetooth equipment At the end of the first preset time period after losing, control described terminal and close the bluetooth module of this terminal.
Having the beneficial effect that of the technique scheme of the present invention:
In such scheme, the control method that described bluetooth connects is by according to the position of terminal, (user uses indigo plant The custom of tooth module) automatically control the opening and closing of bluetooth module, the automatic switch of bluetooth can be realized, change Enter the existing bluetooth of use in the art and need the deficiency of hand switch.
Accompanying drawing explanation
Fig. 1 is the control method schematic flow sheet of the bluetooth connection of the embodiment of the present invention one;
Fig. 2 is the control method concrete application flow schematic diagram of the bluetooth connection of the embodiment of the present invention one;
Fig. 3 is the terminal structure schematic diagram of the embodiment of the present invention two;
Fig. 4 is the terminal structure schematic diagram of the embodiment of the present invention three;
Fig. 5 is the terminal structure schematic diagram of the embodiment of the present invention four.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
The problem that the present invention is directed to use bluetooth to need manual operation to make troubles in existing technology, it is provided that Multiple solution, specific as follows:
Embodiment one
As it is shown in figure 1, the control method that the bluetooth that the embodiment of the present invention one provides connects, including:
Step 11: when current location information and the pre-stored location information match of terminal being detected, control institute State terminal and open the bluetooth module of this terminal, and with described current location information and the identity of described terminal storage The bluetooth equipment of mark correspondence is attached.
Current location information and pre-stored location information can refer to geographical location information, it is possible to refer to the position of user setup Information;The scheme of the embodiment of the present invention is in addition to can be applicable to bluetooth and connecting, it is also possible to be applied to other needs Wireless signal is utilized to carry out the functions of modules of information transmission, such as WIFI module.
Step 12: first after the bluetooth module described terminal being detected and described bluetooth equipment connection failure At the end of preset time period, control described terminal and close the bluetooth module of this terminal.
Need to be scanned search, in the embodiment of the present invention, described control in view of attended operation in reality application Make described terminal and open the bluetooth module of this terminal, and with described current location information and described terminal storage The step that bluetooth equipment corresponding to identity is attached includes: controls described terminal and opens the indigo plant of this terminal After tooth module, the bluetooth module of described terminal and described bluetooth equipment after the match is successful, set up described terminal Bluetooth module is connected with the bluetooth of described bluetooth equipment.
The current location information of above-mentioned terminal and pre-stored location information match, may refer to present bit confidence Cease consistent with pre-stored location information, it is also possible to refer to that current location that current location information is corresponding is at pre-stored location In the position range that information is corresponding.
In view of actually used convenience, in the embodiment of the present invention preferably, described working as of terminal is being detected When front position information and pre-stored location information match, control described terminal and open the bluetooth module of this terminal, And the bluetooth equipment corresponding with the identity of described current location information and described terminal storage is attached Step includes: when current geographic position terminal being detected belongs to and prestores geographical position range, controls described Terminal opens the bluetooth module of this terminal, and with the identity mark of described current location information and described terminal storage Know corresponding bluetooth equipment to be attached.
Concrete, described after the bluetooth module described terminal being detected and described bluetooth equipment connection failure At the end of first preset time period, the step controlling the bluetooth module that described terminal closes this terminal includes: After the bluetooth module connection failure n times of described bluetooth equipment and described terminal being detected, preset described first When not scanning the bluetooth equipment corresponding with the identity of described terminal storage in the time period, control described end End closes the bluetooth module of this terminal;Or the bluetooth module of described bluetooth equipment and described terminal detected After connection failure n times, in described first preset time period, the current location information of described terminal changes, And the current location information after changing is not when mating with pre-stored location information, controls described terminal and closes this terminal Bluetooth module;Wherein, N is the integer more than zero.N is preferably 1.
If it is to say, not finding the bluetooth equipment of terminal record in connection failure, and the time set; Or, terminal have left the position that pre-stored location information is corresponding, then control described terminal and close the indigo plant of this terminal Tooth module;In order to avoid unnecessary power consumption.
Further, described control method also includes: the bluetooth module of described terminal and described indigo plant detected After tooth equipment successful connection, the current location information of described terminal changes, and the current location after change When information continued not mate with pre-stored location information within the second time period, control described terminal and close this terminal Bluetooth module.
It is, when making to be finished after bluetooth equipment leaves the position that pre-stored location information is corresponding, control described end End closes the bluetooth module of this terminal;In order to avoid unnecessary power consumption.
For more hommization, described control method also includes: close the indigo plant of this terminal in the described terminal of control After tooth module, update on off state and the connection status of the bluetooth module of described terminal.Namely notify user The current state of bluetooth module.
In the embodiment of the present invention, described detecting that the current location information of terminal and pre-stored location information are mutually Timing, controls described terminal and opens the bluetooth module of this terminal, and with described current location information and described end Before the step that the bluetooth equipment holding the identity stored corresponding is attached, also include: obtain described indigo plant The use record information of tooth equipment;Described pre-stored location information is obtained according to described use record information.
Preferably, the step using record information of the described bluetooth equipment of described acquisition includes: obtain nearest one Secondary bluetooth connects the duration bluetooth equipment more than or equal to threshold value, disconnects when bluetooth connects residing in the last time Geographical location information;
The described step obtaining described pre-stored location information according to described use record information includes: according to obtaining Described geographical location information obtain described pre-stored location information.
Wherein, according to the described geographical location information obtained obtain described pre-stored location information can particularly as follows: The described geographical location information obtained is stored as described pre-stored location information;Can also particularly as follows: according to The described geographical location information arrived constitutes a position range information, as described pre-stored location information.
Same for more hommization, described control method also includes: the bluetooth mould of described terminal detected After block and described bluetooth equipment successful connection, update the on off state of the bluetooth module of described terminal and connect shape State;And/or, after the bluetooth module described terminal being detected and described bluetooth equipment connection failure, maintain institute On off state and the connection status of stating the bluetooth module of terminal are constant.
The control method that the bluetooth provided the embodiment of the present invention one below connects is further described.
As in figure 2 it is shown, include:
Step 21: bluetooth is connected with bluetooth equipment A, and normally uses;
Normal use refers to use duration to exceed threshold value.
Step 22: leave bluetooth equipment A, records bluetooth equipment A position, and time-out closes bluetooth;
When user is away from bluetooth equipment, record user use bluetooth equipment, especially bluetooth earphone, audio amplifier, The historical information of on-vehicle Bluetooth, as used duration, the information such as bluetooth equipment present position when disconnecting.
It should be noted that the acquisition of these data is carried out on backstage, user can not perception.
Time-out is closed bluetooth and is referred to set a time, if user does not enter back into this bluetooth and sets within this time Standby in-scope, then close bluetooth (including Bluetooth function and bluetooth icon).
Step 23: enter the position at bluetooth equipment A place of record, carry out bluetooth equipment scanning and attempt with Bluetooth equipment A connects;
When handheld device enters the position of record next time, start bluetooth scanning, the equipment of linkage record.
Step 24: judge that connection is the most successful, if so, enters step 25, if it is not, enter step 26;
Step 25: notify that user's bluetooth is opened and is successfully connected with bluetooth equipment A;
Could also say that, if successful connection, light bluetooth icon and update connection status;
Step 26: proceed search and connect, time-out or stop scanning after leaving and keep bluetooth icon not Bright;
Could also say that, if connection failure, proceed scanning, within the time set, do not find this indigo plant Tooth equipment or again away from this position, then stop bluetooth and scan and keep bluetooth icon not work.
From the foregoing, it will be observed that the scheme that the embodiment of the present invention provides uses the custom of bluetooth by record user, and then Control the automatic switch of bluetooth, improve the deficiency of hand switch during existing bluetooth uses.
Embodiment two
As it is shown on figure 3, the terminal that the embodiment of the present invention two provides, including:
First control module 31, for detecting current location information and the pre-stored location information phase of terminal Timing, controls described terminal and opens the bluetooth module of this terminal, and with described current location information and described end The bluetooth equipment that the identity of end storage is corresponding is attached.
Current location information and pre-stored location information can refer to geographical location information, it is possible to refer to the position of user setup Information;The scheme of the embodiment of the present invention is in addition to can be applicable to bluetooth and connecting, it is also possible to be applied to other needs Wireless signal is utilized to carry out the functions of modules of information transmission, such as WIFI module.
Second control module 32, for being connected with described bluetooth equipment at the bluetooth module described terminal being detected At the end of the first preset time period after failure, control described terminal and close the bluetooth module of this terminal.
Need to be scanned search in view of attended operation in reality application, in the embodiment of the present invention, described the One control module includes: set up submodule, after controlling the bluetooth module that described terminal opens this terminal, The bluetooth module of described terminal and described bluetooth equipment be after the match is successful, set up the bluetooth module of described terminal with The bluetooth of described bluetooth equipment connects.
The current location information of above-mentioned terminal and pre-stored location information match, may refer to present bit confidence Cease consistent with pre-stored location information, it is also possible to refer to that current location that current location information is corresponding is at pre-stored location In the position range that information is corresponding.
In view of actually used convenience, in the embodiment of the present invention preferably, described first control module includes: 3rd controls submodule, is used for when current geographic position terminal being detected belongs to and prestores geographical position range, Control described terminal and open the bluetooth module of this terminal, and with described current location information and described terminal storage Bluetooth equipment corresponding to identity be attached.
Concrete, described second control module includes: first controls submodule, for described indigo plant being detected After the bluetooth module connection failure n times of tooth equipment and described terminal, do not sweep in described first preset time period When retouching the bluetooth equipment corresponding with the identity of described terminal storage, control described terminal and close this terminal Bluetooth module;Or second controls submodule, for described bluetooth equipment and described terminal being detected After bluetooth module connection failure n times, the current location information of described terminal in described first preset time period Change, and when the current location information after change does not mates with pre-stored location information, control described terminal Close the bluetooth module of this terminal;Wherein, N is the integer more than zero.N is preferably 1.
If it is to say, described second control module is not specifically for having in connection failure, and the time set Find the bluetooth equipment of terminal record;Or, terminal have left the position that pre-stored location information is corresponding, then control Make described terminal and close the bluetooth module of this terminal;In order to avoid unnecessary power consumption.
Further, described terminal also includes: the 3rd control module, in the indigo plant described terminal being detected After tooth module and described bluetooth equipment successful connection, the current location information of described terminal changes, and changes When current location information after change continued not mate with pre-stored location information within the second time period, control described Terminal closes the bluetooth module of this terminal.
It is, the 3rd control module leaves, for making to be finished bluetooth equipment, the position that pre-stored location information is corresponding Postpone, control described terminal and close the bluetooth module of this terminal;In order to avoid unnecessary power consumption.
For more hommization, described terminal also includes: the first more new module, for controlling described terminal After closing the bluetooth module of this terminal, update on off state and the connection status of the bluetooth module of described terminal. Namely notify the current state of user's bluetooth module.
In the embodiment of the present invention, described first control module includes: obtains submodule, is used for obtaining described indigo plant The use record information of tooth equipment;Process submodule, for obtaining described pre-according to described use record information Deposit positional information.
Preferably, described acquisition submodule includes: acquiring unit, when being used for obtaining the last bluetooth connection The long bluetooth equipment more than or equal to threshold value, disconnects geographical location information residing when bluetooth connects in the last time;
Described process submodule includes: processing unit, for obtaining according to the described geographical location information obtained Described pre-stored location information.
Wherein, processing submodule can be specifically for: be stored as by the described geographical location information obtained described Pre-stored location information;Can also be specifically for: constitute a position according to the described geographical location information obtained Range information, as described pre-stored location information.
Same for more hommization, described terminal also includes: the second more new module, for detecting After stating the bluetooth module of terminal and described bluetooth equipment successful connection, update the opening of bluetooth module of described terminal Off status and connection status;And/or, maintain module, for bluetooth module and the institute of described terminal being detected After stating bluetooth equipment connection failure, maintain the on off state of the bluetooth module of described terminal and connection status constant.
Wherein, the described embodiment that realizes of the control method that above-mentioned bluetooth connects all is applicable to the enforcement of this terminal In example, also can reach identical technique effect.
Embodiment three
As shown in Figure 4, the terminal 400 that the embodiment of the present invention three provides includes:
At least one processor 401, memorizer 402, at least one network interface 404 and other user interfaces 403.Each assembly in terminal 400 is coupled by bus system 405.It is understood that bus system 405 for realizing the connection communication between these assemblies.Bus system 405 is in addition to including data/address bus, also Including power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in the diagram Various buses are all designated as bus system 405.
Wherein, user interface 403 can include display, keyboard or pointing device (such as, mouse, rail Mark ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 402 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile Memorizer, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory is permissible Be read only memory (Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable Read only memory (ElectricallyEPROM, EEPROM) or flash memory.Volatile memory can be to deposit at random Access to memory (RandomAccessMemory, RAM), it is used as External Cache.By exemplary but Not being restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), synchronous dynamic random-access are deposited Reservoir (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (SynchlinkDRAM, And direct rambus random access memory (DirectRambusRAM, DRRAM) SLDRAM).Herein The memorizer 402 of the system and method described is intended to include but not limited to these and arbitrarily other applicable type Memorizer.
In some embodiments, memorizer 402 stores following element, executable module or data Structure, or their subset, or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021, comprise various system program, such as ccf layer, core library layer, driving Layers etc., are used for realizing various basic business and processing hardware based task.Application program 4022, comprises Various application programs, such as media player (MediaPlayer), browser (Browser) etc., be used for realizing respectively Plant applied business.The program realizing embodiment of the present invention method may be embodied in application program 4022.
In embodiments of the present invention, by calling program or the instruction of memorizer 402 storage, concrete, can To be program or the instruction of storage in application program 4022, processor 401 is for the current of terminal being detected When positional information and pre-stored location information match, control described terminal and open the bluetooth module of this terminal, and Bluetooth equipment corresponding to identity with described current location information and described terminal storage is attached;? Detect that the first preset time period after the bluetooth module of described terminal and described bluetooth equipment connection failure terminates Time, control described terminal and close the bluetooth module of this terminal.
The method that the invention described above embodiment discloses can apply in processor 401, or by processor 401 Realize.Processor 401 is probably a kind of IC chip, has the disposal ability of signal.Realizing Cheng Zhong, each step of said method can be by the integrated logic circuit of the hardware in processor 401 or soft The instruction of part form completes.Above-mentioned processor 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other can compile Journey logical device, discrete gate or transistor logic, discrete hardware components.Can realize or perform Disclosed each method, step and logic diagram in the embodiment of the present invention.General processor can be micro-process Device or this processor can also be the processors etc. of any routine.In conjunction with the side disclosed in the embodiment of the present invention The step of method can be embodied directly in hardware decoding processor and perform, or hard with in decoding processor Part and software module combination execution complete.Software module may be located at random access memory, flash memory, read-only storage Device, ripe the depositing in this area such as programmable read only memory or electrically erasable programmable memorizer, depositor In storage media.This storage medium is positioned at memorizer 402, and processor 401 reads the information in memorizer 402, The step of said method is completed in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special collection Become circuit (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), can compile Journey logical device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, Wei Chu Manage device, in other electronic unit or a combination thereof performing herein described function.
Software is realized, can be realized by the module (such as process, function etc.) performing function described herein The techniques described herein.Software code is storable in performing in memorizer and by processor.Memorizer is permissible Within a processor or realize outside processor.
Alternatively, processor 401 specifically for: after controlling the bluetooth module that described terminal opens this terminal, The bluetooth module of described terminal and described bluetooth equipment be after the match is successful, set up the bluetooth module of described terminal with The bluetooth of described bluetooth equipment connects.
Alternatively, processor 401 specifically for: in the bluetooth described bluetooth equipment and described terminal being detected After module connection failure n times, do not scan and the body of described terminal storage in described first preset time period When part identifies corresponding bluetooth equipment, control described terminal and close the bluetooth module of this terminal;Or
After the bluetooth module connection failure n times of described bluetooth equipment and described terminal being detected, described the In one preset time period, the current location information of described terminal changes, and the current location information after change When not mating with pre-stored location information, control described terminal and close the bluetooth module of this terminal;
Wherein, N is the integer more than zero.
Alternatively, processor 401 is additionally operable to: set with described bluetooth at the bluetooth module described terminal being detected After standby successful connection, the current location information of described terminal changes, and the current location information after change When continuing not mate with pre-stored location information within the second time period, control described terminal and close the indigo plant of this terminal Tooth module.
Alternatively, processor 401 is additionally operable to: obtain the use record information of described bluetooth equipment;According to institute State use record information and obtain described pre-stored location information.
Alternatively, processor 401 specifically for: obtain the last bluetooth and connect duration more than or equal to threshold value Bluetooth equipment, disconnect residing geographical location information when bluetooth connects in the last time;According to the institute obtained State geographical location information and obtain described pre-stored location information.
Terminal 400 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, Here repeat no more.
To sum up, the described terminal that the embodiment of the present invention three provides is by according to the position of terminal, (user uses indigo plant The custom of tooth module) automatically control the opening and closing of bluetooth module, the automatic switch of bluetooth can be realized, change Enter the existing bluetooth of use in the art and need the deficiency of hand switch.
Embodiment four
Specifically, as it is shown in figure 5, the terminal 500 in the embodiment of the present invention four can be mobile phone, flat board electricity Brain, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Terminal 500 in Fig. 5 include radio frequency (RadioFrequency, RF) circuit 510, memorizer 520, Input block 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) Module 580 and power supply 590.
Wherein, input block 530 can be used for receive user input numeral or character information, and produce with The user setup of terminal 500 and function control relevant signal input.Specifically, in the embodiment of the present invention, This input block 530 can include contact panel 531.Contact panel 531, also referred to as touch screen, can collect User thereon or neighbouring touch operation (such as user uses any applicable object or attached such as finger, stylus Part operation on contact panel 531), and drive corresponding attachment means according to formula set in advance.Can Choosing, contact panel 531 can include touch detecting apparatus and two parts of touch controller.Wherein, touch The touch orientation of detection device detection user, and detect the signal that touch operation brings, transmit a signal to touch Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact seat Mark, then gives this processor 560, and can receive order that processor 560 sends and be performed.Additionally, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 531. Except contact panel 531, input block 530 can also include other input equipments 532, other input equipments 532 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), rail One or more in mark ball, mouse, action bars etc..
Wherein, display unit 540 can be used for the information that inputted by user of display or the information that is supplied to user with And the various menu interfaces of terminal 500.Display unit 540 can include display floater 541, optionally, permissible The form such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) of employing configures Display floater 541.
It should be noted that contact panel 531 can cover display floater 541, formed and touch display screen, when this touch Display screen detects thereon or after neighbouring touch operation, sends processor 560 to determine touch event Type, display screen on provide corresponding vision according to the type of touch event touching with preprocessor 560 Output.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface The arrangement mode of viewing area and this conventional control viewing area does not limit, can be arranged above and below, left-right situs Etc. the arrangement mode that can distinguish two viewing areas.This Application Program Interface viewing area is displayed for application The interface of program.Each interface can comprise icon and/or the widget desktop control of at least one application program The interface elements such as part.This Application Program Interface viewing area can also be the empty interface not comprising any content.Should Conventional control viewing area is for showing the control that utilization rate is higher, such as, and settings button, interface numbering, rolling The dynamic application icon etc. such as bar, phone directory icon.
Wherein processor 560 is the control centre of terminal 500, utilizes various interface and the whole hands of connection The various piece of machine, is stored in the software program in first memory 521 and/or module by running or performing, And call the data being stored in second memory 522, perform the various functions of terminal 500 and process number According to, thus terminal 500 is carried out integral monitoring.Optionally, processor 560 can include one or more place Reason unit.
In embodiments of the present invention, by calling the software program and/or mould stored in this first memory 521 Data in block and/or this second memory 522, processor 560 is in current location terminal being detected When information and pre-stored location information match, control described terminal and open the bluetooth module of this terminal, and with institute The bluetooth equipment stating current location information corresponding with the identity of described terminal storage is attached;In detection At the end of the first preset time period after the bluetooth module and described bluetooth equipment connection failure of described terminal, Control described terminal and close the bluetooth module of this terminal.
Alternatively, processor 560 specifically for: after controlling the bluetooth module that described terminal opens this terminal, The bluetooth module of described terminal and described bluetooth equipment be after the match is successful, set up the bluetooth module of described terminal with The bluetooth of described bluetooth equipment connects.
Alternatively, processor 560 specifically for: in the bluetooth described bluetooth equipment and described terminal being detected After module connection failure n times, do not scan and the body of described terminal storage in described first preset time period When part identifies corresponding bluetooth equipment, control described terminal and close the bluetooth module of this terminal;Or
After the bluetooth module connection failure n times of described bluetooth equipment and described terminal being detected, described the In one preset time period, the current location information of described terminal changes, and the current location information after change When not mating with pre-stored location information, control described terminal and close the bluetooth module of this terminal;
Wherein, N is the integer more than zero.
Alternatively, processor 560 is additionally operable to: set with described bluetooth at the bluetooth module described terminal being detected After standby successful connection, the current location information of described terminal changes, and the current location information after change When continuing not mate with pre-stored location information within the second time period, control described terminal and close the indigo plant of this terminal Tooth module.
Alternatively, processor 560 is additionally operable to: obtain the use record information of described bluetooth equipment;According to institute State use record information and obtain described pre-stored location information.
Alternatively, processor 560 specifically for: obtain the last bluetooth and connect duration more than or equal to threshold value Bluetooth equipment, disconnect residing geographical location information when bluetooth connects in the last time;According to the institute obtained State geographical location information and obtain described pre-stored location information.
Visible, the described terminal that the embodiment of the present invention four provides is by according to the position of terminal, (user uses indigo plant The custom of tooth module) automatically control the opening and closing of bluetooth module, the automatic switch of bluetooth can be realized, change Enter the existing bluetooth of use in the art and need the deficiency of hand switch.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, Mei Geshi Execute that example stresses is all the difference with other embodiments, identical similar portion between each embodiment Divide and see mutually.
Those of ordinary skill in the art are it is to be appreciated that combine respectively showing of the embodiments described herein description The unit of example and algorithm steps, it is possible to come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions perform with hardware or software mode actually, depend on the application-specific of technical scheme And design constraint.Each specifically should being used for can be used different methods to realize by professional and technical personnel Described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description The specific works process of system, device and unit, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, Ke Yitong The mode crossing other realizes.Such as, device embodiment described above is only schematically, such as, The division of described unit, is only a kind of logic function and divides, and actual can have other division side when realizing Formula, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can To ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or logical Letter connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, Machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, Can be stored in a computer read/write memory medium.Based on such understanding, the technical side of the present invention Part or the part of this technical scheme that prior art is contributed by case the most in other words can be with softwares The form of product embodies, and this computer software product is stored in a storage medium, including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs All or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, The various media that can store program code such as portable hard drive, ROM, RAM, magnetic disc or CD.
Also, it should be noted in this article, the relational terms of such as first and second or the like is used merely to One entity or operation are separated with another entity or operating space, and not necessarily requires or imply this Relation or the order of any this reality is there is between a little entities or operation.And, term " includes ", " bag Contain " or its any other variant be intended to comprising of nonexcludability, so that include a series of key element Process, method, article or terminal unit not only include those key elements, but also include the most clearly arranging Other key elements gone out, or also include intrinsic for this process, method, article or terminal unit Key element.In the case of there is no more restriction, statement " including ... " key element limited, not Get rid of in including the process of described key element, method, article or terminal unit, there is also other identical want Element.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should It is as the criterion with scope of the claims.

Claims (12)

1. the control method that a bluetooth connects, it is characterised in that including:
When current location information and the pre-stored location information match of terminal being detected, control described terminal and open Open the bluetooth module of this terminal, and corresponding with the identity of described current location information and described terminal storage Bluetooth equipment be attached;
The first Preset Time after the bluetooth module described terminal being detected and described bluetooth equipment connection failure At the end of Duan, control described terminal and close the bluetooth module of this terminal.
2. control method as claimed in claim 1, it is characterised in that the described terminal of described control is opened should The bluetooth module of terminal, and the indigo plant corresponding with the identity of described current location information and described terminal storage The step that tooth equipment is attached includes:
After controlling the bluetooth module that described terminal opens this terminal, the bluetooth module of described terminal and described bluetooth Equipment is after the match is successful, and the bluetooth of the bluetooth module and described bluetooth equipment of setting up described terminal is connected.
3. control method as claimed in claim 1, it is characterised in that described described terminal detected At the end of the first preset time period after bluetooth module and described bluetooth equipment connection failure, control described terminal The step of the bluetooth module closing this terminal includes:
After the bluetooth module connection failure n times of described bluetooth equipment and described terminal being detected, described the When not scanning the bluetooth equipment corresponding with the identity of described terminal storage in one preset time period, control Described terminal closes the bluetooth module of this terminal;Or
After the bluetooth module connection failure n times of described bluetooth equipment and described terminal being detected, described the In one preset time period, the current location information of described terminal changes, and the current location information after change When not mating with pre-stored location information, control described terminal and close the bluetooth module of this terminal;
Wherein, N is the integer more than zero.
4. control method as claimed in claim 1, it is characterised in that described control method also includes:
After the bluetooth module described terminal being detected and described bluetooth equipment successful connection, working as of described terminal Front position information changes, and the current location information after change continues within the second time period and prestores position When confidence breath does not mates, control described terminal and close the bluetooth module of this terminal.
5. control method as claimed in claim 1, it is characterised in that described the current of terminal detected When positional information and pre-stored location information match, control described terminal and open the bluetooth module of this terminal, and The step that bluetooth equipment corresponding to identity with described current location information and described terminal storage is attached Before Zhou, also include:
Obtain the use record information of described bluetooth equipment;
Described pre-stored location information is obtained according to described use record information.
6. control method as claimed in claim 5, it is characterised in that the described bluetooth equipment of described acquisition The step using record information includes:
Obtain the last bluetooth and connect the duration bluetooth equipment more than or equal to threshold value, disconnect indigo plant in the last time The geographical location information that tooth is residing when connecting;
The described step obtaining described pre-stored location information according to described use record information includes:
Described pre-stored location information is obtained according to the described geographical location information obtained.
7. a terminal, it is characterised in that including:
First control module, for detecting current location information and the pre-stored location information match of terminal Time, control described terminal and open the bluetooth module of this terminal, and with described current location information and described terminal The bluetooth equipment that the identity of storage is corresponding is attached;
Second control module, for being connected mistake at the bluetooth module described terminal being detected with described bluetooth equipment At the end of the first preset time period after losing, control described terminal and close the bluetooth module of this terminal.
8. terminal as claimed in claim 7, it is characterised in that described first control module includes:
Set up submodule, after controlling the bluetooth module that described terminal opens this terminal, the indigo plant of described terminal Tooth module and described bluetooth equipment after the match is successful, set up the bluetooth module of described terminal and described bluetooth equipment Bluetooth connect.
9. terminal as claimed in claim 7, it is characterised in that described second control module includes:
First controls submodule, for detecting that the described bluetooth equipment bluetooth module with described terminal is connected After failure n times, do not scan and the identity pair of described terminal storage in described first preset time period During the bluetooth equipment answered, control described terminal and close the bluetooth module of this terminal;Or
Second controls submodule, for detecting that the described bluetooth equipment bluetooth module with described terminal is connected After failure n times, in described first preset time period, the current location information of described terminal changes, and When current location information after change does not mates with pre-stored location information, control described terminal and close this terminal Bluetooth module;
Wherein, N is the integer more than zero.
10. terminal as claimed in claim 7, it is characterised in that described terminal also includes:
3rd control module, for connecting into described bluetooth equipment at the bluetooth module described terminal being detected After merit, the current location information of described terminal changes, and the current location information after change is when second Between when continuing in section not mate with pre-stored location information, control described terminal and close the bluetooth module of this terminal.
11. terminals as claimed in claim 7, it is characterised in that described first control module includes:
Obtain submodule, for obtaining the use record information of described bluetooth equipment;
Process submodule, for obtaining described pre-stored location information according to described use record information.
12. terminals as claimed in claim 11, it is characterised in that described acquisition submodule includes:
Acquiring unit, connects the duration bluetooth equipment more than or equal to threshold value for obtaining the last bluetooth, The geographical location information that the last disconnection bluetooth is residing when connecting;
Described process submodule includes:
Processing unit, for obtaining described pre-stored location information according to the described geographical location information obtained.
CN201610490416.5A 2016-06-24 2016-06-24 Bluetooth connection control method and terminal Pending CN105897314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610490416.5A CN105897314A (en) 2016-06-24 2016-06-24 Bluetooth connection control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490416.5A CN105897314A (en) 2016-06-24 2016-06-24 Bluetooth connection control method and terminal

Publications (1)

Publication Number Publication Date
CN105897314A true CN105897314A (en) 2016-08-24

Family

ID=56719377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490416.5A Pending CN105897314A (en) 2016-06-24 2016-06-24 Bluetooth connection control method and terminal

Country Status (1)

Country Link
CN (1) CN105897314A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730847A (en) * 2017-10-31 2018-02-23 北京小米移动软件有限公司 Sharing articles finding method and device
CN108073263A (en) * 2016-11-11 2018-05-25 法乐第(北京)网络科技有限公司 The control method and device of a kind of onboard program
CN108174369A (en) * 2017-11-30 2018-06-15 广东小天才科技有限公司 The microphone of early education equipment starts method, apparatus, early education equipment and storage medium
CN108196757A (en) * 2018-01-31 2018-06-22 维沃移动通信有限公司 The setting method and mobile terminal of a kind of icon
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN109429201A (en) * 2017-06-30 2019-03-05 北京橙鑫数据科技有限公司 The method, apparatus and equipment of data communication
CN110139259A (en) * 2019-05-15 2019-08-16 中国联合网络通信集团有限公司 Bluetooth control method and system
CN112333594A (en) * 2020-11-03 2021-02-05 深圳市声临科技有限公司 Audio switching method for Bluetooth headset and Bluetooth sound box
CN112788530A (en) * 2021-02-04 2021-05-11 深圳市海雀科技有限公司 Method and device for connecting mobile terminal and vehicle-mounted intelligent terminal and transmitting data
CN113660650A (en) * 2021-04-12 2021-11-16 荣耀终端有限公司 Method and related device for device reconnection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640069A (en) * 2002-07-01 2005-07-13 诺基亚有限公司 A method for establishing a connection between a mobile device and a second device
CN101155361A (en) * 2006-09-29 2008-04-02 中国电信股份有限公司 Mobile terminal and its method for improving Bluetooth power consumption combined with service application
CN103228059A (en) * 2013-04-02 2013-07-31 深圳市文鼎创数据科技有限公司 Method and device for processing bluetooth pairing information
US8515077B2 (en) * 2010-05-12 2013-08-20 Research In Motion Limited Automatic application management in a short-range wireless system
CN104639768A (en) * 2013-11-11 2015-05-20 中国移动通信集团公司 Intelligent power management method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640069A (en) * 2002-07-01 2005-07-13 诺基亚有限公司 A method for establishing a connection between a mobile device and a second device
CN101155361A (en) * 2006-09-29 2008-04-02 中国电信股份有限公司 Mobile terminal and its method for improving Bluetooth power consumption combined with service application
US8515077B2 (en) * 2010-05-12 2013-08-20 Research In Motion Limited Automatic application management in a short-range wireless system
CN103228059A (en) * 2013-04-02 2013-07-31 深圳市文鼎创数据科技有限公司 Method and device for processing bluetooth pairing information
CN104639768A (en) * 2013-11-11 2015-05-20 中国移动通信集团公司 Intelligent power management method and equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073263A (en) * 2016-11-11 2018-05-25 法乐第(北京)网络科技有限公司 The control method and device of a kind of onboard program
CN109429201A (en) * 2017-06-30 2019-03-05 北京橙鑫数据科技有限公司 The method, apparatus and equipment of data communication
CN107730847A (en) * 2017-10-31 2018-02-23 北京小米移动软件有限公司 Sharing articles finding method and device
CN108174369B (en) * 2017-11-30 2021-04-23 广东小天才科技有限公司 Microphone starting method and device of early education equipment, early education equipment and storage medium
CN108174369A (en) * 2017-11-30 2018-06-15 广东小天才科技有限公司 The microphone of early education equipment starts method, apparatus, early education equipment and storage medium
CN108196757A (en) * 2018-01-31 2018-06-22 维沃移动通信有限公司 The setting method and mobile terminal of a kind of icon
CN108632796A (en) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 Bluetooth connecting method, device, terminal and computer readable storage medium
CN108632796B (en) * 2018-04-16 2021-05-28 Oppo广东移动通信有限公司 Bluetooth connection method, device, terminal and computer readable storage medium
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
CN112333594A (en) * 2020-11-03 2021-02-05 深圳市声临科技有限公司 Audio switching method for Bluetooth headset and Bluetooth sound box
CN112788530A (en) * 2021-02-04 2021-05-11 深圳市海雀科技有限公司 Method and device for connecting mobile terminal and vehicle-mounted intelligent terminal and transmitting data
CN113660650A (en) * 2021-04-12 2021-11-16 荣耀终端有限公司 Method and related device for device reconnection

Similar Documents

Publication Publication Date Title
CN105897314A (en) Bluetooth connection control method and terminal
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN105827853B (en) A kind of output control method and mobile terminal of the outer playback amount of terminal
CN106844067A (en) The processing method and mobile terminal of a kind of content
CN106648416A (en) Method for starting application and mobile terminal
CN107194235B (en) A kind of application program launching method and mobile terminal
US20110291930A1 (en) Electronic device with touch input function and touch input method thereof
CN107679426A (en) A kind of screen content display method thereof and mobile terminal
CN106022078A (en) Fingerprint module starting control method and mobile terminal
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN107172346A (en) A kind of weakening method and mobile terminal
CN106127003A (en) A kind of fingerprint recognition unlocking method and mobile terminal
CN103605471A (en) Single-hand control method and device and handheld device
CN106161811A (en) A kind of reminding method and mobile terminal
CN106355395A (en) Payment method and mobile terminal
CN106125884B (en) A kind of processing method and mobile terminal of the background task of mobile terminal
CN107632750A (en) The operating method and mobile terminal of a kind of icon
CN106210343A (en) The method of adjustment of a kind of mobile terminal screen brightness and mobile terminal
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106250026A (en) The startup method of the application program of a kind of mobile terminal and mobile terminal
CN107609374A (en) A kind of unlocking method and mobile terminal
CN106095296A (en) The changing method of a kind of application program and mobile terminal
CN106131828A (en) A kind of WiFi password sharing method, mobile terminal and Cloud Server
CN106060397B (en) A kind of screening-mode switching method and mobile terminal
CN106126089A (en) A kind of method realizing in the terminal replicating and pasting and mobile terminal

Legal Events

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

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication