Bluetooth connecting method and mobile terminal

A Bluetooth connection method and mobile terminal technology, applied in the field of Bluetooth connection methods and mobile terminals, can solve the problems of long time consumption, low efficiency, and reduced user experience, so as to save scanning time, improve accuracy and efficiency, and improve user experience Effect

Inactive Publication Date: 2013-04-24
SHENZHEN TINNO WIRELESS TECH
6 Cites 43 Cited by

AI-Extracted Technical Summary

Problems solved by technology

However, there are following defects in such a way of establishing a Bluetooth connection: when connecting Bluetooth peripherals such as a mouse and a headset, the time for establishing a Bluetooth connection is much longer than that of directly using a physical cable to connect two devices; When the distance is far and there are many Bluetooth devices around, the scanning phas...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a Bluetooth connecting method which comprises the steps that a mobile terminal sends requesting information to a Bluetooth device through a first infrared emitter, receives response information of the Bluetooth device through a first infrared outer receiver, and sends a connecting request to the Bluetooth device through the address of the Bluetooth device. Further disclosed is the mobile terminal. In practical implementation manner, due to the fact that the mobile terminal directly conducts exchange of measurement and control (MAC) address through the infrared emitter and the infrared receiver, the mobile terminal and the Bluetooth device are enabled to directly build Bluetooth connection according to the MAC address obtained through the exchange, scanning to devices around is not required, and therefore scanning time is saved, a condition that scanning is required to be repeated when names of the devices are the same, precision and efficiency of Bluetooth device connecting is improved, and meanwhile experience of users is improved.

Application Domain

Technology Topic

Image

  • Bluetooth connecting method and mobile terminal
  • Bluetooth connecting method and mobile terminal
  • Bluetooth connecting method and mobile terminal

Examples

  • Experimental program(3)

Example Embodiment

[0037] Example one:
[0038] Please refer to figure 1 , An implementation of the Bluetooth connection method of this application includes the following steps:
[0039] Step 101: The mobile terminal sends request information to the Bluetooth device through the first infrared transmitter. The request information includes the address of the mobile terminal. The address here generally refers to the MAC address (Media Access Control Address or hardware address) of the device. .
[0040] Step 102: The mobile terminal receives response information from the Bluetooth device through the first infrared receiver, and the response information includes the MAC address of the Bluetooth device.
[0041] Step 103: The mobile terminal sends a Bluetooth connection request to the Bluetooth device through the MAC address of the Bluetooth device. Step 103 specifically includes the following steps: the mobile terminal sends a Bluetooth pairing request to the Bluetooth device through the MAC address of the Bluetooth device. After the Bluetooth device accepts the pairing request, it exchanges device characteristic information with the mobile terminal. The mobile terminal sends a Bluetooth connection request to the Bluetooth device. The device accepts the connection request and starts the interactive transmission of data.
[0042] Please refer to figure 2 In one embodiment, before the mobile terminal sends a Bluetooth pairing request to the Bluetooth device through the MAC address of the Bluetooth device, it further includes a step of verifying the Bluetooth device, the request information further includes the first identification code, and the response information further includes the first identification code. Second identification code, the steps to verify the Bluetooth device specifically include:
[0043] The first identification code and the second identification code are compared, and if the comparison is correct, the MAC address of the Bluetooth device is saved. The first identification code includes a character string composed of the MAC address of the mobile terminal and the expiration time of the requested information; the second identification code is the first identification code saved by the Bluetooth device.
[0044] Among them, the first identification code is a temporary identification code generated by the mobile terminal according to a specific algorithm for identifying the device. In this embodiment, the temporary identification code is divided into two parts:
[0045] a. Expiration time of the requested information: the current system time plus the effective time of the requested information;
[0046] b. The MAC address of the mobile terminal as the requester.
[0047] For example, if the MAC address of the mobile terminal is: FE:1A:46:66:28:47, the current system time is 13:10:52, and the valid time of the first identification code is 2 seconds, so the first identification generated The code is: 131054fe1a46662847.
[0048] The second identification code in the response information is the information that the Bluetooth device sends back to the mobile terminal and the mobile terminal verifies whether the second identification code is valid. In this embodiment, the second identification code is the first identification code saved by the Bluetooth device. After the first identification code is returned to the mobile terminal, the mobile terminal will compare and verify it. If the received identification code is If the generated first identification code is different, it means that the mobile terminal has received wrong device response information or the response time is too long, causing the request to expire and become invalid.
[0049] In an embodiment, a Bluetooth connection method specifically includes the following steps:
[0050] Step 201: The mobile terminal sends request information to the Bluetooth device through the first infrared transmitter, and the request information includes the MAC address of the mobile terminal and the first identification code;
[0051] Step 202: The mobile terminal receives response information from the Bluetooth device through the first infrared receiver, and the response information includes the MAC address and the second identification code of the Bluetooth device;
[0052] Step 203: Compare the first identification code with the second identification code;
[0053] Step 204: Determine whether the comparison between the first identification code and the second identification code is correct;
[0054] Step 205: If the comparison is correct, the mobile terminal saves the MAC address of the Bluetooth device;
[0055] Step 206: If the comparison is wrong, it means that this connection has failed;
[0056] Step 207: The verification of the first identification code and the second identification code is passed, indicating that the requested connection initiated by the mobile terminal this time is valid, so the mobile terminal sends a Bluetooth connection request to the Bluetooth device through the MAC address of the Bluetooth device.
[0057] Through the Bluetooth connection method of the present application, the mobile terminal can directly and quickly obtain the MAC address of the device that needs to perform the Bluetooth connection, which improves the accuracy and efficiency of the Bluetooth connection.

Example Embodiment

[0058] Embodiment two:
[0059] Please refer to image 3 , An implementation of the Bluetooth connection method of this application includes the following steps:
[0060] Step 301: The mobile terminal sends request information to the Bluetooth device through the first infrared transmitter, and the request information includes the address of the mobile terminal;
[0061] Step 302: The Bluetooth device receives the request information through the second infrared receiver;
[0062] Step 303: The Bluetooth device sends response information to the mobile terminal through the second infrared transmitter, and the response information includes the address of the Bluetooth device;
[0063] Step 304: The mobile terminal receives the response information through the first infrared receiver, and sends a Bluetooth connection request to the Bluetooth device through the address of the Bluetooth device. The mobile terminal sending the Bluetooth connection request to the Bluetooth device specifically includes the following steps:
[0064] Step 305: The mobile terminal sends a Bluetooth pairing request to the Bluetooth device through the address of the Bluetooth device.
[0065] Step 306: The Bluetooth device accepts the pairing request, and exchanges device characteristic information with the mobile terminal;
[0066] Step 307: The mobile terminal sends a Bluetooth connection request to the Bluetooth device, and the Bluetooth device accepts the connection request, establishes a Bluetooth connection relationship with the mobile terminal, and performs interactive data transmission.
[0067] Among them, the characteristic information of the device includes: the device name and the PROFILE supported by the device. PROFILE is a Bluetooth application specification defined to maintain compatibility between Bluetooth devices. It defines how devices implement a connection or application, which is equivalent to a connection layer protocol or application layer protocol. The mobile terminal retrieves the PROFILE of the Bluetooth device, and after finding the connectable PROFILE, initiates a Bluetooth connection request to the Bluetooth device. After the Bluetooth device accepts the request, the two parties conduct data interaction.
[0068] Please refer to Figure 4 In one embodiment, before the mobile terminal sends a Bluetooth pairing request to the Bluetooth device through the MAC address of the Bluetooth device, it further includes the step of verifying the Bluetooth device, the request information further includes the first identification code, and the response information further includes the second Identification code, the steps to verify the Bluetooth device include:
[0069] The first identification code and the second identification code are compared, and if the comparison is correct, the MAC address of the Bluetooth device is saved.
[0070] In an embodiment, the first identification code includes a character string composed of the MAC address of the mobile terminal and the expiration time of the requested information, and the second identification code is the first identification code stored by the Bluetooth device. The method for generating the first identification code has been described in the first embodiment, and will not be repeated here.
[0071] In an embodiment, after the Bluetooth device receives the request information through the second infrared receiver, it further includes the following step: the Bluetooth device saves the request information. The Bluetooth device saves the request information, that is, saves the MAC address and the first identification code of the mobile terminal. In order to make the Bluetooth connection more accurate, the mobile terminal sends the Bluetooth pairing request to the Bluetooth device while sending the MAC address of the mobile terminal again. After the Bluetooth device receives the Bluetooth pairing request, it compares the MAC address of the device that initiated the pairing request with the previously saved MAC address for verification. If the verification is passed, the pairing prompt will no longer pop up and the Bluetooth device will automatically run the program to receive the pairing .
[0072] In summary, in this embodiment, a Bluetooth connection method specifically includes the following steps:
[0073] Step 401: The mobile terminal sends request information to the Bluetooth device through the first infrared transmitter, and the request information includes the MAC address and the first identification code of the mobile terminal.
[0074] Step 402: The Bluetooth device receives the request information through the second infrared receiver.
[0075] Step 403: The Bluetooth device sends response information to the mobile terminal through the second infrared transmitter, and the response information includes the MAC address and the second identification code of the Bluetooth device.
[0076] Step 404: The mobile terminal receives the response information through the first infrared receiver.
[0077] Step 405: Compare the first identification code with the second identification code.
[0078] Step 406: Determine whether the comparison between the first identification code and the second identification code is correct.
[0079] Step 407: If the comparison is correct, the mobile terminal saves the MAC address of the Bluetooth device.
[0080] Step 408: If the comparison is wrong, it means that this connection has failed.
[0081] After step 407, the mobile terminal sends a Bluetooth connection request to the Bluetooth device through the MAC address of the Bluetooth device, which specifically includes the following steps:
[0082] Step 409: The mobile terminal sends a Bluetooth pairing request to the Bluetooth device through the MAC address of the Bluetooth device;
[0083] Step 410: The Bluetooth device compares the MAC address of the device that initiated the pairing request with the previously saved MAC address;
[0084] Step 411: Compare whether the MAC address of the device that initiated the pairing request is the same as the MAC address of the mobile terminal that has been saved before.
[0085] Step 412: If the comparison is correct, the Bluetooth device accepts the pairing request and exchanges device characteristic information with the mobile terminal; the device characteristic information includes: the device name and the PROFILE supported by the device. PROFILE is a Bluetooth application specification defined in order to maintain compatibility between Bluetooth devices. It defines how devices implement a connection or application, which is equivalent to a connection layer protocol or application layer protocol. The mobile terminal searches the PROFILE of the Bluetooth device to find the connectable PROFILE.
[0086] If the comparison is wrong, go to step 408, which means that the Bluetooth request connection failed this time.
[0087] Step 413: The mobile terminal sends a Bluetooth connection request to the PROFILE supported and connectable by the Bluetooth device, and the Bluetooth device accepts the request and performs interactive data transmission.

Example Embodiment

[0088] Embodiment three:
[0089] An implementation of the mobile terminal of the present application includes a control module, a Bluetooth module, and a housing. The control module and the Bluetooth module are arranged in the housing, and further includes a first infrared transmitter and a first infrared receiver. The first infrared transmitter is used to send request information to the Bluetooth device, the request information includes the MAC address of the mobile terminal; the first infrared receiver is used to receive response information from the Bluetooth device, and the response information includes the MAC address of the Bluetooth device; the control module is used to Control the Bluetooth module to send a Bluetooth pairing request to the Bluetooth device through the MAC address of the Bluetooth device.
[0090] Please refer to Figure 5 In one embodiment, the control module is a main control chip CPU, which is signally connected to the first infrared receiver, the first infrared transmitter and the Bluetooth module. Each module is a separate device, and the connection of each device is determined according to the actual hardware design needs. The Bluetooth module includes a Bluetooth chip. The first infrared receiver and the first infrared transmitter are used to receive and transmit infrared signals, and are generally set on the surface of the housing of the mobile terminal to ensure the barrier-free transmission of infrared signals. The effective distance between the infrared receiver and infrared transmitter of the equipment is related to the power of the infrared transmitter. Therefore, infrared receivers and infrared transmitters of different power should be selected according to the requirements of the equipment or the distance of data transmission.
[0091] Please refer to Image 6 In another embodiment, the control module, the first infrared receiver, the first infrared transmitter and the Bluetooth module can also be integrated into one chip.
[0092] Please refer to Figure 7 In an embodiment, in order to ensure the accuracy of the target object selected by the mobile terminal, the mobile terminal of the present application further includes a transmitting cover 703 for controlling the infrared signal transmission path, the transmitting cover is arranged on the housing 700, and the transmitting cover 703 An opening is provided on the upper part, and the first infrared transmitter 701 is arranged in the emitting cover 703 to emit infrared signals through the opening. The infrared signal passes through openings of different sizes, and the error range when reaching the target object within the effective distance is different. Therefore, by adjusting the opening size of the cover, the infrared signal emitted by the first infrared transmitter 701 can be controlled to approximate a straight line within the effective communication range To ensure that the target object to be connected is correctly selected. Generally, the inner cover wall of the emission cover should have a rough surface, so that the signal emitted by the first infrared transmitter 701 to the inner cover wall will be diffusely reflected and become a useless signal.
[0093] In one embodiment, the launching cover 703 is embedded in the housing, and the opening is provided on the surface of the housing to save space. Further, the first infrared receiver 702 is protrudingly arranged on the surface of the housing, so that the first infrared receiver 702 can receive an infrared signal in the range of 180°. In addition, the opening of the first infrared transmitter 702 and the emission cover are on the same horizontal plane, which can prevent the first infrared receiver 702 from receiving the infrared signal from the first infrared transmitter 701 of the mobile terminal by mistake.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Multi-region scanning method based on digital pathology slice scanner

InactiveCN108664937AFunctionality and performance improvementsReduce scan timeImage enhancementImage analysisPathology diagnosisDigital pathology
Owner:KONFOONG BIOTECH INT

Scanning circuit and display panel

ActiveCN107993619AImplement area scanningReduce scan timeStatic indicating devicesPrint image acquisitionPower consumptionControl selection
Owner:SHANGHAI TIANMA MICRO ELECTRONICS CO LTD

Classification and recommendation of technical efficacy words

  • Reduce scan time
  • Improve efficiency and accuracy

CT image iteration reconstruction method based on compressed sensing

ActiveCN104240210AReduce scan timeReduce aliasing artifactsImage enhancementGeometric image transformationFiltered backprojectionImage based
Owner:NANJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products