CN104967972A - Method and device for testing wearable Bluetooth device through BLE protocol - Google Patents

Method and device for testing wearable Bluetooth device through BLE protocol Download PDF

Info

Publication number
CN104967972A
CN104967972A CN201510369370.7A CN201510369370A CN104967972A CN 104967972 A CN104967972 A CN 104967972A CN 201510369370 A CN201510369370 A CN 201510369370A CN 104967972 A CN104967972 A CN 104967972A
Authority
CN
China
Prior art keywords
computer terminal
wearable
bluetooth equipment
bluetooth
wearable bluetooth
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.)
Pending
Application number
CN201510369370.7A
Other languages
Chinese (zh)
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.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology Co 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 Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN201510369370.7A priority Critical patent/CN104967972A/en
Publication of CN104967972A publication Critical patent/CN104967972A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for testing a wearable Bluetooth device through a BLE protocol. The method comprises: a Bluetooth adapter is connected to a computer terminal; a test item list of the wearable Bluetooth device is preset on the computer terminal; the computer terminal opens a virtual Bluetooth USB serial port; the computer terminal searches and connects to the wearable Bluetooth device through the virtual Bluetooth USB serial port; the computer terminal performs data communication with the wearable Bluetooth device through the BLE protocol; and the computer terminal selects the item in the preset test item list to perform test on the wearable device. The device for testing wearable Bluetooth device through BLE protocol is connected to the computer through the Bluetooth adapter and is connected to the wearable Bluetooth device to perform data communication, and controls and realizes the device test through transmitting data back and forth.

Description

A kind of method and apparatus wearable bluetooth equipment tested by BLE protocol realization
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus wearable bluetooth equipment tested by BLE protocol realization.
Background technology
As everyone knows, for a complete wearable bluetooth equipment, there is a lot of element the inside, subelement is had to be that the likelihood ratio that goes wrong is lower, testing with regard to not needing, having subelement to compare and easily going wrong, and for factory, be inconvenient to take apart and its each element is tested, so need the quality in its operating state of factory testing.
Bluetooth adapter of the prior art achieves simply, rapidly as existing various desktop computer and notebook computer increase Bluetooth function, thus enables all bluetooth equipments of existing computer and periphery carry out the communication of wireless connections and data.Possess many functions, comprising: 1), by bluetooth manager, automatically find and management remote Bluetooth devices, resource and service; 2), by simply pulling, sharing of file between bluetooth equipment is realized; 3), the Relational database of the synchronous bluetooth equipment room of simple and fast and calendar; 4), by bluetooth cellular phone or blueteeth network access point wireless connections local area network (LAN) and INTERNET; 5), by virtual PORT COM, the legacy application based on serial is used.
Original is do not support bluetooth for a lot of PC, and by Bluetooth adapter, insert computer, make computer have the function of bluetooth, then computer end initiatively connects bluetooth equipment.
In addition, BLE agreement is the agreement of a low-power consumption, and the protocol stack of BLE own is smaller in addition, take up room also relatively under, facilitate protocol stack to use above some usb dongle.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus wearable bluetooth equipment tested by BLE protocol realization, comprise the following steps: Bluetooth adapter connects computer terminal; The list of wearable bluetooth equipment test item is preset in computer terminal; Virtual bluetooth USB serial ports is opened in computer terminal; Computer terminal is searched for by described virtual bluetooth USB serial ports and is connected wearable bluetooth equipment; Data communication is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in computer terminal; Computer terminal selects the project in described default test item list to test wearable device.The present invention connects computer terminal by Bluetooth adapter and to be connected with wearable bluetooth equipment thus to carry out data communication; The test of control realization to equipment is carried out by sending data back and forth.
The present invention is solved the problem by following technological means:
A kind of method of being tested wearable bluetooth equipment by BLE protocol realization of the present invention, be is characterized in that:
Comprise the following steps: Bluetooth adapter connects computer terminal;
The list of wearable bluetooth equipment test item is preset in computer terminal;
Virtual bluetooth USB serial ports is opened in computer terminal;
Computer terminal is searched for by described virtual bluetooth USB serial ports and is connected wearable bluetooth equipment;
Data communication is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in computer terminal;
Computer terminal selects the project in described default test item list to test wearable device.
Described wearable device comprises bluetooth bracelet.
Described test item list comprises transducer, motor, display screen, breath light, camera.
Before data communication step is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in described computer terminal, further comprising the steps of:
The order appointed is preset between computer terminal and wearable bluetooth equipment.
After project in the described default test item list of described computer terminal selection carries out testing procedure to wearable device, further comprising the steps of:
Using the order preset and appoint between computer terminal and wearable bluetooth equipment, carrying out data communication by sending data back and forth, to realize the test to wearable bluetooth equipment.
By the device that BLE protocol realization is tested wearable bluetooth equipment, described device comprises wearable bluetooth equipment, Bluetooth adapter and computer terminal; Described Bluetooth adapter is electrically connected with computer terminal.
Described Bluetooth adapter forms virtual USB serial ports after being connected with computer terminal; Described wearable bluetooth equipment is connected with computer terminal by described virtual USB serial ports.
Described wearable bluetooth equipment carries out data communication by bluetooth BLE agreement and computer terminal.
Described computer terminal also comprises default test item configured list, and described default test item configured list comprises transducer, motor, display screen, breath light, camera.
Described computer terminal starts presets test item configured list, and selects corresponding project to carry out corresponding project testing to wearable bluetooth equipment.
Of the present invention a kind ofly have following beneficial effect by BLE protocol realization to the method and apparatus that wearable bluetooth equipment is tested:
The present invention connects computer terminal by Bluetooth adapter and to be connected with wearable bluetooth equipment thus to carry out data communication;
The test of control realization to the configurable items selection of equipment is carried out by sending data back and forth.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described.
Fig. 1 is method flow schematic diagram of the present invention;
Fig. 2 is apparatus structure schematic diagram of the present invention.
Embodiment
Below with reference to accompanying drawing, the present invention is described in detail.
Embodiment one
As shown in Figure 1: a kind of method of being tested wearable bluetooth equipment by BLE protocol realization of the present embodiment, is comprised the following steps: Bluetooth adapter connects computer terminal; The list of wearable bluetooth equipment test item is preset in computer terminal; Virtual bluetooth USB serial ports is opened in computer terminal; Computer terminal is searched for by described virtual bluetooth USB serial ports and is connected wearable bluetooth equipment; Data communication is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in computer terminal; Computer terminal selects the project in described default test item list to test wearable device.The present invention connects computer terminal by Bluetooth adapter and to be connected with wearable bluetooth equipment thus to carry out data communication; The test of control realization to the configurable items selection of equipment is carried out by sending data back and forth.
As the further improvement of technique scheme, described wearable device comprises bluetooth bracelet.
Specifically, wearable device is not limited only to bluetooth bracelet, also comprises: Bluetooth watch, bluetooth earphone, Bluetooth spectacles, bluetooth ring etc.
As the further improvement of technique scheme, described test item list comprises transducer, motor, display screen, breath light, camera.
Specifically, test item list also comprises other devices, as Gps module, loudspeaker, Mike, receiver, touch screen, earphone, storage card, button, battery etc.
As the further improvement of technique scheme, before data communication step is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in described computer terminal, further comprising the steps of:
The order appointed is preset between computer terminal and wearable bluetooth equipment.
Specifically, the order appointed described in comprises: 0x01 representative sensor, 0x02 represent motor, 0x03 represents display screen, by that analogy.
As the further improvement of technique scheme, after the project in the described default test item list of described computer terminal selection carries out testing procedure to wearable device, further comprising the steps of:
Using the order preset and appoint between computer terminal and wearable bluetooth equipment, carrying out data communication by sending data back and forth, to realize the test to wearable bluetooth equipment.
Specifically, after computer end is connected with bluetooth equipment, computer end sends 0x01 to equipment end, equipment end receives 0x01, just know that computer end wonders whether transducer can normally work, if normal/abnormal, bluetooth equipment end sends normal/abnormal data to computer end, and then computer end does corresponding prompting; Other are similar.
Embodiment two
As shown in Figure 2: a kind of device tested wearable bluetooth equipment by BLE protocol realization of the present embodiment, described device comprises wearable bluetooth equipment, Bluetooth adapter and computer terminal; Described Bluetooth adapter is electrically connected with computer terminal.
As the further improvement of technique scheme, described Bluetooth adapter forms virtual USB serial ports after being connected with computer terminal; Described wearable bluetooth equipment is connected with computer terminal by described virtual USB serial ports.
Described wearable bluetooth equipment carries out data communication by bluetooth BLE agreement and computer terminal.
As the further improvement of technique scheme, described computer terminal also comprises default test item configured list, and described default test item configured list comprises transducer, motor, display screen, breath light, camera.
As the further improvement of technique scheme, described computer terminal starts presets test item configured list, and selects corresponding project to carry out corresponding project testing to wearable bluetooth equipment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above to theme processing method and the device of a kind of resource provided by the present invention, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.

Claims (10)

1. by the method that BLE protocol realization is tested wearable bluetooth equipment, it is characterized in that: comprise the following steps: Bluetooth adapter connects computer terminal;
The list of wearable bluetooth equipment test item is preset in computer terminal;
Virtual bluetooth USB serial ports is opened in computer terminal;
Computer terminal is searched for by described virtual bluetooth USB serial ports and is connected wearable bluetooth equipment;
Data communication is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in computer terminal;
Computer terminal selects the project in described default test item list to test wearable device.
2. a kind of method of being tested wearable bluetooth equipment by BLE protocol realization according to claim 1, be is characterized in that: described wearable device comprises bluetooth bracelet.
3. a kind of method of being tested wearable bluetooth equipment by BLE protocol realization according to claim 1, be is characterized in that: described test item list comprises transducer, motor, display screen, breath light, camera.
4. a kind of method of wearable bluetooth equipment being tested by BLE protocol realization according to claim 1, it is characterized in that: before data communication step is carried out by bluetooth BLE agreement and described wearable bluetooth equipment in described computer terminal, further comprising the steps of:
The order appointed is preset between computer terminal and wearable bluetooth equipment.
5. a kind of method of wearable bluetooth equipment being tested by BLE protocol realization according to claim 1, it is characterized in that: after the project in the described default test item list of described computer terminal selection carries out testing procedure to wearable device, further comprising the steps of:
Using the order preset and appoint between computer terminal and wearable bluetooth equipment, carrying out data communication by sending data back and forth, to realize the test to wearable bluetooth equipment.
6. by the device that BLE protocol realization is tested wearable bluetooth equipment, it is characterized in that: described device comprises wearable bluetooth equipment, Bluetooth adapter and computer terminal; Described Bluetooth adapter is electrically connected with computer terminal.
7. a kind of device tested wearable bluetooth equipment by BLE protocol realization according to claim 6, be is characterized in that: described Bluetooth adapter forms virtual USB serial ports after being connected with computer terminal; Described wearable bluetooth equipment is connected with computer terminal by described virtual USB serial ports.
8. a kind of device tested wearable bluetooth equipment by BLE protocol realization according to claim 7, be is characterized in that: described wearable bluetooth equipment carries out data communication by bluetooth BLE agreement and computer terminal.
9. a kind of device wearable bluetooth equipment tested by BLE protocol realization according to claim 6, it is characterized in that: described computer terminal also comprises default test item configured list, described default test item configured list comprises transducer, motor, display screen, breath light, camera.
10. a kind of device wearable bluetooth equipment tested by BLE protocol realization according to claim 6, it is characterized in that: described computer terminal starts presets test item configured list, and selects corresponding project to carry out corresponding project testing to wearable bluetooth equipment.
CN201510369370.7A 2015-06-29 2015-06-29 Method and device for testing wearable Bluetooth device through BLE protocol Pending CN104967972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510369370.7A CN104967972A (en) 2015-06-29 2015-06-29 Method and device for testing wearable Bluetooth device through BLE protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510369370.7A CN104967972A (en) 2015-06-29 2015-06-29 Method and device for testing wearable Bluetooth device through BLE protocol

Publications (1)

Publication Number Publication Date
CN104967972A true CN104967972A (en) 2015-10-07

Family

ID=54221893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510369370.7A Pending CN104967972A (en) 2015-06-29 2015-06-29 Method and device for testing wearable Bluetooth device through BLE protocol

Country Status (1)

Country Link
CN (1) CN104967972A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507272A (en) * 2016-10-09 2017-03-15 广州创想科技股份有限公司 The broadcasting method and device of the Monitoring Data of bluetooth bracelet
CN106817631A (en) * 2017-01-18 2017-06-09 广州碧德电子科技有限公司 Wireless communication module Aulomatizeted Detect instrument and method
CN106874152A (en) * 2016-12-30 2017-06-20 歌尔科技有限公司 A kind of method for supporting electronic equipment self-inspection hardware performance
CN111756412A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Bluetooth device detection method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507272A (en) * 2016-10-09 2017-03-15 广州创想科技股份有限公司 The broadcasting method and device of the Monitoring Data of bluetooth bracelet
CN106874152A (en) * 2016-12-30 2017-06-20 歌尔科技有限公司 A kind of method for supporting electronic equipment self-inspection hardware performance
CN106817631A (en) * 2017-01-18 2017-06-09 广州碧德电子科技有限公司 Wireless communication module Aulomatizeted Detect instrument and method
CN106817631B (en) * 2017-01-18 2020-02-18 广州碧德电子科技有限公司 Automatic detection method for wireless communication module
CN111756412A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Bluetooth device detection method and device

Similar Documents

Publication Publication Date Title
US20170155750A1 (en) Method and Apparatus for Bluetooth Device Management
US9491258B2 (en) Systems, communication endpoints, and related methods for distributing images corresponding to communication endpoints
WO2016131261A1 (en) Multipoint connection control method, apparatus, terminal, and multipoint bluetooth earphone
CN104967972A (en) Method and device for testing wearable Bluetooth device through BLE protocol
CN104820611A (en) Equipment software upgrade method based on Bluetooth and upgrade device
CN103207778A (en) Method, device and mobile terminal for modifying icons
CN103312864A (en) Intelligent terminal and method for controlling bluetooth device via intelligent terminal
US11537213B2 (en) Character recommending method and apparatus, and computer device and storage medium
KR20150116228A (en) Method for managing contact information and electronic device implementing the same
CN104158854B (en) Resource share method and device
CN104955166A (en) Bluetooth communication method and system
CN113556715A (en) Device connection method and apparatus, computer readable medium, and electronic device
CN110035504A (en) A kind of determination method, terminal and the base station of spatial relationship
WO2017028541A1 (en) Mode permission management method, apparatus, and terminal
US20180091460A1 (en) Augmenting location of social media posts based on proximity of other posts
CN103297097A (en) Bluetooth adapter with touch screen display function and Bluetooth connection method
US20160330251A1 (en) Method and device for sharing connection information in electronic device
CN106487878B (en) A kind of method and terminal of Data Migration
CN105050031A (en) Method and device for realizing wearable equipment factory test based on Bluetooth SPP protocol
CN112700014A (en) Method, device and system for deploying federal learning application and electronic equipment
JP2017173530A (en) Voice input support program, head mounted display, voice input support method, and voice input support device
US20150280933A1 (en) Electronic device and connection method thereof
CN113726883B (en) Cloud data processing method, related device and computer program product
CN104267809A (en) Information processing method and first electronic device
CN111866278B (en) Electric quantity display method, device, equipment and storage medium of wireless earphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151007