CN107040871A - The connection method of bluetooth equipment and equipment - Google Patents

The connection method of bluetooth equipment and equipment Download PDF

Info

Publication number
CN107040871A
CN107040871A CN201611219603.6A CN201611219603A CN107040871A CN 107040871 A CN107040871 A CN 107040871A CN 201611219603 A CN201611219603 A CN 201611219603A CN 107040871 A CN107040871 A CN 107040871A
Authority
CN
China
Prior art keywords
connection
bluetooth
reconnect
time threshold
reconnects
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
CN201611219603.6A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201611219603.6A priority Critical patent/CN107040871A/en
Publication of CN107040871A publication Critical patent/CN107040871A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • 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)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of connection method of bluetooth equipment and equipment.This method includes:When losing bluetooth connection with target Bluetooth devices, reconnect time threshold according to first and first reconnect time interval, initiate to set up bluetooth connection to target Bluetooth devices;When first reconnects and be not successfully established bluetooth connection with target Bluetooth devices in time threshold, time threshold is reconnected according to first, second time threshold is reconnected and second reconnects time interval, initiates to set up bluetooth connection to target Bluetooth devices.According to the present invention, realize that reconnect time interval with staged initiates to set up bluetooth connection again to target Bluetooth devices, reduction re-establishes equipment power dissipation during bluetooth connection.

Description

The connection method of bluetooth equipment and equipment
Technical field
The present invention relates to wireless communication technology field, connection method and equipment more particularly, to a kind of bluetooth equipment.
Background technology
Bluetooth (Bluetooth) is a kind of wireless communication technology for connecting multiple equipment progress short-range data exchange, It is widely used in the fields such as telecommunications, computer, network and consumer electronics in recent years, for example, being the standard of mobile phone in bluetooth module Configuration, common blue tooth productses also have bluetooth cellular phone, Baffle Box of Bluetooth, bluetooth bracelet, Bluetooth watch etc..It is wide with bluetooth equipment General application, the situation that individual subscriber possesses multiple bluetooth equipments also increases, accordingly, occurs supporting Mulit-point Connection to bluetooth equipment Demand, for example, user (for example, distinguishes work and life, or distinguishes amusement function or call work(for various demands Can, or experience different mobile phone operating systems) and possess more than two mobile phones, it is desirable to possessed using a bluetooth earphone adaptation Multiple mobile phones.
And although current bluetooth equipment all supports Mulit-point Connection function, in a particular application, user possesses it Multiple bluetooth equipments usage degree it is different, for example, two mobile phones that user possesses it can distinguish time and occasion should With this, which allows for its bluetooth earphone used, to disconnect bluetooth connection, still, current bluetooth equipment with wherein one mobile phone For occurring disconnecting during bluetooth connection, typically actively initiate to re-establish bluetooth connection using not, or reconnect with fixed Time interval is initiated to set up bluetooth connection, can not again be initiated to set up bluetooth company according to the application scenarios of bluetooth Mulit-point Connection Connect, occur re-establishing with target Bluetooth devices in time and be connected or initiates the number of times excessively frequently feelings that foundation is connected Condition so that poor user experience, bluetooth equipment electric quantity consumption is too fast.
Therefore, it has been recognised by the inventors that being necessary to be improved for above-mentioned problems of the prior art.
The content of the invention
It is an object of the present invention to provide a kind of new solution for being used to connect bluetooth equipment.
According to the first aspect of the invention there is provided a kind of connection method of bluetooth equipment, including:
When losing bluetooth connection with target Bluetooth devices, reconnect time threshold according to first and first reconnect between the time Every, to the target Bluetooth devices initiate set up bluetooth connection;
When described first reconnects and is not successfully established bluetooth connection with the target Bluetooth devices in time threshold, according to Described first reconnects time threshold, second reconnects time threshold and second reconnect time interval, to the target Bluetooth devices Bluetooth connection is set up in initiation.
Alternatively, it is described to reconnect time threshold according to first and first reconnect time interval, set to the target Bluetooth Preparation acts the step of setting up bluetooth connection:
Time threshold is reconnected according to described first and first is reconnected time interval and is calculated and first reconnect number of times thresholding,
And time interval is reconnected according to described first, initiate to set up bluetooth connection to the target Bluetooth devices, wherein, it is right The number of times that bluetooth connection should be initiated to set up is not more than described first and reconnects number of times thresholding;
And, it is described to reconnect time threshold according to described first, second reconnect time threshold and second reconnect between the time Every the step of initiating to the target Bluetooth devices and set up bluetooth connection is:
Time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, the is calculated Two reconnect number of times thresholding,
And time interval is reconnected according to described second, initiate to set up bluetooth connection to the target Bluetooth devices, wherein, it is right The number of times that bluetooth connection should be initiated to set up is not more than described second and reconnects number of times thresholding.
Alternatively, the connection method also includes:
When described second reconnects and is not successfully established bluetooth connection with the target Bluetooth devices in time threshold, according to 3rd reconnects time interval, initiates to set up bluetooth connection to the target Bluetooth devices.
Alternatively, the connection method also includes:
Request is set in response to outside, sets described first to reconnect time threshold and/or described second reconnect time threshold.
Alternatively, the connection method also includes:
When with target Bluetooth devices lose bluetooth connection for the target Bluetooth devices actively trigger when, do not perform it is described to The step of target Bluetooth devices initiate to set up bluetooth connection.
According to the second aspect of the invention there is provided a kind of connection equipment of bluetooth equipment, including:
First connection unit, for when losing bluetooth connection with target Bluetooth devices, time threshold to be reconnected according to first And first reconnect time interval, initiate to set up bluetooth connection to the target Bluetooth devices;
Second connection unit, does not build successfully for working as to reconnect in time threshold described first with the target Bluetooth devices During vertical bluetooth connection, time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, to The target Bluetooth devices initiate to set up bluetooth connection.
Alternatively, first connection unit, be additionally operable to according to described first reconnect time threshold and first reconnect when Between interval calculation first reconnect number of times thresholding, and reconnect time interval according to described first, initiated to the target Bluetooth devices Bluetooth connection is set up, wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described first and reconnects number of times thresholding;And
Second connection unit, be additionally operable to according to described first reconnect time threshold, second reconnect time threshold and Second, which reconnects time interval calculating second, reconnects number of times thresholding, and reconnects time interval according to described second, blue to the target Tooth equipment is initiated to set up bluetooth connection, wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described second and reconnects number of times Thresholding.
Alternatively, the connection equipment also includes:
3rd connection unit, does not build successfully for working as to reconnect in time threshold described second with the target Bluetooth devices During vertical bluetooth connection, time interval is reconnected according to the 3rd, initiates to set up bluetooth connection to the target Bluetooth devices.
Alternatively, the connection equipment also includes:
Setting unit, is asked for being set in response to outside, sets described first to reconnect time threshold and/or described second Reconnect time threshold.
Alternatively, the connection equipment also includes:
Trigger control unit, for actively tactile for the target Bluetooth devices when losing bluetooth connection with target Bluetooth devices During hair, the connection equipment work is not triggered.
It was found by the inventors of the present invention that in the prior art, not yet there is connection method and the company of a kind of bluetooth equipment Connect equipment, it is possible to achieve time interval is reconnected with staged and initiates to set up bluetooth connection, reduction weight again to target Bluetooth devices Newly set up equipment power dissipation during bluetooth connection.Therefore, the technical assignment or technology to be solved that the present invention to be realized are asked Topic be it is that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new technical scheme.
By referring to the drawings to the detailed description of the exemplary embodiment of the present invention, further feature of the invention and its Advantage will be made apparent from.
Brief description of the drawings
The accompanying drawing for being combined in the description and constituting a part for specification shows embodiments of the invention, and even It is used for the principle for explaining the present invention together with its explanation.
Fig. 1 is the block diagram for the example for showing the hardware configuration available for the electronic equipment for realizing embodiments of the invention.
Fig. 2 shows the flow chart of the connection method of the bluetooth equipment provided in the present embodiment.
Fig. 3 shows the flow chart of the example of the connection method of the bluetooth equipment provided in the present embodiment.
Fig. 4 shows the block diagram of the connection equipment of the bluetooth equipment provided in the present embodiment.
Embodiment
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should be noted that:Unless had in addition Body illustrates that the part and the positioned opposite of step, numerical expression and numerical value otherwise illustrated in these embodiments does not limit this The scope of invention.
The description only actually at least one exemplary embodiment is illustrative below, never as to the present invention And its any limitation applied or used.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of, the technology, method and apparatus should be considered as a part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent accompanying drawing in individual accompanying drawing.
<Hardware configuration>
Fig. 1 is to show that the block diagram of the hardware configuration of the electronic equipment 1000 of embodiments of the invention can be realized.
Electronic equipment 1000 can be wearable bluetooth equipment, such as bluetooth bracelet, Bluetooth watch, bluetooth earphone, Can be comprising bluetooth module communication equipment such as mobile phone.As shown in figure 1, electronic equipment 1000 can include processor 1010th, memory 1020, interface arrangement 1030, communicator 1040, display device 1050, input unit 1060, loudspeaker 1070th, microphone 1080, etc..Wherein, processor 1010 can be central processor CPU, Micro-processor MCV etc..Memory 1020 such as including ROM (read-only storage), RAM (random access memory), the nonvolatile memory of such as hard disk.Connect Mouth device 1030 is such as including USB interface, earphone interface.Communicator 1040 can for example carry out wired or wireless communication, The module for Bluetooth communication is included in communicator 1040.Display device 1050 is, for example, LCDs, touch display screen Deng.Input unit 1060 is such as can include touch-screen, keyboard.User can be defeated by loudspeaker 1070 and microphone 1080 Enter/export voice messaging.
Electronic equipment 1000 shown in Fig. 1 is only explanatory, and never be intended to limitation the present invention, its application or Purposes.The memory 1020 applied to electronic equipment in embodiments of the invention 1000 is used for store instruction, the instruction For controlling the processor 1010 to be operated to perform the connection of any one bluetooth equipment provided in an embodiment of the present invention Method.It will be appreciated by those skilled in the art that although electronic equipment 1000 all shows multiple devices in Fig. 1, this hair It is bright to only relate to partial devices therein, for example, electronic equipment 1000 pertains only to processor 1010 and memory 1020, communication Device 1040 etc..Technical staff can instruct according to presently disclosed conceptual design.How control processor is grasped for instruction Make, this is it is known in the art that therefore being not described in detail herein.
<Embodiment>
A kind of connection method of bluetooth equipment is provided in the present embodiment, as shown in Fig. 2 including:
Step S2100, when losing bluetooth connection with target Bluetooth devices, time threshold and first are reconnected according to first Time interval is reconnected, initiates to set up bluetooth connection to the target Bluetooth devices.
The connection method of bluetooth equipment provided in the present embodiment, it is real on the bluetooth equipment comprising bluetooth communication Apply, for causing the bluetooth equipment and the target Bluetooth devices to set up bluetooth connection, the target Bluetooth devices are also to include The equipment of bluetooth communication.In one example, the target Bluetooth devices can be mobile phone, implement what the present embodiment was provided The bluetooth equipment (being referred to as the first bluetooth equipment in the present embodiment) of connection method, can match the bluetooth ear being connected with mobile phone Machine.
In the present embodiment, support Mulit-point Connection between bluetooth equipment, for example, the first bluetooth equipment can respectively with it is multiple Target Bluetooth devices set up bluetooth connection, for example, bluetooth earphone can be set up according to different application scenarios from different mobile phones Bluetooth connection.
And bluetooth connection is lost between bluetooth equipment, it is often as distance between two bluetooth equipments and has exceeded bluetooth leading to Believe that supported communication distance or application environment cause caused by the jitter of Bluetooth communication.And some application scenarios In or have built up some in two bluetooth equipments of connection and actively disconnect so that two bluetooth equipments it Between lose bluetooth connection, for example, after the first bluetooth equipment and target Bluetooth devices are set up and are connected, target Bluetooth devices in response to The operation of user, actively triggers and disconnects bluetooth connection, and the return reason that the first bluetooth equipment can be disconnected by bluetooth connection In confirm as target Bluetooth devices actively triggering disconnect bluetooth connection, in this application scenarios, if the first bluetooth equipment exists Lose and initiate to set up bluetooth connection again after bluetooth connection, have no meaning, can set up bluetooth connection because of initiation on the contrary and waste and set Standby electricity.Therefore, the connection method of the bluetooth equipment provided in the present embodiment, can also include:When with target Bluetooth devices Lose bluetooth connection for the target Bluetooth devices actively trigger when, do not perform it is described to the target Bluetooth devices initiation foundation The step of bluetooth connection.
In the present embodiment, described first reconnect time threshold and can be pre-set in the first bluetooth equipment, can also Set in real time according to application scenarios or user's request, for example, can be according to corresponding engineering under real-time application scenarios Empirical value either emulation experiment value produce it is outside set request be configured or provide can as application program operation interface it The human-computer interaction interface of class is inputted or operated for user, is configured with producing corresponding outside setting request, use is improved with this Family is experienced, and therefore, the connection method of the bluetooth equipment provided in the present embodiment can also include:Being set in response to outside please Ask, set described first to reconnect time threshold.Further, asked if not receiving outside set, described first reconnects time gate Limit can be default default value, such as 3 minutes.
Specifically, it is described to reconnect time threshold according to first and first reconnect time interval, set to the target Bluetooth Preparation acts the step of setting up bluetooth connection:Time threshold is reconnected according to described first and first is reconnected time interval and is calculated the One reconnects number of times thresholding, and reconnects time interval according to described first, initiates to set up bluetooth connection to the target Bluetooth devices, Wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described first and reconnects number of times thresholding.
More specifically, described first reconnect time interval can be according to the corresponding engineering experience value of application scenarios or emulation Experiment value is set, for example, first reconnects time interval and be set to 15 seconds, and assumes that first reconnects time threshold and be arranged to 3 points Clock, accordingly, calculates first obtained and reconnects number of times thresholding and be:* 60/15 second 3 minutes=12 times;And set in view of the first bluetooth Standby disposal ability, initiates to set up bluetooth connection also in the presence of time-consuming each time, can not be ignored when time-consuming longer, it is assumed that set up blue Tooth connection was taken as 5 seconds, then accordingly, is calculated first obtained and is reconnected number of times thresholding and be:3 minutes * 60/ (+5 seconds 15 seconds)=9 It is secondary.
After calculating acquisition first reconnects number of times thresholding, the first bluetooth equipment can reconnect time interval to target according to first Bluetooth equipment initiates to set up bluetooth connection, if being successfully established bluetooth connection, then stops initiation and set up bluetooth connection, otherwise, Next first reconnects time interval, initiates to set up bluetooth connection to target Bluetooth devices again, by that analogy, until correspondence hair Rise and set up the number of times of bluetooth connection and reconnect number of times thresholding equal to described first.
If correspondence is initiated to set up the number of times of bluetooth connection and reconnected equal to described first after number of times thresholding, also fail to successfully and mesh Mark bluetooth equipment sets up bluetooth connection, this also means that the first bluetooth equipment first reconnect in time threshold not with the mesh Mark bluetooth equipment is successfully established bluetooth connection, accordingly, is transferred to step S2200.
Step S2200, bluetooth is not successfully established when being reconnected described first in time threshold with the target Bluetooth devices During connection, time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, to the mesh Mark bluetooth equipment initiates to set up bluetooth connection.
In the present embodiment, described second reconnect time threshold and can be pre-set in the first bluetooth equipment, can also Set in real time according to application scenarios or user's request, for example, can be according to corresponding engineering under real-time application scenarios Empirical value either emulation experiment value produce it is outside set request be configured or provide can as application program operation interface it The human-computer interaction interface of class is inputted or operated for user, is configured with producing corresponding outside setting request, use is improved with this Experience at family.Therefore, the connection method of the bluetooth equipment provided in the present embodiment, can also include:Being set in response to outside please Ask, set described second to reconnect time threshold.Further, asked if not receiving outside set, described second reconnects time gate Limit can be default default value, such as 15 minutes.
Specifically, it is described to reconnect time threshold according to described first, second reconnect time threshold and second reconnect the time It is spaced, the step of initiating to the target Bluetooth devices and set up bluetooth connection is:
Time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, the is calculated Two reconnect number of times thresholding, and reconnect time interval according to described second, initiate to set up bluetooth connection to the target Bluetooth devices, Wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described second and reconnects number of times thresholding.
More specifically, described second reconnect time interval can be according to the corresponding engineering experience value of application scenarios or emulation Experiment value is set, for example, second reconnects time interval and be set to 55 seconds, and assumes that first reconnects time threshold and be arranged to 3 points Clock, second reconnect time threshold and are arranged to 15 minutes, accordingly, calculate second obtained and reconnect number of times thresholding and are:round ((15-3) minute * 60/55 second)=13 times;And in view of the disposal ability of the first bluetooth equipment, initiate to set up bluetooth each time Connection, which also exists, to be taken, and can not be ignored when time-consuming longer, it is assumed that set up bluetooth connection and take as 5 seconds, then accordingly, calculate To second reconnect number of times thresholding and be:(15-3 minutes) * 60/ (+5 seconds 55 seconds)=12 times.
After calculating acquisition second reconnects number of times thresholding, the first bluetooth equipment can reconnect time interval to target according to second Bluetooth equipment initiates to set up bluetooth connection, if being successfully established bluetooth connection, then stops initiation and set up bluetooth connection, otherwise, Next second reconnects time interval, initiates to set up bluetooth connection to target Bluetooth devices again, by that analogy, until correspondence hair Rise and set up the number of times of bluetooth connection and reconnect number of times thresholding equal to described second.
If correspondence is initiated to set up the number of times of bluetooth connection and reconnected equal to described second after number of times thresholding, also fail to successfully and mesh Mark bluetooth equipment sets up bluetooth connection, this also means that the first bluetooth equipment second reconnect in time threshold not with the mesh Mark bluetooth equipment is successfully established bluetooth connection.
Therefore, the connection method of the bluetooth equipment provided in the present embodiment also includes:When reconnecting time gate described second When not being successfully established bluetooth connection with the target Bluetooth devices in limit, time interval is reconnected according to the 3rd, it is blue to the target Tooth equipment is initiated to set up bluetooth connection.
Specifically, the described 3rd reconnect time interval can be real according to the corresponding engineering experience value of application scenarios or emulation Value setting is tested, for example, the 3rd reconnects time interval and be set to 10 minutes.In the present embodiment, the first bluetooth equipment is according to the 3rd Time interval is reconnected, initiates to set up bluetooth connection to the target Bluetooth devices, until being successfully established indigo plant with target Bluetooth devices Tooth is connected.
<Example>
The connection method of the bluetooth equipment provided in the present embodiment is be provided below with reference to example, in this example, First bluetooth equipment is bluetooth earphone, and target Bluetooth devices are mobile phone, and user passes through default human-computer interaction interface operation setting First reconnects that time threshold is 3 minutes and second to reconnect time threshold be 15 minutes, and first reconnects time interval and be set to 15 seconds, second, which reconnects time interval, was set to 55 seconds, and the 3rd reconnected time interval for 10 minutes, once sets up bluetooth connection and takes For 5 seconds, the connection method was as shown in Figure 3:
Step S301, when bluetooth earphone loses bluetooth connection with mobile phone, bluetooth earphone is disconnected according to the bluetooth connection of acquisition Kaiyuan actively disconnects bluetooth connection because being confirmed whether it is mobile phone, if mobile phone actively disconnects bluetooth connection, then does not perform follow-up Again initiate to set up bluetooth connection with mobile phone, terminate, otherwise into step S302;
Step S302, is set to 0 by connection number of times, reconnects time threshold according to first and first reconnect time interval meter Calculate first and reconnect number of times thresholding:3 minutes * 60/ (+5 seconds 15 seconds)=9 times, into step S303;
Step 303, initiated within 15 seconds to set up bluetooth connection to mobile phone according to very first time interval, into step S304;
Step S304, if being successfully established bluetooth connection, terminates, otherwise, into step S305;
Step S305, connection number of times adds 1, judges whether connection number of times reconnects number of times thresholding equal to first, if so, entering step Rapid S306, otherwise, reenters step S303, initiates within 15 seconds to set up bluetooth connection to mobile phone with interval;
Step S306, connects number of times clear 0, reconnects time threshold according to first, second reconnects time threshold and the second weight Even time interval calculates second and reconnects number of times thresholding:(15-3) minute * 60/ (+5 seconds 55 seconds)=12 times, into step S307;
Step 307, initiated within 55 seconds to set up bluetooth connection to mobile phone according to the second time interval, into step S308;
Step S308, if being successfully established bluetooth connection, terminates, otherwise, into step S309;
Step S309, connection number of times adds 1, judges whether connection number of times reconnects number of times thresholding equal to second, if so, entering step Rapid S310, otherwise, reenters step S307, initiates within 55 seconds to set up bluetooth connection to mobile phone with interval;
Step S310, initiates to set up bluetooth connection for 10 minutes according to the 3rd time interval to mobile phone, wherein, if entering first Enter step S310, also need that number of times clear 0 will be connected, afterwards into step S311;
Step S311, if being successfully established bluetooth connection, terminates, otherwise, reenter step S310 with interval 10 minutes to Mobile phone initiates to set up bluetooth connection.
Combined accompanying drawing and example illustrate the connection method of the bluetooth equipment provided in the present embodiment above, with mesh Mark bluetooth equipment is lost after bluetooth connection, by initiating to build with the different time intervals that reconnects in different reconnect in time threshold Vertical bluetooth connection, realizes that reconnect time interval with staged initiates to set up bluetooth connection, reduction weight again to target Bluetooth devices Equipment power dissipation during bluetooth connection is newly set up, further, it is also possible to be set according to the actual demand of concrete application scene or user Time threshold is reconnected, the efficiency for re-establishing bluetooth connection is improved, Consumer's Experience is lifted.
In the present embodiment, a kind of connection equipment 4000 of bluetooth equipment is also provided, as shown in figure 4, including the first connection Unit 4100, the second connection unit 4200, alternatively, in addition to the 3rd connection unit 4300, setting unit 4400, triggering control Unit 4500, for the connection method for the bluetooth equipment for implementing to provide in the present embodiment, will not be repeated here.
Equipment 4000 is connected, including:
First connection unit 4100, for when losing bluetooth connection with target Bluetooth devices, the time to be reconnected according to first Thresholding and first time interval is reconnected, initiate to set up bluetooth connection to the target Bluetooth devices;
Second connection unit 4200, for when described first reconnect in time threshold not with the target Bluetooth devices into When work(sets up bluetooth connection, time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects between the time Every, to the target Bluetooth devices initiate set up bluetooth connection.
Alternatively, first connection unit 4100, is additionally operable to reconnect time threshold and the first weight according to described first Even time interval calculates first and reconnects number of times thresholding, and reconnects time interval according to described first, to the target Bluetooth devices Bluetooth connection is set up in initiation, wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described first and reconnects number of times thresholding;With And
Second connection unit 4200, is additionally operable to reconnect time threshold according to described first, second reconnects time threshold And second reconnect time interval and calculate and second reconnect number of times thresholding, and time interval is reconnected according to described second, to the mesh Mark bluetooth equipment initiates to set up bluetooth connection, wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described second and reconnected Number of times thresholding.
Alternatively, the connection equipment 4000, in addition to:
3rd connection unit 4300, for when described second reconnect in time threshold not with the target Bluetooth devices into When work(sets up bluetooth connection, time interval is reconnected according to the 3rd, initiates to set up bluetooth connection to the target Bluetooth devices.
Alternatively, the connection equipment 4000, in addition to:
Setting unit 4400, is asked for being set in response to outside, sets described first to reconnect time threshold and/or described Second reconnects time threshold.
Alternatively, the connection equipment 4000, in addition to:
Trigger control unit 4500, for being the target Bluetooth devices master when losing bluetooth connection with target Bluetooth devices During dynamic triggering, the connection equipment work is not triggered.
Embodiments of the invention have been described in conjunction with the accompanying above, and according to the present embodiment, there is provided a kind of bluetooth equipment Connection method and equipment, after bluetooth connection is lost with target Bluetooth devices, by being reconnected in different in time threshold with not The same time interval that reconnects is initiated to set up bluetooth connection, and realization reconnects time interval with staged and sent out again to target Bluetooth devices Rise and set up bluetooth connection, reduction re-establishes equipment power dissipation during bluetooth connection, further, it is also possible to according to concrete application scene or The actual demand of person user, which is set, reconnects time threshold, improves the efficiency for re-establishing bluetooth connection, lifts Consumer's Experience.
It will be appreciated by those skilled in the art that, connection equipment 4000 can be realized for example, can lead to by various modes Instruction configuration processor is crossed to realize connection equipment 4000.For example, instruction can be stored in ROM, and work as starting device When, will instruction from ROM read programming device in come realize connection equipment 4000.For example, connection equipment 4000 can be consolidated Change into dedicated devices (such as ASIC).Connection equipment 4000 can be divided into separate unit, or can be by them Merge realization.Connection equipment 4000 can be realized by one kind in above-mentioned various implementations, or can be led to The combinations of two or more modes crossed in above-mentioned various implementations is realized.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology With the trend of hardware and software, clearly to divide computer system soft and hardware boundary and seem relatively difficult.Because appointing What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally also may be used To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depending on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.Therefore, for the ordinary skill of electronic information technical field For personnel, more it is direct and be explicitly described the mode of a technical scheme be describe the program in each operation.Knowing In the case of road institute operation to be performed, those skilled in the art can directly be set based on the consideration to the Non-technical factor Count out desired product.
The present invention can be system, method and/or computer program product.Computer program product can include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer-readable recording medium can keep and store to perform the tangible of the instruction that equipment is used by instruction Equipment.Computer-readable recording medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer-readable recording medium More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon Be stored with instruction punch card or groove internal projection structure and above-mentioned any appropriate combination.It is used herein above to calculate Machine readable storage medium storing program for executing is not construed as instantaneous signal in itself, the electromagnetic wave of such as radio wave or other Free propagations, logical Cross the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer-readable recording medium each calculate/ Processing equipment, or outer computer is downloaded to or outer by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network can be transmitted, be wirelessly transferred including copper transmission cable, optical fiber, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For perform the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages Source code or object code that any combination is write, programming language of the programming language including object-oriented-such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can perform fully on the user computer, partly perform on the user computer, as one solely Vertical software kit is performed, part is performed or completely in remote computer on the remote computer on the user computer for part Or performed on server.In the situation of remote computer is related to, remote computer can be by network-bag of any kind LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer is (such as sharp With ISP come by Internet connection).In certain embodiments, by using computer-readable program instructions Status information carry out personalized customization electronic circuit, such as PLD, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to realize each side of the present invention Face.
Referring herein to method according to embodiments of the present invention, device (system) and computer program product flow chart and/ Or block diagram describes various aspects of the invention.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/ Or in block diagram each square frame combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special-purpose computer or other programmable datas The processor of processing unit, so as to produce a kind of machine so that these instructions are passing through computer or other programmable datas During the computing device of processing unit, work(specified in one or more of implementation process figure and/or block diagram square frame is generated The device of energy/action.Can also be the storage of these computer-readable program instructions in a computer-readable storage medium, these refer to Order causes computer, programmable data processing unit and/or other equipment to work in a specific way, so that, be stored with instruction Computer-readable medium then includes a manufacture, and it is included in one or more of implementation process figure and/or block diagram square frame The instruction of the various aspects of defined function/action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment so that perform series of operation steps on computer, other programmable data processing units or miscellaneous equipment, to produce Raw computer implemented process, so that performed on computer, other programmable data processing units or miscellaneous equipment Instruct function/action specified in one or more of implementation process figure and/or block diagram square frame.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments according to the present invention Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation One module of table, program segment or a part for instruction, the module, program segment or a part for instruction are used comprising one or more In the executable instruction for realizing defined logic function.In some realizations as replacement, the function of being marked in square frame Can be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially be held substantially in parallel OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or The combination of each square frame in flow chart and the square frame in block diagram and/or flow chart, can use function as defined in execution or dynamic The special hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.It is right For those skilled in the art it is well known that, realized by hardware mode, realized by software mode and by software and It is all of equal value that the mode of combination of hardware, which is realized,.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport Best explaining the principle of each embodiment, practical application or to the technological improvement in market, or making its of the art Its those of ordinary skill is understood that each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (10)

1. a kind of connection method of bluetooth equipment, including:
When losing bluetooth connection with target Bluetooth devices, reconnect time threshold according to first and first reconnect time interval, Initiate to set up bluetooth connection to the target Bluetooth devices;
When described first reconnects and be not successfully established bluetooth connection with the target Bluetooth devices in time threshold, according to described First reconnects time threshold, second reconnects time threshold and second reconnect time interval, is initiated to the target Bluetooth devices Set up bluetooth connection.
2. connection method according to claim 1, it is characterised in that
It is described to reconnect time threshold according to first and first reconnect time interval, initiate to set up blue to the target Bluetooth devices The step of tooth is connected be:
Time threshold is reconnected according to described first and first is reconnected time interval and is calculated and first reconnect number of times thresholding,
And time interval is reconnected according to described first, initiate to set up bluetooth connection to the target Bluetooth devices, wherein, correspondence hair Rise and set up the number of times of bluetooth connection and be not more than described first and reconnect number of times thresholding;
And, it is described to reconnect time threshold according to described first, second reconnect time threshold and second reconnect time interval, to The step of target Bluetooth devices are initiated and set up bluetooth connection be:
Time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, the second weight is calculated Connect number of times thresholding,
And time interval is reconnected according to described second, initiate to set up bluetooth connection to the target Bluetooth devices, wherein, correspondence hair Rise and set up the number of times of bluetooth connection and be not more than described second and reconnect number of times thresholding.
3. connection method according to claim 1, it is characterised in that also include:
When described second reconnects and be not successfully established bluetooth connection with the target Bluetooth devices in time threshold, according to the 3rd Time interval is reconnected, initiates to set up bluetooth connection to the target Bluetooth devices.
4. connection method according to claim 1, it is characterised in that also include:
Request is set in response to outside, sets described first to reconnect time threshold and/or described second reconnect time threshold.
5. connection method according to claim 1, it is characterised in that also include:
When with target Bluetooth devices lose bluetooth connection for the target Bluetooth devices actively trigger when, do not perform described to described The step of target Bluetooth devices initiate to set up bluetooth connection.
6. a kind of connection equipment of bluetooth equipment, it is characterised in that including:
First connection unit, for when losing bluetooth connection with target Bluetooth devices, according to first reconnect time threshold and First reconnects time interval, initiates to set up bluetooth connection to the target Bluetooth devices;
Second connection unit, indigo plant is not successfully established for working as to reconnect in time threshold described first with the target Bluetooth devices When tooth is connected, time threshold is reconnected according to described first, second time threshold is reconnected and second reconnects time interval, to described Target Bluetooth devices initiate to set up bluetooth connection.
7. connection equipment according to claim 6, it is characterised in that
First connection unit, is additionally operable to reconnect time threshold according to described first and first reconnects time interval and calculate the One reconnects number of times thresholding, and reconnects time interval according to described first, initiates to set up bluetooth connection to the target Bluetooth devices, Wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described first and reconnects number of times thresholding;And
Second connection unit, is additionally operable to reconnect time threshold according to described first, second reconnects time threshold and second Reconnect time interval calculating second and reconnect number of times thresholding, and time interval is reconnected according to described second, set to the target Bluetooth Preparation rises and sets up bluetooth connection, wherein, the number of times that bluetooth connection is set up in corresponding initiation is not more than described second and reconnects number of times thresholding.
8. connection equipment according to claim 6, it is characterised in that also include:
3rd connection unit, indigo plant is not successfully established for working as to reconnect in time threshold described second with the target Bluetooth devices When tooth is connected, time interval is reconnected according to the 3rd, initiates to set up bluetooth connection to the target Bluetooth devices.
9. connection equipment according to claim 6, it is characterised in that also include:
Setting unit, is asked for being set in response to outside, sets described first to reconnect time threshold and/or described second reconnect Time threshold.
10. connection equipment according to claim 6, it is characterised in that also include:
Trigger control unit, for being the target Bluetooth devices actively triggering when losing bluetooth connection with target Bluetooth devices When, the connection equipment work is not triggered.
CN201611219603.6A 2016-12-26 2016-12-26 The connection method of bluetooth equipment and equipment Pending CN107040871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611219603.6A CN107040871A (en) 2016-12-26 2016-12-26 The connection method of bluetooth equipment and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611219603.6A CN107040871A (en) 2016-12-26 2016-12-26 The connection method of bluetooth equipment and equipment

Publications (1)

Publication Number Publication Date
CN107040871A true CN107040871A (en) 2017-08-11

Family

ID=59530476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611219603.6A Pending CN107040871A (en) 2016-12-26 2016-12-26 The connection method of bluetooth equipment and equipment

Country Status (1)

Country Link
CN (1) CN107040871A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135536A (en) * 2017-05-08 2017-09-05 深圳市沃特沃德股份有限公司 Method for connecting network and device
CN108271277A (en) * 2017-12-29 2018-07-10 深圳真时科技有限公司 A kind of communication connecting method and device
CN109391927A (en) * 2018-03-29 2019-02-26 展讯通信(上海)有限公司 BLE equipment Auto-reconnect method and device
CN110602672A (en) * 2019-07-29 2019-12-20 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101836402A (en) * 2007-09-14 2010-09-15 索尼爱立信移动通讯有限公司 Automatic re-connection of a previously lost connection in a frequency hopping communication system
KR20130073224A (en) * 2011-12-23 2013-07-03 현대모비스 주식회사 Method of bluetooth pairing
CN104812094A (en) * 2015-04-21 2015-07-29 广东欧珀移动通信有限公司 Method and apparatus for establishing connection between devices
CN105636004A (en) * 2015-12-25 2016-06-01 惠州Tcl移动通信有限公司 Bluetooth automatic reconnection method and system based on low power consumption Bluetooth
CN106255051A (en) * 2016-09-23 2016-12-21 歌尔科技有限公司 The method of attachment of a kind of bluetooth equipment and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101836402A (en) * 2007-09-14 2010-09-15 索尼爱立信移动通讯有限公司 Automatic re-connection of a previously lost connection in a frequency hopping communication system
KR20130073224A (en) * 2011-12-23 2013-07-03 현대모비스 주식회사 Method of bluetooth pairing
CN104812094A (en) * 2015-04-21 2015-07-29 广东欧珀移动通信有限公司 Method and apparatus for establishing connection between devices
CN105636004A (en) * 2015-12-25 2016-06-01 惠州Tcl移动通信有限公司 Bluetooth automatic reconnection method and system based on low power consumption Bluetooth
CN106255051A (en) * 2016-09-23 2016-12-21 歌尔科技有限公司 The method of attachment of a kind of bluetooth equipment and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107135536A (en) * 2017-05-08 2017-09-05 深圳市沃特沃德股份有限公司 Method for connecting network and device
WO2018205433A1 (en) * 2017-05-08 2018-11-15 深圳市沃特沃德股份有限公司 Network connection method and apparatus, and terminal device
CN108271277A (en) * 2017-12-29 2018-07-10 深圳真时科技有限公司 A kind of communication connecting method and device
CN109391927A (en) * 2018-03-29 2019-02-26 展讯通信(上海)有限公司 BLE equipment Auto-reconnect method and device
CN110602672A (en) * 2019-07-29 2019-12-20 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium
CN110602672B (en) * 2019-07-29 2021-10-08 深圳市万普拉斯科技有限公司 Bluetooth device reconnection method, device, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106255051A (en) The method of attachment of a kind of bluetooth equipment and equipment
CN107040871A (en) The connection method of bluetooth equipment and equipment
CN108156205A (en) Information push method, client, server-side and programmable device
CN107466036A (en) The quick method, equipment and system for establishing Wi Fi connections
CN107909811A (en) Vehicle dispatching method, server, client and system
CN105975420A (en) Charging power adjustment method and apparatus used for electronic device and electronic device
CN106982249A (en) Multithreading segmentation method for down loading, equipment, client device and electronic equipment
CN107908447A (en) Using switching method, equipment and virtual reality device
CN105912299A (en) Method and device for controlling earphone mode switching, and electronic equipment
CN106160622A (en) Actively control the method for linear motor vibrations, device, system and electronic equipment
CN109410893A (en) Show the method, apparatus and electronic equipment of picture
CN105451299A (en) Method for controlling WiFi connection and electronic equipment thereof
CN106293221A (en) Touch pressure control method and equipment
CN107783769A (en) A kind of method, apparatus and electronic equipment by USB upgrading electronic equipment
CN105764101A (en) Method for switching network route of mobile terminal and mobile terminal
CN105955686A (en) Resolution switching method of Android device, and Android device
CN105634909A (en) Message-displaying method and device
CN105690407A (en) Intelligent robot with expression display function
CN108259738A (en) Camera control method, equipment and electronic equipment
CN106131347A (en) A kind of method and device limiting short message sending number of times
CN106686747A (en) Method and device for controlling Wechat voice broadcasting and wearable equipment
CN107959845A (en) The method, apparatus of view data transmission, client terminal device and wear display device
CN106850962A (en) The implementation method and device of starting up of terminal, terminal
CN116031498A (en) Control method and device for production process of lithium ion battery cell
CN114051057B (en) Cloud equipment queuing time determination method and device, electronic equipment and medium

Legal Events

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

Application publication date: 20170811

RJ01 Rejection of invention patent application after publication