CN104378838B - A kind of method and device for establishing wireless connection - Google Patents

A kind of method and device for establishing wireless connection Download PDF

Info

Publication number
CN104378838B
CN104378838B CN201410633114.XA CN201410633114A CN104378838B CN 104378838 B CN104378838 B CN 104378838B CN 201410633114 A CN201410633114 A CN 201410633114A CN 104378838 B CN104378838 B CN 104378838B
Authority
CN
China
Prior art keywords
bluetooth
mobile terminal
mac address
equipment
bluetooth equipment
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.)
Expired - Fee Related
Application number
CN201410633114.XA
Other languages
Chinese (zh)
Other versions
CN104378838A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410633114.XA priority Critical patent/CN104378838B/en
Publication of CN104378838A publication Critical patent/CN104378838A/en
Application granted granted Critical
Publication of CN104378838B publication Critical patent/CN104378838B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method and device for establishing wireless connection, method includes:The transmission signal wire TX of the touch-screen of mobile terminal is controlled periodically to send signal and the reception signal wire RX of the touch-screen is controlled periodically to receive signal;When RX receives preset signals, control TX broadcasts the Bluetooth MAC address of the mobile terminal, and the RX is controlled persistently to receive signal;Continue received signal to the RX to be identified, if recognize Bluetooth MAC address, then start the bluetooth module of the mobile terminal, pairing request is sent to the bluetooth module of the corresponding bluetooth equipment of Bluetooth MAC address identified by the bluetooth module of the mobile terminal, so that the mobile terminal establishes bluetooth connection with the bluetooth equipment, two mobile terminals of preassignment can be made to carry out pairing connection automatically by touching, it is avoided that repetitive operation when two mobile terminals are attached by user, the operating efficiency of user can be improved.

Description

A kind of method and device for establishing wireless connection
Technical field
The present invention relates to mobile network's technical fields, and in particular to a kind of method and device for establishing wireless connection.
Background technology
With social technology development and the improvement of people's living standards, smart mobile phone, intelligent wearable device are (such as intelligent Wrist-watch etc.) etc. progressively come into the life of ordinary people.Intelligent wearable device is usually that need to coordinate smart mobile phone or tablet electricity Brain is used together, and particularly some key messages are shared, such as short message, caller identification, mail.For example, smartwatch is main Function has no longer been for checking the time, is then more the management for realizing personal information.
Intelligent wearable device currently on the market is generally all equipped with touch-screen, these intelligent wearable devices and mobile phone into Capable data exchange is carried out generally by modes such as bluetooths.Smart mobile phone is allowed to establish bluetooth connection one with intelligent wearable device As be that two equipment is first allowed first to open bluetooth, matched again by bluetooth discovery to other side, after successful matching establish connection.This User's operation is comparatively laborious during a, and operating efficiency is lower, it is impossible to realize automatic connection.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and device for establishing wireless connection, to solve mobile phone and intelligence The problem of operating procedure is cumbersome during energy wrist-watch pairing connection.
The embodiment of the present invention uses following technical scheme:
In a first aspect, an embodiment of the present invention provides a kind of method for establishing wireless connection, including:
The transmission signal wire TX of the touch-screen of mobile terminal is controlled periodically to send the first preset signals and control institute The reception signal wire RX for stating touch-screen periodically receives signal;
When the RX receives the second preset signals, the TX is controlled to broadcast the Bluetooth MAC address of the mobile terminal, And the RX is controlled persistently to receive signal;
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start the mobile terminal Bluetooth module, by the bluetooth module of the mobile terminal to the indigo plant of the corresponding bluetooth equipment of Bluetooth MAC address identified Tooth module sends pairing request, so that the mobile terminal establishes bluetooth connection with the bluetooth equipment;
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the bluetooth equipment receives first preset signals, The touch-screen of the bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment.
Second aspect, the embodiment of the present invention additionally provide a kind of method for establishing wireless connection, including:
The transmission signal wire TX of the touch-screen of bluetooth equipment is controlled periodically to send the second preset signals and control institute The reception signal wire RX for stating touch-screen periodically receives signal;
When the RX receives the first preset signals, the TX is controlled to broadcast the Bluetooth MAC address of the bluetooth equipment, And the RX is controlled persistently to receive signal;
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start the bluetooth equipment Bluetooth module;
If the bluetooth module receives the pairing request that the bluetooth module of mobile terminal is sent, and the mobile terminal Bluetooth MAC address is matched with the Bluetooth MAC address identified, then receives the pairing request, so that the bluetooth equipment and institute It states mobile terminal and establishes bluetooth connection;
Wherein, the touch-screen of the mobile terminal periodically sends first preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the mobile terminal receives second preset signals, The touch-screen of the mobile terminal broadcasts the Bluetooth MAC address of the mobile terminal.
The third aspect, the embodiment of the present invention additionally provide a kind of device for establishing wireless connection, are configured at mobile terminal, bag It includes:
Cyclical signal Transmit-Receive Unit, the transmission signal wire TX for controlling the touch-screen of mobile terminal are periodically sent The reception signal wire RX of first preset signals and the control touch-screen periodically receives signal;
Preset signals response unit, for when the RX receives the second preset signals, controlling described in the TX broadcast The Bluetooth MAC address of mobile terminal, and the RX is controlled persistently to receive signal;
Pairing request unit is identified for continuing received signal to the RX, if recognizing Bluetooth MAC address, Then start the bluetooth module of the mobile terminal, by the bluetooth module of the mobile terminal to the Bluetooth MAC address identified The bluetooth module of corresponding bluetooth equipment sends pairing request, so that the mobile terminal establishes bluetooth company with the bluetooth equipment It connects;
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the bluetooth equipment receives first preset signals, The touch-screen of the bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment.
Fourth aspect, the embodiment of the present invention provide a kind of device for establishing wireless connection, are configured at bluetooth equipment again, bag It includes:
Cyclical signal Transmit-Receive Unit, the transmission signal wire TX for controlling the touch-screen of bluetooth equipment are periodically sent The reception signal wire RX of second preset signals and the control touch-screen periodically receives signal;
Preset signals response unit, for when the RX receives the first preset signals, controlling described in the TX broadcast The Bluetooth MAC address of bluetooth equipment, and the RX is controlled persistently to receive signal;
Bluetooth module start unit is identified for continuing received signal to the RX, if with recognizing bluetooth MAC Location then starts the bluetooth module of the bluetooth equipment;
Pairing request receiving unit, if receiving the pairing of the bluetooth module transmission of mobile terminal for the bluetooth module Request, and the Bluetooth MAC address of the mobile terminal is matched with the Bluetooth MAC address identified, then receives the pairing request, So that the bluetooth equipment establishes bluetooth connection with the mobile terminal;
Wherein, the touch-screen of the mobile terminal periodically sends first preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the mobile terminal receives second preset signals, The touch-screen of the mobile terminal broadcasts the Bluetooth MAC address of the mobile terminal.
The advantageous effects of technical solution that the embodiment of the present invention proposes are:
The embodiment of the present invention by control the TX of the touch-screen of mobile terminal to be connected periodically send signal and Control RX periodically receives signal, when mobile terminal receives the second preset signals, the TX is controlled to broadcast the movement The Bluetooth MAC address of terminal, and the RX is controlled persistently to receive signal, if recognizing Bluetooth MAC address, start the movement The bluetooth module of terminal, by the bluetooth module of the mobile terminal to the corresponding bluetooth equipment of Bluetooth MAC address identified Bluetooth module send pairing request, the mobile terminal and the bluetooth equipment can be made to establish bluetooth connection, be avoided that user Repetitive operation when mobile terminal and bluetooth equipment are attached can improve the operating efficiency of user.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram for establishing wireless connection described in the specific embodiment of the invention one;
Fig. 2 is the method flow diagram for establishing wireless connection described in the specific embodiment of the invention two;
Fig. 3 is the method flow diagram for establishing wireless connection described in the specific embodiment of the invention three;
Fig. 4 is the structure diagram of the device for establishing wireless connection described in the specific embodiment of the invention four;
Fig. 5 is the structure diagram of the device for establishing wireless connection described in the specific embodiment of the invention five;
Fig. 6 is the structure diagram of the device for establishing wireless connection described in the specific embodiment of the invention six.
Specific embodiment
For make present invention solves the technical problem that, the technical solution that uses and the technique effect that reaches it is clearer, below The technical solution of the embodiment of the present invention will be described in further detail with reference to attached drawing, it is clear that described embodiment is only It is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist All other embodiments obtained under the premise of creative work are not made, belong to the scope of protection of the invention.
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.
Embodiment one
Fig. 1 is the method flow diagram for establishing wireless connection described in the present embodiment, and the present embodiment is applicable to have and touch (such as the intelligence such as smartwatch wearable is set the mobile terminal (such as smart mobile phone) and bluetooth equipment of screen and bluetooth module It is standby) carry out the situation of fast automatic connection, it is default that the touch-screen of the bluetooth equipment described in the present embodiment periodically sends second Signal, when mobile terminal is close to the bluetooth equipment, the bluetooth equipment receives the first preset signals of the mobile terminal, When the touch-screen of the bluetooth equipment receives first preset signals, the touch-screen of the bluetooth equipment broadcasts the indigo plant The Bluetooth MAC address of tooth equipment.
This method can be performed by the device for establishing wireless connection for being configured at mobile terminal, as shown in Figure 1, this implementation The method for establishing wireless connection described in example includes:
Step S101, the transmission signal wire TX of the touch-screen of mobile terminal is controlled periodically to send the first preset signals, And the reception signal wire RX of the control touch-screen periodically receives signal.
It should be noted that if the so-called bluetooth equipment of the present embodiment possesses touch-screen and bluetooth module, including But mobile terminal is not limited to, can also be some fixation means, such as automobile touch screen, the vehicles, spacecraft, on testing machines Equipment with touch-screen and bluetooth module etc. communicates and information as conventional be attached with smart mobile phone of smartwatch Shared, the bluetooth equipment is preferably smartwatch.
Touch-screen, which generally all has, to be sent signal wire TX and receives signal wire RX, and the present embodiment controls the touch of mobile terminal The transmission signal wire TX of screen periodically sends the reception signal wire RX cycles of the first preset signals and the control touch-screen Property receive signal, for the bluetooth equipment described in the present embodiment and the mobile terminal close to when, which receives The second preset signals of other side, and the first preset signals that mobile terminal TX is sent are received by the bluetooth equipment.
It should be noted that first preset signals and second preset signals can be identical signal or not Same signal, as long as can identify to square signal.In order to make both sides' signal recognition method that there is versatility, described first can be set Preset signals are identical signal with second preset signals.
Step S102, when the RX receives the second preset signals, the TX is controlled to broadcast the indigo plant of the mobile terminal Tooth MAC Address, and the RX is controlled persistently to receive signal.
When the RX receives the second preset signals, illustrate the mobile terminal by the indigo plant described at least one the present embodiment Tooth equipment, at this point, first preset signals of at least one bluetooth equipment with receiving the mobile terminal, the bluetooth equipment touch It touches screen to start to broadcast the Bluetooth MAC address of the bluetooth equipment, at the same time, the TX is controlled to broadcast the indigo plant of the mobile terminal Tooth MAC Address, and the RX is controlled persistently to receive signal to receive the Bluetooth MAC address of at least one bluetooth equipment.
Step S103, continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start institute The bluetooth module of mobile terminal is stated, by the bluetooth module of the mobile terminal to the corresponding indigo plant of Bluetooth MAC address identified The bluetooth module of tooth equipment sends pairing request.
If receiving the Bluetooth MAC address of at least one bluetooth equipment, start the bluetooth module of the mobile terminal, And the bluetooth module for passing through the mobile terminal is sent to the bluetooth module of the corresponding bluetooth equipment of Bluetooth MAC address identified Pairing request.
The purpose of this step is that the mobile terminal is made to establish bluetooth connection with the bluetooth equipment, this step can be wrapped specifically It includes:After the bluetooth module for starting the mobile terminal, directly by the bluetooth module to the bluetooth module of the Bluetooth MAC address Send pairing request.
This process is to ensure that both sides are opening and searching other side, and mobile terminal in fact can be directly into white list Bluetooth equipment initiates pairing application, but bluetooth equipment is possible to during this and opens bluetooth module not yet, may cause Pairing failure, therefore this step is preferably:Continue received signal to the RX to be identified, if with recognizing bluetooth MAC Location then records identified Bluetooth MAC address, and starts the bluetooth module of the mobile terminal;By the indigo plant of the mobile terminal The Bluetooth MAC address for the bluetooth equipment that tooth block search arrives is compared with the Bluetooth MAC address recorded, if searched for There are Bluetooth MAC address and the matched bluetooth equipment of Bluetooth MAC address recorded in bluetooth equipment, then by described mobile whole The bluetooth module at end to the bluetooth module of matched bluetooth equipment send pairing request so that the mobile terminal and the indigo plant Tooth equipment establishes bluetooth connection.
It should be noted that in the present embodiment, the touch-screen of the bluetooth equipment periodically sends described second and presets Signal, when the mobile terminal is close to the bluetooth equipment, the second of the mobile terminal reception bluetooth equipment is default Signal, the bluetooth equipment receives the first preset signals of the mobile terminal, when the touch-screen of the bluetooth equipment receives During first preset signals, the touch-screen of the bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment.
The present embodiment is by controlling the TX of the touch-screen of mobile terminal to be connected periodically to send signal and control RX periodically receives signal, when mobile terminal receives the second preset signals, the TX is controlled to broadcast the mobile terminal Bluetooth MAC address, and the RX is controlled persistently to receive signal, if recognizing Bluetooth MAC address, starts the mobile terminal Bluetooth module, by the bluetooth module of the mobile terminal to the indigo plant of the corresponding bluetooth equipment of Bluetooth MAC address identified Tooth module sends pairing request, and the mobile terminal can be made to establish bluetooth connection with the bluetooth equipment, be avoided that user will move Repetitive operation when dynamic terminal is attached with bluetooth equipment can improve the operating efficiency of user.
Embodiment two
Fig. 2 is the method flow diagram for establishing wireless connection described in the present embodiment, as shown in Fig. 2, described in the present embodiment Establishing the method for wireless connection includes:
Step S201, the transmission signal wire TX of the touch-screen of mobile terminal is controlled periodically to send the first preset signals, And the reception signal wire RX of the control touch-screen periodically receives signal.
Step S202, when the RX receives the second preset signals, the TX is controlled to broadcast the indigo plant of the mobile terminal Tooth MAC Address, and the RX is controlled persistently to receive signal.
Step S203, continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, record institute The Bluetooth MAC address of identification, and start the bluetooth module of the mobile terminal.
For example, after connection is established by touch-screen, mobile terminal and bluetooth equipment both sides are respective bluetooth MAC Location is sent to other side's (usually the Bluetooth MAC address of equipment is unique) and receives the Bluetooth MAC address of other side, and will be right The Bluetooth MAC address of side adds in respective white list.
It should be noted that in order to ensure security, preferably, the bluetooth MAC described in the present embodiment in white list The number of address is not more than 1, and the Bluetooth MAC address in the white list is unique Bluetooth MAC address, also, the white list MAC add in must by touch-screen contact add in afterwards.
Step S204, the Bluetooth MAC address for the bluetooth equipment for searching the bluetooth module of the mobile terminal, with being remembered The Bluetooth MAC address of record is compared, if there are Bluetooth MAC address and the bluetooth MAC recorded in the bluetooth equipment searched for The bluetooth equipment of address matching, then by the bluetooth module of the mobile terminal to the bluetooth module of matched bluetooth equipment send out Send pairing request.
If step S205, described mobile terminal bluetooth equipment corresponding with the Bluetooth MAC address identified establishes bluetooth company Work(is connected into, then the mobile terminal is controlled to send default prompt tone or open warning light, to prompt user's successful connection.
This step purpose is the mobile terminal is made to establish bluetooth connection with the bluetooth equipment, in order in successful connection Inform user's connection it has been established that optionally, passing through the mobile terminal by modes such as prompt tone or indicator lights afterwards Bluetooth module further includes after sending pairing request to the bluetooth module of the corresponding bluetooth equipment of Bluetooth MAC address identified: Succeed if mobile terminal bluetooth equipment corresponding with the Bluetooth MAC address identified establishes bluetooth connection, described in control Mobile terminal sends default prompt tone or opens warning light, to prompt user's successful connection.
The present embodiment discloses what a kind of control mobile terminal persistently received the RX on the basis of embodiment one The preferred embodiment that signal is identified can make mobile terminal and the bluetooth equipment of preassignment carry out pairing company automatically by touching It connects, being avoided that when mobile terminal is attached by user with bluetooth equipment causes due to the bluetooth module of bluetooth equipment opens later Pairing failure can further improve the success rate of pairing;And it adds inform that company has been established in user after successful connection simultaneously The step of being connected into work(can prompt user whether connection is successfully further judged and checked to avoid user, energy Further improve the operating efficiency of user.
Embodiment three
Fig. 3 is the method flow diagram for establishing wireless connection described in the present embodiment, and the present embodiment is applicable to have and touch The bluetooth equipment of screen and bluetooth module (including but not limited to mobile terminal) and mobile terminal (such as smart mobile phone) carry out fast The situation that speed connects automatically.
It should be noted that if the so-called bluetooth equipment of the present embodiment possesses touch-screen and bluetooth module, including But mobile terminal is not limited to, can also be some fixation means, such as automobile touch screen, the vehicles, spacecraft, on testing machines Equipment with touch-screen and bluetooth module etc..It communicates and information as conventional be attached with smart mobile phone of smartwatch Shared, the bluetooth equipment is preferably smartwatch.
The touch-screen of mobile terminal described in the present embodiment periodically sends the first preset signals, when the bluetooth equipment During close to the mobile terminal, the bluetooth equipment receives the first preset signals of the mobile terminal, when the mobile terminal Touch-screen when receiving second preset signals, the touch-screen of the mobile terminal broadcasts the bluetooth of the mobile terminal MAC Address.
It should be noted that first preset signals and second preset signals can be identical signal or not Same signal, as long as can identify to square signal.In order to make both sides' signal recognition method that there is versatility, described first can be set Preset signals are identical signal with second preset signals.
Method described in the present embodiment can be performed by the device for establishing wireless connection for being configured at bluetooth equipment, such as be schemed Shown in 3, the method for establishing wireless connection described in the present embodiment includes:
Step S301, the transmission signal wire TX of the touch-screen of bluetooth equipment is controlled periodically to send the second preset signals, And the reception signal wire RX of the control touch-screen periodically receives signal.
Touch-screen, which generally all has, to be sent signal wire TX and receives signal wire RX, and the present embodiment controls the touch of bluetooth equipment The transmission signal wire TX of screen periodically sends the reception signal wire RX cycles of the second preset signals and the control touch-screen Property receive signal, for the mobile terminal described in the present embodiment and the mobile terminal close to when, which receives The first preset signals of other side, and the second preset signals that the TX of the bluetooth equipment is sent are received by the mobile terminal.
Step S302, when the RX receives the first preset signals, the TX is controlled to broadcast the indigo plant of the bluetooth equipment Tooth MAC Address, and the RX is controlled persistently to receive signal.
When the RX receives the first preset signals, illustrate the bluetooth equipment close to described at least one the present embodiment Mobile terminal, at this point, second preset signals of at least one mobile terminal with receiving the bluetooth equipment, the mobile terminal Touch-screen starts to broadcast the Bluetooth MAC address of the mobile terminal, at the same time, the TX is controlled to broadcast the bluetooth equipment Bluetooth MAC address, and the RX is controlled persistently to receive signal to receive the Bluetooth MAC address of at least one mobile terminal.
Step S303, continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start institute State the bluetooth module of bluetooth equipment.
If step S304, described bluetooth module receives the pairing request that the bluetooth module of mobile terminal is sent, and described The Bluetooth MAC address of mobile terminal is matched with the Bluetooth MAC address identified, then receives the pairing request, so that the indigo plant Tooth equipment establishes bluetooth connection with the mobile terminal.
This step purpose is the bluetooth equipment is made to establish bluetooth connection with the mobile terminal, in order in successful connection Inform that user is connected it has been established that optionally by modes such as prompt tone or indicator lights afterwards, the bluetooth equipment with it is described Mobile terminal establishes bluetooth connection success, then the bluetooth equipment is controlled to send default prompt tone or opens warning light, with prompting User's successful connection.
The present embodiment is by controlling the TX of the touch-screen of bluetooth equipment to be connected periodically to send signal and control RX periodically receives signal, when bluetooth equipment receives the first preset signals, the TX is controlled to broadcast the bluetooth equipment Bluetooth MAC address, and the RX is controlled persistently to receive signal, if recognizing Bluetooth MAC address, starts the bluetooth equipment Bluetooth module, if the bluetooth module receives the pairing request that the bluetooth module of mobile terminal is sent, and it is described it is mobile eventually The Bluetooth MAC address at end is matched with the Bluetooth MAC address identified, then receives the pairing request, can make the bluetooth equipment Bluetooth connection is established with the mobile terminal, is avoided that repetition when bluetooth equipment and mobile terminal are attached by user is grasped Make, the operating efficiency of user can be improved.
Example IV
Fig. 4 is the structure diagram of the device for establishing wireless connection described in the present embodiment, as shown in figure 4, the present embodiment institute The device for establishing wireless connection stated is configured at mobile terminal, including:
Cyclical signal Transmit-Receive Unit 401, for controlling the transmission signal wire TX of the touch-screen of mobile terminal periodically The reception signal wire RX for sending the first preset signals and the control touch-screen periodically receives signal;
Preset signals response unit 402, for when the RX receives the second preset signals, controlling the TX broadcast institute The Bluetooth MAC address of mobile terminal is stated, and the RX is controlled persistently to receive signal;
Pairing request unit 403 is identified for continuing received signal to the RX, if with recognizing bluetooth MAC Location then starts the bluetooth module of the mobile terminal, by the bluetooth module of the mobile terminal to the bluetooth MAC identified The bluetooth module of the corresponding bluetooth equipment in location sends pairing request, so that the mobile terminal establishes bluetooth with the bluetooth equipment Connection;
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the bluetooth equipment receives first preset signals, The touch-screen of the bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment.
Further, the pairing request unit 403 is specifically used for:
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, the identified bluetooth of record MAC Address, and start the bluetooth module of the mobile terminal;
The Bluetooth MAC address for the bluetooth equipment that the bluetooth module of the mobile terminal is searched, with the bluetooth recorded MAC Address is compared, if being matched in the bluetooth equipment searched for there are Bluetooth MAC address with the Bluetooth MAC address recorded Bluetooth equipment, then by the bluetooth module of the mobile terminal to matched bluetooth equipment bluetooth module send pairing please It asks, so that the mobile terminal establishes bluetooth connection with the bluetooth equipment.
Further, the bluetooth equipment is smartwatch.
Further, first preset signals are identical signal with second preset signals.
The device provided in this embodiment for establishing wireless connection can perform the embodiment of the present invention one and embodiment two is provided The method for establishing wireless connection, possess the corresponding function module of execution method and advantageous effect.
Embodiment five
Fig. 5 is the structure diagram of the device for establishing wireless connection described in the present embodiment, as shown in figure 5, the present embodiment institute The device for establishing wireless connection stated is configured at mobile terminal, including:
Cyclical signal Transmit-Receive Unit 501, for controlling the transmission signal wire TX of the touch-screen of mobile terminal periodically The reception signal wire RX for sending the first preset signals and the control touch-screen periodically receives signal;
Preset signals response unit 502, for when the RX receives the second preset signals, controlling the TX broadcast institute The Bluetooth MAC address of mobile terminal is stated, and the RX is controlled persistently to receive signal;
Pairing request unit 503, is used for:
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, the identified bluetooth of record MAC Address, and start the bluetooth module of the mobile terminal;
The Bluetooth MAC address for the bluetooth equipment that the bluetooth module of the mobile terminal is searched, with the bluetooth recorded MAC Address is compared, if being matched in the bluetooth equipment searched for there are Bluetooth MAC address with the Bluetooth MAC address recorded Bluetooth equipment, then by the bluetooth module of the mobile terminal to matched bluetooth equipment bluetooth module send pairing please It asks, so that the mobile terminal establishes bluetooth connection with the bluetooth equipment.
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the bluetooth equipment receives first preset signals, The touch-screen of the bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment.
Further, described device further includes prompt unit 504, for the bluetooth module by the mobile terminal to After the bluetooth module of the corresponding bluetooth equipment of Bluetooth MAC address identified sends pairing request, if the mobile terminal with The corresponding bluetooth equipment of Bluetooth MAC address identified establishes bluetooth connection success, then the mobile terminal is controlled to send default Prompt tone opens warning light, to prompt user's successful connection.
Further, the bluetooth equipment is smartwatch.
Further, first preset signals are identical signal with second preset signals.
The device provided in this embodiment for establishing wireless connection can perform the embodiment of the present invention one and embodiment two is provided The method for establishing wireless connection, possess the corresponding function module of execution method and advantageous effect.
Embodiment six
Fig. 6 is the structure diagram of the device for establishing wireless connection described in the present embodiment, as shown in fig. 6, the present embodiment institute The device for establishing wireless connection stated is configured at bluetooth equipment, including:
Cyclical signal Transmit-Receive Unit 601, for controlling the transmission signal wire TX of the touch-screen of bluetooth equipment periodically The reception signal wire RX for sending the second preset signals and the control touch-screen periodically receives signal;
Preset signals response unit 602, for when the RX receives the first preset signals, controlling the TX broadcast institute The Bluetooth MAC address of bluetooth equipment is stated, and the RX is controlled persistently to receive signal;
Bluetooth module start unit 603 is identified for continuing received signal to the RX, if recognizing bluetooth MAC Address then starts the bluetooth module of the bluetooth equipment;
Pairing request receiving unit 604, if the bluetooth module transmission of mobile terminal is received for the bluetooth module Pairing request, and the Bluetooth MAC address of the mobile terminal is matched with the Bluetooth MAC address identified, then receives the pairing Request, so that the bluetooth equipment establishes bluetooth connection with the mobile terminal;
Wherein, the touch-screen of the mobile terminal periodically sends first preset signals, when the mobile terminal During close to the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment connects The first preset signals of the mobile terminal are received, when the touch-screen of the mobile terminal receives second preset signals, The touch-screen of the mobile terminal broadcasts the Bluetooth MAC address of the mobile terminal.
Further, described device further includes prompt unit, for after the pairing request is received, if the bluetooth Equipment establishes bluetooth connection success with the mobile terminal, then the bluetooth equipment is controlled to send default prompt tone or opens prompting Lamp, to prompt user's successful connection.
Further, the bluetooth equipment is smartwatch.
Further, first preset signals are identical signal with second preset signals.
It is wireless that the device provided in this embodiment for establishing wireless connection can perform the foundation that the embodiment of the present invention three is provided The method of connection possesses the corresponding function module of execution method and advantageous effect.
Above example provide technical solution in all or part of content can be realized by software programming, software Program storage is in the storage medium that can be read, and storage medium is for example:Hard disk, CD or floppy disk in computer.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. a kind of method for establishing wireless connection, suitable for having the mobile terminal of touch-screen and bluetooth module, which is characterized in that Including:
The transmission signal wire TX of the touch-screen of mobile terminal is controlled periodically to send the first preset signals and control described touch The reception signal wire RX for touching screen periodically receives signal;
When the RX receives the second preset signals, the TX is controlled to broadcast the Bluetooth MAC address of the mobile terminal, and is controlled It makes the RX and persistently receives signal;
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start the indigo plant of the mobile terminal Tooth module, by the bluetooth module of the mobile terminal to the bluetooth mould of the corresponding bluetooth equipment of Bluetooth MAC address identified Block sends pairing request, so that the mobile terminal establishes bluetooth connection with the bluetooth equipment, specifically includes:
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, the identified bluetooth MAC of record Address, and start the bluetooth module of the mobile terminal;
The Bluetooth MAC address for the bluetooth equipment that the bluetooth module of the mobile terminal is searched, with the bluetooth MAC that is recorded Location is compared, if there are Bluetooth MAC address and the matched bluetooth of Bluetooth MAC address recorded in the bluetooth equipment searched for Equipment, then by the bluetooth module of the mobile terminal to the bluetooth module of matched bluetooth equipment send pairing request, with The mobile terminal is made to establish bluetooth connection with the bluetooth equipment;
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal is close During the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment receives institute The first preset signals of mobile terminal are stated, it is described when the touch-screen of the bluetooth equipment receives first preset signals The touch-screen of bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment;The bluetooth equipment only possesses touch-screen and bluetooth Module;
After a connection is established, the mobile terminal and the bluetooth equipment add in the Bluetooth MAC address of other side respective white List;The number of Bluetooth MAC address in the white list is not more than 1, and the addition of MAC Address is to pass through in the white list Touch-screen contact adds in afterwards.
2. the method as described in claim 1 for establishing wireless connection, which is characterized in that in the bluetooth by the mobile terminal Module further includes after sending pairing request to the bluetooth module of the corresponding bluetooth equipment of Bluetooth MAC address identified:If institute Stating mobile terminal, bluetooth equipment corresponding with the Bluetooth MAC address identified establishes bluetooth connection success, then controls the movement Terminal sends default prompt tone or opens warning light, to prompt user's successful connection.
3. the method as described in claim 1 for establishing wireless connection, which is characterized in that the bluetooth equipment is smartwatch.
4. the as described in claim 1 method for establishing wireless connection, which is characterized in that first preset signals and described the Two preset signals are identical signal.
A kind of 5. method for establishing wireless connection, which is characterized in that including:
The transmission signal wire TX of the touch-screen of bluetooth equipment is controlled periodically to send the second preset signals and control described touch The reception signal wire RX for touching screen periodically receives signal;
When the RX receives the first preset signals, the TX is controlled to broadcast the Bluetooth MAC address of the bluetooth equipment, and is controlled It makes the RX and persistently receives signal;
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, start the indigo plant of the bluetooth equipment Tooth module;
If the bluetooth module receives the pairing request that the bluetooth module of mobile terminal is sent, and the bluetooth of the mobile terminal MAC Address is matched with the Bluetooth MAC address identified, then receives the pairing request, so that the bluetooth equipment and the shifting Dynamic terminal establishes bluetooth connection;
Wherein, the touch-screen of the mobile terminal periodically sends first preset signals, when the mobile terminal is close During the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment receives institute The first preset signals of mobile terminal are stated, it is described when the touch-screen of the mobile terminal receives second preset signals The touch-screen of mobile terminal broadcasts the Bluetooth MAC address of the mobile terminal;
If the bluetooth equipment establishes bluetooth connection success with the mobile terminal, the bluetooth equipment is controlled to send default carry Show sound or open warning light, to prompt user's successful connection.
6. the method as claimed in claim 5 for establishing wireless connection, which is characterized in that the bluetooth equipment is smartwatch.
7. the as claimed in claim 5 method for establishing wireless connection, which is characterized in that first preset signals and described the Two preset signals are identical signal.
8. a kind of device for establishing wireless connection is configured at the mobile terminal with touch-screen and bluetooth module, which is characterized in that Including:
Cyclical signal Transmit-Receive Unit, the transmission signal wire TX for controlling the touch-screen of mobile terminal periodically send first The reception signal wire RX of preset signals and the control touch-screen periodically receives signal;
Preset signals response unit, for the TX when the RX receives the second preset signals, to be controlled to broadcast the movement The Bluetooth MAC address of terminal, and the RX is controlled persistently to receive signal;
Pairing request unit is identified for continuing received signal to the RX, if recognizing Bluetooth MAC address, opens The bluetooth module of the mobile terminal is moved, is corresponded to by the bluetooth module of the mobile terminal to the Bluetooth MAC address identified The bluetooth module of bluetooth equipment send pairing request so that the mobile terminal and the bluetooth equipment establish bluetooth connection, It is specifically used for:
Continue received signal to the RX to be identified, if recognizing Bluetooth MAC address, the identified bluetooth MAC of record Address, and start the bluetooth module of the mobile terminal;
The Bluetooth MAC address for the bluetooth equipment that the bluetooth module of the mobile terminal is searched, with the bluetooth MAC that is recorded Location is compared, if there are Bluetooth MAC address and the matched bluetooth of Bluetooth MAC address recorded in the bluetooth equipment searched for Equipment, then by the bluetooth module of the mobile terminal to the bluetooth module of matched bluetooth equipment send pairing request, with The mobile terminal is made to establish bluetooth connection with the bluetooth equipment;
Wherein, the touch-screen of the bluetooth equipment periodically sends second preset signals, when the mobile terminal is close During the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment receives institute The first preset signals of mobile terminal are stated, it is described when the touch-screen of the bluetooth equipment receives first preset signals The touch-screen of bluetooth equipment broadcasts the Bluetooth MAC address of the bluetooth equipment;The bluetooth equipment only possesses touch-screen and bluetooth Module;
After a connection is established, the mobile terminal and the bluetooth equipment add in the Bluetooth MAC address of other side respective white List;The number of Bluetooth MAC address in the white list is not more than 1, and the addition of MAC Address is to pass through in the white list Touch-screen contact adds in afterwards.
9. the device as claimed in claim 8 for establishing wireless connection, which is characterized in that described device further includes prompt unit, For the bluetooth module in the bluetooth module by the mobile terminal to the corresponding bluetooth equipment of Bluetooth MAC address identified After sending pairing request, if mobile terminal bluetooth equipment corresponding with the Bluetooth MAC address identified establishes bluetooth company Work(is connected into, then the mobile terminal is controlled to send default prompt tone or open warning light, to prompt user's successful connection.
10. the device as claimed in claim 8 for establishing wireless connection, it is characterised in that:
The bluetooth equipment is smartwatch;And/or
First preset signals are identical signal with second preset signals.
11. a kind of device for establishing wireless connection, is configured at bluetooth equipment, which is characterized in that including:
Cyclical signal Transmit-Receive Unit, the transmission signal wire TX for controlling the touch-screen of bluetooth equipment periodically send second The reception signal wire RX of preset signals and the control touch-screen periodically receives signal;
Preset signals response unit, for the TX when the RX receives the first preset signals, to be controlled to broadcast the bluetooth The Bluetooth MAC address of equipment, and the RX is controlled persistently to receive signal;
Bluetooth module start unit is identified for continuing received signal to the RX, if recognizing Bluetooth MAC address, Then start the bluetooth module of the bluetooth equipment;
Pairing request receiving unit, if the pairing that the bluetooth module transmission of mobile terminal is received for the bluetooth module please It asks, and the Bluetooth MAC address of the mobile terminal is matched with the Bluetooth MAC address identified, then receives the pairing request, with The bluetooth equipment is made to establish bluetooth connection with the mobile terminal;
Wherein, the touch-screen of the mobile terminal periodically sends first preset signals, when the mobile terminal is close During the bluetooth equipment, the mobile terminal receives the second preset signals of the bluetooth equipment, and the bluetooth equipment receives institute The first preset signals of mobile terminal are stated, it is described when the touch-screen of the mobile terminal receives second preset signals The touch-screen of mobile terminal broadcasts the Bluetooth MAC address of the mobile terminal;
Prompt unit, for after the pairing request is received, if the bluetooth equipment establishes bluetooth with the mobile terminal Successful connection then controls the bluetooth equipment to send default prompt tone or open warning light, to prompt user's successful connection.
12. the device as claimed in claim 11 for establishing wireless connection, it is characterised in that:
The bluetooth equipment is smartwatch;And/or
First preset signals are identical signal with second preset signals.
CN201410633114.XA 2014-11-11 2014-11-11 A kind of method and device for establishing wireless connection Expired - Fee Related CN104378838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410633114.XA CN104378838B (en) 2014-11-11 2014-11-11 A kind of method and device for establishing wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410633114.XA CN104378838B (en) 2014-11-11 2014-11-11 A kind of method and device for establishing wireless connection

Publications (2)

Publication Number Publication Date
CN104378838A CN104378838A (en) 2015-02-25
CN104378838B true CN104378838B (en) 2018-05-25

Family

ID=52557407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410633114.XA Expired - Fee Related CN104378838B (en) 2014-11-11 2014-11-11 A kind of method and device for establishing wireless connection

Country Status (1)

Country Link
CN (1) CN104378838B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453212A (en) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Method and system for realizing wireless connection
CN105450268A (en) * 2015-12-02 2016-03-30 惠州Tcl移动通信有限公司 Bluetooth-based method and system for automatically connecting wearable device with mobile terminal
CN105657779A (en) * 2015-12-29 2016-06-08 广东欧珀移动通信有限公司 Networking method and system for mobile terminal, and mobile terminal
CN113891513B (en) * 2016-07-11 2024-04-16 佛山市顺德区美的电热电器制造有限公司 Cooking apparatus and control method of cooking apparatus
CN106341782A (en) * 2016-09-27 2017-01-18 美的智慧家居科技有限公司 Mobile terminal and household electric appliance communication method and system
CN106973359B (en) * 2017-03-07 2020-10-09 重庆西山科技股份有限公司 Method and device for quickly establishing wireless connection, wireless equipment and communication system
WO2018176670A1 (en) * 2017-03-31 2018-10-04 华为技术有限公司 Handshake method and device for wireless communication
CN107241690A (en) * 2017-07-13 2017-10-10 湖南海翼电子商务股份有限公司 The interconnection means and method being connected automatically for automobile and mobile terminal
CN112333807A (en) * 2017-12-21 2021-02-05 安克创新科技股份有限公司 Pairing connection method for wireless devices and intelligent electronic equipment
CN108391259B (en) * 2018-01-11 2020-12-29 佳禾智能科技股份有限公司 Bluetooth rapid pairing method
CN108399918B (en) * 2018-01-31 2021-08-20 上海芯爱智能科技有限公司 Intelligent device connection method, intelligent device and terminal
CN110891298A (en) * 2019-12-18 2020-03-17 惠州拓邦电气技术有限公司 Bluetooth connection method, device, Bluetooth equipment and system
CN113763646B (en) * 2021-01-29 2024-04-05 北京京东拓先科技有限公司 Device control method, device, electronic device and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252376A (en) * 2008-03-27 2008-08-27 宇龙计算机通信科技(深圳)有限公司 System and method for connecting blue tooth equipment and mobile communication terminal thereof
CN101547255A (en) * 2009-01-20 2009-09-30 宇龙计算机通信科技(深圳)有限公司 Method and system for handling incoming calls and touch screen mobile terminal
CN102143461A (en) * 2010-02-02 2011-08-03 王滨 Intelligent call forwarding method and device
CN102932037A (en) * 2012-10-15 2013-02-13 天地融科技股份有限公司 Method and system for establishing connection between Bluetooth key and terminal
CN103986719A (en) * 2014-05-26 2014-08-13 厦门美图之家科技有限公司 Method for preventing background flow of application programs from being wasted

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4699244B2 (en) * 2006-03-03 2011-06-08 株式会社エヌ・ティ・ティ・ドコモ Mobile terminal device and terminal identification information changing system
US7920849B2 (en) * 2007-07-13 2011-04-05 Pop Adrian Method and system for providing advertisements/messages based on wireless data communication technology
CN102170679B (en) * 2011-05-28 2013-06-26 西安电子科技大学 Multimachine Bluetooth group communication method based on Android system
CN103095345B (en) * 2011-11-03 2016-03-23 悦康健康管理顾问科技股份有限公司 Wireless acquisition method of external data and electronic equipment thereof
CN103067055B (en) * 2012-12-26 2016-11-09 深圳天珑无线科技有限公司 A kind of Bluetooth connecting method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252376A (en) * 2008-03-27 2008-08-27 宇龙计算机通信科技(深圳)有限公司 System and method for connecting blue tooth equipment and mobile communication terminal thereof
CN101547255A (en) * 2009-01-20 2009-09-30 宇龙计算机通信科技(深圳)有限公司 Method and system for handling incoming calls and touch screen mobile terminal
CN102143461A (en) * 2010-02-02 2011-08-03 王滨 Intelligent call forwarding method and device
CN102932037A (en) * 2012-10-15 2013-02-13 天地融科技股份有限公司 Method and system for establishing connection between Bluetooth key and terminal
CN103986719A (en) * 2014-05-26 2014-08-13 厦门美图之家科技有限公司 Method for preventing background flow of application programs from being wasted

Also Published As

Publication number Publication date
CN104378838A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104378838B (en) A kind of method and device for establishing wireless connection
US10939490B2 (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices, and dual-mode Bluetooth device
US10547609B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
CN103780758A (en) Wearable communication device and information synchronization method thereof
CN104853043A (en) Notification message filtering and control method, smart phone and system
CN104093189A (en) Multimedia playing device network initialization method, system, device and terminal
US20220174659A1 (en) Feedback method for semi-persistent scheduling physical downlink shared channel and terminal device
CN105208056A (en) Information exchange method and terminal
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
CN106507437A (en) Smart machine networking method and device
CN110072013B (en) Terminal control method and device
WO2017096909A1 (en) Data connection establishing method and apparatus
CN104135728A (en) Network connection method and device
CN105306760A (en) Method and device for controlling terminal
CN108124510A (en) A kind of Wireless pairing system and matching method
CN110809267A (en) Device connection method, electronic device and computer readable storage medium
CN103747141A (en) Method and system for controlling applications loaded in mobile terminal
CN106257940A (en) A kind of iOS device and bluetooth peripheral hardware matching method and device
CN106454975A (en) Hotspot network switching method and terminal equipment
JP2022528338A (en) Transmission method, terminal equipment and network side equipment
CN108235830A (en) A kind of Wireless pairing system and matching method
CN104468961A (en) Method and device for prompting position of terminal
CN107872791B (en) Access point connection method and device
CN105391870A (en) Timing reminding method and device
CN106303616B (en) Play control method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180525

CF01 Termination of patent right due to non-payment of annual fee