CN114554466A - Equipment detection method and device - Google Patents

Equipment detection method and device Download PDF

Info

Publication number
CN114554466A
CN114554466A CN202210118819.2A CN202210118819A CN114554466A CN 114554466 A CN114554466 A CN 114554466A CN 202210118819 A CN202210118819 A CN 202210118819A CN 114554466 A CN114554466 A CN 114554466A
Authority
CN
China
Prior art keywords
detection
terminal
self
preset
application program
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
CN202210118819.2A
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.)
Guangdong Chunmi Electrical Technology Co Ltd
Original Assignee
Guangdong Chunmi Electrical 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 Guangdong Chunmi Electrical Technology Co Ltd filed Critical Guangdong Chunmi Electrical Technology Co Ltd
Priority to CN202210118819.2A priority Critical patent/CN114554466A/en
Publication of CN114554466A publication Critical patent/CN114554466A/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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • 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

Abstract

The invention relates to a device detection method and a device, which are applied to devices with near field communication functions and can realize automatic detection of the devices. The method comprises the following steps: setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program; receiving a self-checking instruction sent by a terminal establishing a binding relationship; performing cycle detection on the plurality of detection items according to the self-detection instruction; and sending the detection result to the terminal so that the terminal executes different processing according to different detection results.

Description

Equipment detection method and device
Technical Field
The present disclosure relates to the field of device detection technologies, and in particular, to a device detection method and apparatus.
Background
With the development of technology, various electric appliances, such as televisions, rice cookers, washing machines, etc., have been increasingly used. However, these electrical devices sometimes fail, and for a user, professional detection cannot be performed on the devices and the cause of the failure cannot be determined, which affects the user experience.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide an apparatus detection method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a device detection method applied to a device having a near field communication function, the method including:
setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program;
receiving a self-checking instruction sent by a terminal establishing a binding relationship, wherein the self-checking instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-checking instruction comprises a plurality of detection items;
carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to a terminal when detecting that a detection item in the plurality of detection items has a fault so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
in an embodiment, the method further includes sending the detection result to the terminal, so that the terminal performs different processing according to different detection results:
sending the equipment information to the terminal by one or more of the following modes: Wi-Fi, Bluetooth.
In an embodiment, the receiving a self-check instruction sent by a terminal that establishes a binding relationship includes:
receiving a self-checking instruction sent by a terminal establishing a binding relationship through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal; alternatively, the first and second electrodes may be,
and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
In an embodiment, the receiving a self-check instruction sent by a terminal that establishes a binding relationship includes:
and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the application program.
The plurality of detection items comprise one or more of:
voltage detection: the main control chip reads the mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines the high voltage fault of the equipment if U is greater than Uh; determining a device low voltage fault if U < UL;
detection by a temperature sensor: the main control chip reads a temperature value detected by the temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is greater than Th; determining a sensor open fault if T < TL;
detecting an opening and closing cover sensor: the main control chip reads a value detected by the cover opening and closing sensor and determines whether the cover opening and closing has a fault according to the value;
communication fault detection: the main control chip is communicated with the power panel and/or the chip, and if correct data cannot be acquired within preset time or the other party cannot correctly receive the data, a communication fault is determined.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus detection device, including:
the binding module is used for setting equipment information and a binding instruction of the equipment in an NFC label of the equipment so as to enable a terminal with a near field communication function to approach, acquiring the binding instruction through the NFC label, detecting whether a preset application program is installed or not according to the binding instruction, enabling the terminal to download the preset application program when the preset application program is not installed on the terminal, and enabling the terminal to establish a binding relationship with the equipment according to the equipment information through the application program;
the terminal comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a self-checking instruction sent by the terminal establishing the binding relationship, the self-checking instruction is sent when a preset button in a preset application program is clicked, and the self-checking instruction comprises a plurality of detection items;
the detection module is used for carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to the terminal when detecting that the detection items have faults in the plurality of detection items so as to enable the terminal to display the fault information and a corresponding fault troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and the sending module is used for sending the detection result to the terminal so that the terminal executes different processing according to different detection results.
In one embodiment, the binding module is further configured to:
sending device information to the terminal by one or more of: Wi-Fi, Bluetooth.
In one embodiment, the receiving module is configured to:
receiving a self-checking instruction sent by a terminal establishing a binding relationship through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal; alternatively, the first and second electrodes may be,
and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
In one embodiment, the receiving module is configured to:
and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the application program.
In one embodiment, the plurality of detection items includes one or more of:
voltage detection: the main control chip reads the mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines the high voltage fault of the equipment if U is greater than Uh; determining a device low voltage fault if U < UL;
detection by a temperature sensor: the main control chip reads a temperature value detected by the temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is greater than Th; determining a sensor open fault if T < TL;
detecting an opening and closing cover sensor: the main control chip reads a value detected by the cover opening and closing sensor and determines whether the cover opening and closing has a fault according to the value;
communication fault detection: the main control chip is communicated with the power panel and/or the chip, and if correct data cannot be acquired within preset time or the other party cannot correctly receive the data, a communication fault is determined.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus detection device, including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program;
receiving a self-checking instruction sent by a terminal establishing a binding relationship, wherein the self-checking instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-checking instruction comprises a plurality of detection items;
carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to a terminal when detecting that a detection item in the plurality of detection items has a fault so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and sending the detection result to the bound terminal so that the terminal executes different processing according to different detection results.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the NFC touch is performed once, the terminal can automatically download the application program and automatically bind the equipment, self-checking of the user remote active control equipment is achieved, the user can know fault information occurring in the self-checking process through the terminal, the user can assist in troubleshooting according to the fault information and a corresponding troubleshooting scheme in the self-checking process, the equipment supports multiple rounds of self-checking, so that the equipment can detect again after troubleshooting is performed in the self-checking process, the detection efficiency is improved, convenience is brought to troubleshooting, and faults which can be automatically checked by some users do not need to be checked by professionals.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
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. 1 is a flow chart illustrating a device detection method according to an example embodiment.
Fig. 2 is a flow chart illustrating a device detection method according to an example embodiment.
FIG. 3 is a flowchart illustrating a device detection method according to an example embodiment.
Fig. 4 is a flow chart illustrating a device detection method according to an example embodiment.
Fig. 5 is a flow chart illustrating a device detection method according to an example embodiment.
Fig. 6 is a schematic structural diagram illustrating a device detection apparatus according to an exemplary embodiment.
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 technical scheme provided by the embodiment of the disclosure relates to a device detection method, and the device can be electrical equipment such as an intelligent electric cooker, an intelligent oven, an intelligent steam box, an intelligent washing machine and an intelligent television. In the related art, some electrical devices may have a fault, and some electrical devices may display a fault code when the electrical devices have a fault. However, for an ordinary user, professional detection cannot be performed on the device and the cause of the failure cannot be determined, which affects the user experience. According to the technical scheme, the equipment is remotely and actively detected by controlling the self-detection of the equipment, so that a user can know whether the equipment is normal or fails, and the use experience of the user is improved.
Fig. 1 is a flowchart illustrating a device detection method applied to a device having a near field communication function according to an exemplary embodiment, and the device detection method includes the following steps 101 to 104, as shown in fig. 1:
in step 101, device information and a binding instruction of a device are set in an NFC tag of the device, so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC tag, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program, and the terminal establishes a binding relationship with the device according to the application program and the device information.
Illustratively, the device includes a Near Field Communication (NFC) tag and the terminal has an NFC chip, both of which can communicate via NFC technology. The Device information included in the NFC tag of the Device may be a unique identification code of the Device, such as a MAC (Media Access Control Address) Address, or may also be a Device Identifier (DID). When the terminal with the NFC chip approaches the equipment, the terminal reads the NFC label of the equipment to obtain the binding instruction and the equipment information.
After the terminal acquires the binding instruction, whether a preset application program is installed in the terminal is detected in response to the binding instruction. For example, the preset application may be embodied as a function or an application of the terminal itself, or an application that can be downloaded and installed from the outside. And if the preset application program is not installed in the terminal, enabling the terminal to download the preset application program. For example, in this embodiment, the preset application functions as: and the terminal is used for realizing visual management of the equipment, connecting with a server and realizing the binding relationship between the terminal and the equipment according to the identifiers of the terminal and the equipment. And when the terminal detects that the preset application program is installed on the terminal, starting the preset application program to automatically connect with the server so as to realize the binding relationship between the terminal and the equipment according to the identifiers of the terminal and the equipment.
In one embodiment, the process of establishing the binding relationship may be, for example: the method comprises the steps that a terminal sends an SSID (Service Set Identifier) and a PASSSWORD (PASSWORD) of a router to be connected with equipment to the equipment through an application program, the equipment uses the SSID and the PASSSWORD to connect the router, networking is achieved, a server is accessed, a private key carried by the equipment is sent to the server, the server confirms whether the equipment is allowed to be registered or not through key management, if so, the equipment is successfully registered, and the equipment is bound with the terminal.
In step 102, a self-test instruction sent by a terminal establishing a binding relationship is received, where the self-test instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-test instruction includes a plurality of detection items.
For example, fig. 2 is a schematic diagram of an interface of a preset application program. In this diagram, all devices that have bound to the terminal are shown: device 1, device 2. A self-checking button is arranged at a position corresponding to each device in the preset application program, and when a user clicks the self-checking button in the preset application program, the terminal sends a self-checking instruction to the corresponding device. The self-test command may default to include a plurality of detection items, such as voltage detection, temperature sensor detection, cover opening and closing sensor detection, communication fault detection, and the like.
In step 103, performing cycle detection on the plurality of detection items according to the self-detection instruction, and when detecting that a detection item in the plurality of detection items has a fault, sending fault information to the terminal so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceeds the preset times, and the detection is finished.
For example, after the device receives the self-test instruction, multiple rounds of loop tests are performed on the multiple test items, for example, a first round of test is performed first, the multiple test items are tested sequentially, and when one round of test is finished, no test item fails, and then the test is finished. If the device detects that the cover opening and closing sensor fails in the round of detection, the device sends fault information indicating that the cover opening and closing detection item fails to work to the terminal, so that the terminal displays the fault information and a corresponding troubleshooting scheme. At this time, the user may troubleshoot the device according to a troubleshooting method displayed by the terminal, for example, when the troubleshooting scheme is to cover the lid of the device (e.g., rice cooker) again, the user may cover the lid of the device again. After one round of detection, the equipment can circularly carry out the next round of detection. In the next round of detection, the device may be set to detect all the detection items again, or only the detection item with the fault may be detected until no detection item has the fault, and the detection is finished.
In an embodiment of the present invention, the device may send only fault information, such as a fault code, to the terminal, and a preset application program of the terminal searches for a chinese description and a troubleshooting scheme corresponding to the fault code, and then displays the chinese description and the troubleshooting scheme on the terminal for a user to view. In another embodiment of the present invention, the device may pre-store a troubleshooting plan corresponding to the fault code, so that the detected fault code and the corresponding troubleshooting plan may be sent to the terminal together.
When the device sends the failure information to the terminal, the failure information may be sent in any suitable manner, and the present invention is not limited thereto. In an embodiment of the present invention, the device may send the failure information to the terminal through NFC. In another embodiment in the field, the device may further send failure information to the server, and the server sends a troubleshooting method corresponding to the failure information to the terminal bound to the device.
In step 104: and sending the detection result to the terminal so that the terminal executes different processing according to different detection results.
For example, the detection results include: normal operation of equipment, abnormal operation of equipment and the like. The detection result can also carry a self-detection history record of the equipment, wherein the self-detection history record comprises detection items, detection time, detection results and the like. When the terminal receives the detection result of normal operation of the equipment, the terminal displays that the equipment normally operates and can store and display the self-checking history of the equipment. When the detection is finished and the equipment detects that the fault information still exists, the detection result sent to the terminal by the equipment can carry the fault information, so that the terminal stores and packages all the fault information received in the self-checking process and sends the fault information to an after-sales department, and the terminal can also store and display the self-checking history of the equipment.
According to the equipment detection method provided by the invention, the automatic downloading of the application program and the automatic binding of the equipment by the terminal can be realized through one-time NFC touch, the remote active control of the equipment by a user for self-checking is realized, the user can know fault information generated in the self-checking process through the terminal, the user can assist in troubleshooting according to the fault information and a corresponding troubleshooting scheme in the self-checking process, the equipment supports multiple rounds of self-checking, so that the equipment can be detected again after troubleshooting in the self-checking process, the detection efficiency is improved, the convenience for troubleshooting is brought to the equipment is improved, and faults which can be automatically checked by some users do not need to be checked by professional personnel.
In a possible implementation manner, when step 101 in the device detection method is executed, the method may further include: sending device information to the terminal by one or more of: Wi-Fi, Bluetooth. In this embodiment, when the device fails to bind by sending the device information using NFC, the device information may be sent again to the terminal using another method. The user can set the communication mode supported by the terminal in the preset application program of the terminal. When the Wi-Fi mode is selected, the terminal can acquire the device information of the device from a Wi-Fi signal sent by the device, and when the Bluetooth mode is selected, the terminal can acquire the device information of the device from a Bluetooth signal broadcasted by the device.
In one possible implementation, step 102 in the above device detection method may be implemented as the following step a1 or a 2:
step A1: the method comprises the steps that a self-checking instruction sent by a terminal establishing a binding relation is received through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal.
In this step, when a preset button of the terminal in a preset application program is clicked, the terminal sends a self-check instruction to the server, the self-check instruction also carries identification information of the corresponding bound device, and the server sends the self-check instruction to the device according to the identification information of the device.
Step A2: and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
In this step, after the device is bound to the terminal through NFC, the device may continue to receive the self-test instruction through NFC.
In an embodiment, multiple NFC interactions between a device and a terminal may be implemented as follows: the method comprises the steps that three partitions are made in an NFC label of the equipment, package names, MAC addresses/equipment DID of the equipment and self-checking program instructions are written in the partitions respectively, when terminals such as mobile phones touch the NFC label of the equipment, the package names in the NFC label of the equipment are obtained, the terminals detect whether preset application programs are installed or not according to the package names, the application programs are downloaded when the preset application programs are not installed, the application programs enter the terminals under the condition that the preset application programs are installed, whether the equipment is distributed with a network and bound is judged through the MAC addresses/equipment DID in the NFC label of the equipment, when the application programs are not installed, the electrical equipment is distributed with the network and bound, and after the electrical equipment is distributed with the network and bound, the instructions are recorded in the preset application programs. When a preset button in a preset application program of the terminal is clicked, the user touches the equipment NFC by using the terminal, and when the terminal judges that all the operations are met according to the packet name in the NFC label of the equipment and the MAC address/equipment DID of the equipment, the self-checking instruction is issued to the electrical equipment terminal according to the self-checking program instruction in the NFC label of the equipment.
In an embodiment, a long address link is further provided in the NFC tag of the device, for example: https:// g.home.mi.com/partner/nfc/prod/index.html ═ chunmi.ihcookie.slim #/, whether the mobile phone is provided with the preset application program can be judged through the page.
In a possible implementation manner, step 102 in the device detection method may be implemented as: and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the preset application program. As shown in fig. 3, a "self-check" button is provided at a position corresponding to the device in the preset application program, and after the user clicks the "self-check" button, a plurality of detection items are provided for the user to select, and then click to determine, so that the terminal can generate a self-check instruction including a plurality of designated detection items. In another embodiment, each device may have a different respective detection item.
In one possible embodiment, the plurality of detection items includes one or more of:
voltage detection: a main control Micro Control Unit (MCU) of the equipment reads a mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines high voltage fault of the equipment if U is greater than Uh; if U < UL, the low voltage fault of the equipment is determined.
Detection by a temperature sensor: the method comprises the following steps that an MCU of the equipment reads a temperature value detected by a temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is larger than Th; an open fault is determined if T < TL.
Detecting an opening and closing cover sensor: the MCU of the device reads the value detected by the open/close cover sensor. For example, a three-axis acceleration sensor may be disposed on the device, and the current state of the opening/closing cover is confirmed by reading an angle value reported by the acceleration sensor.
Communication fault detection: and the MCU of the equipment is communicated with the power panel and/or other chips, and if correct data cannot be acquired within preset time or confirmation information of correct data reception of a communication counterpart is not received, the communication fault is determined.
The device detection method proposed by the present invention is further illustrated by two specific examples below.
As shown in fig. 4, an apparatus detection method provided in an embodiment of the present invention includes:
step 401, a user brings a mobile phone with an NFC function close to a device with an NFC tag.
The NFC label of the device comprises the unique identifier of the device, and the NFC label also comprises a binding instruction which is used for instructing the mobile phone to download the preset application program and bind the device. The NFC tag may further include a download address of a preset application program.
Step 402, the mobile phone reads the NFC tag of the device, detects whether a preset application program exists, and if so, executes step 404; if not, after step 403, step 404 is performed.
In the step, after the mobile phone acquires the binding instruction in the NFC tag, whether a preset APP exists or not is detected according to the instruction, and if the preset APP does not exist, the preset APP is automatically downloaded.
Step 403, the mobile phone automatically downloads a preset application program.
In this step, the mobile phone may automatically download according to the download address of the preset APP acquired from the NFC tag of the device.
And step 404, automatically binding the mobile phone and the equipment in modes of NFC, Wi-Fi, Bluetooth and the like.
At step 405, the user clicks the "self-test" button in the application.
In this step, the bound device is displayed in the application program of the mobile phone, and after the user clicks a "self-check" button corresponding to a certain device in the application program, the mobile phone sends a self-check instruction to the server and also sends an identifier of the device. The server can push the self-test instruction to the device through the identification.
In step 406, the device obtains a self-check instruction through the server.
Step 407, the device performs loop detection on the detection item according to the self-detection instruction, including: voltage detection, temperature sensor detection, cover opening and closing sensor detection, communication fault detection and the like.
Step 408, the device judges whether the detection item is abnormal, if not, the detection is finished after step 409 is executed; if yes, go to step 410.
And step 409, the equipment returns a detection result of normal operation of the equipment through the server, and the mobile phone displays that the equipment operates normally.
In this step, the mobile phone can also form a self-checking report, and store and package all fault information received in the self-checking process and send the fault information to the after-sales department.
Step 410, determining whether the detection time length exceeds the preset time length or the detection frequency exceeds the preset frequency, if yes, executing step 412 and then ending the detection, and if not, executing step 411 and then executing step 408 again.
In an embodiment, when the device starts the self-test, a timer may be set to start timing, and the cycle test is ended until the duration of the timer exceeds a preset duration. In another embodiment, the initial value of the detection times is set to 0, and the detection times are updated after each round of detection of the device is finished, that is, the detection times are increased by one until the detection times exceed the preset times, and the detection is finished.
Step 411, the device sends the error code to the server, so that the server searches the chinese description and troubleshooting plan of the error code and sends the chinese description and troubleshooting plan to the bound mobile phone, and the mobile phone displays the chinese description and troubleshooting plan of the device detection error.
Here, the user can perform troubleshooting according to the troubleshooting scheme displayed by the mobile phone.
In step 412, the device returns a detection result that the device cannot normally operate through the server, and the mobile phone display device cannot normally operate.
In this step, the mobile phone can also form a self-checking report, and store and package all fault information received in the self-checking process and send the fault information to the after-sales department.
As shown in fig. 5, an apparatus detection method provided in an embodiment of the present invention includes:
step 501, a user brings a mobile phone with an NFC function close to a device with an NFC function.
Step 502, the mobile phone reads the NFC tag of the device, detects whether a preset application program is available, and if so, executes step 504; if not, after step 503, step 504 is executed.
Step 503, the mobile phone automatically downloads a preset application program.
And step 504, automatically binding the mobile phone and the equipment through NFC.
Step 505, the user clicks the "self-test" button in the application.
In step 506, the device obtains the self-test instruction through NFC.
In this step, after the user clicks a "self-check" button in the application program, the mobile phone having the NFC function may be brought close to the device having the NFC function, so that the device obtains the self-check instruction through NFC.
Step 507, the device performs a circular self-check on the detection item according to the self-check instruction, including: voltage detection, temperature sensor detection, cover opening and closing sensor detection, communication fault detection and the like.
Step 508, the device determines whether there is abnormality in the detection item, if not, the detection is finished after step 509 is executed; if yes, go to step 510.
Step 509, the device returns the detection result of normal operation of the device through the server, and the mobile phone displays that the device is operating normally.
Step 510, determining whether the detection time length exceeds a preset time length or the detection times exceed a preset time number, if so, executing step 512 and then ending the detection, and if not, executing step 511 and then executing step 508 again.
In step 511, the device sends the error code to the mobile phone through NFC, so that the mobile phone APP searches for the chinese description and the troubleshooting plan of the error code and displays the chinese description and the troubleshooting plan.
And step 512, the device returns a detection result that the device cannot normally operate through the NFC, and the mobile phone display device cannot normally operate.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 is a schematic structural diagram illustrating a device detection apparatus according to an exemplary embodiment, which may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 6, the device detection apparatus includes a binding module 601, a receiving module 602, a detecting module 603, and a sending module 604, where:
the binding module 601 is configured to set device information and a binding instruction of a device in an NFC tag of the device, so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC tag, detect whether a preset application program is installed according to the binding instruction, and when the preset application program is not installed in the terminal, enable the terminal to download the preset application program, and enable the terminal to establish a binding relationship with the device according to the device information through the application program;
a receiving module 602, configured to receive a self-test instruction sent by a terminal that establishes a binding relationship, where the self-test instruction is sent when a preset button in a preset application is clicked, and the self-test instruction includes a plurality of detection items;
the detection module 603 is configured to perform cycle detection on the multiple detection items according to the self-detection instruction, and when detecting that a detection item in the multiple detection items fails, send failure information to the terminal, so that the terminal displays the failure information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
a sending module 604, configured to send the detection result to the terminal, so that the terminal performs different processing according to different detection results.
In one embodiment, the binding module 601 is further configured to:
sending device information to the terminal by one or more of: Wi-Fi, Bluetooth.
In one embodiment, the receiving module 602 is configured to:
receiving a self-checking instruction sent by a terminal establishing a binding relationship through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal; alternatively, the first and second electrodes may be,
and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
In one embodiment, the receiving module 602 is configured to:
and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the application program.
In one embodiment, the plurality of detection items includes one or more of:
voltage detection: the main control chip reads the mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines the high voltage fault of the equipment if U is greater than Uh; determining a device low voltage fault if U < UL;
detection by a temperature sensor: the main control chip reads a temperature value detected by the temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is greater than Th; determining a sensor open fault if T < TL;
detecting an opening and closing cover sensor: the main control chip reads a value detected by the cover opening and closing sensor and determines whether the cover opening and closing has a fault according to the value;
communication fault detection: the main control chip is communicated with the power panel and/or the chip, and if correct data cannot be acquired within preset time or the other party cannot correctly receive the data, a communication fault is determined.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus detection device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program;
receiving a self-checking instruction sent by a terminal establishing a binding relationship, wherein the self-checking instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-checking instruction comprises a plurality of detection items;
carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to a terminal when detecting that a detection item in the plurality of detection items has a fault so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and sending the detection result to the bound terminal so that the terminal executes different processing according to different detection results.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (11)

1. A device detection method applied to a device having a near field communication function, the method comprising:
setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program;
receiving a self-checking instruction sent by a terminal establishing a binding relationship, wherein the self-checking instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-checking instruction comprises a plurality of detection items;
carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to a terminal when detecting that a detection item in the plurality of detection items has a fault so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and sending the detection result to the bound terminal so that the terminal executes different processing according to different detection results.
2. The method of claim 1, further comprising:
sending device information to the terminal by one or more of: Wi-Fi, Bluetooth.
3. The method according to claim 2, wherein the receiving the self-test instruction sent by the terminal that has established the binding relationship includes:
receiving a self-checking instruction sent by a terminal establishing a binding relationship through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal; alternatively, the first and second electrodes may be,
and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
4. The method according to claim 3, wherein the receiving the self-test instruction sent by the terminal that has established the binding relationship includes:
and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the application program.
5. The method of claim 1, wherein the plurality of detection items comprise one or more of:
voltage detection: the main control chip reads the mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines the high voltage fault of the equipment if U is greater than Uh; determining a device low voltage fault if U < UL;
detection by a temperature sensor: the main control chip reads a temperature value detected by the temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is greater than Th; determining a sensor open fault if T < TL;
detecting an opening and closing cover sensor: the main control chip reads a value detected by the cover opening and closing sensor and determines whether the cover opening and closing has a fault according to the value;
communication fault detection: the main control chip is communicated with the power panel and/or the chip, and if correct data cannot be acquired within preset time or the other party cannot correctly receive the data, a communication fault is determined.
6. A device detection apparatus applied to a device with a near field communication function, the apparatus comprising:
the binding module is used for setting equipment information and a binding instruction of the equipment in an NFC label of the equipment so as to enable a terminal with a near field communication function to approach, acquiring the binding instruction through the NFC label, detecting whether a preset application program is installed or not according to the binding instruction, enabling the terminal to download the preset application program when the preset application program is not installed on the terminal, and enabling the terminal to establish a binding relationship with the equipment according to the equipment information through the application program;
the terminal comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a self-checking instruction sent by the terminal establishing the binding relationship, the self-checking instruction is sent when a preset button in a preset application program is clicked, and the self-checking instruction comprises a plurality of detection items;
the detection module is used for carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to the terminal when detecting that the detection items have faults in the plurality of detection items so as to enable the terminal to display the fault information and a corresponding fault troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and the sending module is used for sending the detection result to the bound terminal so that the terminal executes different processing according to different detection results.
7. The apparatus of claim 6, wherein the binding module is further configured to:
sending device information to the terminal by one or more of: Wi-Fi, Bluetooth.
8. The apparatus of claim 6, wherein the receiving module is configured to:
receiving a self-checking instruction sent by a terminal establishing a binding relationship through a server, wherein the self-checking instruction is sent to the server when a preset button in a preset application program is clicked by the terminal; alternatively, the first and second electrodes may be,
and receiving a self-checking instruction sent by the terminal establishing the binding relationship through near field communication, wherein the self-checking instruction is sent to equipment through a near field communication technology when a preset button in a preset application program is clicked by the terminal.
9. The apparatus of claim 8, wherein the receiving module is configured to:
and receiving a self-checking instruction sent by the terminal establishing the binding relationship, wherein a plurality of detection items in the self-checking instruction are specified in the application program.
10. The apparatus of claim 6, wherein the plurality of detection items comprise one or more of:
voltage detection: the main control chip reads the mains supply voltage U connected with the equipment, compares the mains supply voltage U with a preset high voltage threshold Uh and a preset high voltage threshold UL, and determines the high voltage fault of the equipment if U is greater than Uh; determining a device low voltage fault if U < UL;
detection by a temperature sensor: the main control chip reads a temperature value detected by the temperature sensor, compares the temperature value with a preset temperature sensor open-circuit value TL and a preset temperature sensor short-circuit value Th, and determines a sensor short-circuit fault if T is greater than Th; determining a sensor open fault if T < TL;
detecting an opening and closing cover sensor: the main control chip reads a value detected by the cover opening and closing sensor and determines whether the cover opening and closing has a fault according to the value;
communication fault detection: the main control chip is communicated with the power panel and/or the chip, and if correct data cannot be obtained within a preset time length or the other party cannot correctly receive the data, a communication fault is determined.
11. An apparatus detection device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
setting equipment information and a binding instruction of equipment in an NFC label of the equipment so that when a terminal with a near field communication function approaches, the binding instruction is obtained through the NFC label, whether a preset application program is installed or not is detected according to the binding instruction, and when the preset application program is not installed in the terminal, the terminal is made to download the preset application program and establish a binding relationship with the equipment according to the equipment information through the application program;
receiving a self-checking instruction sent by a terminal establishing a binding relationship, wherein the self-checking instruction is sent when a preset button in a preset application program is clicked by the terminal, and the self-checking instruction comprises a plurality of detection items;
carrying out cycle detection on the plurality of detection items according to the self-detection instruction, and sending fault information to a terminal when detecting that a detection item in the plurality of detection items has a fault so that the terminal displays the fault information and a corresponding troubleshooting scheme; until no detection item fails, the detection is finished; or the detection duration exceeds the preset duration or the detection times exceed the preset times, and the detection is finished;
and sending the detection result to the bound terminal so that the terminal executes different processing according to different detection results.
CN202210118819.2A 2022-02-08 2022-02-08 Equipment detection method and device Pending CN114554466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210118819.2A CN114554466A (en) 2022-02-08 2022-02-08 Equipment detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210118819.2A CN114554466A (en) 2022-02-08 2022-02-08 Equipment detection method and device

Publications (1)

Publication Number Publication Date
CN114554466A true CN114554466A (en) 2022-05-27

Family

ID=81674247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210118819.2A Pending CN114554466A (en) 2022-02-08 2022-02-08 Equipment detection method and device

Country Status (1)

Country Link
CN (1) CN114554466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117062038A (en) * 2023-10-13 2023-11-14 联通在线信息科技有限公司 Equipment automatic binding method and device based on near field communication technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117062038A (en) * 2023-10-13 2023-11-14 联通在线信息科技有限公司 Equipment automatic binding method and device based on near field communication technology
CN117062038B (en) * 2023-10-13 2024-02-27 联通在线信息科技有限公司 Equipment automatic binding method and device based on near field communication technology

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
CN105683845B (en) System and method for device detection and APP configuration
CN100409627C (en) Network control method and device for domestic appliances
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN104579733B (en) Method, equipment and the system of fault diagnosis
CN101478449A (en) Protocol automatic test method and system thereof
CN108366006A (en) A kind of intelligent appliance distribution method, apparatus and system
CN105516388B (en) A kind of Wireless Communication Equipment MAC Address test method and system
CN107205239B (en) Method for detecting wireless network connection and detection equipment
CN105141450A (en) Configuration methods and devices for WIFI module of internet of things device
CN106534957A (en) Intelligent electric appliance network setting method and system
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN109873728A (en) A kind of terminal test method, device and storage medium
CN104105227A (en) A WIFI module work method and device based on different application scenarios
CN109327350A (en) A kind of batch carries out the method and apparatus and system of terminal test
CN114554466A (en) Equipment detection method and device
CN113067738A (en) Network topology visualization function equipment compatibility testing method and system
CN112367230A (en) Household appliance control method, mobile terminal, household appliance and household appliance control system
CN112423368A (en) Gateway, intelligent device, mobile terminal, network access method and network access auxiliary method and system
US20230163991A1 (en) Household appliance and network configuration method thereof, control terminal, and computer storage medium
CN107360295A (en) A kind of test main frame and method
CN105553782A (en) Communication link testing method and system
CN111597083A (en) Test system of intelligent terminal
EP4310407A1 (en) Control right switching method and apparatus for virtual remote control, device, and storage medium
CN114124595A (en) Method for connecting household electrical appliance to network

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