CN115776648A - Bluetooth broadcasting method and device and computer equipment - Google Patents
Bluetooth broadcasting method and device and computer equipment Download PDFInfo
- Publication number
- CN115776648A CN115776648A CN202211453028.1A CN202211453028A CN115776648A CN 115776648 A CN115776648 A CN 115776648A CN 202211453028 A CN202211453028 A CN 202211453028A CN 115776648 A CN115776648 A CN 115776648A
- Authority
- CN
- China
- Prior art keywords
- identification information
- broadcast
- bluetooth
- broadcast name
- module
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000003860 storage Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种蓝牙广播方法、装置及计算机设备,所述蓝牙广播方法包括步骤:S101、获取电子设备的标识信息。S102、判断所述标识信息是否与设定标识信息相匹配。S103、若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名。S104、否则,生成默认的广播名。S105、将生成广播名通过蓝牙方式对外广播。如此,每个键盘通过烧录工具烧录设备的Mac地址可生成不同的蓝牙广播名,让每个键盘拥有对应的广播名,当多台蓝牙设备同时广播时,其他蓝牙设备可以通过不同的蓝牙广播名准确的找到要连接的设备。
The invention discloses a bluetooth broadcasting method, device and computer equipment. The bluetooth broadcasting method includes the step of: S101, acquiring identification information of the electronic equipment. S102. Determine whether the identification information matches the set identification information. S103. If the identification information matches the setting identification information, generate a broadcast name corresponding to the setting identification information. S104. Otherwise, generate a default broadcast name. S105. The generated broadcast name is broadcasted externally through Bluetooth. In this way, each keyboard can generate a different Bluetooth broadcast name by burning the Mac address of the device through the burning tool, so that each keyboard has a corresponding broadcast name. When multiple Bluetooth devices broadcast at the same time, other Bluetooth devices can pass through different Bluetooth. The broadcast name exactly finds the device to connect to.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种蓝牙广播方法、装置及计算机设备。The invention relates to the field of electronic technology, in particular to a bluetooth broadcasting method, device and computer equipment.
背景技术Background technique
蓝牙设备通过广播蓝牙广播名来便于其他蓝牙设备与之连接,其他蓝牙设备在与之建立蓝牙连接时,主要通过相应的蓝牙广播名来与之建立蓝牙连接。当周围有多个蓝牙设备时,多个蓝牙设备会通过广播默认的广播名,默认蓝牙广播名通常为一相同的广播名。这样,在蓝牙设备测试阶段或者多台蓝牙设备同时应用的场景,其他蓝牙设备在搜索蓝牙设备时,会搜索到多个名称相同的蓝牙广播名,如此,无法准确地找到要连接的蓝牙设备,导致蓝牙设备连接出错等问题。The Bluetooth device broadcasts the Bluetooth broadcast name to facilitate other Bluetooth devices to connect with it. When other Bluetooth devices establish a Bluetooth connection with it, they mainly establish a Bluetooth connection with it through the corresponding Bluetooth broadcast name. When there are multiple Bluetooth devices around, the multiple Bluetooth devices will broadcast the default broadcast name, and the default Bluetooth broadcast name is usually the same broadcast name. In this way, in the Bluetooth device testing phase or in the scene where multiple Bluetooth devices are used at the same time, other Bluetooth devices will search for multiple Bluetooth broadcast names with the same name when searching for Bluetooth devices. In this way, it is impossible to accurately find the Bluetooth device to be connected. Cause problems such as Bluetooth device connection errors.
发明内容Contents of the invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本发明的一个目的在于提出一种蓝牙广播方法、装置及计算机设备。The present invention aims to solve one of the technical problems in the related art at least to a certain extent. Therefore, an object of the present invention is to provide a Bluetooth broadcasting method, device and computer equipment.
一方面,为实现上述目的,根据本发明实施例的蓝牙广播方法,所述蓝牙广播方法包括步骤:On the one hand, in order to achieve the above purpose, according to the Bluetooth broadcasting method of the embodiment of the present invention, the Bluetooth broadcasting method includes the steps of:
获取电子设备的标识信息;Obtain identification information of electronic devices;
判断所述标识信息是否与设定标识信息相匹配;judging whether the identification information matches the set identification information;
若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名;If the identification information matches the setting identification information, generating a broadcast name corresponding to the setting identification information;
否则,生成默认的广播名;Otherwise, generate the default broadcast name;
将生成广播名通过蓝牙方式对外广播。The broadcast name will be generated and broadcast externally through Bluetooth.
进一步地,根据本发明的一个实施例,所述标识信息为MAC地址或序列号。Further, according to an embodiment of the present invention, the identification information is a MAC address or a serial number.
进一步地,根据本发明的一个实施例,所述判断所述标识信息是否与设定标识信息相匹配方法包括:Further, according to an embodiment of the present invention, the method for judging whether the identification information matches the set identification information includes:
将电子设备的MAC地址或序列号与设定范围内的数据相比较;Compare the MAC address or serial number of the electronic device with the data within the set range;
判断电子设备的MAC地址或序列号落入数据的设定范围内,若是,则判断所述标识信息与设定标识信息相匹配;Judging that the MAC address or serial number of the electronic device falls within the set range of data, if so, judging that the identification information matches the set identification information;
否则,则判断所述标识信息与设定标识信息不相匹配。Otherwise, it is determined that the identification information does not match the set identification information.
进一步地,根据本发明的一个实施例,所述生成与所述设定标识信息对应的广播名方法包括步骤:Further, according to an embodiment of the present invention, the method for generating a broadcast name corresponding to the set identification information includes the steps of:
计算所述MAC地址或序列号位于所述设定范围内的数据中的排序位置;calculating the sorting position of the data in which the MAC address or serial number is within the set range;
生成与所述排序位置相对应的广播名。A broadcast name corresponding to the sorted position is generated.
进一步地,根据本发明的一个实施例,所述蓝牙广播方法还包括:Further, according to an embodiment of the present invention, the Bluetooth broadcasting method further includes:
判断所述电子设备内是否已经存储有设定广播名,若已经存储有设定广播名,则以设定广播名通过蓝牙方式对外广播。It is judged whether the set broadcast name has been stored in the electronic device, and if the set broadcast name has been stored, the set broadcast name is broadcast to the outside through Bluetooth.
另一方面,本发明还提供一种蓝牙广播装置,包括:On the other hand, the present invention also provides a Bluetooth broadcasting device, including:
标识信息获取模块,所述标识信息获取模块用于获取电子设备的标识信息;An identification information acquisition module, the identification information acquisition module is used to acquire the identification information of the electronic device;
信息匹配判断模块,所述信息匹配判断模块用于判断所述标识信息是否与设定标识信息相匹配;An information matching judging module, the information matching judging module is used to judge whether the identification information matches the set identification information;
广播名生成模块,所述广播名生成模块用于若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名;A broadcast name generation module, the broadcast name generation module is used to generate a broadcast name corresponding to the set identification information if the identification information matches the set identification information;
默认广播名生成模块,所述默认广播名生成模块用于所述标识信息与设定标识信息不匹配时,生成默认的广播名;A default broadcast name generation module, the default broadcast name generation module is used to generate a default broadcast name when the identification information does not match the set identification information;
蓝牙广播模块,所述蓝牙广播模块用于将生成广播名通过蓝牙方式对外广播。A bluetooth broadcast module, the bluetooth broadcast module is used to broadcast the generated broadcast name through bluetooth.
进一步地,根据本发明的一个实施例,所述信息匹配判断模块包括:Further, according to an embodiment of the present invention, the information matching judging module includes:
数据比较模块,所述数据比较模块用于将电子设备的MAC地址或序列号与设定范围内的数据相比较;A data comparison module, the data comparison module is used to compare the MAC address or serial number of the electronic device with the data within the set range;
数据判断模块,所述数据判断模块用于判断电子设备的MAC地址或序列号落入数据的设定范围内,若是,则判断所述标识信息与设定标识信息相匹配;否则,则判断所述标识信息与设定标识信息不相匹配。A data judging module, the data judging module is used to judge that the MAC address or serial number of the electronic device falls within the set range of data, if so, judge that the identification information matches the set identification information; otherwise, judge that the The above identification information does not match the setting identification information.
进一步地,根据本发明的一个实施例,所述广播名生成模块包括:Further, according to an embodiment of the present invention, the broadcast name generation module includes:
排序位置计算模块,所述排序位置计算模块用于计算所述MAC地址或序列号位于所述设定范围内的数据中的排序位置;A sorting position calculation module, the sorting position calculating module is used to calculate the sorting position of the data whose MAC address or serial number is within the set range;
排序广播名生成模块,所述排序广播名生成模块用于生成与所述排序位置相对应的广播名。A sorted broadcast name generation module, the sorted broadcast name generation module is used to generate a broadcast name corresponding to the sorted position.
进一步地,根据本发明的一个实施例,所述蓝牙广播装置还包括:Further, according to an embodiment of the present invention, the Bluetooth broadcasting device further includes:
设定广播名广播模块,所述设定广播名广播模块用于判断所述电子设备内是否已经存储有设定广播名,若已经存储有设定广播名,则以设定广播名通过蓝牙方式对外广播。Set broadcast name broadcast module, the set broadcast name broadcast module is used to judge whether the set broadcast name has been stored in the electronic device, if the set broadcast name has been stored, then use the set broadcast name to pass the bluetooth method broadcast externally.
再一方面,本发明实施例还提供一种计算机设备,所述计算机设备包括第一存储器、第一处理器以及存储在所述第一存储器上并可在所述第一处理器上运行的计算机程序,其特征在于,所述第一处理器执行所述计算机程序时实现上述的蓝牙广播方法。In yet another aspect, an embodiment of the present invention also provides a computer device, which includes a first memory, a first processor, and a computer stored in the first memory and capable of running on the first processor The program is characterized in that, when the first processor executes the computer program, the above-mentioned Bluetooth broadcasting method is realized.
本发明实施例提供蓝牙广播方法、装置及计算机设备中,通过S101、获取电子设备的标识信息。S102、判断所述标识信息是否与设定标识信息相匹配。S103、若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名。S104、否则,生成默认的广播名。S105、将生成广播名通过蓝牙方式对外广播。如此,每个键盘通过烧录工具烧录设备的Mac地址可生成不同的蓝牙广播名,让每个键盘拥有对应的广播名,当多台蓝牙设备同时广播时,其他蓝牙设备可以通过不同的蓝牙广播名准确的找到要连接的设备。Embodiments of the present invention provide a bluetooth broadcasting method, device, and computer equipment, through S101, acquiring identification information of the electronic equipment. S102. Determine whether the identification information matches the set identification information. S103. If the identification information matches the setting identification information, generate a broadcast name corresponding to the setting identification information. S104. Otherwise, generate a default broadcast name. S105. The generated broadcast name is broadcasted externally through Bluetooth. In this way, each keyboard can generate a different Bluetooth broadcast name by burning the Mac address of the device through the burning tool, so that each keyboard has a corresponding broadcast name. When multiple Bluetooth devices broadcast at the same time, other Bluetooth devices can pass through different Bluetooth. The broadcast name exactly finds the device to connect to.
附图说明Description of drawings
图1为本发明实施例提供的蓝牙广播方法流程图;Fig. 1 is the flowchart of the bluetooth broadcasting method provided by the embodiment of the present invention;
图2为本发明实施例提供的判断所述标识信息是否与设定标识信息相匹配方法流程图;FIG. 2 is a flowchart of a method for judging whether the identification information matches the set identification information provided by an embodiment of the present invention;
图3为本发明实施例提供的生成与所述设定标识信息对应的广播名方法流程图;3 is a flowchart of a method for generating a broadcast name corresponding to the set identification information provided by an embodiment of the present invention;
图4为本发明实施例提供的另一蓝牙广播方法流程图;FIG. 4 is a flowchart of another Bluetooth broadcasting method provided by an embodiment of the present invention;
图5为本发明实施例提供的另一蓝牙广播方法流程图;FIG. 5 is a flowchart of another Bluetooth broadcasting method provided by an embodiment of the present invention;
图6为本发明实施例提供的蓝牙广播装置结构框图;FIG. 6 is a structural block diagram of a Bluetooth broadcasting device provided by an embodiment of the present invention;
图7为本发明实施例提供的信息匹配判断模块结构框图;FIG. 7 is a structural block diagram of an information matching judgment module provided by an embodiment of the present invention;
图8为本发明实施例提供的广播名生成模块结构框图;Fig. 8 is a structural block diagram of the broadcast name generation module provided by the embodiment of the present invention;
图9为本发明实施例提供的另一蓝牙广播装置结构框图;FIG. 9 is a structural block diagram of another Bluetooth broadcasting device provided by an embodiment of the present invention;
图10为本发明实施例提供的计算机设备结构框图。FIG. 10 is a structural block diagram of a computer device provided by an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
蓝牙设备通过广播蓝牙广播名来便于其他蓝牙设备与之连接,其他蓝牙设备在与之建立蓝牙连接时,主要通过相应的蓝牙广播名来与之建立蓝牙连接。当周围有多个蓝牙设备时,多个蓝牙设备会通过广播默认的广播名,默认蓝牙广播名通常为一相同的广播名。这样,在蓝牙设备测试阶段或者多台蓝牙设备同时应用的场景,其他蓝牙设备在搜索蓝牙设备时,会搜索到多个名称相同的蓝牙广播名,如此,无法准确地找到要连接的蓝牙设备,导致蓝牙设备连接出错等问题。The Bluetooth device broadcasts the Bluetooth broadcast name to facilitate other Bluetooth devices to connect with it. When other Bluetooth devices establish a Bluetooth connection with it, they mainly establish a Bluetooth connection with it through the corresponding Bluetooth broadcast name. When there are multiple Bluetooth devices around, the multiple Bluetooth devices will broadcast the default broadcast name, and the default Bluetooth broadcast name is usually the same broadcast name. In this way, in the Bluetooth device testing phase or in the scene where multiple Bluetooth devices are used at the same time, other Bluetooth devices will search for multiple Bluetooth broadcast names with the same name when searching for Bluetooth devices. In this way, it is impossible to accurately find the Bluetooth device to be connected. Cause problems such as Bluetooth device connection errors.
为了解决以上问题,一方面,参阅图1,本发明实施例提供一种蓝牙广播方法,包括步骤:In order to solve the above problems, on the one hand, referring to FIG. 1, an embodiment of the present invention provides a Bluetooth broadcasting method, including steps:
S101、获取电子设备的标识信息。S101. Acquire identification information of an electronic device.
S102、判断所述标识信息是否与设定标识信息相匹配。S102. Determine whether the identification information matches the set identification information.
S103、若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名。S103. If the identification information matches the setting identification information, generate a broadcast name corresponding to the setting identification information.
S104、否则,生成默认的广播名。S104. Otherwise, generate a default broadcast name.
S105、将生成广播名通过蓝牙方式对外广播。S105. The generated broadcast name is broadcasted externally through Bluetooth.
具体地,如图1中所示,在步骤S101中、电子设备通过获取自身的唯一标识信息。其中,所述电子设备为一蓝牙设备。例如,可以为一蓝牙键盘。在本发明的一个实施例中,所述唯一标识信息为MAC地址或序列号。由于MAC地址或序列号具有唯一性,可对电子设备进行唯一的标识。这样,便于在后续步骤中,将MAC地址或序列号与蓝牙广播名称进行关联,实现不同电子设备的广播名称的异化设置。Specifically, as shown in FIG. 1 , in step S101 , the electronic device acquires its own unique identification information. Wherein, the electronic device is a bluetooth device. For example, it can be a Bluetooth keyboard. In one embodiment of the present invention, the unique identification information is a MAC address or a serial number. Due to the uniqueness of the MAC address or serial number, the electronic device can be uniquely identified. In this way, it is convenient to associate the MAC address or serial number with the Bluetooth broadcast name in subsequent steps, so as to realize the alienation setting of the broadcast names of different electronic devices.
在获取了电子设备的唯一标识信息以后,在步骤S102中,通过判断所述唯一标识信息是否与设定标识信息相匹配;由于电子设备的唯一标识信息的范围可能非常的大。只有当电子设备的唯一标识信息落入到设定的范围内,且与设定标识信息相匹配时,才通过步骤S103进行蓝牙广播名的生成处理,减少复杂而耗时间的运算过程。例如,唯一标识信息为MAC地址或序列号。MAC地址的范围非常大,若将获取电子设备的唯一标识信息与所有的MAC地址进行一一比对,则计算量非常的大,达不到快速生成广播名的目的。另外,在企业的蓝牙设备生产或者应用中,蓝牙设备的生产、测试或应用数量通常是有限的。例如,企业在生产一批蓝牙键盘时,通常为几千或上万台,那么,在进行一批蓝牙键盘进行测试时,其数量也是有限的,故仅需要对数量有限的蓝牙键盘进行广播名的区分即可。After the unique identification information of the electronic device is obtained, in step S102, by judging whether the unique identification information matches the set identification information; since the range of the unique identification information of the electronic device may be very large. Only when the unique identification information of the electronic device falls within the set range and matches the set identification information, the Bluetooth broadcast name is generated in step S103, reducing the complicated and time-consuming calculation process. For example, the unique identification information is a MAC address or a serial number. The range of the MAC address is very large. If the unique identification information of the electronic device is compared with all the MAC addresses one by one, the calculation amount is very large, and the purpose of quickly generating the broadcast name cannot be achieved. In addition, in the production or application of bluetooth devices in enterprises, the number of production, testing or application of bluetooth devices is usually limited. For example, when an enterprise produces a batch of Bluetooth keyboards, there are usually thousands or tens of thousands of them. Then, when testing a batch of Bluetooth keyboards, the number is also limited, so it is only necessary to broadcast the name of a limited number of Bluetooth keyboards. can be distinguished.
在步骤S103中、若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名;也就是说,当获取的电子设备的唯一标识信息与设定标识信息中的某一标识信息匹配或者是相同时,则生成与所述设定标识信息对应的广播名;这样,广播名不但具有唯一性,而且容易识别。在将生成的广播名进行广播时,更方便其他蓝牙设备进行连接,避免出错。In step S103, if the identification information matches the set identification information, a broadcast name corresponding to the set identification information is generated; that is, when the acquired unique identification information of the electronic device matches the set identification information When a certain identification information in the set matches or is the same, a broadcast name corresponding to the set identification information is generated; in this way, the broadcast name is not only unique, but also easy to identify. When broadcasting the generated broadcast name, it is more convenient for other bluetooth devices to connect and avoid errors.
在步骤S104中,如果蓝牙设备Mac地址不在设定范围内,则会使用软件默认的广播名。这样,避免出现没有生成广播名而导致错误产生,保证蓝牙设备的正常使用。并通过步骤S105将生成广播名通过蓝牙方式对外广播。In step S104, if the Mac address of the Bluetooth device is not within the set range, the default broadcast name of the software will be used. In this way, errors are avoided due to failure to generate a broadcast name, and normal use of the Bluetooth device is guaranteed. And through step S105, the generated broadcast name is broadcast to the outside world through Bluetooth.
本发明实施例中,通过S101、获取电子设备的唯一标识信息。S102、判断所述标识信息是否与设定标识信息相匹配。S103、若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名。S104、否则,生成默认的广播名。S105、将生成广播名通过蓝牙方式对外广播。如此,每个键盘通过烧录工具烧录设备的Mac地址可生成不同的序列号和蓝牙广播名,让每个键盘拥有对应的序列号和广播名,当多台蓝牙设备同时广播时,其他蓝牙设备可以通过不同的蓝牙广播名准确的找到要连接的设备。In the embodiment of the present invention, through S101, the unique identification information of the electronic device is acquired. S102. Determine whether the identification information matches the set identification information. S103. If the identification information matches the setting identification information, generate a broadcast name corresponding to the setting identification information. S104. Otherwise, generate a default broadcast name. S105. The generated broadcast name is broadcasted externally through Bluetooth. In this way, each keyboard can generate a different serial number and Bluetooth broadcast name by burning the Mac address of the device through the burning tool, so that each keyboard has a corresponding serial number and broadcast name. When multiple Bluetooth devices broadcast at the same time, other Bluetooth The device can accurately find the device to be connected through different Bluetooth broadcast names.
参阅图2,在本发明的一个实施例中,所述判断所述标识信息是否与设定标识信息相匹配方法包括步骤:Referring to Fig. 2, in one embodiment of the present invention, the method for judging whether the identification information matches the set identification information includes the steps of:
S1021、将电子设备的MAC地址或序列号与设定范围内的数据相比较;S1021. Compare the MAC address or serial number of the electronic device with the data within the set range;
S1022、判断电子设备的MAC地址或序列号落入数据的设定范围内;S1022, judging that the MAC address or serial number of the electronic device falls within the set range of data;
S1023、若是,则判断所述标识信息与设定标识信息相匹配;S1023. If yes, determine that the identification information matches the set identification information;
S1024、否则,则判断所述标识信息与设定标识信息不相匹配。S1024. Otherwise, determine that the identification information does not match the set identification information.
具体地,如图2中所示,在步骤S101中、通过获取电子设备的唯一标识信息;该唯一标识信息可为电子设备(键盘)的蓝牙Mac地址,通过步骤S1021、将电子设备的MAC地址或序列号与设定范围内的数据相比较;例如:一个键盘的Mac地址为301F9A80EDCF,软件设定的地址段为301F9A80EDCF-F015,通过将键盘的Mac地址301F9A80EDCF与该设定的地址段为301F9A80EDCF~301F9A80F015的数据进行比较。通过步骤S1022可判断Mac地址301F9A80EDCF落入到设定的地址段为301F9A80EDCF-F015的数据范围内。这样,可通过步骤S1023判断所述标识信息与设定标识信息相匹配。再例如,当电子设备的Mac地址为301F9A80EDCE或301F9A80F016时,则该电子设备的Mac地址没有落入设定的地址段为301F9A80EDCF~301F9A80F015的数据范围内。这样,可通过步骤S1024判断所述标识信息与设定标识信息不相匹配。其他实施例中,通过序列号、SN号的判断相匹配方法与上述步骤S1021~S1024相类似,再次不重复赘述。Specifically, as shown in Figure 2, in step S101, by obtaining the unique identification information of the electronic device; the unique identification information can be the Bluetooth Mac address of the electronic device (keyboard), and by step S1021, the MAC address of the electronic device Or compare the serial number with the data within the set range; for example: the Mac address of a keyboard is 301F9A80EDCF, and the address segment set by the software is 301F9A80EDCF-F015. ~301F9A80F015 data for comparison. Through step S1022, it can be determined that the Mac address 301F9A80EDCF falls within the data range of the set address segment 301F9A80EDCF-F015. In this way, step S1023 may be used to determine that the identification information matches the set identification information. For another example, when the Mac address of the electronic device is 301F9A80EDCE or 301F9A80F016, the Mac address of the electronic device does not fall within the set data range of 301F9A80EDCF-301F9A80F015. In this way, step S1024 may be used to determine that the identification information does not match the set identification information. In other embodiments, the matching method based on the determination of the serial number and the SN number is similar to the above steps S1021-S1024, and will not be described again.
参阅图3,在本发明的另外一个实施例中,所述生成与所述设定标识信息对应的广播名方法包括步骤:Referring to Fig. 3, in another embodiment of the present invention, the method for generating a broadcast name corresponding to the set identification information includes the steps of:
S1031、计算所述MAC地址或序列号位于所述设定范围内的数据中的排序位置;S1031. Calculate the sorting position of the data whose MAC address or serial number is within the set range;
S1032、生成与所述排序位置相对应的广播名。S1032. Generate a broadcast name corresponding to the sorting position.
具体地,判断电子设备的MAC地址或序列号落入数据的设定地址段范围内以后,由于电子设备(例如,蓝牙键盘)的Mac地址在设定范围内,软件计算该键盘Mac地址在软件设定范围处于哪个Mac地址或序列号,寻找该序列号所在的排序位置,然后根据这个序列号生成广播名。例如,键盘的Mac地址301F9A80EDCF位于Mac地址301F9A80EDCF~301F9A80F015排序第一的位置,则该键盘的序列号为0001,键盘广播名“Keyboard 0001”。又如:键盘的Mac地址301F9A80EDD0位于Mac地址301F9A80EDCF~301F9A80F015排序第二的位置,则该键盘的序列号为0002,键盘广播名“Keyboard 0002”。依次类推。通过这种广播名的生成,使得广播名更加的简单和容易识别。Specifically, after judging that the MAC address or serial number of the electronic device falls within the range of the set address segment of the data, since the Mac address of the electronic device (for example, a Bluetooth keyboard) is within the set range, the software calculates the Mac address of the keyboard in the software Set which Mac address or serial number the range is in, find the sorting position of the serial number, and then generate the broadcast name based on the serial number. For example, if the Mac address 301F9A80EDCF of the keyboard is located in the first position of Mac addresses 301F9A80EDCF~301F9A80F015, the serial number of the keyboard is 0001, and the broadcast name of the keyboard is "Keyboard 0001". Another example: the Mac address 301F9A80EDD0 of the keyboard is located in the second position of the Mac addresses 301F9A80EDCF~301F9A80F015, then the serial number of the keyboard is 0002, and the keyboard broadcast name is "Keyboard 0002". And so on. Through the generation of the broadcast name, the broadcast name is simpler and easier to identify.
需要说明的是,在其他实施例中,广播名称的生产还可以其他形式,并非本发明实施例所举例的文字加数字“Keyboard 0002”这种形式。其他类似的等同替换实施例也应该在本发明的保护范围内。It should be noted that, in other embodiments, the broadcast name may be produced in other forms, not the form of "Keyboard 0002" with letters and numbers as exemplified in the embodiment of the present invention. Other similar equivalent alternative embodiments should also fall within the protection scope of the present invention.
参阅图3,在本发明的一个实施例中,所述蓝牙广播方法还包括:S201、判断所述电子设备内是否已经存储有设定广播名;若已经存储有设定广播名,则以设定广播名通过蓝牙方式对外广播。如图3中所示,在本发明的一个实施例中,还可以通过S201来检测电子设备内是否已经存储了设定广播名。该设定广播名可以是用户通过手动设置完成,或者在对电子设备进行测试时,测试人员通过手动方式设置完成对,也可以为通过上述图1步骤S101~S103后生成的广播名进行存储后的结果。在步骤S201中,如检测到电子设备中已经存储有设定的广播名,则将该设定的广播名直接对外进行广播即可,无需再通过图1中步骤S101~S103(或图4中步骤S202~S204)再生成广播名。Referring to Fig. 3, in one embodiment of the present invention, the Bluetooth broadcasting method further includes: S201, judging whether the set broadcast name has been stored in the electronic device; if the set broadcast name has been stored, then use the set broadcast name Set the broadcast name to broadcast externally through Bluetooth. As shown in FIG. 3 , in one embodiment of the present invention, it may also be detected through S201 whether the set broadcast name has been stored in the electronic device. The setting of the broadcast name can be done manually by the user, or when the electronic device is tested, the tester can set it manually, or it can be stored after the broadcast name generated after steps S101-S103 in the above-mentioned Figure 1 the result of. In step S201, if it is detected that the set broadcast name has been stored in the electronic device, then the set broadcast name can be directly broadcast to the outside, without going through steps S101-S103 in FIG. 1 (or in FIG. 4 Steps S202-S204) Regenerate the broadcast name.
参阅图5,图5为本发明实施例提供的另一蓝牙广播方法流程图,通过图6对本发明进一步说明,如图5中所示,在蓝牙设备在开机时,通过读取flash存储器的adv_name变量,并判断是否已经存广播名,如果存储有广播名则可直接将存储广播名来进行广播。否则,通过读取flash存储器的mac地址,来获取电子设备的唯一标识信息。并判断该mac地址是否在软件设定的mac地址段范围内,如果不是,则直接使用默认的广播名进行蓝牙广播。如果在设定的mac地址段范围内,则根据读取的mac地址生成广播名,并将生成的广播名进行广播,由于mac地址具有唯一性。这样生成的广播名可以各不相同,避免出现同样的广播名。在蓝牙设备的测试时,可逐一连接按顺序排序的蓝牙广播名,对多个蓝牙键盘进行一一测试,避免连接错误或者重复测试。Referring to Fig. 5, Fig. 5 is a flow chart of another Bluetooth broadcasting method provided by an embodiment of the present invention. The present invention is further described by Fig. 6. As shown in Fig. 5, when the Bluetooth device is turned on, by reading the adv_name of the flash memory variable, and judge whether the broadcast name has already been stored. If there is a broadcast name stored, the stored broadcast name can be directly broadcasted. Otherwise, the unique identification information of the electronic device is obtained by reading the mac address of the flash memory. And judge whether the mac address is within the mac address range set by the software, if not, directly use the default broadcast name for Bluetooth broadcasting. If it is within the range of the set mac address segment, generate a broadcast name according to the read mac address, and broadcast the generated broadcast name, because the mac address is unique. The broadcast names generated in this way can be different, so as to avoid the occurrence of the same broadcast name. When testing Bluetooth devices, you can connect to the Bluetooth broadcast names sorted in sequence one by one, and test multiple Bluetooth keyboards one by one to avoid connection errors or repeated tests.
另一方面,参阅图6,本发明还提供一种蓝牙广播装置,包括:标识信息获取模块、信息匹配判断模块、广播名生成模块、默认广播名生成模块和蓝牙广播模块,所述标识信息获取模块用于获取电子设备的唯一标识信息。On the other hand, referring to Fig. 6, the present invention also provides a Bluetooth broadcasting device, including: an identification information acquisition module, an information matching judgment module, a broadcast name generation module, a default broadcast name generation module and a Bluetooth broadcast module, the identification information acquisition module The module is used to obtain the unique identification information of the electronic device.
所述信息匹配判断模块用于判断所述唯一标识信息是否与设定标识信息相匹配。The information matching judging module is used to judge whether the unique identification information matches the set identification information.
所述广播名生成模块用于若所述标识信息与设定标识信息相匹配,则生成与所述设定标识信息对应的广播名。The broadcast name generation module is configured to generate a broadcast name corresponding to the set identification information if the identification information matches the set identification information.
所述默认广播名生成模块用于所述标识信息与设定标识信息不匹配时,生成默认的广播名。The default broadcast name generation module is used to generate a default broadcast name when the identification information does not match the set identification information.
所述蓝牙广播模块用于将生成广播名通过蓝牙方式对外广播。The bluetooth broadcast module is used to broadcast the generated broadcast name externally through bluetooth.
参阅图7,在本发明的一个实施例中,所述信息匹配判断模块包括:数据比较模块和数据判断模块,所述数据比较模块用于将电子设备的MAC地址或序列号与设定范围内的数据相比较。Referring to Fig. 7, in one embodiment of the present invention, the information matching judgment module includes: a data comparison module and a data judgment module, and the data comparison module is used to compare the MAC address or serial number of the electronic device with the set range data compared.
所述数据判断模块用于判断电子设备的MAC地址或序列号落入数据的设定范围内,若是,则判断所述标识信息与设定标识信息相匹配;否则,则判断所述标识信息与设定标识信息不相匹配。The data judging module is used to judge that the MAC address or serial number of the electronic device falls within the set range of data, if so, judge that the identification information matches the set identification information; otherwise, judge that the identification information matches the set identification information; Set flag information does not match.
参阅图8,在本发明的一个实施例中,所述广播名生成模块包括:排序位置计算模块和排序广播名生成模块,所述排序位置计算模块用于计算所述MAC地址或序列号位于所述设定范围内的数据中的排序位置。Referring to Fig. 8, in one embodiment of the present invention, the broadcast name generation module includes: a ranking position calculation module and a sorting broadcast name generation module, the sorting position calculation module is used to calculate the MAC address or serial number located in the The sorting position in the data within the specified range.
所述排序广播名生成模块用于生成与所述排序位置相对应的广播名。The sorted broadcast name generating module is used to generate a broadcast name corresponding to the sorted position.
参阅图9,在本发明的一个实施例中,所述蓝牙广播装置还包括:设定广播名广播模块,所述设定广播名广播模块用于判断所述电子设备内是否已经存储有设定广播名,若已经存储有设定广播名,则以设定广播名通过蓝牙方式对外广播。Referring to FIG. 9 , in an embodiment of the present invention, the Bluetooth broadcasting device further includes: a setting broadcast name broadcasting module, and the setting broadcasting name broadcasting module is used to judge whether the electronic device has already stored a setting The broadcast name, if the set broadcast name has been stored, then the set broadcast name will be broadcast externally through Bluetooth.
参阅图10,再一方面,本发明实施例还提供一种计算机设备,所述计算机设备包括第一存储器、第一处理器以及存储在所述第一存储器上并可在所述第一处理器上运行的计算机程序,其特征在于,所述第一处理器执行所述计算机程序时实现以上各步骤中的蓝牙广播方法。或者,所述计算机程序被处理器执行时实现上述实施例中所述装置中的各模块/单元的功能,例如图10所示的模块的功能。Referring to FIG. 10 , in another aspect, an embodiment of the present invention also provides a computer device, the computer device includes a first memory, a first processor, and a A computer program running on the Internet, wherein the first processor implements the Bluetooth broadcasting method in the above steps when executing the computer program. Alternatively, when the computer program is executed by the processor, the functions of the modules/units in the device in the above embodiments are implemented, for example, the functions of the modules shown in FIG. 10 .
参阅图10,所述计算机设备可包括但不仅限于处理器、存储器。本领域技术成员可以理解,图示仅仅是计算机设备的示例,并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述计算机设备还可以包括输入输出设备、网络接入设备、总线等。Referring to FIG. 10 , the computer device may include, but not limited to, a processor and a memory. Those skilled in the art can understand that the illustration is only an example of computer equipment and does not constitute a limitation to computer equipment. It may include more or less components than those shown in the illustration, or combine some components, or different components, such as The computer device may also include an input and output device, a network access device, a bus, and the like.
所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立预设硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete preset hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器可以是所述计算机设备的内部存储单元,例如计算机设备的硬盘或内存。所述存储器也可以是所述计算机设备的外部存储设备,例如所述计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器还可以既包括所述计算机设备的内部存储单元也包括外部存储设备。所述存储器用于存储所述计算机程序以及所述计算机设备所需的其他程序和数据。所述存储器还可以用于暂时地存储已经输出或者将要输出的数据。The memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory Card (Flash Card), etc. Further, the memory may also include both an internal storage unit of the computer device and an external storage device. The memory is used to store the computer program and other programs and data required by the computer device. The memory can also be used to temporarily store data that has been output or will be output.
所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
以上仅为本发明的实施例,但并不限制本发明的专利范围,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本发明说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本发明专利保护范围之内。The above are only embodiments of the present invention, but do not limit the patent scope of the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it can still carry out the above-mentioned each Modifications to the technical solutions described in the method, or equivalent replacement of some of the technical features. All equivalent structures made by utilizing the contents of the specification and drawings of the present invention and directly or indirectly used in other related technical fields are also within the protection scope of the patent of the present invention.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在不脱离本发明的原理和宗旨的情况下在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be construed as limitations to the present invention. Variations, modifications, substitutions, and modifications to the above-described embodiments are possible within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211453028.1A CN115776648B (en) | 2022-11-21 | 2022-11-21 | Bluetooth broadcast method, device and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211453028.1A CN115776648B (en) | 2022-11-21 | 2022-11-21 | Bluetooth broadcast method, device and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115776648A true CN115776648A (en) | 2023-03-10 |
CN115776648B CN115776648B (en) | 2024-12-20 |
Family
ID=85389509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211453028.1A Active CN115776648B (en) | 2022-11-21 | 2022-11-21 | Bluetooth broadcast method, device and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115776648B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117098106A (en) * | 2023-10-18 | 2023-11-21 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
CN117250482A (en) * | 2023-11-16 | 2023-12-19 | 巨翊医疗科技(苏州)有限公司 | PCBA testing method, system and device based on Bluetooth interaction |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8126399B1 (en) * | 2009-03-31 | 2012-02-28 | Koamtac, Inc. | Method and apparatus for improved automatic bluetooth device identification for data exchange |
CN103442428A (en) * | 2013-07-19 | 2013-12-11 | 华侨大学 | Relative motion positioning method based on Bluetooth device names |
CN105591676A (en) * | 2014-10-20 | 2016-05-18 | 北京握奇智能科技有限公司 | Method and system for enabling mobile terminal to identify security authentication device bound with mobile terminal |
KR20170001435A (en) * | 2015-06-26 | 2017-01-04 | 엘지전자 주식회사 | Mobile terminal capable of remotely controlling a plurality of device |
CN207399521U (en) * | 2017-06-06 | 2018-05-22 | 欧普照明股份有限公司 | Bluetooth equipment and bluetooth connection system |
US20180324735A1 (en) * | 2015-12-31 | 2018-11-08 | Fujian Landi Commercial Equipment Co.,Ltd | Bluetooth automatic connection method, and master device, slave device, and system |
CN110381176A (en) * | 2019-07-10 | 2019-10-25 | 中山优感科技有限公司 | A kind of bluetooth title naming method and device for producing bluetooth equipment in batches |
CN111225285A (en) * | 2020-01-07 | 2020-06-02 | 海信视像科技股份有限公司 | Bluetooth device display name modification and display method, device, equipment and medium |
US20210067936A1 (en) * | 2017-12-27 | 2021-03-04 | Feitian Technologies Co., Ltd. | Method and bluetooth device for indicating function of bluetooth device via broadcast data |
US20210112392A1 (en) * | 2019-10-15 | 2021-04-15 | Preddio Technologies Inc. | Dynamic bluetooth broadcast of data |
CN113271579A (en) * | 2021-05-24 | 2021-08-17 | 杭州涂鸦信息技术有限公司 | Bluetooth device control method, client, computer device and readable storage medium |
WO2021259014A1 (en) * | 2020-06-24 | 2021-12-30 | 华为技术有限公司 | Bluetooth pairing method, device, and system, electronic apparatus, and storage medium |
US11240671B1 (en) * | 2020-08-26 | 2022-02-01 | Alipay (Hangzhou) Information Technology Co., Ltd. | Bluetooth device connection methods and bluetooth devices |
US20220038877A1 (en) * | 2019-08-22 | 2022-02-03 | Boe Technology Group Co., Ltd. | Electronic Device, Control Terminal, Non-Transitory Computer-Readable Storage Medium and Device Connection Method |
-
2022
- 2022-11-21 CN CN202211453028.1A patent/CN115776648B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8126399B1 (en) * | 2009-03-31 | 2012-02-28 | Koamtac, Inc. | Method and apparatus for improved automatic bluetooth device identification for data exchange |
CN103442428A (en) * | 2013-07-19 | 2013-12-11 | 华侨大学 | Relative motion positioning method based on Bluetooth device names |
CN105591676A (en) * | 2014-10-20 | 2016-05-18 | 北京握奇智能科技有限公司 | Method and system for enabling mobile terminal to identify security authentication device bound with mobile terminal |
KR20170001435A (en) * | 2015-06-26 | 2017-01-04 | 엘지전자 주식회사 | Mobile terminal capable of remotely controlling a plurality of device |
US20180324735A1 (en) * | 2015-12-31 | 2018-11-08 | Fujian Landi Commercial Equipment Co.,Ltd | Bluetooth automatic connection method, and master device, slave device, and system |
CN207399521U (en) * | 2017-06-06 | 2018-05-22 | 欧普照明股份有限公司 | Bluetooth equipment and bluetooth connection system |
US20210067936A1 (en) * | 2017-12-27 | 2021-03-04 | Feitian Technologies Co., Ltd. | Method and bluetooth device for indicating function of bluetooth device via broadcast data |
CN110381176A (en) * | 2019-07-10 | 2019-10-25 | 中山优感科技有限公司 | A kind of bluetooth title naming method and device for producing bluetooth equipment in batches |
US20220038877A1 (en) * | 2019-08-22 | 2022-02-03 | Boe Technology Group Co., Ltd. | Electronic Device, Control Terminal, Non-Transitory Computer-Readable Storage Medium and Device Connection Method |
US20210112392A1 (en) * | 2019-10-15 | 2021-04-15 | Preddio Technologies Inc. | Dynamic bluetooth broadcast of data |
CN111225285A (en) * | 2020-01-07 | 2020-06-02 | 海信视像科技股份有限公司 | Bluetooth device display name modification and display method, device, equipment and medium |
WO2021259014A1 (en) * | 2020-06-24 | 2021-12-30 | 华为技术有限公司 | Bluetooth pairing method, device, and system, electronic apparatus, and storage medium |
US11240671B1 (en) * | 2020-08-26 | 2022-02-01 | Alipay (Hangzhou) Information Technology Co., Ltd. | Bluetooth device connection methods and bluetooth devices |
CN113271579A (en) * | 2021-05-24 | 2021-08-17 | 杭州涂鸦信息技术有限公司 | Bluetooth device control method, client, computer device and readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117098106A (en) * | 2023-10-18 | 2023-11-21 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
CN117098106B (en) * | 2023-10-18 | 2023-12-29 | 合肥联宝信息技术有限公司 | Bluetooth testing method and device, electronic equipment and storage medium |
CN117250482A (en) * | 2023-11-16 | 2023-12-19 | 巨翊医疗科技(苏州)有限公司 | PCBA testing method, system and device based on Bluetooth interaction |
CN117250482B (en) * | 2023-11-16 | 2024-03-15 | 巨翊医疗科技(苏州)有限公司 | PCBA testing method, system and device based on Bluetooth interaction |
Also Published As
Publication number | Publication date |
---|---|
CN115776648B (en) | 2024-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255653B (en) | Product testing method and terminal thereof | |
CN115776648A (en) | Bluetooth broadcasting method and device and computer equipment | |
WO2019169723A1 (en) | Test case selection method, device and equipment, and computer-readable storage medium | |
CN107729227A (en) | Application testing range determining method, system, server and storage medium | |
WO2022228500A1 (en) | Data storage method and apparatus for bios, device and storage medium | |
CN111552696A (en) | Data processing method and device based on big data, computer equipment and medium | |
CN110222074A (en) | It indexes lookup method, search device, electronic equipment and storage medium | |
CN111966707A (en) | Query statement generation method and device, electronic equipment and computer readable medium | |
CN110717050A (en) | Method and device for accessing knowledge map database | |
CN114448848A (en) | Test method, device, electronic device and storage medium for a switch | |
CN111338958A (en) | Parameter generation method and device of test case and terminal equipment | |
CN117493309A (en) | Standard model generation method, device, equipment and storage medium | |
CN114398151A (en) | A configuration management method, apparatus, device and storage medium | |
CN110750440A (en) | Data testing method and terminal equipment | |
CN114443476B (en) | Code review method and device | |
CN110955460B (en) | Service process starting method and device, electronic equipment and storage medium | |
CN110503504B (en) | Information identification method, device and equipment of network product | |
CN111124545A (en) | Application program starting method and device, electronic equipment and storage medium | |
CN113535722B (en) | Mapping-based DAG tracing sampling method, system, device and storage medium | |
CN117033208A (en) | Interface contract checking method and device, electronic equipment and storage medium | |
CN112612660B (en) | Specification information database creation method, chip selection method, device and system | |
CN115454849A (en) | Software testing method and device, electronic equipment and storage medium | |
CN110647568B (en) | Method and device for converting graph database data into programming language data | |
CN115809290A (en) | Generate data persistence layer input method, device, equipment and medium | |
CN114968795A (en) | Test method, test device, electronic equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |