Bluetooth equipment operation command processing method and system and readable storage medium

A technology of operating commands and bluetooth devices, applied in signal transmission systems, short-distance communication services, instruments, etc., can solve problems such as complex logic, large amount of code, and congestion, and achieve simplified processing logic, solving congestion, logic and code volume simplified effect

Pending Publication Date: 2021-03-05
GUANGZHOU STARS PULSE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] For a Bluetooth device that has been successfully connected, in a short period of time, the operation of multiple commands on the Bluetooth device will often cause congestion. Normal data interaction of Bluetooth devices; at the same time, for each command operation of Bluetooth devices, the corresponding operation command needs to be realized by calling the native interface of the corresponding command, and then different result feedback callback functions need to be called to control the Bluetooth device operation command. The operation result is fed back; if multiple commands are operated at the same time, each operation command needs to judge the command type, and then choose to call the corresponding native callback function for processing, and call the corresponding result feedback callback function, which will bring complicated logic And the problem of large amount of code

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
  • Bluetooth equipment operation command processing method and system and readable storage medium
  • Bluetooth equipment operation command processing method and system and readable storage medium
  • Bluetooth equipment operation command processing method and system and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0045] In the first embodiment of the present invention, the operation commands of the Bluetooth device mainly include three types, read commands, write commands, and notification commands; these three types of commands are packaged according to preset rules, and the rules are that the operation commands for the Bluetooth device The type, the result return callback interface and the format encryption verification of the transmitted data frame are packaged together and encapsulated to generate a unified operation object, that is, the three operation commands of read, write, and notification are encapsulated together to generate a unified operation object commonoperation; if there are multiple operation commands, multiple commonoperations will be generated, and different commonoperations correspond to different operation results.

[0046] S2: Add the unified operation object to the Bluetooth command processing queue;

[0047] There is only one Bluetooth processing queue, and the...

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 invention provides a Bluetooth equipment operation command processing method and system and a readable storage medium. The method comprises the following steps: packaging an operation command of Bluetooth equipment according to a preset rule, and generating a unified operation object; adding the unified operation object into a Bluetooth command processing queue; processing the unified operation object in the Bluetooth command processing queue; the system comprises a packaging generation module for packaging an operation command of Bluetooth equipment according to a preset rule and generating a unified operation object; an adding module used for adding the unified operation object into a Bluetooth command processing queue; and a processor module used for processing the unified operationobjects in the Bluetooth command processing queue. According to the invention, the logic and the code amount of the operation command of the Bluetooth equipment can be simplified, and the problem that the Bluetooth equipment is blocked when multiple command operations are performed on the Bluetooth equipment can be solved at the same time.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of a processing method for an operation command of a Bluetooth device, and in particular to a method, a system, and a readable storage medium for processing an operation command of a Bluetooth device. Background technique [0002] For a Bluetooth device that has been successfully connected, in a short period of time, the operation of multiple commands on the Bluetooth device will often cause congestion. Normal data interaction of Bluetooth devices; at the same time, for each command operation of Bluetooth devices, the corresponding operation command needs to be realized by calling the native interface of the corresponding command, and then different result feedback callback functions need to be called to control the Bluetooth device operation command. The operation result is fed back; if multiple commands are operated at the same time, each operation command needs to judge the comma...

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
IPC IPC(8): G06F9/448G08C17/02H04W4/80
CPCG06F9/449G08C17/02H04W4/80
Inventor 张楚滨陈建群
Owner GUANGZHOU STARS PULSE CO LTD
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