CN107835518B - Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium - Google Patents

Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium Download PDF

Info

Publication number
CN107835518B
CN107835518B CN201710931004.5A CN201710931004A CN107835518B CN 107835518 B CN107835518 B CN 107835518B CN 201710931004 A CN201710931004 A CN 201710931004A CN 107835518 B CN107835518 B CN 107835518B
Authority
CN
China
Prior art keywords
bluetooth
mobile terminal
bluetooth equipment
connection request
searching
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.)
Active
Application number
CN201710931004.5A
Other languages
Chinese (zh)
Other versions
CN107835518A (en
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710931004.5A priority Critical patent/CN107835518B/en
Publication of CN107835518A publication Critical patent/CN107835518A/en
Application granted granted Critical
Publication of CN107835518B publication Critical patent/CN107835518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a control method for selectively connecting and searching Bluetooth, a mobile terminal and a storage medium, wherein the method comprises the following steps: the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again; when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not; when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment; and when the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, initiating the operation of searching the surrounding visible Bluetooth equipment. According to the invention, when the Bluetooth equipment needing automatic connection is not in the communication range or is closed, the connection request operation aiming at the Bluetooth equipment is cancelled, the power consumption and the resource waste of the mobile terminal are reduced, and other Bluetooth equipment is searched more efficiently.

Description

Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a control method for selectively connecting and searching Bluetooth, a mobile terminal and a storage medium.
Background
In the mobile terminal in the prior art, in order to bring convenience to users, a bluetooth module of the mobile terminal is added with a function of automatically connecting bluetooth equipment. The concrete conditions are as follows: if a remote bluetooth device (supporting a bluetooth protocol of A2dp or HFP, A2dp, Advanced Audio Distribution Profile protocol, i.e. Advanced bluetooth Audio transmission model protocol, is mainly used to implement bluetooth Audio transmission; HFP, portable-free Profile protocol, is mainly used to process bluetooth voice connection protocol, and is usually used to implement functions such as answering, hanging up, rejecting, voice dialing, etc.), such as bluetooth headset, bluetooth speaker, or bluetooth onboard bluetooth and mobile terminal is in a connected state, then when the bluetooth of the mobile terminal is turned on next time, the bluetooth module of the mobile terminal will automatically reconnect these bluetooth devices.
Then, there is a problem that when the mobile terminal starts the bluetooth, the bluetooth of the mobile terminal will start the function of automatically searching nearby bluetooth devices, and at this time, the operation of automatically connecting the bluetooth devices occupies part of resources, which will reduce the efficiency of searching other bluetooth devices by the bluetooth of the mobile terminal, and at the same time, if the user wants to connect newly searched bluetooth devices, it will also be affected. Even if the automatically connected device is not in communication range or has been turned off, the automatic connection will still proceed until the connection timeout ends.
In fact, if the automatically connected bluetooth device is turned off or is not within the communication range, the automatic connection operation has no meaning, and in this case, not only the convenience of the user cannot be brought, but also other operations of the user, such as searching for a device and connecting other devices, are affected.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The present invention aims to provide a control method, a mobile terminal and a storage medium for selectively connecting and searching bluetooth, which aims to determine whether a connected bluetooth device is in a communication range or is turned off in advance when the mobile terminal is automatically connected to the bluetooth device, and cancel a connection request operation for the bluetooth device when the bluetooth device to be automatically connected is not in the communication range or is turned off, thereby reducing useless power and resource waste of the mobile terminal, and more efficiently searching other bluetooth devices.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a control method of selectively connecting and searching for bluetooth, wherein the control method of selectively connecting and searching for bluetooth comprises:
the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again;
when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not;
when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment;
and when the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, initiating the operation of searching the surrounding visible Bluetooth equipment.
The control method for selectively connecting and searching the Bluetooth further comprises the following steps that the mobile terminal starts the Bluetooth function and judges whether the connected Bluetooth equipment needs to be automatically connected again:
when the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, the operation of searching the surrounding visible Bluetooth equipment is directly initiated.
The control method for selectively connecting and searching the Bluetooth, wherein the step of starting to read the signal strength information from the Bluetooth device and judging whether the mobile terminal receives the signal strength information returned by the Bluetooth device comprises the following steps:
when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth device;
and after waiting for the preset time, judging whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment.
The control method for selectively connecting and searching Bluetooth, wherein the connection request is initiated to the Bluetooth device when the connection request is received, and the connection request operation to the Bluetooth device is cancelled when the connection request operation is not received, comprises the following steps:
when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within preset time, initiating a connection request to the Bluetooth equipment;
and when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth equipment is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth equipment is cancelled.
The control method for selectively connecting and searching Bluetooth, wherein the Bluetooth device comprises: the Bluetooth headset, the Bluetooth sound box and the Bluetooth vehicle are mounted; the preset time is 3 seconds.
A mobile terminal comprising a processor, and a memory coupled to the processor, the memory storing a control program for selectively connecting and searching for bluetooth, the control program for selectively connecting and searching for bluetooth when executed by the processor for implementing the steps of:
the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again;
when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not;
when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment;
and when the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, initiating the operation of searching the surrounding visible Bluetooth equipment.
The mobile terminal, wherein the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor, implement the following steps:
when the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, the operation of searching the surrounding visible Bluetooth equipment is directly initiated.
The mobile terminal, wherein the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor, implement the following steps:
when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth device;
and after waiting for the preset time, judging whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment.
The mobile terminal, wherein the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor, implement the following steps:
when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within preset time, initiating a connection request to the Bluetooth equipment;
and when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth equipment is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth equipment is cancelled.
A storage medium, wherein the storage medium stores a control program for selectively connecting and searching for bluetooth, and the control program for selectively connecting and searching for bluetooth is executed by a processor to implement the control method for selectively connecting and searching for bluetooth.
The invention provides a control method for selectively connecting and searching Bluetooth, a mobile terminal and a storage medium, wherein the method comprises the following steps: the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again; when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not; when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment; and when the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, initiating the operation of searching the surrounding visible Bluetooth equipment. When the mobile terminal is automatically connected with the Bluetooth equipment, whether the connected Bluetooth equipment is in a communication range or is closed or not is judged in advance, and when the Bluetooth equipment needing automatic connection is not in the communication range or is closed, the connection request operation aiming at the Bluetooth equipment is cancelled, so that the power consumption and the resource waste of the mobile terminal are reduced, and other Bluetooth equipment is searched more efficiently.
Drawings
Fig. 1 is a flowchart of a first preferred embodiment of the control method for selectively connecting and searching bluetooth of the present invention.
Fig. 2 is a functional block diagram of a preferred embodiment of the mobile terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a control method for selectively connecting and searching bluetooth according to a first preferred embodiment of the present invention. As shown in fig. 1, a control method for selectively connecting and searching bluetooth, comprises the following steps:
and step S100, the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again.
In the embodiment of the invention, Bluetooth equipment (the Bluetooth equipment comprises Bluetooth earphones, Bluetooth sound boxes, Bluetooth vehicle-mounted equipment and other equipment with Bluetooth functions) comprises different states, wherein the working state comprises a pairing search state, Bluetooth can monitor the information of search equipment of other peripheral equipment in the pairing search state, and the Bluetooth equipment can be searched and paired, but the power consumption of the state is higher, so that general equipment can be in the state only in a certain time period; another is a connectable state where bluetooth devices can be connected but cannot be searched. Therefore, it is impossible to determine whether the automatically connected bluetooth device is available by searching for the bluetooth device, because the automatically connected bluetooth device is very likely to be in a connectable state and cannot be searched for even if it is available at this time.
Then, after the mobile terminal starts the bluetooth function, it is first determined whether there is a connected bluetooth device that needs to be automatically connected again, that is, to determine whether the bluetooth device that needs to be automatically connected is in a communication range or is turned off.
When the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, the operation of searching the visible Bluetooth equipment around is directly initiated, that is, the normal search is carried out when the connected Bluetooth equipment is not detected.
And step S200, when the reading signal strength information is sent to the Bluetooth equipment sometimes, and whether the mobile terminal receives the signal strength information returned by the Bluetooth equipment or not is judged.
In the embodiment of the invention, when the mobile terminal has the connected Bluetooth device to perform automatic connection again, the mobile terminal sends the reading signal strength information to the Bluetooth device, so that the reading signal strength information is sent to the Bluetooth device, because the automatically connected Bluetooth is inevitably the paired Bluetooth device stored on the mobile terminal, the Bluetooth address of the device and other pairing information exist, a command for reading the signal strength can be directly sent to the device according to the Bluetooth address, and if no response message is received, the device can be judged not to be in a communication range or to be closed.
Specifically, step S200 specifically includes the following steps:
s201, when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends reading signal intensity information to the Bluetooth device;
s202, after waiting for the preset time, judging whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment.
Wherein the preset time is preferably 3 seconds.
Step S300, when receiving the connection request, initiating a connection request to the Bluetooth device, and when not receiving the connection request, canceling the connection request operation to the Bluetooth device.
In the embodiment of the invention, after receiving signal intensity information returned by the automatically reconnected Bluetooth equipment, the mobile terminal indicates that the Bluetooth equipment is in an available state, and then initiates a connection request to the Bluetooth equipment; and if the device return signal strength information is not received, the connection request operation aiming at the Bluetooth device is cancelled, wherein the connection request operation is in a state that whether the Bluetooth device is in a communication range or is closed.
That is, specifically, step S300 includes the steps of:
s301, when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within a preset time, initiating a connection request to the Bluetooth equipment;
s302, when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth device is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth device is cancelled.
Step S400, after the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, the mobile terminal initiates the operation of searching the surrounding visible Bluetooth equipment.
In the embodiment of the invention, after the connection condition of the connected Bluetooth equipment is judged and the operation of the mobile terminal is finished, the mobile terminal has the connected Bluetooth equipment which needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth equipment and receives the signal strength information returned by the Bluetooth equipment, and a processing process of a connection request is initiated for the Bluetooth equipment.
When the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, the operation of searching the visible Bluetooth equipment around is directly initiated, that is, the normal search is carried out when the connected Bluetooth equipment is not detected.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by selectively connecting and searching a bluetooth control program to instruct related hardware (such as a processor, a controller, etc.), and the program may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
Example two
An embodiment of the present invention further provides a mobile terminal, as shown in fig. 2, the mobile terminal of the embodiment of the present invention may be a mobile phone (or a tablet computer), where the mobile terminal of the embodiment includes a processor 10 and a memory 20 connected to the processor 10;
the memory 20 stores a control program for selectively connecting and searching for bluetooth, which is executed by the processor 10 to implement the steps of:
the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again;
when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not;
when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment;
after the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, the mobile terminal initiates the operation of searching the surrounding visible Bluetooth equipment; as described above.
Further, the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor 10, perform the following steps:
when the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, directly initiating the operation of searching the visible Bluetooth equipment around; as described above.
Further, the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor 10, perform the following steps:
when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth device;
after waiting for a preset time, judging whether the mobile terminal receives signal intensity information returned by the Bluetooth equipment or not; as described above.
Further, the control program for selectively connecting and searching bluetooth is further configured to, when executed by the processor 10, perform the following steps:
when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within preset time, initiating a connection request to the Bluetooth equipment;
when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth equipment is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth equipment is cancelled; as described above.
EXAMPLE III
A storage medium storing a control program for selectively connecting and searching for bluetooth, the control program for selectively connecting and searching for bluetooth being executed by a processor 10 to implement a control method for selectively connecting and searching for bluetooth; as described above.
In summary, the present invention discloses a control method, a mobile terminal and a storage medium for selectively connecting and searching bluetooth, wherein the method comprises: the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again; when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not; when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment; and when the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, initiating the operation of searching the surrounding visible Bluetooth equipment. When the mobile terminal is automatically connected with the Bluetooth equipment, whether the connected Bluetooth equipment is in a communication range or is closed or not is judged in advance, and when the Bluetooth equipment needing automatic connection is not in the communication range or is closed, the connection request operation aiming at the Bluetooth equipment is cancelled, so that the waste of useless work and resources of the mobile terminal is reduced, and other Bluetooth equipment is searched more efficiently.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (4)

1. A control method for selectively connecting and searching Bluetooth is characterized by comprising the following steps:
the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again;
when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not; when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment; after the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, the mobile terminal initiates the operation of searching the surrounding visible Bluetooth equipment;
the mobile terminal starts the bluetooth function, and after judging whether there is a connected bluetooth device to automatically connect again, the method further comprises:
when the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, directly initiating the operation of searching the visible Bluetooth equipment around, and when the connected Bluetooth equipment is not detected, carrying out normal search;
the step of starting to read the signal strength information from the bluetooth device and judging whether the mobile terminal receives the signal strength information returned by the bluetooth device at some time comprises the following steps:
when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth device;
after waiting for a preset time, judging whether the mobile terminal receives signal intensity information returned by the Bluetooth equipment or not;
the connection request initiated to the Bluetooth device when received and the connection request operation cancelled to the Bluetooth device when not received comprise the following steps:
when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within preset time, initiating a connection request to the Bluetooth equipment;
and when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth equipment is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth equipment is cancelled.
2. The control method of selectively connecting and searching for bluetooth as claimed in claim 1, wherein the bluetooth device comprises: the Bluetooth headset, the Bluetooth sound box and the Bluetooth vehicle are mounted; the preset time is 3 seconds.
3. A mobile terminal comprising a processor, and a memory coupled to the processor, the memory storing a control program for selectively connecting and searching for bluetooth, the control program for selectively connecting and searching for bluetooth when executed by the processor for implementing the steps of:
the mobile terminal starts a Bluetooth function and judges whether connected Bluetooth equipment needs to be automatically connected again; when the mobile terminal receives the signal intensity information returned by the Bluetooth equipment, the mobile terminal sends the reading signal intensity information to the Bluetooth equipment and judges whether the mobile terminal receives the signal intensity information returned by the Bluetooth equipment or not;
when receiving the connection request, initiating a connection request to the Bluetooth equipment, and when not receiving the connection request, canceling the connection request operation to the Bluetooth equipment;
after the mobile terminal judges the connection condition of the connected Bluetooth equipment and finishes the operation, the mobile terminal initiates the operation of searching the surrounding visible Bluetooth equipment;
the control program for selectively connecting and searching for bluetooth, when executed by the processor, is further configured to perform the steps of:
when the mobile terminal starts the Bluetooth function and does not detect the connected Bluetooth equipment, directly initiating the operation of searching the visible Bluetooth equipment around, and when the connected Bluetooth equipment is not detected, carrying out normal search;
when a connected Bluetooth device needs to be automatically connected again, the mobile terminal sends read signal strength information to the Bluetooth device;
after waiting for a preset time, judging whether the mobile terminal receives signal intensity information returned by the Bluetooth equipment or not;
when the mobile terminal receives signal intensity information returned by the Bluetooth equipment within preset time, initiating a connection request to the Bluetooth equipment;
and when the mobile terminal does not receive the returned signal strength information within the preset time, the Bluetooth equipment is closed or is not in the communication range, and then the connection request operation aiming at the Bluetooth equipment is cancelled.
4. A storage medium storing a control program for selectively connecting and searching for bluetooth, the control program for selectively connecting and searching for bluetooth being executed by a processor to implement the control method for selectively connecting and searching for bluetooth according to any one of claims 1 to 2.
CN201710931004.5A 2017-10-09 2017-10-09 Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium Active CN107835518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710931004.5A CN107835518B (en) 2017-10-09 2017-10-09 Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710931004.5A CN107835518B (en) 2017-10-09 2017-10-09 Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107835518A CN107835518A (en) 2018-03-23
CN107835518B true CN107835518B (en) 2021-09-14

Family

ID=61647775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710931004.5A Active CN107835518B (en) 2017-10-09 2017-10-09 Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107835518B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243220A (en) * 2019-07-18 2021-01-19 华为技术有限公司 Method for establishing communication connection and wearable device
CN110557725B (en) * 2019-09-16 2021-07-30 飞天诚信科技股份有限公司 Method and device for setting Bluetooth working state
CN113490192B (en) * 2021-07-26 2024-04-02 深圳市元征科技股份有限公司 Bluetooth connection method, device, terminal equipment and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060068775A1 (en) * 2004-09-28 2006-03-30 Raytac Corp. Apparatus and method for detecting wireless local area network signals
KR100744297B1 (en) * 2006-02-17 2007-07-30 삼성전자주식회사 Apparatus and method for searching and communicating with bluetooth device
KR101357857B1 (en) * 2006-12-18 2014-02-05 삼성전자주식회사 Apparatus and method for bluetooth connection in portable terminal
CN102420641A (en) * 2011-12-01 2012-04-18 深圳市中兴移动通信有限公司 Method and system for realizing automatic matching connection of Bluetooth headset
CN103916166B (en) * 2014-03-31 2016-04-27 尚奇浩康(北京)科技有限公司 A kind of Bluetooth data transfer method and blue-tooth device
KR102292908B1 (en) * 2014-12-02 2021-08-25 삼성전자주식회사 Electronic device and method of providing a service in the electronic device
CN107172571A (en) * 2017-04-21 2017-09-15 上海掌门科技有限公司 A kind of smart machine automatic matching connection method and system

Also Published As

Publication number Publication date
CN107835518A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107277754B (en) Bluetooth connection method and Bluetooth peripheral equipment
KR102505264B1 (en) Wireless audio output devices
RU2482606C2 (en) Methods and devices for automatic multiple pairing of bluetooth devices
JP5273214B2 (en) Near field communication device
KR101583925B1 (en) Method for controlling bluetooth connection
US8103315B2 (en) Portable terminal device
EP2701313A1 (en) Method for pairing bluetooth accessory with bluetooth device, and bluetooth accessory
CN107835518B (en) Control method for selectively connecting and searching Bluetooth, mobile terminal and storage medium
JP5278506B2 (en) Near field communication device
US9468027B2 (en) Method for controlling a Bluetooth connection
CN101789997A (en) Method and device for linking bluetooth and mobile terminal
CN112203179B (en) TWS earphone, automatic reconnection method and device thereof, and computer storage medium
US9241363B2 (en) Short-range wireless communication apparatus and system
CN112261638B (en) Method and device for rapidly identifying dual-mode Bluetooth device, IOS device and medium
CN111132117A (en) Bluetooth connection method, device, vehicle and storage medium
US20060270466A1 (en) Method for connecting handset to bluetooth hands-free unit
CN112312368A (en) Data processing method, device, equipment and storage medium
WO2021239032A1 (en) Bluetooth protocol connection method and apparatus, storage medium, and related device
KR101567278B1 (en) Method for controlling bluetooth connection
KR20080047425A (en) Advertising availability for ad-hoc networking based on stored device history
US11672030B2 (en) Control method, on-vehicle device, and storage medium
JP5459428B2 (en) Near field communication device
CN112954657B (en) Bluetooth-based information processing method, device, terminal equipment and system
JP6403050B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
CN113115276A (en) Bluetooth device identification method and device, storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant