CN108990035A - Bluetooth function detection method, device, equipment and storage medium - Google Patents

Bluetooth function detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN108990035A
CN108990035A CN201811043242.3A CN201811043242A CN108990035A CN 108990035 A CN108990035 A CN 108990035A CN 201811043242 A CN201811043242 A CN 201811043242A CN 108990035 A CN108990035 A CN 108990035A
Authority
CN
China
Prior art keywords
devices
test
bluetooth
identification code
currently
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
Application number
CN201811043242.3A
Other languages
Chinese (zh)
Other versions
CN108990035B (en
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 SHUANGWEI NAVIGATION TECHNOLOGY CO.,LTD.
Original Assignee
Shanghai Huace Navigation Technology 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 Huace Navigation Technology Ltd filed Critical Shanghai Huace Navigation Technology Ltd
Priority to CN201811043242.3A priority Critical patent/CN108990035B/en
Publication of CN108990035A publication Critical patent/CN108990035A/en
Application granted granted Critical
Publication of CN108990035B publication Critical patent/CN108990035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Quality & Reliability (AREA)
  • Electromagnetism (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of Bluetooth function detection method, device, equipment and storage mediums, by determining Devices to test according to the currently the only identification code chosen in advance, and establish bluetooth connection with Devices to test;According to the bluetooth signal intensity of Devices to test, the hardware capability testing result of Devices to test is determined;The facility information for the Devices to test that will acquire is matched with currently the only identification code;The technological means of the software function testing result of Devices to test is determined according to matching result, the hardware capability and software function for solving bluetooth use artificial detection, time-consuming and laborious problem, it realizes and the Bluetooth function in GNSS receiver automatically, quickly, accurately and efficiently detect, substantially reduce cost of labor, Improving The Quality of Products.

Description

Bluetooth function detection method, device, equipment and storage medium
Technical field
The present embodiments relate to Bluetooth technology field more particularly to a kind of Bluetooth function detection method, device, equipment and Storage medium.
Background technique
With electronic technology, the fast development of equipment manufacture industry, the requirement for electronics reliability is higher and higher.Entirely Ball satellite navigation system (Global navigation satellite system, GNSS) is widely applied and military, mapping, state The fields such as soil, space flight and aviation, farming and animal husbandry, communication medical, traffic environment-friendly.Bluetooth technology is as a kind of wireless near field communication side Case plays an important role in GNSS receiver.The only operation of Bluetooth function normal table, is just able to achieve GNSS receiver Accurate measurement.Therefore, in order to guarantee the product quality of GNSS receiver, it is necessary to be examined to the Bluetooth function of GNSS receiver It surveys.
The detection of GNSS receiver Bluetooth function specifically includes that hardware capability detection and software function detection.Hardware capability inspection Whether survey includes: whether bluetooth module itself function is abnormal, is reliably connected with the presence or absence of hardware connecting fault, Bluetooth antenna, is blue Whether tooth antenna damages;Whether the detection of software function mainly includes: can be carried out by Bluetooth function to GNSS receiver Whether accessing wirelessly, the device name of bluetooth and password can configure etc. as desired.
Hardware capability detection and software function detection are divided into two and independent detected by the detection method of the prior art Journey.Hardware capability detection is generally by the equipment such as naked eyes or auxiliary multimeter, oscillograph, to GNSS receiver bluetooth module portion The hardware components divided are detected.This method is time-consuming and laborious, and needs to be surveyed before GNSS receiver is not installed Examination, due to influence of the subsequent handling to GNSS receiver Bluetooth function in production process, the testing result of this method output cannot The overall performance of GNSS receiver is represented completely.The detection of software function generally uses artificial method, passes through different detections Equipment detects the software function in GNSS receiver in relation to bluetooth one by one.This detection method greatly wastes manpower Resource.
Summary of the invention
The present invention provides a kind of Bluetooth function detection method, device, equipment and storage medium, to realize to GNSS receiver In Bluetooth function carry out it is automatic, quickly, accurately and efficiently detect, substantially reduce cost of labor, Improving The Quality of Products.
In a first aspect, the embodiment of the invention provides a kind of Bluetooth function detection methods, comprising:
Devices to test is determined according to the currently the only identification code chosen in advance, and is established bluetooth with the Devices to test and connected It connects;
According to the bluetooth signal intensity of the Devices to test, the hardware capability testing result of the Devices to test is determined;
The facility information for the Devices to test that will acquire is matched with the currently the only identification code;
The software function testing result of the Devices to test is determined according to matching result.
Second aspect, the embodiment of the invention also provides a kind of Bluetooth function detection devices, comprising:
Determining module to be measured is set for determining Devices to test according to the currently the only identification code chosen in advance, and with described It is standby to establish bluetooth connection;
Hardware detecting module determines the hard of the Devices to test for the bluetooth signal intensity according to the Devices to test Part Function detection result;
Matching module, the facility information of the Devices to test for will acquire and the currently the only identification code progress Match;
Software detection module, for determining the software function testing result of the Devices to test according to matching result.
The third aspect, the embodiment of the invention also provides a kind of equipment, the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the Bluetooth function detection method as described in first aspect.
The third aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, which is characterized in that the Bluetooth function detection method as described in first aspect is realized when the program is executed by processor.
Bluetooth function detection method, device, equipment and the storage medium of above-mentioned offer, by current according to choosing in advance Unique identifier determines Devices to test, and establishes bluetooth connection with Devices to test;According to the bluetooth signal intensity of Devices to test, really Determine the hardware capability testing result of Devices to test;The facility information for the Devices to test that will acquire and the progress of currently the only identification code Match;The technological means that the software function testing result of Devices to test is determined according to matching result, solves the hardware capability of bluetooth Artificial detection is used with software function, time-consuming and laborious problem is realized and carried out automatically, fastly to the Bluetooth function in GNSS receiver Speed accurately and efficiently detects, and substantially reduces cost of labor, Improving The Quality of Products.
Detailed description of the invention
Fig. 1 is the flow chart of the Bluetooth function detection method in the embodiment of the present invention one;
Fig. 1 a is the structural schematic diagram of the Bluetooth function detection system in the embodiment of the present invention one
Fig. 2 is the flow chart of the Bluetooth function detection method in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the Bluetooth function detection device in the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram for the computer equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the Bluetooth function detection method in the embodiment of the present invention one, and the present embodiment is applicable to detect The case where Bluetooth function, this method can be executed by Bluetooth function detection device, which can pass through The mode of software and/or hardware is realized.In embodiment, setting Bluetooth function detection device is integrated in computer equipment, i.e., blue Tooth function detecting method is executed by computer equipment.
In the present embodiment, computer equipment, which refers to, to run according to program, automatic, high speed processing mass data Modernize intelligent electronic device, including but not limited to desktop computing device, laptop and plate apparatus such as computer.
Specifically, as shown in Figure 1, Bluetooth function detection method provided in an embodiment of the present invention, mainly includes the following steps:
S110, Devices to test is determined according to the currently the only identification code chosen in advance, and establish bluetooth with Devices to test and connect It connects.
In the present embodiment, unique identifier, which refers to, can uniquely represent a string of character codes of equipment itself, every equipment have and An only unique identifier.Further, unique identifier can be device number, serial number, machine number, hardware number, MAC Address Deng one of or several combinations.Devices to test, which refers to, will carry out Bluetooth function according to what currently the only identification code determined The equipment of detection, in the present embodiment, Devices to test are preferably GNSS receiver bluetooth-capable.
In the present embodiment, all unique identifiers for the equipment for needing to detect are imported into Bluetooth function detection device.When When the number of devices for needing to detect is more than preset quantity, the unique identifier of all devices is imported into computer in batches.When need When the number of devices to be detected is no more than preset quantity, the unique identifier of all devices is disposably imported into computer equipment. Preferably, preset quantity 10 in the present embodiment, are not defined preset quantity.
Import computer all unique identifiers in obtain in advance a unique identifier as choose currently only One identification code.Further, it can be obtained according to the sequence of unique identifier importing computer, it can also be according to unique identification The size of yardage value obtains.
The first device name corresponding with unique identifier is generated according to currently the only identification code.It searches in GNSS receiver Bluetooth module broadcast device name, by the device name generating device name list of all GNSS receivers, according to first Device name is inquired in device name list, and equipment corresponding with the first device name is determined as Devices to test.
Further, Fig. 1 a is the structural schematic diagram of the Bluetooth function detection system in the embodiment of the present invention one;Bluetooth function Energy detection system includes computer equipment 101, Bluetooth adapter 102 and GNSS receiver 103.Further, computer equipment 101 refer to that being provided with Bluetooth function detection device can be performed the computer equipment of Bluetooth function detection method.Bluetooth adapter 102 For computer equipment and the bluetooth module in GNSS receiver 103 to be attached.Bluetooth adapter 102 can be built-in indigo plant Tooth adapter is also possible to external Bluetooth adapter.Embedded with bluetooth adapter refers to that Bluetooth adapter is built in computer equipment In 101, external Bluetooth adapter refers to that Bluetooth adapter establishes connection by USB or other modes and computer equipment 101.
After the Bluetooth function of GNSS receiver 103 is opened, initiate to broadcast to surrounding in real time.Computer equipment 103 configures There is Bluetooth adapter 102, open Bluetooth adapter 102, computer equipment 103 is connect by the GNSS around Bluetooth adapter search The Bluetooth broadcast information of receipts machine 103 wherein includes the device name of GNSS receiver in Bluetooth broadcast information.Computer equipment 103 will search device name generating device title table.It should be noted that search GNSS receiver 103 in the present embodiment Bluetooth broadcast information mode and without limitation, the bluetooth of GNSS receiver 103 can be specifically searched for prefixed time interval Broadcast message, it is possible to reduce energy waste.Value to prefixed time interval and without limitation, in the present embodiment between preset time It is divided into 2 seconds.
After determining Devices to test, bluetooth connection is established with Devices to test.It should be noted that bluetooth in the present embodiment The mode of connection and without limitation.
S120, the bluetooth signal intensity according to Devices to test determine the hardware capability testing result of Devices to test.
Bluetooth signal intensity is that bluetooth module and computer equipment transmit information quality in characterization equipment in the present embodiment Amount.The value of bluetooth signal intensity is bigger, indicates that transmitting information quality is good.Further, bluetooth signal intensity is usually by bluetooth The performance number of equipment transmitting signal is obtained according to preset conversion method.Hardware capability detection mainly includes bluetooth module itself function Whether whether can be reliably connected extremely, with the presence or absence of hardware connecting fault, Bluetooth antenna, whether Bluetooth antenna damages.
Judge whether the bluetooth signal intensity of Devices to test meets preset condition, when the bluetooth signal intensity of Devices to test is full When sufficient preset condition, it is determined that the hardware capability of Devices to test is normal.When the bluetooth signal intensity of Devices to test is unsatisfactory for presetting Condition, it is determined that the hardware capability of Devices to test is abnormal, carries out the Devices to test to return factory and repairs assembling again.Preferably, it presets Condition refers to that the bluetooth signal intensity of Devices to test is greater than setting signal threshold value.
S130, the Devices to test that will acquire facility information matched with currently the only identification code.
In the present embodiment, facility information refers to storage in a device about the model of equipment, machine number, hardware number, MAC The information such as address, in the present embodiment, facility information refer to and the consistent information of unique identification code type.Illustratively, uniquely When the MAC Address of identity type, facility information includes at least mac address information.When the machine number of unique identification code type, if Standby information includes at least machine number.
In the present embodiment, after establishing bluetooth connection with Devices to test, to be measured set is accessed by the bluetooth connection of foundation Standby application program obtains the facility information of Devices to test in above-mentioned application program.Further, application program refers to insertion Software application in Devices to test.
S140, the software function testing result that Devices to test is determined according to matching result.
In the present embodiment, whether software function detection including but not limited to can be by Bluetooth function to GNSS receiver Carry out whether accessing wirelessly, the device name of bluetooth and password can configure etc. as desired.
Devices to test is determined according to the matching result of the facility information of the Devices to test of acquisition and currently the only identification code Software function testing result.If the facility information of Devices to test obtained and matching for currently the only identification code, to be measured to set Standby software function is normal.Further, if the mismatch of the facility information of the Devices to test obtained and currently the only identification code, Then the software function of Devices to test is abnormal.
Bluetooth function detection method provided in this embodiment, by according to the currently the only identification code chosen in advance determine to Measurement equipment, and bluetooth connection is established with Devices to test;According to the bluetooth signal intensity of Devices to test, the hardware of Devices to test is determined Function detection result;The facility information for the Devices to test that will acquire is matched with currently the only identification code;According to matching result The technological means for determining the software function testing result of Devices to test solves hardware capability and the software function user of bluetooth Work detection, time-consuming and laborious problem are realized and automatically, quickly, accurately and efficiently examine to the Bluetooth function in GNSS receiver It surveys, substantially reduces cost of labor, Improving The Quality of Products.
Embodiment two
Fig. 2 is the flow chart of the Bluetooth function detection method in the embodiment of the present invention two, and the present embodiment is in above-mentioned each implementation On the basis of example, Bluetooth function detection method has been advanced optimized.As shown in Fig. 2, the Bluetooth function detection method master after optimization Include the following steps:
S210, a unique identifier is obtained from the identification code storage table constructed in advance as currently the only identification code, It wherein, include the unique identifier of at least one equipment in identification code storage table.
In the present embodiment, identification code storage table refers to the list for being stored with multiple unique identifiers or database.? Before S210, further includes: building identification code storage table in advance.The unique identifier of equipment is obtained in equipment production process, it will The equipment unique identifier of acquisition imports Bluetooth function detection device, forms identification code storage according to the unique identifier of importing Table.It is also possible to generate unique identifier according to preset algorithm according to the relevant information of equipment, and by the unique identification of generation Code is stored, and identification code storage table is formed.Wherein, know in preset algorithm and equipment according to the generation of the relevant information of equipment is unique The algorithm of other code is consistent.It should be noted that not being defined to building identification code storage table mode in the present embodiment.
A unique identifier is obtained from the identification code storage table constructed in advance can be the life according to unique identifier It is successively obtained at time or the time sequencing for importing Bluetooth function detection device.It is also possible to according to unique identifier Numerical values recited successively obtains.It should be noted that not being defined to the mode for obtaining a unique identifier in the present embodiment.
S220, the first device name for corresponding to currently the only identification code is generated according to preset rules.
In the present embodiment, preset rules refer to the preset algorithm being stored in advance in Bluetooth function detection device.Wherein Preset algorithm can generate the first device name corresponding with currently the only identification code according to currently the only identification code.First equipment Title, which refers to, generates device name relevant to Devices to test according to currently the only identification code.It should be noted that being set to be measured Preset rules are stored in standby, generating device name in the preset rules wherein stored in Devices to test and Bluetooth function detection device The preset rules of title are consistent.
In the present embodiment, substantive meaning represented by currently the only identification code digits is obtained, such as: unique identification Preceding 4 bit digital of code indicates temporal information, and 4 bit digital of centre of unique identifier indicates clock sequence, in unique identifier Between 4 bit digitals indicate machine models, according to temporal information, clock sequence and machine models generate the first device name.
If S230, the first device name are present in preset device name list, the first implementor name will be corresponded to The equipment of title is determined as Devices to test, establishes bluetooth connection with Devices to test;It wherein, include at least one in device name list It can the device name that arrives of bluetooth discovery.
In the present embodiment, refer to can the list that constitutes of the device name that arrives of bluetooth discovery for device name list.According to One device name is inquired in above equipment name list, if inquiring in device name list and the first device name Device name identical with the first device name is then determined as Devices to test, and built with Devices to test by identical device name Vertical bluetooth connection.
If the first device name is not present in preset device name list, it is determined that the first device name is corresponding to be set It is standby to be arrived by bluetooth discovery.At this point, re-executing S210, one is reacquired from the identification code storage table constructed in advance New unique identifier is as currently the only identification code.
S240, the signal strength for obtaining Devices to test.
After Devices to test carries out bluetooth connection, the Bluetooth signal of Devices to test transmitting can receive, and can obtain Obtain bluetooth signal intensity.Specifically, the Bluetooth signal of the received Devices to test transmitting of acquisition in real time, to Bluetooth signal collected The analysis of Fourier transformation constant power is done, it is strong according to Bluetooth signal power value and Bluetooth signal to obtain the performance number of Bluetooth signal Corresponding relationship between degree determines the bluetooth signal intensity of Devices to test.One is provided in the present embodiment according to Bluetooth signal Performance number determines the mode of bluetooth signal intensity, but to the determining mode of bluetooth signal intensity and without limitation.
If the signal strength of S250, Devices to test is greater than setting signal threshold value, it is determined that the hardware capability of Devices to test is just Often.
In the present embodiment, setting signal threshold value refers to a signal strength of setting, for as reference value with it is to be measured The signal strength of equipment is compared.Preset signals threshold value is related with the use environment of Devices to test model and Devices to test.Into One step, different setting signal threshold values can be determined according to different Devices to test models.That is, the Devices to test of the first model Corresponding first setting signal threshold value, the corresponding second setting signal threshold value of the equipment of the second model.If the signal strength of Devices to test Greater than setting signal threshold value, it is determined that the hardware capability of Devices to test is normal.So, before S250 further include: according to current Unique identifier determines Devices to test model, and determines setting signal corresponding with Devices to test model according to Devices to test model Threshold value.Correspondingly, if the signal strength of Devices to test is greater than setting signal threshold value corresponding with Devices to test model, it is determined that institute The hardware capability for stating Devices to test is normal.
Specifically, Devices to test model is determined according to currently the only identification code, if the first model of Devices to test model, Obtain the first setting signal threshold value;The signal strength of Devices to test is compared with the first setting signal threshold value;If to be measured set Standby signal strength is greater than the first setting signal threshold value, it is determined that the hardware capability of Devices to test is normal.Wherein, first model Devices to test corresponds to the first setting signal threshold value.
In the present embodiment, another specific embodiment is also provided, the signal strength in practical application is divided into With it is excellent, good, in, corresponding four ranges of poor four grades, wherein the first range of signal corresponds to quality product, second signal range pair Answer non-defective unit, product in third range of signal correspondence, the corresponding poor product of fourth signal range.According to where the signal strength of Devices to test Range of signal determines the grade of the hardware capability of Devices to test, and the working environment of Devices to test is determined according to different grades.
S260, the Devices to test that will acquire facility information matched with currently the only identification code.
S270, when the facility information of Devices to test and currently the only identification code match, determine the software of Devices to test Function is normal.
In this embodiment, software function, which is just referring to the application program in Devices to test, can normally execute corresponding behaviour Make.
Devices to test is determined according to the matching result of the facility information of the Devices to test of acquisition and currently the only identification code Software function testing result.If the facility information of Devices to test obtained and matching for currently the only identification code, illustrate logical The application program for crossing bluetooth connection access Devices to test can normally get facility information, and acquired facility information is just True, and then can determine that the application program of Devices to test can operate normally, i.e. the software function of Devices to test is normal.Into one Step, if the mismatch of the facility information of the Devices to test obtained and currently the only identification code, illustrate to visit by bluetooth connection Ask that the application program of Devices to test cannot normally get facility information or acquired facility information is wrong, then It can determine that the application program of Devices to test cannot operate normally, i.e., the software function of Devices to test is abnormal.
After determining that hardware capability detection is normal according to the signal strength of Devices to test, then corresponding software function inspection is executed Ranging sequence.
Based on the above technical solution, it is preferred that the Bluetooth function detection method further include: device under test Hardware capability carries out secondary detection.
The secondary detection of hardware capability refers to while carrying out software function detection, examines again to hardware capability It surveys.Carry out twice detection may further determine that the hardware capability of Devices to test is normal, improve hardware capability testing result can By property.
Further, after establishing bluetooth connection with Devices to test, obtain Bluetooth communication when institute foundation blueteeth network shape State information;If status information is within a preset range, it is determined that hardware capability is normal.
In the present embodiment, the status information of blueteeth network includes but is not limited to uplink and downlink network speed, network delay, access sound Network parameters are waited between seasonable.
While the facility information of the Devices to test of acquisition, obtain Bluetooth communication when institute according to blueteeth network state letter Breath, wherein the status information of blueteeth network has built-in network intercepting device to obtain.If status information is within a preset range, it is determined that Hardware capability is normal.
Bluetooth function detection method provided in this embodiment, by according to the currently the only identification code chosen in advance determine to Measurement equipment, and the signal strength that bluetooth connection obtains the Devices to test is established with Devices to test;If the signal of Devices to test is strong Degree is greater than setting signal threshold value, it is determined that the hardware capability of Devices to test is normal;The facility information for the Devices to test that will acquire with Currently the only identification code is matched;When the facility information of Devices to test and currently the only identification code match, determine to be measured The normal technological means of the software function of equipment, the hardware capability for solving bluetooth and software function are time-consuming using artificial detection Laborious problem is realized and automatically, quickly, accurately and efficiently detect to the Bluetooth function in GNSS receiver, substantially reduces Cost of labor, Improving The Quality of Products.
Embodiment three
Fig. 3 is the structural schematic diagram of the Bluetooth function detection device in the embodiment of the present invention three, and the present embodiment is applicable to The case where detecting Bluetooth function, as shown in figure 3, the Bluetooth function detection device mainly comprises the following structure:
Determining module 310, for determining Devices to test according to the currently the only identification code chosen in advance, and with it is described to be measured Equipment establishes bluetooth connection.
Hardware detecting module 320 determines the Devices to test for the bluetooth signal intensity according to the Devices to test Hardware capability testing result.
Matching module 330, the facility information of the Devices to test for will acquire and the currently the only identification code into Row matching.
Software detection module 340, for determining the software function testing result of the Devices to test according to matching result.
Bluetooth detection device provided in this embodiment, by determining to be measured set according to the currently the only identification code chosen in advance It is standby, and bluetooth connection is established with Devices to test;According to the bluetooth signal intensity of Devices to test, the hardware capability of Devices to test is determined Testing result;The facility information for the Devices to test that will acquire is matched with currently the only identification code;It is determined according to matching result The technological means of the software function testing result of Devices to test, the hardware capability and software function for solving bluetooth use artificial inspection It surveys, time-consuming and laborious problem, realizes and the Bluetooth function in GNSS receiver automatically, quickly, accurately and efficiently detect, Substantially reduce cost of labor, Improving The Quality of Products.
Further, determining module 310 includes:
Acquiring unit, for obtaining a unique identifier from the identification code storage table constructed in advance as currently the only Identification code, wherein include the unique identifier of at least one equipment in the identification code storage table.
Generation unit, for generating the first device name for corresponding to the currently the only identification code according to preset rules.
Determination unit will correspond to if be present in preset device name list for first device name It is determined as Devices to test in the equipment of first device name, wherein including at least one in the device name list can The device name that bluetooth discovery arrives.
Further, hardware detecting module 320 includes:
Signal strength acquiring unit, for obtaining the signal strength of the Devices to test.
First hardware capability determination unit, if the signal strength for the Devices to test is greater than setting signal threshold value, Determine that the hardware capability of the Devices to test is normal.
Further, software detection module 340, specifically for when the Devices to test facility information and it is described it is current only When one identification code matches, determine that the software function of the Devices to test is normal.
Further, described device further include:
Hardware secondary detection module carries out secondary detection for the hardware capability to the Devices to test.
Further, hardware secondary detection module includes:
State information acquisition unit, for obtaining Bluetooth communication when institute after establishing bluetooth connection with the Devices to test Status information according to blueteeth network.
Second hardware capability determination unit, if within a preset range for the status information, it is determined that the hardware function It can be normal.
Bluetooth function detection device provided by the embodiment of the present invention is integrated in computer equipment, and the present invention can be performed and appoint Bluetooth function detection method provided by embodiment of anticipating, has the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is the structural schematic diagram for the equipment that the embodiment of the present invention four provides, as shown in figure 4, the equipment includes processor 470, memory 471, input unit 472 and output device 473;The quantity of processor 470 can be one or more in equipment, In Fig. 4 by taking a processor 470 as an example;Processor 470, memory 471, input unit 472 and output device 473 in equipment It can be connected by bus or other modes, in Fig. 4 for being connected by bus.
Memory 471 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, if the corresponding program instruction/module of Bluetooth function detection method in the embodiment of the present invention is (for example, determine mould Block 310, hardware detecting module 320, matching module 330 and software detection module 340).Processor 470 is stored in by operation Software program, instruction and module in reservoir 471, thereby executing the various function application and data processing of equipment, i.e., in fact Existing above-mentioned Bluetooth function detection method.
Memory 471 can mainly include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 471 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 471 can be into one Step includes the memory remotely located relative to processor 470, these remote memories can pass through network connection to equipment.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 72 can be used for receiving the number or character information of input, and generate with the user setting of equipment and The related key signals input of function control.Output device 73 may include that display screen etc. shows equipment.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium comprising computer executable instructions, and the computer can be held Row instruction is used to execute a kind of Bluetooth function detection method when being executed by computer processor, this method comprises:
Devices to test is determined according to the currently the only identification code chosen in advance, and is established bluetooth with the Devices to test and connected It connects;
According to the bluetooth signal intensity of the Devices to test, the hardware capability testing result of the Devices to test is determined;
The facility information for the Devices to test that will acquire is matched with the currently the only identification code;
The software function testing result of the Devices to test is determined according to matching result.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention The method operation that executable instruction is not limited to the described above, can also be performed Bluetooth function provided by any embodiment of the invention Relevant operation in detection method
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
It is worth noting that, included each unit and module are only according to function in the embodiment of above-mentioned searcher Energy logic is divided, but is not limited to the above division, as long as corresponding functions can be realized;In addition, each function The specific name of energy unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of Bluetooth function detection method characterized by comprising
Devices to test is determined according to the currently the only identification code chosen in advance, and establishes bluetooth connection with the Devices to test;
According to the bluetooth signal intensity of the Devices to test, the hardware capability testing result of the Devices to test is determined;
The facility information for the Devices to test that will acquire is matched with the currently the only identification code;
The software function testing result of the Devices to test is determined according to matching result.
2. Bluetooth function detection method according to claim 1, which is characterized in that unique knowledge according to the pre-stored data Other code determines that Devices to test includes:
A unique identifier is obtained from the identification code storage table constructed in advance as currently the only identification code, wherein described It include the unique identifier of at least one equipment in identification code storage table;
The first device name for corresponding to the currently the only identification code is generated according to preset rules;
If first device name is present in preset device name list, first device name will be corresponded to Equipment be determined as Devices to test, wherein include that at least one can the implementor name that arrives of bluetooth discovery in the device name list Claim.
3. Bluetooth function detection method according to claim 1, which is characterized in that the indigo plant according to the Devices to test Tooth signal strength determines that the hardware capability testing result of the Devices to test includes:
Obtain the signal strength of the Devices to test;
If the signal strength of the Devices to test is greater than setting signal threshold value, it is determined that the hardware capability of the Devices to test is just Often.
4. Bluetooth function detection method according to claim 1, which is characterized in that described according to matching result determination The software function testing result of Devices to test, comprising:
When the facility information of the Devices to test and the currently the only identification code match, the soft of the Devices to test is determined Part function is normal.
5. Bluetooth function detection method according to claim 1, which is characterized in that further include:
Secondary detection is carried out to the hardware capability of the Devices to test.
6. Bluetooth function detection method according to claim 5, which is characterized in that the hardware to the Devices to test Function carries out secondary detection, comprising:
After establishing bluetooth connection with the Devices to test, obtain Bluetooth communication when institute foundation blueteeth network status information;
If the status information is within a preset range, it is determined that the hardware capability is normal.
7. a kind of Bluetooth function detection device characterized by comprising
Determining module for determining Devices to test according to the currently the only identification code chosen in advance, and is built with the Devices to test Vertical bluetooth connection;
Hardware detecting module determines the hardware function of the Devices to test for the bluetooth signal intensity according to the Devices to test It can testing result;
Matching module, the facility information of the Devices to test for will acquire are matched with the currently the only identification code;
Software detection module, for determining the software function testing result of the Devices to test according to matching result.
8. Bluetooth function detection device according to claim 7, which is characterized in that further include:
Hardware secondary detection module carries out secondary detection for the hardware capability to the Devices to test.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as Bluetooth function detection method as claimed in any one of claims 1 to 6.
10. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing such as Bluetooth function detection method as claimed in any one of claims 1 to 6 when device executes.
CN201811043242.3A 2018-09-07 2018-09-07 Bluetooth function detection method, device, equipment and storage medium Active CN108990035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811043242.3A CN108990035B (en) 2018-09-07 2018-09-07 Bluetooth function detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811043242.3A CN108990035B (en) 2018-09-07 2018-09-07 Bluetooth function detection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108990035A true CN108990035A (en) 2018-12-11
CN108990035B CN108990035B (en) 2021-10-22

Family

ID=64544991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811043242.3A Active CN108990035B (en) 2018-09-07 2018-09-07 Bluetooth function detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108990035B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110441624A (en) * 2019-07-08 2019-11-12 盐城华旭光电技术有限公司 System and method for bluetooth mould group quality test
CN112261635A (en) * 2020-10-21 2021-01-22 上海闻泰信息技术有限公司 Bluetooth test method, device, electronic equipment and computer readable storage medium
CN112564825A (en) * 2020-12-08 2021-03-26 北京华大智宝电子系统有限公司 Method, device, equipment and system for detecting functions of Bluetooth equipment
CN112738577A (en) * 2020-12-23 2021-04-30 海信视像科技股份有限公司 Display device, radio frequency remote control device and connection method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8606262B1 (en) * 2012-02-16 2013-12-10 The Board Room, Inc. Testing or recording system for a mobile telephone
CN104486158A (en) * 2014-12-17 2015-04-01 上海斐讯数据通信技术有限公司 Method and device for testing configuration parameters of router
US20160284185A1 (en) * 2016-06-01 2016-09-29 Global Tracking Communications, Inc. Active bluetooth le tag scanning and tracking for use in vehicle telematics applications
CN106612517A (en) * 2016-11-16 2017-05-03 乐视控股(北京)有限公司 Mobile terminal hardware detection method, device and equipment
CN106656358A (en) * 2016-11-21 2017-05-10 芯海科技(深圳)股份有限公司 Low-power-consumption Bluetooth testing method
CN106850091A (en) * 2017-02-03 2017-06-13 珠海市杰理科技股份有限公司 Bluetooth equipment method of testing and system
CN107133133A (en) * 2017-04-24 2017-09-05 广东乐源数字技术有限公司 A kind of method of the semi-automatic detection of Intelligent bracelet or intelligent watch
CN107517436A (en) * 2017-08-18 2017-12-26 深圳市小瑞科技股份有限公司 A kind of bluetooth equipment test system, device and method
CN108055092A (en) * 2017-12-22 2018-05-18 广东欧珀移动通信有限公司 Bluetooth signal method of adjustment, device, test terminal, system and readable medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8606262B1 (en) * 2012-02-16 2013-12-10 The Board Room, Inc. Testing or recording system for a mobile telephone
CN104486158A (en) * 2014-12-17 2015-04-01 上海斐讯数据通信技术有限公司 Method and device for testing configuration parameters of router
US20160284185A1 (en) * 2016-06-01 2016-09-29 Global Tracking Communications, Inc. Active bluetooth le tag scanning and tracking for use in vehicle telematics applications
CN106612517A (en) * 2016-11-16 2017-05-03 乐视控股(北京)有限公司 Mobile terminal hardware detection method, device and equipment
CN106656358A (en) * 2016-11-21 2017-05-10 芯海科技(深圳)股份有限公司 Low-power-consumption Bluetooth testing method
CN106850091A (en) * 2017-02-03 2017-06-13 珠海市杰理科技股份有限公司 Bluetooth equipment method of testing and system
CN107133133A (en) * 2017-04-24 2017-09-05 广东乐源数字技术有限公司 A kind of method of the semi-automatic detection of Intelligent bracelet or intelligent watch
CN107517436A (en) * 2017-08-18 2017-12-26 深圳市小瑞科技股份有限公司 A kind of bluetooth equipment test system, device and method
CN108055092A (en) * 2017-12-22 2018-05-18 广东欧珀移动通信有限公司 Bluetooth signal method of adjustment, device, test terminal, system and readable medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110441624A (en) * 2019-07-08 2019-11-12 盐城华旭光电技术有限公司 System and method for bluetooth mould group quality test
CN110441624B (en) * 2019-07-08 2022-04-01 深圳市创意者科技有限公司 System and method for testing quality of Bluetooth module
CN112261635A (en) * 2020-10-21 2021-01-22 上海闻泰信息技术有限公司 Bluetooth test method, device, electronic equipment and computer readable storage medium
CN112564825A (en) * 2020-12-08 2021-03-26 北京华大智宝电子系统有限公司 Method, device, equipment and system for detecting functions of Bluetooth equipment
CN112564825B (en) * 2020-12-08 2022-11-04 北京华大智宝电子系统有限公司 Method, device, equipment and system for detecting Bluetooth equipment function
CN112738577A (en) * 2020-12-23 2021-04-30 海信视像科技股份有限公司 Display device, radio frequency remote control device and connection method

Also Published As

Publication number Publication date
CN108990035B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN108990035A (en) Bluetooth function detection method, device, equipment and storage medium
CN110414242A (en) For detecting the method, apparatus, equipment and medium of service logic loophole
CN105072045B (en) A kind of wireless router with Malware network behavior ability of discovery
CN105893227A (en) Data processing method and device
CN105787364A (en) Automated testing method, device and system for task
WO2015118819A1 (en) Navigation-message-authenticating positioning device
CN109446075A (en) Interface testing method and device
CN110031746A (en) Chip testing long-distance monitoring method, device, computer equipment and storage medium
CN106199237A (en) The system of test device antenna
CN105117340B (en) URL detection methods and device for iOS browser application quality evaluations
CN113063454A (en) Detection system and detection method for batch detection of water immersion sensors
CN113838480A (en) Washing machine abnormal sound detection method and device and electronic equipment
CN114124694A (en) Configuration method and configuration device of Internet of things equipment, electronic equipment and medium
CN105471677A (en) Testing system
CN108123935A (en) Circuit board detection method, device, storage medium and terminal
CN112486833B (en) Software testing system and method capable of dynamically reconstructing on demand and oriented to software defined satellite
CN112988489A (en) Method, device, equipment and storage medium for testing radio frequency chip
CN205304831U (en) Testing system
CN113645625A (en) Pseudo base station positioning method and device, electronic equipment and readable medium
CN109309535A (en) AP equipment wireless automatic detection system and method
CN104883735A (en) Accurate position judging method based on mobile internet
CN115086384B (en) Remote control test method, device, equipment and storage medium
CN114518723B (en) Energy consumption monitoring system and method for intelligent building data
CN114244423A (en) Processing method of measurement and control data and multi-satellite measurement and control system
CN110750088B (en) Data detection method and related product

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
TR01 Transfer of patent right

Effective date of registration: 20220314

Address after: 201702 room 104, building 1, No. 599, Gaojing Road, Xujing Town, Qingpu District, Shanghai

Patentee after: SHANGHAI SHUANGWEI NAVIGATION TECHNOLOGY CO.,LTD.

Address before: 201702 floor 3, block C, No. 599, Gaojing Road, Xujing Town, Qingpu District, Shanghai

Patentee before: SHANGHAI HUACE NAVIGATION TECHNOLOGY Ltd.

TR01 Transfer of patent right