CN111866827A - Bluetooth device state detection method and device, electronic device and medium - Google Patents

Bluetooth device state detection method and device, electronic device and medium Download PDF

Info

Publication number
CN111866827A
CN111866827A CN201911414554.5A CN201911414554A CN111866827A CN 111866827 A CN111866827 A CN 111866827A CN 201911414554 A CN201911414554 A CN 201911414554A CN 111866827 A CN111866827 A CN 111866827A
Authority
CN
China
Prior art keywords
state
preset
determining
bluetooth
response
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
CN201911414554.5A
Other languages
Chinese (zh)
Other versions
CN111866827B (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.)
Beijing Qisheng Technology Co Ltd
Original Assignee
Beijing Qisheng 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 Beijing Qisheng Technology Co Ltd filed Critical Beijing Qisheng Technology Co Ltd
Priority to CN201911414554.5A priority Critical patent/CN111866827B/en
Publication of CN111866827A publication Critical patent/CN111866827A/en
Application granted granted Critical
Publication of CN111866827B publication Critical patent/CN111866827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention provides a method, a device, electronic equipment and a medium for detecting the state of Bluetooth equipment, which send a control instruction to the Bluetooth equipment by circulation; circularly receiving each response message returned by the Bluetooth equipment; and determining the state of the Bluetooth equipment according to the response information. In the using process of the Bluetooth device, along with the accumulation of the using time, the response condition of the Bluetooth device also changes, for example, the conditions of response delay or no response occur, and the like, so that the running state of the Bluetooth can be judged according to the response condition of the Bluetooth device by sending a control command to the Bluetooth device in a detection cycle and circularly receiving each response message returned by the Bluetooth device, the detection of the running state change condition of the Bluetooth device is realized, and the efficiency and the accuracy of the detection of the Bluetooth device are improved.

Description

Bluetooth device state detection method and device, electronic device and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting a bluetooth device status, an electronic device, and a medium.
Background
The bluetooth technology is a radio technology supporting short-distance communication of devices, and can perform wireless information exchange between electronic terminal devices including mobile phones, computers, intelligent household appliances and the like. The Bluetooth equipment for communication by using the Bluetooth technology has the advantages of convenience, rapidness, flexibility, safety, low cost, low power consumption and the like.
At present, before the Bluetooth equipment is put into use, the rough working life of the Bluetooth equipment is often required to be determined firstly, so that the quality and cost evaluation of the Bluetooth equipment is facilitated, a corresponding maintenance plan is made, and the normal use of the Bluetooth equipment is ensured. For example, a bluetooth lock used in a shared bicycle needs to know about its approximate operating life in order to perform such tasks as regular maintenance and spare part management.
However, at present, the working life of the bluetooth device generally needs to be judged according to the working state of the bluetooth device, and the running state of the bluetooth device is difficult to obtain in the using process.
Disclosure of Invention
The invention provides a method and a device for detecting the state of a Bluetooth device, an electronic device and a medium, which are used for solving the problem that the detection of the running state change condition of the Bluetooth device cannot be realized.
According to a first aspect of the embodiments of the present disclosure, the present disclosure provides a bluetooth device status detection method, which is applied to an electronic device, where the electronic device communicates with a bluetooth device in a bluetooth manner, and the method includes:
Circularly sending a control instruction to the Bluetooth equipment;
circularly receiving each response message returned by the Bluetooth equipment;
and determining the state of the Bluetooth equipment according to the response information.
Optionally, the control instruction is a first control instruction;
after the loop receiving each response message returned by the bluetooth device, the method further includes:
judging whether the response information of the preset number received in continuous circulation is a preset failure response characteristic value or not;
if the determined values are all preset failure response characteristic values, determining the state of the Bluetooth equipment according to the response information comprises the following steps:
and determining the state of the Bluetooth equipment as a failure state according to the preset number of preset failure response characteristic values received in continuous circulation.
Optionally, after the loop sends the control instruction to the bluetooth device, the method further includes:
acquiring sending time information corresponding to each control instruction;
the determining the state of the bluetooth device according to each piece of response information includes:
and determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information.
Optionally, the control instruction is a first control instruction, and the sending time information is a first sending timestamp;
After the loop receiving each response message returned by the bluetooth device, the method further includes:
judging whether the response information of the preset number received in continuous circulation is a successful response timestamp;
if the successful response time stamps are determined, determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information comprises the following steps:
calculating a first difference value between the first sending time stamps with the preset number and the corresponding successful response time stamps received in continuous circulation;
if the first difference values are smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is a normal state;
and if the first difference value unevenness is smaller than the first preset error threshold value, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, if the first difference unevenness is smaller than the first preset error threshold, determining that the state of the bluetooth device is an abnormal state includes:
if the first difference values are greater than or equal to the first preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state;
and if the number of the first difference values which are greater than or equal to the first preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
Optionally, the control instruction includes: a first control instruction and a second control instruction;
the cycle sends a control instruction to the bluetooth device, including:
and sending each control instruction according to the sequence and the cycle times of the control instruction sent by one cycle.
Optionally, the sending each control instruction according to the sequence and the cycle number of the control instruction sent in one cycle includes:
the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number;
and the time interval between the operations executed in each loop is a second preset sending time interval.
Optionally, after the cyclically receiving the response information returned by the bluetooth device, the method further includes:
judging whether response information received by a preset number of continuous cycles in each cycle comprises preset failure response characteristic values or not;
if the determination includes the preset failure response characteristic value, determining the state of the bluetooth device according to the response information includes:
and determining the state of the Bluetooth equipment as a failure state according to a preset failure response characteristic value included in the response information received by the preset number of continuous cycles in each cycle.
Optionally, after the loop sends the control instruction to the bluetooth device, the method further includes:
acquiring a first preset sending time interval during each cycle sending;
after the loop receiving each response message returned by the bluetooth device, the method further includes:
if it is determined that the response information received in the preset number of continuous cycles in each cycle is a successful response timestamp, determining the state of the bluetooth device according to each response information includes:
calculating a response time interval between a first successful response time stamp and a second successful response time stamp in each cycle received by a preset number of continuous cycles;
and determining the state of the Bluetooth equipment according to a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles.
Optionally, the determining the state of the bluetooth device according to the corresponding first preset sending time interval and the corresponding response time interval in each cycle received by the preset number of consecutive cycles includes:
calculating a second difference value between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles;
If the second difference values are smaller than a second preset error threshold value, determining that the state of the Bluetooth equipment is a normal state;
and if the second difference values are not uniform, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, if the second difference values are not uniform and the second preset error threshold value is determined, determining that the state of the bluetooth device is an abnormal state includes:
if the second difference values are greater than or equal to the second preset error threshold value, determining that the state of the Bluetooth device is an attenuation state;
and if the number of the second difference values which are greater than or equal to the second preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
According to a second aspect of the embodiments of the present disclosure, the present invention provides a bluetooth device status detection apparatus, which is located in an electronic device, and includes:
the circulating sending module is used for circularly sending a control instruction to the Bluetooth equipment;
the circulating receiving module is used for circularly receiving each response message returned by the Bluetooth equipment;
and the state determining module is used for determining the state of the Bluetooth equipment according to each piece of response information.
Optionally, the control instruction is a first control instruction; the device further comprises:
the response information judging module is used for judging whether the response information of the preset number received in continuous circulation is a preset failure response characteristic value or not;
if the preset failure response characteristic values are determined, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to the preset number of preset failure response characteristic values received in continuous circulation.
Optionally, the apparatus further comprises:
a sending time obtaining module, configured to obtain sending time information corresponding to each control instruction;
the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information.
Optionally, the control instruction is a first control instruction, and the sending time information is a first sending timestamp;
a response information determination module for:
judging whether the response information of the preset number received in continuous circulation is a successful response timestamp;
if it is determined that the response time stamps are all successful, the state determination module is specifically configured to, when determining the state of the bluetooth device according to each piece of sending time information and corresponding response information:
Calculating a first difference value between the first sending time stamps with the preset number and the corresponding successful response time stamps received in continuous circulation; if the first difference values are smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the first difference value unevenness is smaller than the first preset error threshold value, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, the state determination module, when determining that the state of the bluetooth device is an abnormal state if the first difference is not uniform and is less than the first preset error threshold, is specifically configured to:
if the first difference values are greater than or equal to the first preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state; and if the number of the first difference values which are greater than or equal to the first preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
Optionally, the control instruction includes: a first control instruction and a second control instruction;
the cyclic sending module is specifically configured to:
and sending each control instruction according to the sequence and the cycle times of the control instruction sent by one cycle.
Optionally, when the loop sending module sends each control instruction according to the sequence and the loop times of the control instruction sent in one loop, the loop sending module is specifically configured to:
the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number;
and the time interval between the operations executed in each loop is a second preset sending time interval.
Optionally, the response information determining module is further configured to:
judging whether response information received by a preset number of continuous cycles in each cycle comprises preset failure response characteristic values or not;
if the predetermined failure response characteristic values are all included, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to a preset failure response characteristic value included in the response information received by the preset number of continuous cycles in each cycle.
Optionally, the sending time obtaining module is further configured to:
acquiring a first preset sending time interval during each cycle sending;
the state determination module is specifically configured to, if it is determined that response information received in a preset number of consecutive cycles in each cycle is a successful response timestamp, determine the state of the bluetooth device according to each piece of the response information:
Calculating a response time interval between a first successful response time stamp and a second successful response time stamp in each cycle received by a preset number of continuous cycles;
and determining the state of the Bluetooth equipment according to a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles.
Optionally, when the state determining module determines the state of the bluetooth device according to a first preset sending time interval corresponding to each cycle received by a preset number of consecutive cycles and a corresponding response time interval, the state determining module is specifically configured to:
calculating a second difference value between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles; if the second difference values are smaller than a second preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the second difference values are not uniform, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, the state determination module is specifically configured to, if the second difference values are not uniform and the second preset error threshold value is determined that the state of the bluetooth device is an abnormal state:
If the second difference values are greater than or equal to the second preset error threshold value, determining that the state of the Bluetooth device is an attenuation state; and if the number of the second difference values which are greater than or equal to the second preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
According to a third aspect of the embodiments of the present disclosure, the present invention provides an electronic apparatus including: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to perform the bluetooth device state detection method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of the embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the bluetooth device status detection method according to any one of the first aspect of the embodiments of the present disclosure.
According to the Bluetooth equipment state detection method, the device, the electronic equipment and the medium, the control instruction is sent to the Bluetooth equipment through circulation; circularly receiving each response message returned by the Bluetooth equipment; and determining the state of the Bluetooth equipment according to the response information. In the using process of the Bluetooth equipment, along with the accumulation of the using time, the response condition of the Bluetooth equipment also changes, for example, the conditions of response delay or no response occur, and the like, so that the running state of the Bluetooth can be judged according to the response condition of the Bluetooth equipment by sending a control command to the Bluetooth equipment and circularly receiving each response message returned by the Bluetooth equipment through detection circulation, the detection of the change condition of the running state is realized, and the detection efficiency and the detection accuracy of the Bluetooth equipment are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1A is an application scenario diagram of a bluetooth device status detection method according to an embodiment of the present invention;
fig. 1B is another application scenario diagram of a bluetooth device status detection method according to an embodiment of the present invention;
fig. 2 is a flowchart of a bluetooth device status detection method according to an embodiment of the present invention;
fig. 3 is a flowchart of a bluetooth device status detection method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bluetooth device according to a second embodiment of the present invention;
fig. 5 is a flowchart of a bluetooth device status detection method according to a third embodiment of the present invention;
fig. 6 is a flowchart of a bluetooth device status detection method according to a fourth embodiment of the present invention;
FIG. 7 is a flowchart of step S407 in the embodiment of FIG. 6;
fig. 8 is a flowchart of a bluetooth device status detection method according to a fifth embodiment of the present invention;
fig. 9 is a flowchart of a bluetooth device status detection method according to a sixth embodiment of the present invention;
fig. 10 is a flowchart of a bluetooth device status detection method according to a seventh embodiment of the present invention;
FIG. 11 is a flowchart of step S705 in the embodiment shown in FIG. 10;
FIG. 12 is a flowchart of step S7053 in the embodiment shown in FIG. 11;
fig. 13 is a signaling interaction flowchart corresponding to the bluetooth device state detection method according to the eighth embodiment of the present invention;
FIG. 14 is a schematic diagram of a main operation interface of an electronic device according to an embodiment of the present invention;
FIG. 15 is a schematic view of a display interface of a connectable device of an electronic device according to an embodiment of the present invention;
FIG. 16 is a diagram illustrating a result display interface of an electronic device in accordance with an embodiment of the present invention;
fig. 17 is a schematic structural diagram of a bluetooth device status detection apparatus according to a ninth embodiment of the present invention;
fig. 18 is a schematic structural diagram of a bluetooth device status detection apparatus according to a tenth embodiment of the present invention;
fig. 19 is a schematic diagram of an electronic device according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The following explains an application scenario of the embodiment of the present invention:
fig. 1A is an application scenario diagram of a bluetooth device status detection method according to an embodiment of the present invention, as shown in fig. 1A, the bluetooth device status detection method according to the embodiment of the present invention is applied to an electronic device, the electronic device is loaded with a bluetooth device status detection apparatus, and the electronic device and the bluetooth device communicate with each other in a bluetooth manner. The bluetooth device may be a bluetooth lock 11 used on the sharing bicycle, and the electronic device may be a desktop testing apparatus 12 capable of communicating with the bluetooth device. In an indoor test environment, after the desktop test instrument 12 establishes Bluetooth connection with a plurality of Bluetooth locks 11, control instructions are sent to the Bluetooth locks in a circulating mode; after receiving and executing the control command, the bluetooth lock 11 loops back the response information, and the desktop testing instrument 12 detects the state of the bluetooth lock 11 according to the response information and sends the detection result to the user terminal device 13 for processing and displaying.
Fig. 1B is another application scenario diagram of the bluetooth device state detection method according to the embodiment of the present invention, as shown in fig. 1B, where the bluetooth device may be a bluetooth lock 21 used on a shared bicycle, the electronic device may be a handheld test instrument 22 capable of communicating with the bluetooth device, or may be a terminal device loaded with an application program corresponding to a bluetooth device state detection apparatus, such as a smart phone, a tablet computer, and the like. In an outdoor test environment, after the handheld test instrument 22 or the terminal equipment establishes Bluetooth connection with the plurality of Bluetooth locks 21, control instructions are sent to the Bluetooth locks 21 in a circulating manner; after receiving and executing the control instruction, the bluetooth lock 21 loops back the response information, and the handheld test instrument 22 or the terminal device detects the state of the bluetooth lock 21 according to the response information, and displays the detection result through a display screen of the handheld test instrument 22 or the terminal device.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a bluetooth device status detection method according to an embodiment of the present invention, which is applied to an electronic device, where the electronic device communicates with a bluetooth device in a bluetooth manner, as shown in fig. 2, the bluetooth device status detection method according to the embodiment includes the following steps:
and step S101, circularly sending a control instruction to the Bluetooth device.
Specifically, after the electronic device and the bluetooth device establish a bluetooth connection, the electronic device can send a control instruction to the bluetooth device to control the bluetooth device. For example, to control the turning on and off of certain functions of the bluetooth device. When the bluetooth devices are different, the control instruction sent to the bluetooth device may also be adjusted accordingly, for example, when the bluetooth device is a bluetooth lock, the control instruction sent by the electronic device may be to open the bluetooth lock or close the bluetooth lock; when the bluetooth device is the bluetooth desk lamp, the control command sent by the electronic device can be to turn up the brightness of the desk lamp or turn down the brightness of the desk lamp. The specific content of the control command is not limited herein.
And step S102, circularly receiving each response message returned by the Bluetooth equipment.
Specifically, after the control instruction is sent to the bluetooth device in a circulating manner, and the bluetooth device receives the control instruction, the control instruction is analyzed according to a preset instruction protocol, and a control action matched with the control instruction is executed in a circulating manner. For example, the bluetooth device is a bluetooth lock, and after receiving the control instruction sent by the electronic device, the bluetooth lock analyzes the control instruction, determines that the control action matched with the control instruction is an unlocking action, executes the unlocking action, and returns response information to the electronic device.
Alternatively, the content of the response information in this embodiment may be various, for example, the time information of the bluetooth device receiving and successfully parsing the control instruction, the time information of the bluetooth device executing the control instruction, the result information of the bluetooth device executing the control instruction, or the like, as long as the information can reflect the operation state of the bluetooth device, and all of them can be used as the response information.
And step S103, determining the state of the Bluetooth device according to the response information.
Since the response information is related to the operation state of the bluetooth device, the state of the bluetooth device can be determined by the response information, for example, the response information includes time information for the bluetooth device to receive and successfully analyze the control command, and the longer the time information is, the more delay the bluetooth device is, the worse the performance is; conversely, the shorter the time information, the more slight the delay of the bluetooth device, and the better the performance. For another example, the response information includes information that the bluetooth device failed to execute the control instruction, and thus, it is determined that there is an abnormality in transmission of the bluetooth device.
Particularly, in steps S101 to S103, in order to increase the reliability of the detection result and reduce the bias caused by other accidental factors such as electromagnetic interference, the electronic device and the bluetooth device implement state detection of the bluetooth device through cyclic communication, that is, the electronic device cyclically sends a control command to the bluetooth device, the bluetooth device cyclically returns various response information, determines the state of the bluetooth device through multiple response information, and reduces the influence of the accidental maximum bias value on the detection result.
In this embodiment, a control instruction is sent to the bluetooth device by cycling; circularly receiving each response message returned by the Bluetooth equipment; and determining the state of the Bluetooth equipment according to the response information. In the use process of the Bluetooth device, along with the accumulation of the use time, the response condition of the Bluetooth device also changes, for example, response delay or no response occurs, so that the running state of the Bluetooth can be judged according to the response condition of the Bluetooth device by sending a control command to the Bluetooth device in a detection cycle and circularly receiving each response message returned by the Bluetooth device, the detection of the service life and the running state change condition of the Bluetooth device is realized, and the detection efficiency and the detection accuracy of the Bluetooth device are improved.
Fig. 3 is a flowchart of a bluetooth device status detection method according to a second embodiment of the present invention, and as shown in fig. 3, on the basis of the bluetooth device status detection method according to the second embodiment shown in fig. 2, a step of determining response information is added after step S102, and S103 is further detailed, then the bluetooth device status detection method according to the second embodiment includes the following steps:
optionally, the control instruction is a first control instruction.
Step S201, circularly sending a first control instruction to the Bluetooth device.
The first control instruction is matched with a specific control action of the Bluetooth device, and the Bluetooth device can execute the control action corresponding to the first control instruction. For example, the first control command is a switch switching control command, the electronic device sends the switch switching control command to the bluetooth device in a cycle, and the bluetooth device executes a switch switching control action in a cycle according to the meeting switching control command.
And step S202, circularly receiving each response message returned by the Bluetooth device.
Step S203, determining whether the response information of the preset number received in the continuous loop is all preset failure response characteristic values.
Fig. 4 is a schematic structural diagram of a bluetooth device according to a second embodiment of the present invention, and as shown in fig. 4, the bluetooth device includes a communication Unit 41 and an MCU (micro controller Unit) 42, where the MCU42 is electrically connected to the communication Unit 41 and can perform data communication with an electronic device through the communication Unit 41.
After receiving the first control instruction, the MCU42 in the bluetooth device controls the bluetooth device to perform a corresponding action according to the first control instruction. When the bluetooth device has a fault, the first control command cannot be executed, and at this time, the MCU42 returns a response message to inform the bluetooth detection apparatus that the first control command sent in this cycle fails to respond, through the communication unit 41, where the response message is a preset failure response characteristic value. The failure response characteristic value may be a predetermined specific character or character string, such as 0, or "fail".
The preset number is an integer threshold preset to limit the number of detections, for example, 10 times, and the user may set the specific preset number according to specific test conditions and test purposes. The preset number can embody the strict degree of detection of the Bluetooth equipment. The larger the preset number is, the larger the sampling sample is, and the larger the probability that the bluetooth device is influenced by the contingency is, the stricter the standard for determining that the bluetooth device is in a certain state is.
And step S204, if the preset failure response characteristic values are determined, determining the state of the Bluetooth equipment as a failure state according to the preset number of the preset failure response characteristic values received in continuous circulation.
When the response information of the preset number received in the continuous circulation is the preset failure response characteristic value, the Bluetooth device is in the failure state in the continuous multiple test circulation, the Bluetooth device can be judged to be in the failure state with high probability, and the certainty of the detection result is increased along with the increase of the preset number; conversely, as the preset number is reduced, the uncertainty of the detection result is increased.
In the step of this embodiment, by determining whether the response information of the preset number received in the continuous loop is the preset failure response characteristic value, the influence on the detection result caused by accidental interference can be reduced, and the accuracy of the detection result is improved.
Alternatively, after determining that the bluetooth device is in the disabled state, the lifetime of the bluetooth device may be determined according to the number of consecutive cycles. For example, after the electronic device circularly sends the first control instruction to the bluetooth device a, the electronic device determines that the state of the bluetooth device is a failure state and determines that the service life of the bluetooth device a executing the first control instruction function is 1000 times when receiving that the 1000 th response information returned by the bluetooth device a is the preset failure response characteristic value, and thereafter, the 1001 st and 1010 th response information are all the preset failure response characteristic values.
In the step of this embodiment, the service life of the bluetooth device executing the first control instruction function is determined by judging the failure state of the bluetooth device, so that the accurate service life of the bluetooth device can be obtained, and the test efficiency and accuracy of the service life of the bluetooth device are improved.
In this embodiment, the implementation manner of step S202 is the same as the implementation manner of step S102 in the embodiment shown in fig. 2 of the present invention, and is not described in detail here.
Fig. 5 is a flowchart of a bluetooth device state detection method according to a third embodiment of the present invention, and as shown in fig. 5, on the basis of the bluetooth device state detection method according to the third embodiment shown in fig. 2, a step of acquiring transmission time information is added after step S101, and S103 is further detailed, so that the bluetooth device state detection method according to the third embodiment includes the following steps:
step S301, circularly sending a control instruction to the Bluetooth device.
Step S302, obtaining the sending time information corresponding to each control command.
Optionally, a timer is disposed in the electronic device, and when the electronic device sends the control instruction, the timer records a sending time of the control instruction.
And step S303, circularly receiving each response message returned by the Bluetooth device.
And step S304, determining the state of the Bluetooth equipment according to each piece of sending time information and the corresponding response information.
Optionally, when the electronic device receives the corresponding response information, the timer records a receiving time when the response information is received. According to the difference value between the sending time and the receiving time, the time used by the electronic equipment and the Bluetooth equipment for one-time communication can be determined, and the signal transceiving capacity of the Bluetooth equipment can be evaluated according to the time. In the method of the embodiment, the electronic device can evaluate the signal transceiving capacity of the Bluetooth device by sending the time information and the corresponding response information, so that the efficiency of detecting the Bluetooth device is improved.
In this embodiment, the implementation manners of step S301 and step S303 are the same as the implementation manners of step S101 to step S102 in the embodiment shown in fig. 2 of the present invention, and are not described again.
Fig. 6 is a flowchart of a bluetooth device status detection method according to a fourth embodiment of the present invention, and as shown in fig. 6, the bluetooth device status detection method according to the present embodiment adds a step of determining response information after step S303 on the basis of the bluetooth device status detection method according to the embodiment shown in fig. 5, and further details S304.
The control instruction is a first control instruction, and the sending time information is a first sending time stamp.
The method for detecting the state of the Bluetooth device provided by the embodiment comprises the following steps:
step S401, circularly sending a first control instruction to the Bluetooth device.
The first control instruction is matched with a specific control action of the Bluetooth device, and the Bluetooth device can execute the control action corresponding to the first control instruction. For example, the first control command is a switch switching control command, the electronic device sends the switch switching control command to the bluetooth device in a cycle, and the bluetooth device executes a switch switching control action in a cycle according to the meeting switching control command. Step S402, a first sending timestamp corresponding to each first control instruction is obtained.
Optionally, when the electronic device sends the first control instruction, the electronic device may count time by using a timer set in the electronic device, and generate a first sending timestamp for recording a time of sending the control instruction.
And step S403, circularly receiving each response message returned by the Bluetooth device.
Step S404, determining whether the preset number of response messages received in continuous loop are successful response timestamps.
The first control command received by the bluetooth device may or may not be successfully executed according to the operation condition of the bluetooth device. When the Bluetooth device successfully analyzes the first control instruction and starts to execute the corresponding action, the MCU of the Bluetooth device records the moment, namely the successful response timestamp, and returns the successful response timestamp to the electronic device through the communication module.
The preset number is an integer threshold preset to limit the number of detections, for example, 10 times, and the user may set the specific preset number according to specific test conditions and test purposes. The preset number can embody the strict degree of detection of the Bluetooth equipment. The larger the preset number is, the larger the sampling sample is, and the larger the probability that the bluetooth device is influenced by the contingency is, the stricter the standard for determining that the bluetooth device is in a certain state is.
Step S405, if the successful response time stamps are determined, calculating a first difference value between a preset number of first sending time stamps received continuously and circularly and the corresponding successful response time stamps.
When the response information of the preset number received in the continuous cycle is successful response time stamps, the control instruction is indicated to be successfully responded by the Bluetooth equipment in the continuous test cycles, the first sending time stamps and the successful response time stamps of the preset number are significant values, and difference operation is carried out on the significant values to obtain a first difference value. The smaller the first difference value is, the shorter the time consumed by the Bluetooth device for executing the control command is, the smaller the delay is, namely, the better the performance of the Bluetooth device is; conversely, the larger the first difference value is, the longer the time consumed by the bluetooth device to execute the control command is, the larger the delay is, i.e. the worse the bluetooth device performance is.
Alternatively, if the non-uniform is the successful response timestamp, it indicates that there is an abnormal response to the control command that has not been successfully responded, and therefore, the status of the bluetooth device is determined to be an abnormal status, wherein the failed status of the bluetooth device also belongs to one of the abnormal statuses.
Step S406, if each of the first difference values is smaller than the first preset error threshold, determining that the state of the bluetooth device is a normal state.
Specifically, the first preset error threshold is related to the performance of the bluetooth device, and may be regarded as a standard value normally used by the bluetooth device. After the electronic equipment sends a first control signal and responds by the Bluetooth equipment, the response signal returned by the Bluetooth equipment is received, and the response signal is smaller than the standard value, so that the delay of the Bluetooth equipment is small, the performance of the Bluetooth equipment is qualified, and the Bluetooth equipment is in a normal state; and the larger the delay of the Bluetooth device is, the more unqualified the performance of the Bluetooth device is. The first preset error threshold is a threshold preset by a user according to a specific test condition, for example, different bluetooth devices and different test environments are correspondingly set with different first preset error thresholds. And judging whether the Bluetooth equipment is in a normal state or not according to the first preset error threshold value. For example, the first preset error threshold is 10ms, the preset number is 10, and if the first difference values in 10 cycles are all less than 10ms, it is determined that the bluetooth state is a normal state.
In step S407, if the first difference unevenness is smaller than the first preset error threshold, it is determined that the state of the bluetooth device is an abnormal state.
Correspondingly, if the first difference is not uniform and is smaller than the first preset error threshold, that is, at least one first difference is larger than or equal to the first preset error threshold, the state of the bluetooth device is determined to be an abnormal state.
Alternatively, as shown in fig. 7, step S407 includes two specific steps S4071 and S4072.
Step S4071, if each first difference is greater than or equal to the first preset error threshold, it is determined that the state of the bluetooth device is an attenuation state.
When the first difference between the first sending timestamp and the corresponding successful response timestamp is greater than or equal to the first preset error threshold in each cycle, it indicates that the response time of the bluetooth device is greater than the preset threshold, that is, although the bluetooth device can normally respond to the control command to perform actions, there is a delay in the communication and processing of the control command, and the bluetooth device is not in an ideal working state but in a state in which the working capacity is attenuated, and the bluetooth device in this state is determined to be in the attenuated state.
Optionally, in order to further determine the state of the bluetooth device, a plurality of first preset error thresholds, such as a first preset error threshold a, a first preset error threshold b, and a first preset error threshold c, may be set, and respectively correspond to different attenuation states, i.e., an attenuation state a, an attenuation state b, and an attenuation state c. The specific size of the first preset error threshold may be set according to specific needs, and is not specifically limited herein.
In the step of this embodiment, by setting a plurality of first preset error thresholds, the bluetooth device can be determined to be in a plurality of different attenuation states, so that the check result of the bluetooth device is refined, and the accuracy of detection of the bluetooth device is improved.
Step S4072, if the number of the first difference values that are greater than or equal to the first preset error threshold is greater than the preset number threshold and is less than the preset number, determining that the state of the bluetooth device is a fluctuation state.
In each cycle, the number of the first difference values of the first sending timestamps and the corresponding successful response timestamps, which are greater than or equal to the first preset error threshold value, is greater than the preset number threshold value and less than the preset number, which indicates that the response time of the bluetooth device is short and unstable, and the bluetooth device is in a fluctuation state. Meanwhile, in order to eliminate the accidental interference situation, the number of the first difference values which are greater than or equal to the first preset error threshold value is defined as the fluctuation times, and only when the fluctuation times are greater than the preset number threshold value and less than the preset number, the Bluetooth device is determined to be in a fluctuation state. For example, the predetermined number is 10, and the number threshold is 5. And if the first time difference which exceeds 5 times and is less than 10 times in 10 cycles is larger than a first preset error threshold value, determining that the Bluetooth device is in a fluctuation state.
Alternatively, in order to further determine the state of the bluetooth device, a plurality of first preset error thresholds, such as a first preset error threshold a, a first preset error threshold b, and a first preset error threshold c, may be set, respectively corresponding to different attenuation states, i.e., a fluctuation state a, a fluctuation state b, and a fluctuation state c. The specific size of the first preset error threshold may be set according to specific needs, and is not specifically limited herein.
In particular, the fluctuating state may represent the consistent and stable performance of the bluetooth device. When the bluetooth device is in a fluctuation state, it indicates that the stability performance of the bluetooth device is poor, which may cause an unstable problem in the communication process of the bluetooth device.
Further, the fluctuating state of the bluetooth device is different from the fading state and the failure state of the bluetooth device, and due to the differences in the quality and the manufacturing process of the electronic components in the bluetooth device, the bluetooth device which is not consumed by use may be completely new and may be in the fluctuating state. Therefore, in the step of this embodiment, the purpose of quality evaluation of the bluetooth device can be achieved by detecting the fluctuation state of the bluetooth device.
In the embodiment, the Bluetooth equipment is detected, and the Bluetooth equipment is determined to be in different running states according to the detection result, so that different detection purposes are realized, and the use flexibility and the application range of the invention are increased.
In this embodiment, the implementation manners of steps S401 to S403 are the same as the implementation manners of step S101 to step S102 in the embodiment shown in fig. 2 of the present invention, and are not described again.
Fig. 8 is a flowchart of a bluetooth device status detection method according to a fifth embodiment of the present invention, and as shown in fig. 8, the bluetooth device status detection method according to the present embodiment adds a step of determining response information after step S102 on the basis of the bluetooth device status detection method according to the embodiment shown in fig. 2, and further details S101.
Optionally, the control instructions include: a first control instruction and a second control instruction. The method for detecting the state of the bluetooth device provided by this embodiment includes the following steps:
and step S501, sending each control instruction according to the sequence and the cycle times of the control instructions sent in one cycle.
Optionally, the first control instruction and the second control instruction respectively correspond to control actions of the bluetooth device for implementing main functions. For example, if the bluetooth device is a bluetooth lock, the first control instruction may be to control the bluetooth lock to be opened; the second control instruction is to control the Bluetooth lock to be closed; for another example, if the bluetooth device is a bluetooth desk lamp, the first control instruction controls the bluetooth desk lamp to increase the brightness, and the second control instruction controls the bluetooth desk lamp to decrease the brightness.
Due to the control actions corresponding to the first control command and the second control command, a complete function cycle is completed on the bluetooth device, generally by combined use. For example, the unlocking control and the locking control of the bluetooth lock constitute a main control link of the bluetooth lock, the main functions of the bluetooth lock can be realized through the unlocking control and the locking control, and if the unlocking control or the locking control is tested, the problem that the test coverage of the main functions is incomplete may occur. Therefore, in the step of this embodiment, each control instruction is sent according to the sequence and the cycle number of the control instructions sent in one cycle, so that the complete function cycle test of the bluetooth device can be realized, and the reliability of the test result of the bluetooth device is improved.
Optionally, a specific implementation method of step S501 includes:
the following operations are performed for each cycle: and sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number.
And the time interval between the operations executed in each loop is a second preset sending time interval.
For example, the first control instruction is an unlocking instruction; the second control instruction is a lock-off instruction. The Bluetooth test equipment sends a locking instruction after sending an unlocking instruction for 3 seconds to the Bluetooth lock, and a test cycle is completed. After waiting 2 seconds, the next test cycle is performed again, i.e. the next test cycle. The Bluetooth test equipment sends an unlocking instruction to the Bluetooth lock, and sends a locking instruction after waiting for 3 seconds until the cycle number reaches the preset cycle number of 1000.
And step S502, circularly receiving each response message returned by the Bluetooth device.
And after receiving the first control instruction and the second control instruction, the Bluetooth device executes a control action corresponding to the first control instruction and a control action corresponding to the second control instruction. And the MCU of the Bluetooth device transmits response information generated after the execution is successful to the electronic device.
Optionally, the response information may include one piece of information that is generated after the MCU processes and can reflect the state of the bluetooth device, or may include two pieces of information that correspond to the first control instruction and the second control instruction, respectively, and can reflect the execution conditions of the first control instruction and the second control instruction. It is not particularly limited and will be described in detail in the following examples.
Step S503, the state of the Bluetooth device is determined according to the response information.
In this embodiment, the implementation manner of step S503 is the same as the implementation manner of step S103 in the embodiment shown in fig. 2 of the present invention, and is not described in detail here.
Fig. 9 is a flowchart of a bluetooth device status detection method according to a sixth embodiment of the present invention, and as shown in fig. 9, on the basis of the bluetooth device status detection method according to the embodiment shown in fig. 8, a step of determining response information is added after step S502, and S503 is further refined, then the bluetooth device status detection method according to the present embodiment includes the following steps:
step S601, the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number; and the time interval between the operations executed in each loop is a second preset sending time interval.
Step S602, circularly receiving each response message returned by the bluetooth device.
Step S603, determining whether the response information received in the preset number of consecutive cycles in each cycle includes a preset failure response characteristic value.
Optionally, the response message may include one message or two messages. When the response information includes two pieces of information, only one of which is the preset failure response characteristic value, it can be considered that the presence control command of the bluetooth device is not successfully executed.
Step S604, if it is determined that the preset failure response characteristic values are included, determining that the state of the bluetooth device is a failure state according to the preset failure response characteristic values included in the response information received in each cycle of the preset number of consecutive cycles.
If the preset number of received response messages in each cycle include the preset failure response characteristic value, it indicates that the problem that the execution of the control instruction fails in the preset number of cycle tests of the bluetooth device exists continuously, and therefore the bluetooth device can be determined to be in a failure state.
Fig. 10 is a flowchart of a bluetooth device status detecting method according to a seventh embodiment of the present invention, and as shown in fig. 10, the bluetooth device status detecting method according to the present embodiment adds a step of determining response information after step S502 on the basis of the bluetooth device status detecting method according to the embodiment shown in fig. 8, and further refines step S503.
As shown in fig. 10, the method for detecting the status of a bluetooth device provided in this embodiment includes the following steps:
step S701, the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number; and the time interval between the operations executed in each loop is a second preset sending time interval.
In step S702, a first preset transmission time interval is obtained for each cyclic transmission.
And step S703, circularly receiving each response message returned by the Bluetooth device.
Step S704, if it is determined that the response information in each cycle received by the preset number of consecutive cycles is a successful response timestamp, calculating a response time interval between the first successful response timestamp and the second successful response timestamp in each cycle received by the preset number of consecutive cycles.
Optionally, in this embodiment, the response information includes two pieces of information, which correspond to the first control instruction and the second control instruction, respectively. In a preset number of continuous cycles, if the response signals in each cycle are successful response timestamps, it is indicated that the first control instruction and the second control instruction are both effectively responded by the Bluetooth device, and the MCU of the Bluetooth device records the timestamps when the first control instruction and the second control instruction are successfully responded, namely the first successful response timestamp and the second successful response timestamp. And returning the first successful response timestamp and the second successful response timestamp to the electronic device. The electronic device calculates a time interval of the first successful response timestamp and the second successful response timestamp as a response time interval of the bluetooth device. For example, in one loop, when a first control instruction is successfully responded, the timestamp is 1100, and when a second control instruction is successfully responded, the timestamp is 3300, then the response time interval is 2200, where 2200 corresponds to 2200 milliseconds.
Optionally, if it is determined that the response information in each cycle received by the preset number of consecutive cycles is not a successful response timestamp, it indicates that there is a control instruction with an unsuccessful response, and thus it is determined that the bluetooth device is in an abnormal state, where the failure state of the bluetooth device also belongs to one of the abnormal states.
Step S705, determining a state of the bluetooth device according to a first preset sending time interval corresponding to each cycle received by a preset number of consecutive cycles and a corresponding response time interval.
Optionally, the first preset sending time interval may also be preset, and the sending time of the first control instruction and the sending time of the second control instruction are controlled according to the first preset sending time interval. In an ideal state, the first preset transmission time interval is close to the response time interval of the corresponding bluetooth device, but as the use duration of the bluetooth device is accumulated and the electronic device is aged, the performance of the bluetooth device is degraded, and the response time interval is increased, and the state of the bluetooth device can be determined according to the relationship between the first preset transmission time interval and the response time interval.
For example, in one cycle, when the first control instruction is transmitted, the timestamp is 1000, and when the second control instruction is transmitted, the timestamp is 3000, the first preset transmission time interval is 2000, where 2000 corresponds to 2000 milliseconds. Taking the response time interval in step S704 as an example, if the corresponding response time interval is 2200 milliseconds, that is, the bluetooth device generates a 200 millisecond delay in responding to the control command.
In the step of this embodiment, the state of the bluetooth device is determined according to the relationship between the first preset sending time interval and the response time interval, and since the first preset sending time interval and the response time interval are both relative duration parameters, a detection error between the electronic device and the bluetooth device caused by non-uniform timing systems can be avoided, and the accuracy and the test efficiency of the test result are improved without timing the electronic device and the bluetooth device by the timing system.
Optionally, as shown in fig. 11, step S705 includes three specific implementation steps of steps S7051, S7052, and S7053:
step S7051, a second difference between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of consecutive cycles is calculated.
And the difference value between the corresponding first preset sending time interval and the corresponding response time interval in each cycle is a second difference value. The second difference, similar to the first difference, is also a predetermined parameter for evaluating bluetooth performance. The smaller the second difference value is, the shorter the time consumed by the bluetooth device to execute the control command is, the smaller the delay is, and the better the performance of the bluetooth device is. And on the contrary, the larger the delay of the Bluetooth device is, the worse the performance of the Bluetooth device is.
Step S7052, if the second difference values are smaller than the second preset error threshold, determining that the state of the bluetooth device is a normal state.
Step S7053, if the second difference unevenness is smaller than the second preset error threshold, determining that the state of the bluetooth device is an abnormal state.
The second predetermined error threshold is related to the performance of the bluetooth device, and can be regarded as a standard value normally used by the bluetooth device. If the second difference values are all smaller than the standard value in multiple cycles, the Bluetooth device is indicated to be in a low-delay state of normal use, namely a normal state; conversely, if the second difference value cannot meet the requirement that the second difference value is less than the standard value in a plurality of cycles, the bluetooth device is not continuously in the low-delay state of normal use, namely the abnormal state.
Further, optionally, as shown in fig. 12, step S7053 includes two specifically implemented steps S70531 and S70532:
step S70531, if the second difference values are greater than or equal to the second preset error threshold, determining that the state of the bluetooth device is an attenuated state.
Step S70532, if the number of the second difference values that are greater than or equal to the second preset error threshold is greater than the preset number threshold and is less than the preset number, determining that the state of the bluetooth device is a fluctuating state.
In this embodiment, the implementation manners of steps S70531 to S70532 are the same as the implementation manners of steps S4071 to S4072 in the embodiment shown in fig. 9 of the present invention, and are not described again.
Fig. 13 is a signaling interaction flowchart corresponding to the bluetooth device status detection method according to the eighth embodiment of the present invention. As shown in fig. 13, the method for detecting the status of the bluetooth device provided by this embodiment includes the following steps:
in step S801, the electronic device receives a bluetooth device status detection request input by a user.
Optionally, the electronic device includes a main operation interface, and the electronic device receives a bluetooth device status detection request input by a user through the main operation interface.
Fig. 14 is a schematic view of a main operation interface of the electronic device in the embodiment of the present invention. As shown in fig. 14, the main operation interface is provided with a device search button p141, a parameter setting area p142, a start test switch p143, a stop test switch p144, and a device list p 145. Fig. 15 is a schematic diagram of a connectable device display interface of an electronic device according to an embodiment of the present invention, and as shown in fig. 15, when a device search button p141 is clicked, a terminal device controls the electronic device to search for a connectable bluetooth device nearby and display a connectable device list p 15. The user may select one or more bluetooth devices from the connectable device list p15 that need to be tested for subsequent status testing.
After the bluetooth device to be detected is determined, the identifier of the bluetooth device to be detected is obtained and displayed in the device list p 145. The parameters to be set in the parameter setting area 142 may include: the number of times of the cycle test, the error threshold value, the preset number and the number threshold value can be set by a user according to specific conditions. Or automatically selecting the matched parameters according to the preset configuration strategy and the identification of the Bluetooth device.
After the setting is completed, the user clicks the start test switch p143 to send a start test instruction to the bluetooth test apparatus, and the bluetooth test apparatus performs state detection on the bluetooth apparatus by using the method shown in any one of the first to seventh embodiments.
The main operation interface further includes a result display interface p16, fig. 16 is a schematic view of the result display interface of the electronic device in the embodiment of the present invention, and as shown in fig. 16, after the state detection is finished, a user can view the test result of one or more bluetooth devices through the result display interface p 16. The result display interface p16 includes the cycle life of a single bluetooth device, or the average life of multiple bluetooth devices, and the variation curve p161 of the first error value or the second error value of a single bluetooth device with the increase of the number of cycles. The user can determine the status of the bluetooth device based on the test result displayed on the result display interface p 16.
Optionally, the electronic device receives a bluetooth device state detection request input by a user through a terminal device, where the terminal device is connected to the electronic device, the terminal device is installed with client software capable of controlling the electronic device and a corresponding main operation interface as shown in fig. 14 to 16, and the user sets and starts the electronic device through the main operation interface.
In step S802, the electronic device performs the following operations for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number; and the time interval between the operations executed in each loop is a second preset sending time interval.
In step S803, the electronic device acquires a first preset transmission time interval at each time of the cyclic transmission.
And step S804, the Bluetooth device analyzes the control instruction and circularly executes the control action matched with the control instruction.
Alternatively, between step S803 and step S804, there is no specific order limitation.
Step S805, the bluetooth device correspondingly and cyclically sends the first successful response timestamp and the first successful response timestamp to the electronic device.
In step S806, the electronic device calculates each response time interval according to the first successful response timestamp and the first successful response timestamp received in a cycle.
In step S807, the electronic device determines a state of the electronic device according to the first preset transmission time intervals and the corresponding response time intervals.
Step S808, if it is determined that the response information in each cycle received by the preset number of consecutive cycles is a successful response timestamp, the electronic device calculates a response time interval between the first successful response timestamp and the second successful response timestamp in each cycle received by the preset number of consecutive cycles.
Step S809, the electronic device calculates a second difference between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of consecutive cycles.
Step S810, if each second difference is smaller than a second preset error threshold, the electronic device determines that the state of the bluetooth device is a normal state.
In step S811, if each second difference is greater than or equal to the second preset error threshold, the electronic device determines that the state of the bluetooth device is an attenuated state.
In step S812, if the number of the second difference values greater than or equal to the second preset error threshold is greater than the preset number threshold and less than the preset number, the electronic device determines that the state of the bluetooth device is a fluctuation state.
In step S813, if the electronic device determines that the response information in each cycle received by the preset number of consecutive cycles is not the successful response timestamp, it determines that the bluetooth device is in an abnormal state.
In step S814, the electronic device outputs the state of the bluetooth device.
Fig. 17 is a schematic structural diagram of a bluetooth device state detection apparatus 8 according to an eighth embodiment of the present invention, and as shown in fig. 17, the bluetooth device state detection apparatus 8 according to the present embodiment includes:
and a cycle sending module 81, configured to send a control instruction to the bluetooth device in a cycle.
And the loop receiving module 82 is used for receiving each piece of response information returned by the Bluetooth device in a loop mode.
And a state determining module 83, configured to determine a state of the bluetooth device according to each response message.
The cycle sending module 81, the cycle receiving module 82 and the state determining module 83 are connected in sequence. The bluetooth device state detection apparatus 8 provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 18 is a schematic structural diagram of a bluetooth device state detection apparatus 9 according to a ninth embodiment of the present invention, and as shown in fig. 18, the bluetooth device state detection apparatus 9 according to the present embodiment further includes, on the basis of the bluetooth device state detection apparatus shown in fig. 17: a sending time acquisition module 91 and a response information judgment module 92.
Optionally, the control instruction is a first control instruction.
And the response information judging module 92 is configured to judge whether the response information of the preset number received in the continuous loop is a preset failure response characteristic value.
If the preset failure response characteristic values are determined, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to the preset number of preset failure response characteristic values received in continuous circulation.
And a sending time obtaining module 91, configured to obtain sending time information corresponding to each control instruction.
The state determining module 83 is specifically configured to:
and determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information.
Optionally, the control instruction is a first control instruction, and the sending time information is a first sending timestamp.
A response information determining module 92, configured to:
and judging whether the response information of the preset number received in continuous circulation is a successful response timestamp.
If it is determined that the time stamps are successful response time stamps, the state determination module is specifically configured to, when determining the state of the bluetooth device according to each piece of sending time information and the corresponding response information:
calculating a first difference value between a preset number of first sending time stamps received in a continuous cycle and corresponding successful response time stamps; if the first difference values are smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the unevenness of the first difference values is smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, the state determining module is specifically configured to, when determining that the state of the bluetooth device is an abnormal state if the unevenness of each first difference is smaller than the first preset error threshold:
if the first difference values are larger than or equal to a first preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state; and if the number of the first difference values which are larger than or equal to the first preset error threshold value is larger than the preset number threshold value and smaller than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
Optionally, the control instructions include: a first control instruction and a second control instruction.
The loop sending module 81 is specifically configured to:
And sending each control instruction according to the sequence and the cycle times of the control instruction sent by one cycle.
Optionally, when each control instruction is sent according to the sequence and the cycle number of the control instruction sent in one cycle, the cycle sending module 81 is specifically configured to:
the following operations are performed for each cycle: and sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number.
And the time interval between the operations executed in each loop is a second preset sending time interval.
Optionally, the response information determining module 92 is further configured to:
and judging whether the response information received by the preset number of continuous cycles in each cycle comprises preset failure response characteristic values.
If the predetermined failure response characteristic values are all included, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to a preset failure response characteristic value included in the response information received by the preset number of continuous cycles in each cycle.
Optionally, the sending time obtaining module 91 is further configured to:
a first preset transmission time interval is obtained for each round-robin transmission.
If it is determined that the response information received in the preset number of consecutive cycles in each cycle is a successful response timestamp, the state determining module 83 is specifically configured to:
and calculating the response time interval between the first successful response time stamp and the second successful response time stamp in each cycle received by the preset number of continuous cycles.
And determining the state of the Bluetooth equipment according to the corresponding first preset sending time interval and the corresponding response time interval in each cycle received by the preset number of continuous cycles.
Optionally, when determining the state of the bluetooth device according to the first preset sending time interval corresponding to each cycle received by the preset number of consecutive cycles and the corresponding response time interval, the state determining module 83 is specifically configured to:
calculating a second difference value between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles; if the second difference values are smaller than a second preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the second difference values are not uniform, determining that the state of the Bluetooth equipment is an abnormal state.
Optionally, the state determining module 83 is specifically configured to, when determining that the state of the bluetooth device is an abnormal state if each second difference is not uniform by a second preset error threshold:
if the second difference values are larger than or equal to a second preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state; and if the number of the second difference values which are larger than or equal to the second preset error threshold value is larger than the preset number threshold value and smaller than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
The cycle sending module 81, the time obtaining module 91, the cycle receiving module 82, the response information judging module 92, and the state determining module 83 are connected in sequence. The bluetooth detection apparatus 9 provided in this embodiment may execute the bluetooth device status detection method provided in any one of the method embodiments shown in fig. 4 to fig. 13, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 19 is a schematic view of an electronic device according to an embodiment of the present invention, and as shown in fig. 19, the electronic device according to the embodiment includes: a memory 1901, a processor 1902, and a computer program.
The computer program is stored in the memory 2201 and configured to be executed by the processor 1902 to implement the bluetooth device status detecting method according to any one of the embodiments corresponding to fig. 2-13.
The memory 1901 and the processor 1902 are connected via a bus 1903.
The relevant description may be understood by referring to the relevant description and effect corresponding to the steps in fig. 2 to fig. 13, and redundant description is not repeated here.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the bluetooth device status detection method provided in any one of the embodiments corresponding to fig. 2 to fig. 13 of the present invention.
The computer readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (24)

1. A Bluetooth device state detection method is applied to an electronic device, wherein the electronic device and the Bluetooth device communicate in a Bluetooth mode, and the method comprises the following steps:
circularly sending a control instruction to the Bluetooth equipment;
circularly receiving each response message returned by the Bluetooth equipment;
and determining the state of the Bluetooth equipment according to the response information.
2. The method of claim 1, wherein the control instruction is a first control instruction;
after the loop receiving each response message returned by the bluetooth device, the method further includes:
judging whether the response information of the preset number received in continuous circulation is a preset failure response characteristic value or not;
if the determined values are all preset failure response characteristic values, determining the state of the Bluetooth equipment according to the response information comprises the following steps:
and determining the state of the Bluetooth equipment as a failure state according to the preset number of preset failure response characteristic values received in continuous circulation.
3. The method of claim 1, wherein after the looping sends the control command to the bluetooth device, further comprising:
acquiring sending time information corresponding to each control instruction;
the determining the state of the bluetooth device according to each piece of response information includes:
and determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information.
4. The method of claim 3, wherein the control instruction is a first control instruction, and the transmission time information is a first transmission time stamp;
After the loop receiving each response message returned by the bluetooth device, the method further includes:
judging whether the response information of the preset number received in continuous circulation is a successful response timestamp;
if the successful response time stamps are determined, determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information comprises the following steps:
calculating a first difference value between the first sending time stamps with the preset number and the corresponding successful response time stamps received in continuous circulation;
if the first difference values are smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is a normal state;
and if the first difference value unevenness is smaller than the first preset error threshold value, determining that the state of the Bluetooth equipment is an abnormal state.
5. The method of claim 4, wherein the determining that the status of the Bluetooth device is abnormal if the first differences are not equal to or smaller than the first predetermined error threshold comprises:
if the first difference values are greater than or equal to the first preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state;
and if the number of the first difference values which are greater than or equal to the first preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
6. The method of claim 1, wherein the control instructions comprise: a first control instruction and a second control instruction;
the cycle sends a control instruction to the bluetooth device, including:
and sending each control instruction according to the sequence and the cycle times of the control instruction sent by one cycle.
7. The method according to claim 6, wherein the sending each control instruction according to the sequence and the cycle number of the control instruction sent in one cycle comprises:
the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number;
and the time interval between the operations executed in each loop is a second preset sending time interval.
8. The method of claim 7, wherein after cyclically receiving the response messages returned by the bluetooth device, further comprising:
judging whether response information received by a preset number of continuous cycles in each cycle comprises preset failure response characteristic values or not;
If the determination includes the preset failure response characteristic value, determining the state of the bluetooth device according to the response information includes:
and determining the state of the Bluetooth equipment as a failure state according to a preset failure response characteristic value included in the response information received by the preset number of continuous cycles in each cycle.
9. The method of claim 7, wherein after the looping sends the control command to the Bluetooth device, further comprising:
acquiring a first preset sending time interval during each cycle sending;
after the loop receiving each response message returned by the bluetooth device, the method further includes:
if it is determined that the response information received in the preset number of continuous cycles in each cycle is a successful response timestamp, determining the state of the bluetooth device according to each response information includes:
calculating a response time interval between a first successful response time stamp and a second successful response time stamp in each cycle received by a preset number of continuous cycles;
and determining the state of the Bluetooth equipment according to a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles.
10. The method of claim 9, wherein determining the status of the bluetooth device according to the corresponding first preset transmission time interval and the corresponding response time interval in each cycle received according to the preset number of consecutive cycles comprises:
calculating a second difference value between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles;
if the second difference values are smaller than a second preset error threshold value, determining that the state of the Bluetooth equipment is a normal state;
and if the second difference values are not uniform, determining that the state of the Bluetooth equipment is an abnormal state.
11. The method of claim 10, wherein determining that the status of the bluetooth device is abnormal if the second differences are not equal to the second predetermined error threshold comprises:
if the second difference values are greater than or equal to the second preset error threshold value, determining that the state of the Bluetooth device is an attenuation state;
and if the number of the second difference values which are greater than or equal to the second preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
12. An apparatus for detecting a status of a bluetooth device, the apparatus being located in an electronic device, the apparatus comprising:
the circulating sending module is used for circularly sending a control instruction to the Bluetooth equipment;
the circulating receiving module is used for circularly receiving each response message returned by the Bluetooth equipment;
and the state determining module is used for determining the state of the Bluetooth equipment according to each piece of response information.
13. The apparatus of claim 12, wherein the control instruction is a first control instruction; the device further comprises:
the response information judging module is used for judging whether the response information of the preset number received in continuous circulation is a preset failure response characteristic value or not;
if the preset failure response characteristic values are determined, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to the preset number of preset failure response characteristic values received in continuous circulation.
14. The apparatus of claim 12, further comprising:
a sending time obtaining module, configured to obtain sending time information corresponding to each control instruction;
the state determination module is specifically configured to:
And determining the state of the Bluetooth equipment according to the sending time information and the corresponding response information.
15. The apparatus of claim 14, wherein the control instruction is a first control instruction, and the transmission time information is a first transmission time stamp;
a response information determination module for:
judging whether the response information of the preset number received in continuous circulation is a successful response timestamp;
if it is determined that the response time stamps are all successful, the state determination module is specifically configured to, when determining the state of the bluetooth device according to each piece of sending time information and corresponding response information:
calculating a first difference value between the first sending time stamps with the preset number and the corresponding successful response time stamps received in continuous circulation; if the first difference values are smaller than a first preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the first difference value unevenness is smaller than the first preset error threshold value, determining that the state of the Bluetooth equipment is an abnormal state.
16. The apparatus of claim 15, wherein the state determination module, when determining that the state of the bluetooth device is an abnormal state if the first difference values are not uniform and smaller than the first preset error threshold, is specifically configured to:
If the first difference values are greater than or equal to the first preset error threshold value, determining that the state of the Bluetooth equipment is an attenuation state; and if the number of the first difference values which are greater than or equal to the first preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
17. The apparatus of claim 12, wherein the control instructions comprise: a first control instruction and a second control instruction;
the cyclic sending module is specifically configured to:
and sending each control instruction according to the sequence and the cycle times of the control instruction sent by one cycle.
18. The apparatus according to claim 17, wherein the loop sending module, when sending each control instruction according to the order and the number of loops of sending the control instruction in one loop, is specifically configured to:
the following operations are performed for each cycle: sending a first control instruction, and sending a second control instruction at a first preset sending time interval after the first control instruction is sent until the cycle number reaches a preset cycle number;
and the time interval between the operations executed in each loop is a second preset sending time interval.
19. The apparatus of claim 18, wherein the response information determining module is further configured to:
judging whether response information received by a preset number of continuous cycles in each cycle comprises preset failure response characteristic values or not;
if the predetermined failure response characteristic values are all included, the state determination module is specifically configured to:
and determining the state of the Bluetooth equipment as a failure state according to a preset failure response characteristic value included in the response information received by the preset number of continuous cycles in each cycle.
20. The apparatus of claim 18, wherein the transmission time acquisition module is further configured to:
acquiring a first preset sending time interval during each cycle sending;
the state determination module is specifically configured to, if it is determined that response information received in a preset number of consecutive cycles in each cycle is a successful response timestamp, determine the state of the bluetooth device according to each piece of the response information:
calculating a response time interval between a first successful response time stamp and a second successful response time stamp in each cycle received by a preset number of continuous cycles;
and determining the state of the Bluetooth equipment according to a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles.
21. The apparatus according to claim 20, wherein the state determining module, when determining the state of the bluetooth device according to a first preset sending time interval corresponding to each cycle received by a preset number of consecutive cycles and a corresponding response time interval, is specifically configured to:
calculating a second difference value between a corresponding first preset sending time interval and a corresponding response time interval in each cycle received by the preset number of continuous cycles; if the second difference values are smaller than a second preset error threshold value, determining that the state of the Bluetooth equipment is a normal state; and if the second difference values are not uniform, determining that the state of the Bluetooth equipment is an abnormal state.
22. The apparatus of claim 21, wherein the state determination module, when determining that the state of the bluetooth device is an abnormal state if the second difference values are not equal to the second preset error threshold, is specifically configured to:
if the second difference values are greater than or equal to the second preset error threshold value, determining that the state of the Bluetooth device is an attenuation state; and if the number of the second difference values which are greater than or equal to the second preset error threshold value is greater than a preset number threshold value and less than the preset number, determining that the state of the Bluetooth equipment is a fluctuation state.
23. An electronic device, comprising: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-11.
24. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-11.
CN201911414554.5A 2019-12-31 2019-12-31 Bluetooth equipment state detection method and device, electronic equipment and medium Active CN111866827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911414554.5A CN111866827B (en) 2019-12-31 2019-12-31 Bluetooth equipment state detection method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911414554.5A CN111866827B (en) 2019-12-31 2019-12-31 Bluetooth equipment state detection method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111866827A true CN111866827A (en) 2020-10-30
CN111866827B CN111866827B (en) 2024-04-12

Family

ID=72970907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911414554.5A Active CN111866827B (en) 2019-12-31 2019-12-31 Bluetooth equipment state detection method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111866827B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742409A (en) * 2017-11-02 2018-02-27 浙江润华机电有限公司 Multichannel formula blue Tooth remote controller and method for electric capstan
CN113650569A (en) * 2021-07-29 2021-11-16 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6876643B1 (en) * 2000-08-08 2005-04-05 International Business Machines Corporation Clustering in wireless ad hoc networks
WO2008001272A2 (en) * 2006-06-27 2008-01-03 Nxp B.V. Scheduled coexistence
US20080189350A1 (en) * 2007-02-06 2008-08-07 Vasa Prakash Devices, systems, and methods for providing data
CN102802091A (en) * 2011-05-24 2012-11-28 北京联拓恒芯科技发展有限公司 Methods, system and equipment for transmitting and processing broadcast information
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment
US20150249589A1 (en) * 2012-08-29 2015-09-03 NSFOCUS Information Technology Co., Ltd. Method and apparatus for determining automatic scanning action
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105430605A (en) * 2015-12-10 2016-03-23 飞天诚信科技股份有限公司 Bluetooth master and slave devices and method for establishing safety channel between same
CN105491225A (en) * 2015-11-23 2016-04-13 联想(北京)有限公司 Control method and electronic apparatus
WO2016192205A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and device for determining state of network equipment
CN106559738A (en) * 2015-09-30 2017-04-05 苹果公司 The short-distance wireless packet of the sensitive application of prioritization time
CN107613349A (en) * 2017-09-06 2018-01-19 深圳创维数字技术有限公司 A kind of control method of playback terminal, control terminal and computer-readable medium
CN110148293A (en) * 2019-06-06 2019-08-20 Oppo广东移动通信有限公司 Meter reading abnormality eliminating method and device, system, storage medium and electronic equipment
CN110167183A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Data transmission method, communication device and storage medium
US20190278650A1 (en) * 2018-03-06 2019-09-12 International Business Machines Corporation Symmetric Connectivity Over SCSI Where the Initiator and Target are Symmetric
CN110321287A (en) * 2019-06-20 2019-10-11 北京奇艺世纪科技有限公司 A kind of detection method of server capability, device and electronic equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6876643B1 (en) * 2000-08-08 2005-04-05 International Business Machines Corporation Clustering in wireless ad hoc networks
WO2008001272A2 (en) * 2006-06-27 2008-01-03 Nxp B.V. Scheduled coexistence
US20080189350A1 (en) * 2007-02-06 2008-08-07 Vasa Prakash Devices, systems, and methods for providing data
CN102802091A (en) * 2011-05-24 2012-11-28 北京联拓恒芯科技发展有限公司 Methods, system and equipment for transmitting and processing broadcast information
US20150249589A1 (en) * 2012-08-29 2015-09-03 NSFOCUS Information Technology Co., Ltd. Method and apparatus for determining automatic scanning action
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment
WO2016192205A1 (en) * 2015-06-01 2016-12-08 中兴通讯股份有限公司 Method and device for determining state of network equipment
CN106559738A (en) * 2015-09-30 2017-04-05 苹果公司 The short-distance wireless packet of the sensitive application of prioritization time
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105491225A (en) * 2015-11-23 2016-04-13 联想(北京)有限公司 Control method and electronic apparatus
CN105430605A (en) * 2015-12-10 2016-03-23 飞天诚信科技股份有限公司 Bluetooth master and slave devices and method for establishing safety channel between same
CN107613349A (en) * 2017-09-06 2018-01-19 深圳创维数字技术有限公司 A kind of control method of playback terminal, control terminal and computer-readable medium
CN110167183A (en) * 2018-02-13 2019-08-23 华为技术有限公司 Data transmission method, communication device and storage medium
US20190278650A1 (en) * 2018-03-06 2019-09-12 International Business Machines Corporation Symmetric Connectivity Over SCSI Where the Initiator and Target are Symmetric
CN110148293A (en) * 2019-06-06 2019-08-20 Oppo广东移动通信有限公司 Meter reading abnormality eliminating method and device, system, storage medium and electronic equipment
CN110321287A (en) * 2019-06-20 2019-10-11 北京奇艺世纪科技有限公司 A kind of detection method of server capability, device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田宁;: "基于参数优化改善cdma2000 1x Ev-Do网络RSSI问题研究", 电信科学, no. 09, 20 September 2013 (2013-09-20) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742409A (en) * 2017-11-02 2018-02-27 浙江润华机电有限公司 Multichannel formula blue Tooth remote controller and method for electric capstan
CN107742409B (en) * 2017-11-02 2024-01-02 浙江润华机电有限公司 Multi-channel Bluetooth remote controller and method for electric winch
CN113650569A (en) * 2021-07-29 2021-11-16 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium
CN113650569B (en) * 2021-07-29 2022-10-11 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium

Also Published As

Publication number Publication date
CN111866827B (en) 2024-04-12

Similar Documents

Publication Publication Date Title
CN108377577B (en) Method and device for recovering downlink radio link failure
US8055195B2 (en) Cellular radio communicator and method for configuring the same
CN103838155A (en) Family security control method, family server and security control system
US11844051B2 (en) Resource pool configuration method, resource pool using method, configuration device, and terminal
CN111866827A (en) Bluetooth device state detection method and device, electronic device and medium
CN104025481A (en) Wireless communication apparatus and wireless communication system
CN111107572A (en) Redundancy backup method and device
CN105223949A (en) Electric equipment and communication failure diagnostic method thereof and device
CN110719359A (en) Terminal performance test method and system
CN103888983A (en) WIFI work mode automatic switching method and system of terminal
US20070050496A1 (en) Ad-hoc network, a network device and a method of configuration management therefor
US8543104B2 (en) Radio device, state detection method and system
US20150244603A1 (en) Determining method and system
KR20190078677A (en) Remote meter reading system, remote meter reading device and remote meter reading method
CN106304241B (en) Data transmission method, repeater and gateway
CN106937319B (en) Antenna fault self-checking method of wireless equipment
CN111465071B (en) Method and terminal for recovering beam failure
CN114363220A (en) Equipment anomaly monitoring method and equipment
CN107580017B (en) Batch power-saving management method and access equipment
CN109391544B (en) Automatic restarting method and circuit for dead halt of 2G/3G/4G router
CN103346832B (en) A kind of detection method of Fiber connection state and device
CN111343700A (en) Wireless sensor network communication method
CN109076342A (en) The frequency range authentication method and device and calculating equipment of wireless device
CN113630153B (en) Backup control method, equipment, system and storage medium for 5G base station
EP4083645A1 (en) Provisioning device and method, for diagnosing state of battery and assigning id

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