CN115460573A - Bluetooth device fault detection method, storage medium and terminal device - Google Patents

Bluetooth device fault detection method, storage medium and terminal device Download PDF

Info

Publication number
CN115460573A
CN115460573A CN202210872706.1A CN202210872706A CN115460573A CN 115460573 A CN115460573 A CN 115460573A CN 202210872706 A CN202210872706 A CN 202210872706A CN 115460573 A CN115460573 A CN 115460573A
Authority
CN
China
Prior art keywords
fault
bluetooth
determining
indication
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210872706.1A
Other languages
Chinese (zh)
Inventor
张少帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210872706.1A priority Critical patent/CN115460573A/en
Publication of CN115460573A publication Critical patent/CN115460573A/en
Pending legal-status Critical Current

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
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a method for detecting faults of Bluetooth equipment, a storage medium and terminal equipment, and relates to the technical field of intelligent home, wherein the method comprises the following steps: when the connection state of the Bluetooth equipment is detected to be in a failure state, a fault detection operation is triggered, the fault type is determined according to the strength of the received signal strength indication obtained by the fault detection operation and the connection state of the Bluetooth event broadcast signal, finally, the fault indication is determined according to the fault type, and the fault indication is displayed on a fault detection interface. By adopting the technical scheme, when the Bluetooth equipment has simple faults, the user can simply check the Bluetooth equipment according to the fault prompt of the Bluetooth equipment, so that the fault can be solved without repeated offline repair, and the purpose of saving the time of the user can be realized.

Description

Bluetooth device fault detection method, storage medium and terminal device
Technical Field
The application relates to the technical field of smart home, in particular to a Bluetooth device fault detection method, a storage medium and a terminal device.
Background
With the continuous update and improvement of the bluetooth low energy technology, more and more internet of things systems begin to incorporate the bluetooth low energy technology into the technical consideration of wireless network transmission, and with the increasing role of the bluetooth low energy equipment in the home internet systems, the use experience of the bluetooth low energy equipment products directly affects the after-sale evaluation and brand public praise of users.
However, the failure rate and the failure processing of the bluetooth low energy device are generally performed by a user online for maintenance, but currently, the bad experience of most bluetooth devices focuses on subsequent operation failure caused by unclear bluetooth signal strength.
Therefore, there is a need for a method for detecting a bluetooth device failure, which enables a user to perform simple inspection according to a failure prompt of the bluetooth device when the bluetooth device has a simple failure, and further does not need to repeatedly repair the bluetooth device off line, so as to achieve the purposes of resolving the failure and saving the user time.
Disclosure of Invention
The application provides a method for detecting faults of Bluetooth equipment, a storage medium and a terminal device, which can enable a user to simply check the faults of the Bluetooth equipment according to fault prompts of the Bluetooth equipment when the Bluetooth equipment has the simple faults, further avoid repeated offline repair, and achieve the purposes of solving the faults and saving the time of the user.
In a first aspect, the present application provides a method for detecting a bluetooth device failure, including:
when detecting that the connection state of the Bluetooth equipment is in a failure state, triggering fault detection operation; wherein the fault detection operation is to detect a received signal strength indication and a Bluetooth event broadcast signal;
determining a fault type according to the strength of the received signal strength indication and the connection state of the Bluetooth event broadcast signal;
and determining a fault indication according to the fault type, and displaying the fault indication to a fault detection interface.
In one example, the determining the fault type according to the strength of the received signal strength indication and the connection state of the bluetooth event broadcast signal includes:
if the value of the strength indicated by the received signal strength is zero, determining a fault type according to the connection state of the Bluetooth event broadcast signal;
and if the numerical value of the intensity of the received signal intensity indication is a non-zero value, determining a comparison result of the numerical value of the intensity of the received signal intensity indication and a critical value, and determining a fault type according to the comparison result and the connection state of the Bluetooth event broadcast signal.
In one example, if the value of the strength of the received signal strength indication is zero, determining the fault type according to the connection state of the bluetooth event broadcast signal includes:
if the connection state of the Bluetooth event broadcast signal is a monitoring-capable state, determining that the fault type is a Bluetooth protocol layer fault;
and if the connection state of the Bluetooth event broadcast signal is a non-monitoring state, determining that the fault type is the Bluetooth equipment battery fault or the Bluetooth equipment Bluetooth function fault.
In one example, determining the type of the fault according to the comparison result and the connection state of the bluetooth event broadcast signal includes:
if the comparison result is not greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is a Bluetooth protocol layer fault;
and if the comparison result is that the comparison result is greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is the logic fault of the control layer of the Bluetooth equipment.
In one example, if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type includes:
and if the fault type is the Bluetooth protocol layer fault, determining that the fault indication is environmental interference, the received signal strength indication, the Bluetooth equipment power setting error or the distance between the Bluetooth equipment and the terminal equipment exceeds a preset distance.
In one example, if the fault type is the battery fault of the bluetooth device or the bluetooth function fault of the bluetooth device, determining a fault indication according to the fault type includes:
if the fault type is the battery fault of the Bluetooth equipment, determining that the fault indication is the replacement of the battery of the Bluetooth equipment;
and if the fault type is the Bluetooth function fault of the Bluetooth equipment, determining that the fault indication is the detection of the Bluetooth function of the Bluetooth equipment.
In one example, if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type includes:
and if the fault type is the Bluetooth protocol layer fault, determining that the fault indication is the Bluetooth equipment power setting error, the distance between the Bluetooth equipment and the terminal equipment exceeds a preset distance, the protocol error used by the Bluetooth equipment or the parameter setting error used by the Bluetooth equipment.
In one example, if the fault type is a logical fault of the control layer of the bluetooth device, determining a fault indication according to the fault type includes:
and if the fault type is the logic fault of the control layer of the Bluetooth equipment, determining that a fault indication is the authentication error of the Bluetooth equipment or the operation error of the Bluetooth equipment.
In one example, the method comprises:
and determining a fault removing operation according to the fault indication.
In a second aspect, the present application provides an apparatus for detecting bluetooth device failure, the apparatus comprising:
the trigger unit is used for triggering fault detection operation when detecting that the connection state of the Bluetooth equipment is in a failure state; wherein the fault detection operation is to detect a received signal strength indication and a bluetooth event broadcast signal;
a first determining unit for determining a fault type according to the intensity of the received signal intensity indication and the connection state of the bluetooth event broadcast signal;
and the second determining unit is used for determining a fault indication according to the fault type and displaying the fault indication to a fault detection interface.
In one example, the first determining unit includes:
a first determining module, configured to determine a fault type according to a connection state of the bluetooth event broadcast signal if a value of the strength indicated by the received signal strength is a zero value;
and the second determining module is used for determining a comparison result of the strength value of the received signal strength indication and a critical value if the strength value of the received signal strength indication is a non-zero value, and determining the fault type according to the comparison result and the connection state of the Bluetooth event broadcast signal.
In one example, a first determining module includes:
the first determining submodule is used for determining that the fault type is a Bluetooth protocol layer fault if the connection state of the Bluetooth event broadcast signal is a monitoring-capable state;
and the second determining submodule is used for determining that the fault type is the battery fault of the Bluetooth equipment or the Bluetooth function fault of the Bluetooth equipment if the connection state of the Bluetooth event broadcast signal is a non-monitoring state.
In one example, the second determining module includes:
a third determining submodule, configured to determine that the fault type is a bluetooth protocol layer fault if the comparison result is that the comparison result is not greater than the threshold value and the connection state of the bluetooth event broadcast signal is a monitoring-enabled state;
and a fourth determining submodule, configured to determine that the fault type is the logical fault of the bluetooth device control layer if the comparison result is that the comparison result is greater than the critical value and the connection state of the bluetooth event broadcast signal is a monitoring-capable state.
In one example, if the failure type is a bluetooth protocol layer failure, the second determining unit includes:
and a third determining module, configured to determine, if the fault type is the bluetooth protocol layer fault, that the fault indication is an environmental interference, the received signal strength indication, the bluetooth device power setting error, or the distance between the bluetooth device and the terminal device exceeds a preset distance.
In one example, if the failure type is the battery failure of the bluetooth device or the bluetooth function failure of the bluetooth device, the second determining unit includes:
the fourth determining module is used for determining that the fault indication is the replacement of the battery of the Bluetooth equipment if the fault type is the battery fault of the Bluetooth equipment;
and a fifth determining module, configured to determine that the fault indication is to detect a bluetooth function of the bluetooth device if the fault type is the bluetooth function fault of the bluetooth device.
In one example, if the failure type is a bluetooth protocol layer failure, the second determining unit includes:
a sixth determining module, configured to determine that the fault indication is the power setting error of the bluetooth device, that the distance between the bluetooth device and the terminal device exceeds a preset distance, that a protocol used by the bluetooth device is an error, or that a parameter used by the bluetooth device is an error if the fault type is the bluetooth protocol layer fault.
In an example, if the failure type is a logical failure of the bluetooth device control layer, the second determining unit includes:
a seventh determining module, configured to determine that the failure indication is the bluetooth device authentication error or the bluetooth device operation error if the failure type is the bluetooth device control layer logic failure.
In one example, the apparatus comprises:
and a third determination unit configured to determine a failure release operation according to the failure indication.
In a third aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect when executed by a processor.
In a fourth aspect, the present application provides a terminal device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the method according to the first aspect.
According to the method for detecting the Bluetooth equipment fault, the storage medium and the terminal equipment, when the connection state of the Bluetooth equipment is detected to be in the failure state, the fault detection operation is triggered, the fault type is determined according to the intensity of the received signal intensity indication and the connection state of the Bluetooth event broadcast signal, which are obtained through the fault detection operation, and finally the fault indication is determined according to the fault type and is displayed on a fault detection interface. By adopting the technical scheme, when the Bluetooth equipment has simple faults, the user can simply check the Bluetooth equipment according to the fault prompt of the Bluetooth equipment, so that the fault can be solved without repeated offline repair, and the purpose of saving the time of the user can be realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a method for detecting a bluetooth device failure according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for detecting a bluetooth device failure according to a second embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus for detecting a bluetooth device failure according to a third embodiment of the present application;
fig. 4 is a schematic diagram of an apparatus for detecting a bluetooth device failure according to a fourth embodiment of the present application;
fig. 5 is a block diagram illustrating a terminal device according to an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart illustrating a method for detecting a bluetooth device failure according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, when detecting that the connection state of the Bluetooth equipment is in a failure state, triggering fault detection operation; wherein the fault detection operation is to detect a received signal strength indication and a Bluetooth event broadcast signal.
In one example, the connection status of the bluetooth device is detected by the terminal device, and if the connection status of the bluetooth device is detected to be in a successful status, the device function of the bluetooth device is executed, for example, if the bluetooth device is a bluetooth headset, the bluetooth headset can play audio data information in the terminal device if the connection status of the bluetooth device is detected to be in a successful status.
In this embodiment, if it is detected that the connection state of the bluetooth device is in the failure state, the failure detection needs to be performed on the bluetooth device, a failure detection operation is triggered, and a failure detection interface is called.
In this embodiment, the received signal strength indication is a positioning technique for determining the link quality and whether to increase the broadcast transmission strength, and further, the received signal strength indication determines the distance between the bluetooth device and the terminal device according to the received signal strength, so as to perform positioning calculation according to the distance.
A bluetooth event broadcast is a unidirectional, connectionless data communication signal transmitted by a bluetooth device and scanned and received by a terminal device.
S102, determining the fault type according to the strength of the received signal strength indication and the connection state of the Bluetooth event broadcast signal.
In this embodiment, the strength of the received signal strength indication and the connection state of the bluetooth event broadcast signal jointly determine the type of the fault, and generally, the received signal strength indication may be preferentially detected, and after the result of the received signal strength indication is determined, the connection state of the bluetooth event broadcast signal is detected. The determined type of failure will vary depending on the strength of the received signal strength indication and depending on the connection status of the bluetooth event broadcast signal.
S103, determining a fault indication according to the fault type, and displaying the fault indication to a fault detection interface.
In this embodiment, the fault indications determined by the different fault types are also different, the fault indications may include text prompts, picture displays, video displays, or voice prompts, and if the fault indications include text prompts, picture displays, and video displays, the fault indications may be presented on the fault detection interface.
According to the method for detecting the Bluetooth equipment fault, when the connection state of the Bluetooth equipment is detected to be in the failure state, the fault detection operation is triggered, the fault type is determined according to the strength of the received signal strength indication and the connection state of the Bluetooth event broadcast signal, which are obtained through the fault detection operation, and finally, the fault indication is determined according to the fault type and is displayed on a fault detection interface. By adopting the technical scheme, when the Bluetooth equipment has simple faults, the user can simply check the Bluetooth equipment according to the fault prompt of the Bluetooth equipment, so that the fault can be solved without repeated offline repair, and the purpose of saving the time of the user can be realized.
Fig. 2 is a schematic flowchart of a method for detecting a bluetooth device fault according to the second embodiment of the present application. The second embodiment comprises the following steps:
s201, when detecting that the connection state of the Bluetooth equipment is in a failure state, triggering fault detection operation; wherein the fault detection operation is for detecting the received signal strength indication and the bluetooth event broadcast signal.
For example, this step may refer to step S101 described above, and is not described again.
S202, if the strength value indicated by the received signal strength is zero, determining the fault type according to the connection state of the Bluetooth event broadcast signal.
In this embodiment, if the value of the strength of the received signal strength indication is zero, which indicates that there is no received signal strength indication, the connection state of the bluetooth event broadcast signal is further determined, and in this case, the fault type is mainly determined according to the specific condition of the connection state of the bluetooth event broadcast signal.
In one example, if the value of the strength of the received signal strength indication is zero, determining the fault type according to the connection status of the bluetooth event broadcast signal includes:
if the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is a Bluetooth protocol layer fault; and if the connection state of the Bluetooth event broadcast signal is a non-monitoring state, determining that the fault type is a Bluetooth equipment battery fault or a Bluetooth function fault of the Bluetooth equipment.
In one example, the difference of the failure types can be determined by whether the connection state of the bluetooth event broadcast signal is a snoopable state or a non-snoopable state, wherein in the snoopable state, the failure type is a bluetooth protocol layer failure. In the non-monitoring state, the fault type is a battery fault of the bluetooth device or a bluetooth function fault of the bluetooth device, wherein the battery fault of the bluetooth device is a battery damage or an unstable connected power supply, and the bluetooth function fault of the bluetooth device may be a bluetooth function damage, a bluetooth function disable or a bluetooth function shutdown.
S203, if the value of the intensity indicated by the received signal intensity is a non-zero value, determining a comparison result of the value of the intensity indicated by the received signal intensity and a critical value, and determining the fault type according to the comparison result and the connection state of the Bluetooth event broadcast signal.
In this embodiment, when there is a received signal strength indication, the value of the strength of the received signal strength indication is compared with the threshold value to obtain a comparison result, and the fault type is determined according to the comparison result and the connection state of the bluetooth event broadcast signal.
In one example, determining the fault type based on the comparison and the connection status of the bluetooth event broadcast signal includes:
if the comparison result is not greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is a Bluetooth protocol layer fault;
and if the comparison result is that the comparison result is greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is the logic fault of the control layer of the Bluetooth equipment.
In this embodiment, if the connection status of the bluetooth event broadcast signal is a monitoring status, the fault type is determined according to the relationship between the comparison result and the threshold value. If the comparison result is not greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is a Bluetooth protocol layer fault; and if the comparison result is that the connection state of the Bluetooth event broadcast signal is greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is the logic fault of the control layer of the Bluetooth equipment.
And S204, determining a fault indication according to the fault type, and displaying the fault indication to a fault detection interface.
In one example, if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type includes:
and if the fault type is a Bluetooth protocol layer fault, determining that the fault indication is a signal intensity indication received by environmental interference, a power setting error of the Bluetooth equipment or the distance between the Bluetooth equipment and the terminal equipment exceeds a preset distance.
In this embodiment, the environmental interference may be that other peripheral terminal devices are also connected to the bluetooth device, and then the current bluetooth device is connected by mistake, or that the bluetooth device cannot work normally due to a power setting error of the bluetooth device. Further, since the connection between the bluetooth device and the terminal device needs to be within the preset distance, if the preset distance is exceeded, the terminal device cannot be connected to the bluetooth device. The above situations are all bluetooth protocol layer failures.
In one example, if the fault type is a bluetooth device battery fault or a bluetooth device bluetooth function fault, determining a fault indication according to the fault type includes:
if the fault type is a Bluetooth equipment battery fault, determining that the fault indication is the replacement of the Bluetooth equipment battery;
and if the fault type is the Bluetooth function fault of the Bluetooth equipment, determining that the fault indication is the Bluetooth function of the Bluetooth equipment.
In this embodiment, if the failure type is battery failure of the bluetooth device, the failure indication may be power replacement or battery replacement, or other devices that can provide power.
In this embodiment, if the failure type is a bluetooth function failure of the bluetooth device, it may be detected whether the bluetooth function is turned on.
In one example, if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type includes:
if the fault type is a Bluetooth protocol layer fault, determining that the fault indication is a Bluetooth device power setting error, the distance between the Bluetooth device and the terminal device exceeds a preset distance, a protocol error used by the Bluetooth device or a parameter setting error used by the Bluetooth device.
In this embodiment, the protocol used by the bluetooth device should be the same as the protocol used by the terminal device, and if the protocols are different, a connection error may be caused, further, a parameter used by the bluetooth device may be configured incorrectly, and the type of the failure in the above case is also a bluetooth protocol layer failure.
In one example, if the fault type is a logical fault of a control layer of the bluetooth device, determining a fault indication according to the fault type includes:
and if the fault type is the logical fault of the control layer of the Bluetooth equipment, determining that the fault indication is the authentication error of the Bluetooth equipment or the operation error of the Bluetooth equipment.
In this embodiment, the bluetooth device authentication may include: BQB authentication (Bluetooth quality Body), if the authentication is wrong, it will cause the logical failure of the Bluetooth device control layer. Further, the operation error of the bluetooth device may be that the bluetooth device is water or the bluetooth device is used for a long time.
And S205, determining a fault removing operation according to the fault indication.
In this embodiment, if the fault indication indicates that the distance between the bluetooth device and the terminal device exceeds the preset distance, the fault removing operation may be to prompt an attempt to shorten the distance between the terminal device and the bluetooth device, and if the fault indication is not improved, artificial intelligence guidance or artificial technical support is recommended according to the situation.
And if the fault indication is that the parameter configuration used by the Bluetooth equipment is wrong, reconfiguring the relevant parameters of the security key.
And if the fault indication is that the Bluetooth equipment is in error operation, the fault removing operation is to operate the Bluetooth equipment again.
If the failure indication is a replacement of the power source or the battery, the failure release operation is a replacement of the power source or the battery.
In this embodiment, other fault indications may receive artificial intelligence guidance or artificial technical support through the terminal device connection network.
According to the method for detecting the Bluetooth equipment fault, when the connection state of the Bluetooth equipment is detected to be in the failure state, the fault detection operation is triggered, the fault type is determined according to the strength of the received signal strength indication obtained by the fault detection operation and the connection state of the Bluetooth event broadcast signal, finally, the fault indication is determined according to the fault type, and the fault removing operation is determined according to the fault indication. By adopting the technical scheme, the investment of unnecessary after-sale technical support can be reduced to a certain extent and the overall use experience of the product can be maintained to a certain extent.
Fig. 3 is a schematic diagram of an apparatus for detecting a bluetooth device failure according to the fourth embodiment of the present application. The apparatus 30 in the fourth embodiment includes:
a triggering unit 301, configured to trigger a failure detection operation when detecting that a connection state of the bluetooth device is in a failure state; wherein the fault detection operation is for detecting the received signal strength indication and the bluetooth event broadcast signal.
A first determining unit 302, configured to determine a fault type according to the strength of the received signal strength indication and the connection status of the bluetooth event broadcast signal.
The second determining unit 303 is configured to determine a fault indication according to the fault type, and display the fault indication on the fault detection interface.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 4 is a schematic diagram of an apparatus for detecting a bluetooth device fault according to a third embodiment of the present application. The apparatus 40 in the third embodiment includes:
a triggering unit 401, configured to trigger a fault detection operation when detecting that a connection state of the bluetooth device is in a failure state; wherein the fault detection operation is for detecting the received signal strength indication and the bluetooth event broadcast signal.
A first determining unit 402, configured to determine a fault type according to the strength of the received signal strength indication and the connection status of the bluetooth event broadcast signal.
And a second determining unit 403, configured to determine a fault indication according to the fault type, and display the fault indication on the fault detection interface.
In one example, the first determining unit 402 includes:
the first determining module 4021 is configured to determine a fault type according to a connection state of the bluetooth event broadcast signal if the value of the strength indicated by the received signal strength is zero.
The second determining module 4022 is configured to determine a comparison result between the received signal strength indication strength value and a critical value if the received signal strength indication strength value is a non-zero value, and determine a fault type according to the comparison result and a connection state of the bluetooth event broadcast signal.
In one example, the first determining module 4021 includes:
the first determining submodule 40211 is configured to determine that the fault type is a bluetooth protocol layer fault if the connection state of the bluetooth event broadcast signal is a snoopable state.
The second determining submodule 40212 is configured to determine that the fault type is a bluetooth device battery fault or a bluetooth device bluetooth function fault if the connection state of the bluetooth event broadcast signal is the non-monitoring state.
In one example, the second determining module 4022 includes:
the third determining sub-module 40221 is configured to determine that the type of the fault is a bluetooth protocol layer fault if the comparison result is not greater than the threshold value and the connection status of the bluetooth event broadcast signal is a monitoring available status.
The fourth determining sub-module 40222 is configured to determine that the type of the fault is a logical fault of a bluetooth device control layer if the comparison result is greater than the threshold value and the connection status of the bluetooth event broadcast signal is a monitoring available status.
In an example, if the failure type is a bluetooth protocol layer failure, the second determining unit 403 includes:
a third determining module 4031, configured to determine, if the fault type is a bluetooth protocol layer fault, that the fault indication is a signal strength indication received by environmental interference, a power setting error of a bluetooth device, or a distance between the bluetooth device and a terminal device exceeds a preset distance.
In an example, if the failure type is a bluetooth device battery failure or a bluetooth device bluetooth function failure, the second determining unit 403 includes:
a fourth determining module 4032, configured to determine that the failure indication is a battery replacement of the bluetooth device if the failure type is a battery failure of the bluetooth device.
A fifth determining module 4033, configured to determine that the failure indication is a bluetooth function of the bluetooth device, if the failure type is a bluetooth function failure of the bluetooth device.
In an example, if the failure type is a bluetooth protocol layer failure, the second determining unit 403 includes:
a sixth determining module 4034, configured to determine, if the fault type is a bluetooth protocol layer fault, that the fault indication is a bluetooth device power setting error, a distance between the bluetooth device and the terminal device exceeds a preset distance, a protocol error used by the bluetooth device, or a parameter setting error used by the bluetooth device.
In an example, if the failure type is a bluetooth device control layer logic failure, the second determining unit 403 includes:
a seventh determining module 4035, configured to determine that the failure indication is a bluetooth device authentication error or a bluetooth device operation error if the failure type is a bluetooth device control layer logic failure.
In one example, an apparatus includes:
a third determining unit 404, configured to determine a failure releasing operation according to the failure indication.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 5 is a block diagram illustrating a terminal device, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like, in accordance with one exemplary embodiment.
The apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communications component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile and non-volatile storage devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal device, enable the terminal device to perform a method of detecting a bluetooth device failure of the terminal device.
The application also discloses a computer program product comprising a computer program which, when executed by a processor, performs the method as described in the embodiments.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or terminal device.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data terminal device), or that includes a middleware component (e.g., an application terminal device), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include a client and a terminal device. The client and terminal devices are generally remote from each other and typically interact through a communication network. The relationship of client and terminal device arises by virtue of computer programs running on the respective computers and having a client-terminal device relationship to each other. The terminal device may be a cloud terminal device, which is also called a cloud computing terminal device or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in a traditional physical host and a VPS service ("Virtual Private Server", or "VPS" for short). The terminal device may also be a terminal device of a distributed system, or a terminal device incorporating a block chain. It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application 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 application being indicated by the following claims.
It will be understood that the present application 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 application is limited only by the appended claims.
The foregoing is only a preferred embodiment of the present application and it should be noted that, as will be apparent to those skilled in the art, numerous modifications and adaptations can be made without departing from the principles of the present application and such modifications and adaptations are intended to be considered within the scope of the present application.

Claims (12)

1. A method for detecting a bluetooth device failure, the method comprising:
when detecting that the connection state of the Bluetooth equipment is in a failure state, triggering fault detection operation; wherein the fault detection operation is to detect a received signal strength indication and a bluetooth event broadcast signal;
determining the fault type according to the strength of the received signal strength indication and the connection state of the Bluetooth event broadcast signal;
and determining a fault indication according to the fault type, and displaying the fault indication to a fault detection interface.
2. The method of claim 1, wherein determining the type of fault based on the strength of the received signal strength indication and the connection status of the bluetooth event broadcast signal comprises:
if the value of the strength indicated by the received signal strength is zero, determining a fault type according to the connection state of the Bluetooth event broadcast signal;
and if the numerical value of the intensity indicated by the received signal intensity is a non-zero value, determining a comparison result of the numerical value of the intensity indicated by the received signal intensity and a critical value, and determining a fault type according to the comparison result and the connection state of the Bluetooth event broadcast signal.
3. The method of claim 2, wherein determining the type of fault based on the connection status of the bluetooth event broadcast signal if the value of the strength of the received signal strength indication is zero comprises:
if the connection state of the Bluetooth event broadcast signal is a monitoring-capable state, determining that the fault type is a Bluetooth protocol layer fault;
and if the connection state of the Bluetooth event broadcast signal is a non-monitoring state, determining that the fault type is the battery fault of the Bluetooth equipment or the Bluetooth function fault of the Bluetooth equipment.
4. The method of claim 2, wherein determining the type of fault based on the comparison and the connection status of the bluetooth event broadcast signal comprises:
if the comparison result is not greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is a Bluetooth protocol layer fault;
and if the comparison result is that the comparison result is greater than the critical value and the connection state of the Bluetooth event broadcast signal is a monitoring state, determining that the fault type is the logic fault of the control layer of the Bluetooth equipment.
5. The method of claim 3, wherein if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type comprises:
and if the fault type is the Bluetooth protocol layer fault, determining that the fault indication is environmental interference, the received signal strength indication, the Bluetooth equipment power setting error or the distance between the Bluetooth equipment and the terminal equipment exceeds a preset distance.
6. The method of claim 3, wherein if the fault type is the battery fault of the Bluetooth device or the Bluetooth function fault of the Bluetooth device, determining a fault indication according to the fault type comprises:
if the fault type is the battery fault of the Bluetooth equipment, determining that the fault indication is the replacement of the battery of the Bluetooth equipment;
and if the fault type is the Bluetooth function fault of the Bluetooth equipment, determining that the fault indication is the detection of the Bluetooth function of the Bluetooth equipment.
7. The method of claim 4, wherein if the fault type is a bluetooth protocol layer fault, determining a fault indication according to the fault type comprises:
and if the fault type is the Bluetooth protocol layer fault, determining that the fault indication is the Bluetooth equipment power setting error, the distance between the Bluetooth equipment and the terminal equipment exceeds a preset distance, the protocol error used by the Bluetooth equipment or the parameter setting error used by the Bluetooth equipment.
8. The method of claim 4, wherein if the failure type is a logical failure of the control layer of the Bluetooth device, determining a failure indication according to the failure type comprises:
and if the fault type is the logic fault of the control layer of the Bluetooth equipment, determining that a fault indication is the authentication error of the Bluetooth equipment or the operation error of the Bluetooth equipment.
9. The method according to any one of claims 1-8, characterized in that the method comprises:
and determining a fault removing operation according to the fault indication.
10. An apparatus for detecting a bluetooth device failure, the apparatus comprising:
the trigger unit is used for triggering fault detection operation when detecting that the connection state of the Bluetooth equipment is in a failure state; wherein the fault detection operation is to detect a received signal strength indication and a bluetooth event broadcast signal;
a first determining unit for determining a fault type according to the intensity of the received signal intensity indication and the connection state of the bluetooth event broadcast signal;
and the second determining unit is used for determining a fault indication according to the fault type and displaying the fault indication to a fault detection interface.
11. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 8.
12. A terminal device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 8 by means of the computer program.
CN202210872706.1A 2022-07-21 2022-07-21 Bluetooth device fault detection method, storage medium and terminal device Pending CN115460573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210872706.1A CN115460573A (en) 2022-07-21 2022-07-21 Bluetooth device fault detection method, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210872706.1A CN115460573A (en) 2022-07-21 2022-07-21 Bluetooth device fault detection method, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN115460573A true CN115460573A (en) 2022-12-09

Family

ID=84295961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210872706.1A Pending CN115460573A (en) 2022-07-21 2022-07-21 Bluetooth device fault detection method, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN115460573A (en)

Similar Documents

Publication Publication Date Title
US20220385613A1 (en) Message reminding method and electronic device
US10241857B2 (en) Method, apparatus and system for automatically repairing device
US9800666B2 (en) Method and client terminal for remote assistance
EP3099063A1 (en) Video communication method and apparatus
EP3046016A1 (en) Method and apparatus for switching display mode
US10216976B2 (en) Method, device and medium for fingerprint identification
EP3116165B1 (en) Method and device for testing a terminal
US20170032638A1 (en) Method, apparatus, and storage medium for providing alert of abnormal video information
CN112669583A (en) Alarm threshold value adjusting method and device, electronic equipment and storage medium
CN108121631B (en) Screen abnormal state reminding method and device
CN111262941B (en) Method for reconnecting cloud server and electronic equipment
CN109862169B (en) Electronic equipment control method, device and storage medium
CN113138557B (en) Household equipment control method and device and storage medium
EP3190561A1 (en) Method and device for sending information
US20160349947A1 (en) Method and device for sending message
CN106877451B (en) Charging port short-circuit protection method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN106789472B (en) Consumer electronic control CEC function detection method, device and system
CN109521923B (en) Floating window control method and device and storage medium
CN107273173B (en) Fingerprint sensor control method and device and storage medium
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN115460573A (en) Bluetooth device fault detection method, storage medium and terminal device
CN115834558A (en) Updating packet checking method, device and equipment based on vehicle-mounted application and storage medium
CN106060104B (en) Application management method and device
CN114493310A (en) Method and device for determining risk value of task of operating system

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