CN104144251A - Bluetooth control method and device of mobile terminal - Google Patents

Bluetooth control method and device of mobile terminal Download PDF

Info

Publication number
CN104144251A
CN104144251A CN201310228354.7A CN201310228354A CN104144251A CN 104144251 A CN104144251 A CN 104144251A CN 201310228354 A CN201310228354 A CN 201310228354A CN 104144251 A CN104144251 A CN 104144251A
Authority
CN
China
Prior art keywords
bluetooth module
mobile terminal
screen
bluetooth
described bluetooth
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
CN201310228354.7A
Other languages
Chinese (zh)
Inventor
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310228354.7A priority Critical patent/CN104144251A/en
Publication of CN104144251A publication Critical patent/CN104144251A/en
Pending legal-status Critical Current

Links

Abstract

The invention is suitable for the field of wireless communication, and provides a Bluetooth control method and device of a mobile terminal. The method includes the steps of detecting whether a screen of the mobile terminal is switched into an inactive state; judging whether a Bluetooth module of the mobile terminal is started when it is detected that the screen of the mobile terminal is switched into the inactive state; when the Bluetooth module is started, monitoring the Bluetooth module until the monitored Bluetooth module is not in a work state, and automatically turning off the Bluetooth module. When the screen of the mobile terminal is in the inactive state, the Bluetooth module in the mobile terminal is intelligently controlled to be on or off, and accordingly it is guaranteed that when Bluetooth is needed, the Bluetooth module is in an on state, and when the Bluetooth is not needed, the Bluetooth module is in an off state. Accordingly, on the premise that standby time of the mobile terminal is guaranteed, the operation step that data transmission is carried out through the Bluetooth is effectively simplified, and operation efficiency is improved.

Description

A kind of Bluetooth control method and device of mobile terminal
Technical field
The invention belongs to wireless communication field, relate in particular to a kind of Bluetooth control method and device of mobile terminal.
Background technology
Bluetooth, is a kind of radiotechnics of support equipment short haul connection, can carry out wireless messages exchange comprising between numerous mobile terminals such as mobile phone, panel computer, wireless headset, notebook computer.Along with popularizing of intelligent mobile terminal, the use of bluetooth is also more and more extensive, almost on each mobile terminal, is all equipped with Bluetooth chip, facilitates mobile terminal to use bluetooth to realize data-transformation facility miscellaneous.
Once after mobile terminal has been opened bluetooth, can cause extra power consumption if close not in time, reduce the stand-by time of mobile terminal; If all it is closed and use bluetooth at every turn,, when using bluetooth next time, also need to reopen, reduced the operating efficiency that carries out transfer of data by bluetooth.
Summary of the invention
The embodiment of the present invention provides a kind of Bluetooth control method of mobile terminal, when being intended to guarantee the stand-by time of mobile terminal, improves the operating efficiency that carries out transfer of data by bluetooth.
The embodiment of the present invention is achieved in that a kind of Bluetooth control method of mobile terminal, comprising:
Whether the screen that detects described mobile terminal is switched to unactivated state;
When the screen of described mobile terminal being detected and be switched to described unactivated state, judge whether the bluetooth module of described mobile terminal is opened;
When described bluetooth module is opened, monitor described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically close described bluetooth module.
Another object of the embodiment of the present invention is to provide a kind of Bluetooth control device of mobile terminal, comprising:
Whether the first detecting unit, be switched to unactivated state for detection of the screen of described mobile terminal;
Judging unit, for when the screen of described mobile terminal being detected and be switched to described unactivated state, judges whether the bluetooth module of described mobile terminal is opened;
Monitoring unit, for when described bluetooth module is opened, monitors described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically closes described bluetooth module.
In embodiments of the present invention, when the screen of mobile terminal is during in unactivated state, by intelligently the bluetooth module in mobile terminal being carried out to switch control, no longer need manual operation, can guarantee when needs are used bluetooth, bluetooth module is in opening, and when not needing to use bluetooth, bluetooth module is in closed condition, thereby guaranteeing under the prerequisite of mobile terminal standby time, effectively simplify the operating procedure of carrying out transfer of data by bluetooth, improved operating efficiency.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the Bluetooth control method of the mobile terminal that provides of the embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of the Bluetooth control method S103 of the mobile terminal that provides of the embodiment of the present invention;
Fig. 3 is the realization flow figure of the Bluetooth control method of the mobile terminal that provides of another embodiment of the present invention;
Fig. 4 is the structured flowchart of the Bluetooth control device of the mobile terminal that provides of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the Bluetooth control device of the mobile terminal that provides of another embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, when the screen of mobile terminal is during in unactivated state, by intelligently the bluetooth module in mobile terminal being carried out to switch control, no longer need manual operation, can guarantee when needs are used bluetooth, bluetooth module is in opening, and when not needing to use bluetooth, bluetooth module is in closed condition, thereby guaranteeing under the prerequisite of mobile terminal standby time, effectively simplify the operating procedure of carrying out transfer of data by bluetooth, improved operating efficiency.
Fig. 1 shows the realization flow of the Bluetooth control method of the mobile terminal that the embodiment of the present invention provides, and details are as follows:
In S101, whether the screen that detects described mobile terminal is switched to unactivated state.
As one embodiment of the present of invention, the unactivated state of the screen of mobile terminal comprises screen closed condition.When user side is by the screen of physical button or virtual key turning-off mobile terminal, or (for example work as mobile terminal operation overtime, the time that mobile terminal does not trigger any operation has surpassed a certain predetermined threshold value) and automatically close screen, the screen of mobile terminal can be switched to screen closed condition.Particularly, can whether in "on" position, determine whether it is switched to screen closed condition by detecting the screen of mobile terminal.
As another embodiment of the present invention, the unactivated state of the screen of mobile terminal comprises lock state of screen.In some cases, when mobile terminal is closed after screen, or after user side triggers screen locking instruction by physical button or virtual key, the screen of mobile terminal can carry out lock state of screen, under this state, even if lighted the screen of mobile terminal, before not carrying out unlocking screen operation, the screen of mobile terminal is still in the lock state, for the misoperation that prevents that user side from producing mobile terminal.Under this lock state of screen, cannot carry out any operation except unlocking operation to mobile terminal.
In S102, when the screen of described mobile terminal being detected and be switched to described unactivated state, judge whether the bluetooth module of described mobile terminal is opened.
In S103, when described bluetooth module is opened, monitor described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically close described bluetooth module.
In the present embodiment, when the screen that mobile terminal detected is during in above-mentioned any one unactivated state, further the state of bluetooth module in mobile terminal is judged, judgement bluetooth module is in opening or closed condition.If the bluetooth module of mobile terminal is in closed condition, without carrying out any operation again; And if during the current unlatching of the bluetooth module of judging mobile terminal, owing to now can not having the situation by user side active operation mobile terminal, user side also can not trigger Bluetooth function under the unactivated state of the screen of mobile terminal, only may exist bluetooth module to still have the situation of the work not being finished, therefore, bluetooth module is monitored, until listen to bluetooth module when not in running order, automatically closed bluetooth module.
Particularly, S103 can be as shown in Figure 2:
In S201, detect described bluetooth module and whether carrying out file transfer.
In the present embodiment, first judge the whether still file transmission task before execution screen is switched to unactivated state of bluetooth module, if bluetooth module is current, be connected with other bluetooth equipments, carry out file transfer, need to wait for to guarantee that this document transformation task completes.
In S202, when described bluetooth module being detected and do not carry out file transfer, detect described bluetooth module and whether be connected to other bluetooth equipments.
When bluetooth module not detected when carrying out file transfer, or when listening to bluetooth module file transfer and being finished, further detect current other bluetooth equipments that whether are connected to of bluetooth module.
In the present embodiment, bluetooth module may be connected to the bluetooth equipments such as bluetooth earphone, Vehicular bluetooth telephone, above-mentioned bluetooth equipment can't carry out file transfer with bluetooth module, but can establish a connection in real time with bluetooth module, for carrying out erratically the transmission of the data such as voice.Therefore, in the present embodiment, except judging whether bluetooth module is carrying out file transfer, also need further to judge whether bluetooth module connects with other bluetooth equipments.
In S203, when described bluetooth module being detected and be not connected to other bluetooth equipments, automatically close described bluetooth module.
In the present embodiment, based on above-mentioned steps, when bluetooth module not detected and connecting with other bluetooth equipments, or listen to being connected while disconnecting of bluetooth module and other bluetooth equipments, shown in this case, mobile terminal is without re-using bluetooth module, and simultaneously because the screen of mobile terminal is in unactivated state, also can not trigger the operation to bluetooth module by user side, therefore, automatically bluetooth module is closed, thereby reach, save mobile terminal electric weight, the object that extends the mobile terminal standby time.
In the present embodiment, the disconnection that is connected of bluetooth module and other bluetooth equipments, can initiatively disconnect and being connected of other bluetooth equipments for bluetooth module, or other bluetooth equipments initiatively disconnect with bluetooth module be connected that (for example the power knob on bluetooth earphone is pressed, bluetooth earphone is closed, thereby disconnected and being connected of bluetooth module), or the distance of bluetooth module and other bluetooth equipments has exceeded the communication distance that bluetooth is supported.
Further, as one embodiment of the present of invention, S203 can be specially:
When described bluetooth module being detected be not all connected to other bluetooth equipments in Preset Time, automatically close described bluetooth module.
; while not being connected to other bluetooth equipments from described bluetooth module being detected; start timer and start timing; if bluetooth module is not all set up and being connected of other bluetooth equipments again in the Preset Time of timer timing; close again bluetooth module; can avoid thus having closed bluetooth because connect the unstable shake causing by mistake, cause user side need to light mobile terminal screen and reopen Bluetooth function, cause on the contrary the situation of the data transmission efficiency reduction of bluetooth to occur.
In the present embodiment, Preset Time can be the Preset Time of system default, also the Preset Time that can set according to the use habit of self for user side,, if user side is used the frequency of bluetooth module higher, in most cases the bluetooth module of its mobile terminal is all while connecting other bluetooth equipments, and this Preset Time can correspondingly arrange prolongation; On the contrary, if user side is used the frequency of bluetooth module lower, this Preset Time can correspondingly arrange shortening.
As shown in Figure 3, further, after S103, also comprise:
In S104, when the screen that described mobile terminal detected is during no longer in described unactivated state, detect described bluetooth module and whether automatically closed.
That is, when the screen of mobile terminal is lit, or after the screen of mobile terminal is unlocked, then the state of current bluetooth module is detected.
In S105, if described bluetooth module is closed automatically, open described bluetooth module.
In the present embodiment, when the screen of mobile terminal is during no longer in unactivated state, due in this case, user side may need to trigger bluetooth module, therefore, if it is current in closed condition to detect bluetooth module,, bluetooth module is closed under unactivated state automatically at the screen of mobile terminal, again open bluetooth module, avoid when mobile terminal need to use bluetooth module, also need user side manually opened bluetooth module again, effectively improved the operating efficiency that carries out transfer of data by bluetooth.
In embodiments of the present invention, when the screen of mobile terminal is during in unactivated state, by intelligently the bluetooth module in mobile terminal being carried out to switch control, no longer need manual operation, can guarantee when needs are used bluetooth, bluetooth module is in opening, and when not needing to use bluetooth, bluetooth module is in closed condition, thereby guaranteeing under the prerequisite of mobile terminal standby time, effectively simplify the operating procedure of carrying out transfer of data by bluetooth, improved operating efficiency.
Fig. 4 shows the structured flowchart of the Bluetooth control device of the mobile terminal that the embodiment of the present invention provides, this device can be arranged in the mobile terminals such as mobile phone, panel computer, notebook computer, for moving the Bluetooth control method of the mobile terminal described in Fig. 1 to Fig. 3 embodiment of the present invention.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 4, this device comprises:
The first detecting unit 41, whether the screen that detects described mobile terminal is switched to unactivated state.
Judging unit 42, when the screen of described mobile terminal being detected and be switched to described unactivated state, judges whether the bluetooth module of described mobile terminal is opened.
Monitoring unit 43, when described bluetooth module is opened, monitors described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically closes described bluetooth module.
Alternatively, described unactivated state comprises screen closed condition or lock state of screen.
Alternatively, described monitoring unit 43 comprises:
The first detection sub-unit, detects described bluetooth module and whether is carrying out file transfer.
The second detection sub-unit, when described bluetooth module being detected and do not carry out file transfer, detects described bluetooth module and whether is connected to other bluetooth equipments.
Closing unit, when described bluetooth module being detected and be not connected to other bluetooth equipments, closes described bluetooth module automatically.
Alternatively, described monitoring unit 43 specifically for:
When described bluetooth module being detected be not all connected to other bluetooth equipments in Preset Time, automatically close described bluetooth module.
Alternatively, as shown in Figure 5, described device also comprises:
Whether the second detecting unit 44, when the screen that described mobile terminal detected is during no longer in described unactivated state, detect described bluetooth module and automatically closed.
Open unit 45, if described bluetooth module is closed automatically, open described bluetooth module.
In embodiments of the present invention, when the screen of mobile terminal is during in unactivated state, by intelligently the bluetooth module in mobile terminal being carried out to switch control, no longer need manual operation, can guarantee when needs are used bluetooth, bluetooth module is in opening, and when not needing to use bluetooth, bluetooth module is in closed condition, thereby guaranteeing under the prerequisite of mobile terminal standby time, effectively simplify the operating procedure of carrying out transfer of data by bluetooth, improved operating efficiency.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a Bluetooth control method for mobile terminal, is characterized in that, comprising:
Whether the screen that detects described mobile terminal is switched to unactivated state;
When the screen of described mobile terminal being detected and be switched to described unactivated state, judge whether the bluetooth module of described mobile terminal is opened;
When described bluetooth module is opened, monitor described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically close described bluetooth module.
2. the method for claim 1, is characterized in that, described unactivated state comprises screen closed condition or lock state of screen.
3. the method for claim 1, is characterized in that, the described bluetooth module of described monitoring, until it is not in running order to listen to described bluetooth module, is automatically closed described bluetooth module and comprised:
Detect described bluetooth module and whether carrying out file transfer;
When described bluetooth module being detected and do not carry out file transfer, detect described bluetooth module and whether be connected to other bluetooth equipments;
When described bluetooth module being detected and be not connected to other bluetooth equipments, automatically close described bluetooth module.
4. method as claimed in claim 3, is characterized in that, described when described bluetooth module being detected and be not connected to other bluetooth equipments, automatically closes described bluetooth module and comprises:
When described bluetooth module being detected be not all connected to other bluetooth equipments in Preset Time, automatically close described bluetooth module.
5. the method as described in claim 1~4 any one, is characterized in that, also comprises:
When the screen that described mobile terminal detected is during no longer in described unactivated state, detect described bluetooth module and whether automatically closed;
If described bluetooth module is closed automatically, open described bluetooth module.
6. a Bluetooth control device for mobile terminal, is characterized in that, comprising:
Whether the first detecting unit, be switched to unactivated state for detection of the screen of described mobile terminal;
Judging unit, for when the screen of described mobile terminal being detected and be switched to described unactivated state, judges whether the bluetooth module of described mobile terminal is opened;
Monitoring unit, for when described bluetooth module is opened, monitors described bluetooth module, until it is not in running order to listen to described bluetooth module, automatically closes described bluetooth module.
7. device as claimed in claim 6, is characterized in that, described unactivated state comprises screen closed condition or lock state of screen.
8. device as claimed in claim 6, is characterized in that, described monitoring unit comprises:
Whether the first detection sub-unit, carrying out file transfer for detection of described bluetooth module;
The second detection sub-unit, for when described bluetooth module being detected and do not carry out file transfer, detects described bluetooth module and whether is connected to other bluetooth equipments;
Closing unit, for when described bluetooth module being detected and be not connected to other bluetooth equipments, closes described bluetooth module automatically.
9. device as claimed in claim 8, is characterized in that, described monitoring unit specifically for:
When described bluetooth module being detected be not all connected to other bluetooth equipments in Preset Time, automatically close described bluetooth module.
10. the device as described in claim 6~9 any one, is characterized in that, also comprises:
Whether the second detecting unit,, detect described bluetooth module and automatically closed during no longer in described unactivated state for the screen when described mobile terminal being detected;
Open unit, if automatically closed for described bluetooth module, open described bluetooth module.
CN201310228354.7A 2013-06-08 2013-06-08 Bluetooth control method and device of mobile terminal Pending CN104144251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310228354.7A CN104144251A (en) 2013-06-08 2013-06-08 Bluetooth control method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310228354.7A CN104144251A (en) 2013-06-08 2013-06-08 Bluetooth control method and device of mobile terminal

Publications (1)

Publication Number Publication Date
CN104144251A true CN104144251A (en) 2014-11-12

Family

ID=51853317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310228354.7A Pending CN104144251A (en) 2013-06-08 2013-06-08 Bluetooth control method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN104144251A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028268A (en) * 2016-06-27 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for lowering device power consumption
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system
CN108012027A (en) * 2017-11-28 2018-05-08 北京小米移动软件有限公司 The method and apparatus for managing application program
CN109532726A (en) * 2018-11-21 2019-03-29 浙江泰米电子科技有限公司 A kind of control method that personal vehicle system is adaptive
CN113630751A (en) * 2020-05-06 2021-11-09 成都鼎桥通信技术有限公司 Bluetooth using method and device based on dual systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420912A (en) * 2011-12-15 2012-04-18 华为终端有限公司 Method and terminal for realizing Bluetooth function
CN102752030A (en) * 2011-04-22 2012-10-24 比亚迪股份有限公司 Method and system for connecting incoming call to Bluetooth headset
CN103024131A (en) * 2011-09-20 2013-04-03 希姆通信息技术(上海)有限公司 Bluetooth function control method of mobile terminal and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752030A (en) * 2011-04-22 2012-10-24 比亚迪股份有限公司 Method and system for connecting incoming call to Bluetooth headset
CN103024131A (en) * 2011-09-20 2013-04-03 希姆通信息技术(上海)有限公司 Bluetooth function control method of mobile terminal and mobile terminal
CN102420912A (en) * 2011-12-15 2012-04-18 华为终端有限公司 Method and terminal for realizing Bluetooth function

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028268A (en) * 2016-06-27 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for lowering device power consumption
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system
CN108012027A (en) * 2017-11-28 2018-05-08 北京小米移动软件有限公司 The method and apparatus for managing application program
CN109532726A (en) * 2018-11-21 2019-03-29 浙江泰米电子科技有限公司 A kind of control method that personal vehicle system is adaptive
CN109532726B (en) * 2018-11-21 2021-05-11 浙江泰米电子科技有限公司 Intelligent automobile system self-adaptive control method
CN113630751A (en) * 2020-05-06 2021-11-09 成都鼎桥通信技术有限公司 Bluetooth using method and device based on dual systems
CN113630751B (en) * 2020-05-06 2023-10-20 成都鼎桥通信技术有限公司 Bluetooth using method and device based on dual systems

Similar Documents

Publication Publication Date Title
CN106604369B (en) Terminal equipment with dual-mode switching function
EP3873004B1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
JP5011424B2 (en) In-vehicle terminal device and wireless connection program for in-vehicle terminal device
CN103677214A (en) Electricity consumption control method and device used for mobile terminal and mobile terminal
CN102568184B (en) Method and system for implementing screen unlocking/locking and backlight switching of Bluetooth earphone
EP2649859B1 (en) Automatically enabling wireless communication
CN107852762A (en) Manage method, bluetooth master and the device of bluetooth connection
CN105430547A (en) Dormancy method and apparatus of bluetooth earphones
CN111290563A (en) Terminal control method and device and terminal
CN104144251A (en) Bluetooth control method and device of mobile terminal
CN102647527B (en) A kind of intelligent communications terminal and service operation method, device
CN105306682A (en) Method and device for automatically disconnecting network connection
US20190160970A1 (en) Methods and systems for managing power supply at a device
CN102799481A (en) Method and device for switching modes on terminal
CN105088648A (en) Washing machine control system and washing machine
CN105721699A (en) Method and system for switching driving mode of mobile terminal
CA2547204C (en) Inter-processor parameter management in a multiple-processor wireless mobile communication device operating on a processor specific communication network
CN103561435A (en) Multi-mode terminal and communication method
CN103260205A (en) Initiatively switching network connecting method and initiatively switching network connecting device
CN103167128A (en) System and method for achieving automatic sleep of mobile phone based on proximity sensor
CN105786157A (en) Electronic device and control method thereof
KR102371501B1 (en) Apparatus and method for providing usb interface between potable device and external device
CN107318153B (en) Bluetooth module management method and device
CN206181163U (en) Cell -phone with record is stolen to physics anti -eavesdrop
CN104780085A (en) Household appliance and networking method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20141112