Unlock instant, AI-driven research and patent intelligence for your innovation.

A Bluetooth anti-retransmission implementation method and device

An implementation method, Bluetooth technology, applied in the direction of preventing errors, using return channels for error prevention/detection, digital transmission systems, etc., and can solve problems such as errors, communication failures, and inability to identify Bluetooth devices.

Active Publication Date: 2018-11-20
FEITIAN TECHNOLOGIES
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, there is no ACK (English full name: Acknowledgment, Chinese full name: confirmation character) response when the terminal device communicates with the Bluetooth device, and the terminal device cannot confirm whether the Bluetooth device has successfully received the communication data, and the following two situations will occur: (1) An error occurs when the Bluetooth device returns the received data processing result to the terminal device, which causes the terminal device to fail to receive it; (2) The terminal device receives the data processing result returned by the Bluetooth device, but within the preset time The received data processing results are not successfully decrypted; when the above two situations occur, the terminal device will resend the data, and the Bluetooth device has received the data before the resend, thus causing communication failure and reducing the processing speed of the command

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Bluetooth anti-retransmission implementation method and device
  • A Bluetooth anti-retransmission implementation method and device
  • A Bluetooth anti-retransmission implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083] Embodiment 1 of the present invention provides a Bluetooth anti-retransmission implementation method, such as figure 1 shown, including:

[0084] Step 101: The Bluetooth device extracts the first serial number received from the terminal device in the data, and judges whether the first serial number matches the second serial number saved by the Bluetooth device, if yes, execute step 102, otherwise, execute step 103;

[0085] In this embodiment, the serial number is an integer of 01, 02, 03..., and the bluetooth device extracts the serial number in the data received from the terminal device as follows: the bluetooth device extracts the preset word in the data received from the terminal device the data on the section;

[0086] Preferably, in this embodiment, the 7th byte of the data is pre-set as the serial number of the data, and then the Bluetooth device extracts the serial number of the received data as follows: the Bluetooth device extracts the 7th byte of the receive...

Embodiment 2

[0111] Embodiment 2 of the present invention provides a bluetooth anti-retransmission working method when signing, such as figure 2 shown, including:

[0112] Step 201: The Bluetooth device judges whether it has received a signature command from the terminal device, if yes, execute step 202, otherwise continue to execute step 201;

[0113] In this embodiment, when step 201 is judged to be yes, it also includes: the Bluetooth device judges its own state. If the Bluetooth device is in a busy state, then the received signature instruction will not be processed and the current operation will continue. If the Bluetooth device is in In the idle state, step 202 is performed.

[0114] Step 202: The Bluetooth device judges whether the check digit of the received signature command is correct, if yes, execute step 203, otherwise return to step 201;

[0115] Preferably, in this embodiment, the last byte of the signature instruction is preset as a check digit;

[0116] The Bluetooth de...

Embodiment 3

[0169] Embodiment 3 of the present invention provides a Bluetooth anti-retransmission working method when obtaining random numbers, such as image 3 shown, including:

[0170] Step 301: The Bluetooth device judges whether it has received the random number acquisition command sent by the terminal device, if yes, execute step 302, otherwise return to step 301;

[0171] In this embodiment, when step 301 is determined to be yes, it also includes: the bluetooth device judges its own state, such as the bluetooth device is in a busy state, then does not process the received random number acquisition instruction, and continues the current operation, such as the bluetooth device In the idle state, step 302 is performed.

[0172] Step 302: The Bluetooth device judges whether the check digit of the received random number command is correct, if yes, execute step 303, otherwise return to step 301;

[0173] Preferably, in this embodiment, the last byte of the command to obtain the random ...

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 Login to View More

Abstract

The present invention discloses a method and apparatus for implementing Bluetooth retransmission prevention, belonging to the field of communications. The method comprises the steps that: a Bluetooth device extracts a first serial number in received data from a terminal device, judges whether the first serial number is matched with a second serial number saved in the Bluetooth device or not, if so, sends an execution result saved corresponding to the second serial number to the terminal device, and continues to extract the first serial number in the received data from the terminal device, otherwise, updates the second serial number, executes a corresponding operation according to the received data to obtain an execution result, and saves the obtained execution result corresponding to the second serial number and sends the second serial number to the terminal device. By means of the technical solution of the present invention, when a terminal device communicates with a Bluetooth device, the Bluetooth device can maintain the serial number sent by the terminal device, to prevent a communication failure due to the fact that the terminal device retransmits data, thereby improving the instruction processing speed.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method and device for realizing anti-retransmission of bluetooth. Background technique [0002] In the prior art, there is no ACK (English full name: Acknowledgment, Chinese full name: confirmation character) response when the terminal device communicates with the Bluetooth device, and the terminal device cannot confirm whether the Bluetooth device has successfully received the communication data, and the following two situations will occur: (1) An error occurs when the Bluetooth device returns the received data processing result to the terminal device, causing the terminal device to fail to receive it; (2) The terminal device receives the data processing result returned by the Bluetooth device, but within the preset time The received data processing results are not successfully decrypted; when the above two situations occur, the terminal device will resend the data, and the Blueto...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04W28/04H04L1/16H04W4/80
CPCH04L1/1607H04W4/80H04W28/04
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES