CN110958142A - Device maintenance method, maintenance device, storage medium, and computer program product - Google Patents

Device maintenance method, maintenance device, storage medium, and computer program product Download PDF

Info

Publication number
CN110958142A
CN110958142A CN201911174448.4A CN201911174448A CN110958142A CN 110958142 A CN110958142 A CN 110958142A CN 201911174448 A CN201911174448 A CN 201911174448A CN 110958142 A CN110958142 A CN 110958142A
Authority
CN
China
Prior art keywords
offline
equipment
fault
beacon frame
information
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.)
Withdrawn
Application number
CN201911174448.4A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911174448.4A priority Critical patent/CN110958142A/en
Publication of CN110958142A publication Critical patent/CN110958142A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application is applicable to the technical field of communication, and provides a device maintenance method, a maintenance device, a storage medium and a computer program product, wherein the device maintenance method comprises the following steps: after the intelligent home equipment is connected to the Internet and establishes communication connection with a preset server corresponding to an intelligent home platform, when the first intelligent home equipment detects that the network connection is disconnected currently, a beacon frame carrying offline fault information and equipment identification information is broadcasted through a built-in wireless communication module; when any one of the second online intelligent home devices in the home network receives the beacon frame, the offline fault information and the device identification information carried in the beacon frame are reported to a preset server in an associated mode; and the server carries out fault diagnosis based on the received offline fault information and the equipment identification information. Through the method, the server can acquire the fault information of the intelligent household equipment in the off-line state, and can perform remote fault diagnosis and maintenance on the off-line intelligent household equipment.

Description

Device maintenance method, maintenance device, storage medium, and computer program product
Technical Field
The present application relates to the field of communications technologies, and in particular, to an apparatus maintenance method, a maintenance apparatus, a storage medium, and a computer program product.
Background
The Smart Home (Smart Home) integrates facilities related to Home life by using a house as a platform and utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, so that an efficient management system of the house facilities and family schedule affairs is constructed, the Home safety, convenience and artistry are improved, and the environment-friendly and energy-saving living environment is realized.
The smart home connects various devices supporting wireless communication in the home together through the internet of things technology, for example, networking the devices in the home through a home gateway. The user can carry out local or remote control on the equipment after networking through modes such as Application programs (APP), voice control and the like, and can also be linked with other equipment. For example, the air conditioner is controlled to work according to the temperature and the humidity acquired by the temperature and humidity sensor, and the security alarm is linked according to the data detected by the door and window sensor to realize anti-theft alarm and the like.
However, the networked devices may be offline due to network failure or device failure, and currently, the offline devices cannot be diagnosed and maintained.
Disclosure of Invention
The embodiment of the application provides an equipment maintenance method, maintenance equipment, a storage medium and a computer program product, which can solve the problem that fault diagnosis and maintenance cannot be performed on offline equipment in the prior art.
In a first aspect, an embodiment of the present application provides an apparatus maintenance method, which is applied to an intelligent home device, and the apparatus maintenance method includes: detecting whether the network connection is disconnected currently; when the network connection is disconnected, acquiring offline fault information; generating a beacon frame carrying the offline fault information and equipment identification information, wherein the equipment identification information belongs to the intelligent household equipment; broadcasting the beacon frame through a built-in wireless communication module, wherein the beacon frame is used for indicating target smart home equipment receiving the beacon frame to send the offline fault information and the equipment identification information to a preset server, and fault diagnosis is carried out through the server based on the offline fault information and the equipment identification information.
In a possible implementation manner, the broadcast Wireless communication module may be a bluetooth communication module or a Wireless-Fidelity (WiFi) communication module.
According to the embodiment of the application, after the intelligent home equipment is accessed to the Internet and is in communication connection with the server, if the current disconnected network connection is detected, a beacon frame containing offline fault information and equipment identification information of the intelligent home equipment is generated, the beacon frame is broadcasted through the built-in wireless communication module, so that the intelligent home equipment receiving the beacon frame reports the offline fault information and the equipment identification information in the beacon frame to the server corresponding to the intelligent home platform, the server can perform fault diagnosis and processing on the offline intelligent home equipment corresponding to the equipment identification information based on the offline fault information, and therefore remote maintenance and management on the offline intelligent home equipment are achieved.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the smart home device and the target smart home device are trusted devices belonging to a same user account.
For example, the first smart home device and the second smart home device belong to trusted devices under the same user account, the user account is used for identifying identity information of an owner of the user account, and the user account may be a pre-registered huawei account. The trusted device refers to a user device trusted by an owner of the user account, and the trusted devices have the authority of reporting the offline fault information to the server. The first intelligent home equipment and the second intelligent home equipment are logged in the user account in advance, and equipment identification information of all trusted equipment is synchronized. Namely, the first smart home device and the second smart home device have the device identification information of all the trusted devices stored therein in advance. The first intelligent household equipment is intelligent household equipment disconnected from the network, and the second intelligent household equipment is equipment not disconnected from the network. Before the first intelligent household equipment is disconnected from the network, the first intelligent household equipment and the second intelligent household equipment are all in communication connection with a preset server.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the generating a beacon frame that carries the offline fault information and the device identification information includes: and encrypting the offline fault information by adopting a preset encryption key to generate a beacon frame carrying the encrypted offline fault information and the equipment identification information.
According to the scheme, the offline fault information is encrypted by the preset encryption key and then sent, so that the offline fault information can be prevented from being leaked or maliciously tampered in the transmission process, the data safety can be improved, and the authenticity of the offline fault information acquired by the server is ensured.
With reference to the second implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the encryption key is a private key of the smart home device or a pre-negotiated session key.
With reference to the first aspect and any one of the possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the beacon frame further carries: the beacon frame fault detection method comprises a fault frame identification code, manufacturer identification information and a fault type value, wherein the fault frame identification code is used for identifying the beacon frame as a fault frame, and the fault type value is used for identifying the fault type as an off-line fault.
In a second aspect, an embodiment of the present application provides an apparatus for maintaining equipment, where the apparatus for maintaining equipment may be an intelligent home device, and the apparatus includes: the detection unit is used for detecting whether the network connection is disconnected currently; the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring offline fault information when the network connection is disconnected; a generating unit, configured to generate a beacon frame carrying the offline fault information and device identification information, where the device identification information belongs to the smart home device; and the fault reporting unit is used for broadcasting the beacon frame through a built-in wireless communication module, wherein the beacon frame is used for indicating the target intelligent home equipment receiving the beacon frame to send the offline fault information and the equipment identification information to a preset server, and fault diagnosis is carried out through the server based on the offline fault information and the equipment identification information.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the smart home device and the target smart home device are trusted devices belonging to a same user account.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the generating unit is specifically configured to: and encrypting the offline fault information by adopting a preset encryption key to generate a beacon frame carrying the encrypted offline fault information and the equipment identification information.
With reference to the second implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the encryption key is a private key of the smart home device or a pre-negotiated session key.
With reference to the second aspect and any one of the possible implementations of the second aspect, in a fourth possible implementation of the second aspect, the beacon frame further carries: the beacon frame fault detection method comprises a fault frame identification code, manufacturer identification information and a fault type value, wherein the fault frame identification code is used for identifying the beacon frame as a fault frame, and the fault type value is used for identifying the fault type as an off-line fault.
The device maintenance apparatus provided by the second aspect has the same beneficial effects as the device maintenance method provided by the first aspect, and please refer to the beneficial effects of the device maintenance method provided by the first aspect.
In a third aspect, an embodiment of the present application provides an apparatus maintenance method, which is applied to an intelligent home device, and the apparatus maintenance method includes: the method comprises the steps of obtaining a beacon frame, wherein the beacon frame is sent by offline intelligent household equipment disconnected with a network in a broadcasting mode, and comprises offline fault information and equipment identification information of the offline intelligent household equipment; and sending fault information to a preset server based on the beacon frame to inform the server of fault diagnosis based on the fault information, wherein the fault information comprises the offline fault information and the equipment identification information, and before the offline intelligent household equipment is disconnected from the network, the intelligent household equipment and the offline intelligent household equipment are in communication connection with the server in advance.
The online intelligent home equipment and the offline intelligent home equipment belong to trusted equipment under the same user account.
According to the scheme, the offline fault information and the equipment identification information carried by the beacon frame broadcasted by the offline intelligent home equipment are sent to the preset server through the online intelligent home equipment, so that the preset server can perform fault diagnosis on the offline intelligent home equipment based on the offline fault information and the equipment identification information. In the home network, the offline device can also report the fault information by means of the existing online device, so as to maintain and diagnose the offline device.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the sending failure information to a preset server based on the beacon frame includes: performing identity verification on the off-line intelligent household equipment based on pre-stored equipment identification information and the equipment identification information carried by the beacon frame; and when the offline intelligent household equipment identity is confirmed to be legal, fault information is sent to a preset server based on the beacon frame.
With reference to the third aspect, in a second possible implementation manner of the third aspect, when the offline fault information is encrypted, the sending fault information to a preset server based on the beacon frame includes: analyzing the beacon frame to acquire the equipment identification information and encrypted offline fault information; decrypting the encrypted offline fault information by adopting a preset decryption key to obtain target offline fault information; and sending the target offline fault information and the equipment identification information to a preset server.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the decryption key is a public key of the offline smart home device or a pre-negotiated session key.
In a fourth aspect, an embodiment of the present application provides an apparatus for maintaining equipment, where the apparatus for maintaining equipment may be an intelligent home device, and the apparatus includes: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a beacon frame, the beacon frame is sent by offline intelligent household equipment which is disconnected from a network in a broadcast mode, and the beacon frame comprises offline fault information and equipment identification information of the offline intelligent household equipment; and the fault reporting unit is used for sending fault information to a preset server based on the beacon frame so as to inform the server of carrying out fault diagnosis based on the fault information, wherein the fault information comprises the offline fault information and the equipment identification information, and before the offline intelligent home equipment is disconnected from the network, the intelligent home equipment and the offline intelligent home equipment are in communication connection with the server in advance.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the fault reporting unit is specifically configured to: performing identity verification on the off-line intelligent household equipment based on pre-stored equipment identification information and the equipment identification information carried by the beacon frame; and when the offline intelligent household equipment identity is confirmed to be legal, fault information is sent to a preset server based on the beacon frame.
With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, when the offline fault information is encrypted, the fault reporting unit is specifically configured to: analyzing the beacon frame to acquire the equipment identification information and encrypted offline fault information; decrypting the encrypted offline fault information by adopting a preset decryption key to obtain target offline fault information; and sending the target offline fault information and the equipment identification information to a preset server.
With reference to the fourth aspect, in a third possible implementation manner of the fourth aspect, the decryption key is a public key of the offline smart home device or a pre-negotiated session key.
The beneficial effects of the apparatus maintenance device provided in the fourth aspect are the same as those of the apparatus maintenance method provided in the second aspect, and refer to the beneficial effects of the apparatus maintenance method provided in the second aspect.
In a fifth aspect, an embodiment of the present application provides an apparatus maintenance method, which is applied to a server, and the apparatus maintenance method includes: receiving fault information sent by target intelligent home equipment, wherein the fault information comprises offline fault information and equipment identification information of offline intelligent home equipment, and the offline fault information and the equipment identification information are transmitted to the target intelligent home equipment by broadcasting a beacon frame when the offline intelligent home equipment detects that the network connection is disconnected; and carrying out fault diagnosis on the offline intelligent household equipment corresponding to the equipment identification information based on the offline fault information.
According to the scheme, the server receives the fault information sent by the target intelligent home equipment, and the offline fault information and the equipment identification information of the offline intelligent home equipment contained in the fault information are sent to the target intelligent home equipment through the beacon frame when the offline intelligent home equipment detects that the network connection is disconnected, so that the server can perform fault diagnosis on the basis of the fault information offline intelligent home equipment.
In a sixth aspect, an embodiment of the present application provides an apparatus for maintaining equipment, where the apparatus for maintaining equipment may be a server, and the apparatus includes: the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving fault information sent by target intelligent household equipment, the fault information comprises offline fault information and equipment identification information of offline intelligent household equipment, and the offline fault information and the equipment identification information are sent to the target intelligent household equipment by broadcasting a beacon frame when the offline intelligent household equipment detects that the network connection is disconnected; and the fault diagnosis unit is used for carrying out fault diagnosis on the off-line intelligent household equipment corresponding to the equipment identification information based on the off-line fault information.
In a seventh aspect, an embodiment of the present application provides a maintenance device, where the maintenance device may be an intelligent home device, and includes a memory, a processor, and a computer program that is stored in the memory and is executable on the processor, and when the processor executes the computer program, the device maintenance method implements any possible implementation manner of the first aspect or the third aspect.
In an eighth aspect, an embodiment of the present application provides a maintenance device, where the maintenance device may be a server, and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the device maintenance method of the fifth aspect when executing the computer program.
In a ninth aspect, the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the device maintenance method in any possible implementation manner of the first aspect, the third aspect, or the fifth aspect.
In a tenth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the device maintenance method in any one of the possible implementations of the first aspect, the third aspect, or the fifth aspect.
Compared with the prior art, the embodiment of the application has the advantages that:
when the intelligent home equipment is connected to the Internet and establishes communication connection with a preset server corresponding to the intelligent home platform, any intelligent home equipment detects that the network connection is disconnected currently, and broadcasts a beacon frame carrying offline fault information and equipment identification information through a built-in wireless communication module. When any other online intelligent home equipment in the home network receives the beacon frame, offline fault information and equipment identification information carried in the beacon frame are reported to a preset server in an associated mode. The server carries out fault diagnosis and analysis based on the received offline fault information and the equipment identification information to obtain a fault diagnosis result. According to the scheme, the intelligent home equipment in the offline state can send the beacon frame carrying the offline fault information to the online intelligent home equipment, so that the offline fault information is reported to the server through the online intelligent home equipment, the server can acquire the fault information of the intelligent home equipment in the offline state, and fault diagnosis and maintenance of the offline equipment can be achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
Fig. 1 is a schematic diagram of an intelligent home system provided in an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of an apparatus maintenance method according to an embodiment of the present application;
fig. 3 is a system interaction diagram of an apparatus maintenance method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a method for maintaining equipment provided by an embodiment of the present application;
fig. 5 is a frame format provided by an embodiment of the present application;
fig. 6 is a schematic view of a scenario of a registration method of a trust ring according to an embodiment of the present application;
FIG. 7 is a schematic flow chart diagram of an apparatus maintenance method provided by another embodiment of the present application;
FIG. 8 is a schematic flow chart diagram of an apparatus maintenance method provided by yet another embodiment of the present application;
fig. 9 is a schematic structural diagram of an information equipment maintenance apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an information equipment maintenance apparatus according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of an information equipment maintenance apparatus according to still another embodiment of the present application;
fig. 12 is a schematic structural diagram of a maintenance device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
Referring to fig. 1, fig. 1 is a schematic view of an intelligent home system according to an embodiment of the present application. In the system schematic diagram shown in fig. 1, the system includes a user terminal 10, at least one smart home device 20, and a server 30. The server 30 may communicate with the user terminal 10 and the smart home device 20, respectively, and the user terminal 10 may communicate with the smart home device 20. The server 30 is a server corresponding to the smart home platform.
The user terminal 10 may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a netbook, a Personal Digital Assistant (PDA), or other terminal devices that can be installed with a preset Application (APP). The APP includes but is not limited to a device management APP, a smart home APP and the like. The domain name of the server 30 is preset in the APP, and when the APP is started, the user terminal 10 can establish communication connection with the server 30 through the preset domain name.
The smart home devices 20 include, but are not limited to: intelligent desk lamp, smart jack, intelligence switch, gateway, door and window sensor, (window) curtain controller, temperature and humidity sensor, intelligent stereo set, intelligent machine of sweeping the floor etc..
The user can add the smart home devices 20 through the user terminal 10, so that the smart home devices 20 and the server 30 establish communication connection, and the smart home devices 20 in the home are networked, and the networked smart home devices 20 can be linked. The user may also control the networked smart home devices 20 through the user terminal 10.
Because the networked smart home devices may be offline due to network failure or device failure, other devices cannot acquire the device state of the offline device, and cannot acquire the related data of the offline device, and thus cannot maintain the offline device, which causes great difficulty in maintenance and remote management. For example, when a user remotely opens a preset device management APP or a smart home APP, the device state of the offline device cannot be observed, the server cannot acquire real-time data of the offline device, and the fault reason of the offline device cannot be located.
At present, for an offline device, a more common device diagnosis method is as follows: when the equipment is offline due to the fact that the network connection of the equipment is disconnected due to network faults or equipment faults and the like, the equipment records a fault log, and reports the fault log to a preset server when the equipment is accessed to the network again next time. For example, when the user adds the device again through a preset APP built in the user terminal 10, and connects the access network with other smart home devices, the device reports the fault log.
However, this method of device diagnostics relies on the device going online the next time, uploading a fault log. After the device is offline, the user device and the server still cannot acquire relevant fault information in time, so that remote diagnosis of the offline device cannot be performed, the fault of the offline device cannot be located in time, and remote maintenance cannot be performed.
In order to solve the above problem, an embodiment of the present application provides an apparatus maintenance method, where a server may obtain fault information of an offline smart home apparatus, and therefore fault diagnosis and maintenance of the offline smart home apparatus may be implemented without relying on a fault apparatus to go online again. Specifically, the intelligent home equipment is accessed to the internet and establishes communication connection with a preset server corresponding to the intelligent home platform; when detecting that the network connection is disconnected currently, the first intelligent home equipment acquires offline fault information and generates a beacon frame carrying the offline fault information and equipment identification information; because the first smart home device cannot be connected with the server and cannot report the offline fault information to the server, at this time, the first smart home device broadcasts the beacon frame carrying the offline fault information and the device identification information through the built-in wireless communication module. When any other online second intelligent home equipment in the home network receives the beacon frame, the offline fault information carried in the beacon frame and the equipment identification information of the first intelligent home equipment are reported to the server in a correlated manner. When the server receives the offline fault information and the equipment identification information of the first intelligent household equipment, fault diagnosis and analysis are carried out on the offline fault information of the first intelligent household equipment based on the offline fault information of the first intelligent household equipment, and a fault diagnosis result is obtained.
The Wireless communication module may be a Wireless-Fidelity (WiFi) communication module, or may be a bluetooth communication module. The first intelligent household equipment and the second intelligent household equipment belong to trusted equipment under the same user account. Namely, the first smart home device and the second smart home device are devices which are successfully registered with the trust ring server through the same account in advance. The trust ring server and the preset server corresponding to the intelligent home platform can be the same or different.
The server can also send the fault diagnosis result to the user terminal so that the user can check the diagnosis result and maintain the fault diagnosis result.
The server can also output maintenance suggestion information based on the fault diagnosis result, and the fault diagnosis result and the maintenance suggestion information are sent to the user terminal in an associated mode so that a user can view the fault diagnosis result and the maintenance suggestion information.
For the sake of understanding, the following description is made with reference to the accompanying drawings and specific application scenarios.
Referring to fig. 2 and fig. 3 together, fig. 2 is a schematic view of an application scenario of an apparatus maintenance method according to an embodiment of the present application, and fig. 3 is a schematic view of a system interaction of the apparatus maintenance method according to the embodiment of the present application.
In an application scenario, the first smart home device may be a smart audio 21, and the second smart home device may be a smart socket 22 and a smart switch 23. The smart switch 23 and the smart socket 22 of the smart audio 21 have previously established communication connection with the server 24 corresponding to the smart home platform. As shown in fig. 2 and 3, when detecting that the network connection is disconnected, the smart audio 21 acquires offline fault information, generates a beacon frame carrying the offline fault information and device identification information, and broadcasts the beacon frame through a built-in wireless communication module. When acquiring the beacon frame transmitted by the smart audio 21, the smart switch 23 transmits the offline fault information and the device identification information included in the beacon frame to the server 24. Server 24 receives the offline fault information and the device identification information sent by intelligent switch 23, determines that an offline fault occurs in intelligent sound 21 based on the device identification information, and performs fault diagnosis on intelligent sound 21 based on the offline fault information.
In order to make the objects, technical solutions and advantages of the present application more clear, specific implementation procedures of the equipment maintenance method of the present application will be described in further detail below with reference to the accompanying drawings. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 4, fig. 4 is a schematic flowchart of an apparatus maintenance method according to an embodiment of the present application. The execution subject of the equipment maintenance method is intelligent household equipment, and the intelligent household equipment comprises but is not limited to: the intelligent floor sweeping machine comprises an intelligent desk lamp, an intelligent socket, an intelligent switch, a gateway, a door and window sensor, a curtain controller, a temperature and humidity sensor, an intelligent sound box, an intelligent floor sweeping machine, a smart phone, a tablet computer and the like. The equipment maintenance method in the embodiment comprises the following steps:
s101, detecting whether the network connection is disconnected currently.
All the intelligent household equipment in the user home is connected to the Internet in advance. It can be understood that the smart home device may Access the internet through a gateway, a router, or a wireless Access Point (AP).
The user can add all intelligent home devices through the preset APP pre-installed in the user device, and the intelligent home devices are in communication connection with the server corresponding to the intelligent home platform.
Because the network connection of the smart home devices may be disconnected due to network failure, failure of a built-in processor, data interaction control, or the like, after the communication connection between the smart home devices and the server is established, it is required to detect whether the network connection is currently disconnected, so as to determine whether normal communication with the server is currently available.
In one implementation, the smart home device may query the network connection status information of the smart home device, and determine whether to disconnect the network connection currently according to the network connection status information. The network connection state information is information for identifying whether the intelligent household equipment is connected with the internet. The network connection state information is used for indicating that the intelligent household equipment is in a networking state or a disconnected state.
In another implementation mode, the smart home device may also broadcast a heartbeat packet through the internet, and when the heartbeat packet fails to be sent or data returned by other devices or the server based on the heartbeat packet is not received within a preset feedback time, it is determined that the network connection is currently disconnected. And when the heartbeat packet is successfully sent or data returned by other equipment or the server based on the heartbeat packet is received within a preset feedback time length, judging that the current network connection is not disconnected.
And executing S102 when the intelligent household equipment detects that the network connection is disconnected currently.
S102, when the network connection is disconnected, offline fault information is obtained.
When the intelligent home equipment detects that the network connection is disconnected currently, the intelligent home equipment enters a fault state, and offline fault information is obtained and recorded.
The offline fault information is used for identifying a fault reason causing the intelligent household equipment to disconnect the network connection.
In one possible implementation, the failure cause may be represented by a failure code, i.e., the offline failure information includes the failure code. The intelligent home equipment pre-stores a fault code and a preset corresponding relation between fault reasons, analyzes a target fault reason which currently causes equipment offline when the intelligent home equipment detects that the network connection is disconnected currently, and acquires a target fault code corresponding to the target fault reason based on the preset corresponding relation between the fault code and the fault reason.
For example, when the failure cause is that the network is not reachable, the failure code may be 01, and the offline failure information may be 0X 001;
when the fault reason is a password error, the fault code can be 02, and the offline fault information can be 0X 002;
when the failure reason is that the heartbeat module is hung up, the failure code can be 03, and the offline failure information can be 0X 003;
when the failure reason is that the device processor is hung up, the failure code can be 04, and the offline failure information can be 0X 004;
when the failure cause is abnormal because of the device execution instruction, the failure code may be 05, and the offline failure information may be 0X 005.
In a possible implementation manner, when the smart home device obtains the offline fault information, an offline fault report may be locally generated, where the offline fault report may include a fault code (or a fault ID), a fault reason, and the like.
S103, generating a beacon frame carrying the offline fault information and equipment identification information, wherein the equipment identification information belongs to the intelligent household equipment.
And the intelligent household equipment generates a Beacon frame based on the offline fault information and the equipment identification information. The device identification information is at the outermost layer of the beacon frame. The device identification information may be a Media Access Control (MAC) address, a unique identification code, or a unique serial number.
When the offline fault information acquired in S102 is a fault code, the smart home device generates a beacon frame based on the target fault code and the device identification information of the smart home device.
In a possible implementation manner, the smart home device may first generate a beacon frame according to a frame format as shown in fig. 5, and add its own device identification information before transmitting the beacon frame. The device identification information is at the outermost layer of the beacon frame. Referring to fig. 5, fig. 5 is a frame format according to an embodiment of the present disclosure. The beacon frame is composed of a fault frame identification code, a frame length, manufacturer identification information of the intelligent household equipment, a fault type value and data. The identification code of the fault frame and the length of the frame belong to the frame header, and the content manufacturers of the manufacturer identification information, the fault type value and the data of the intelligent household equipment can be customized. The data may take up to 4 bytes in the beacon frame.
The method comprises the steps that a fault frame identification code is used for identifying a beacon frame as a fault frame, when the intelligent home equipment needs to generate the beacon frame through a WiFi communication module, the fault frame identification code in the generated beacon frame can be 0XDD, and the 0XDD is a manufacturer custom identification specified by a WiFi alliance. The frame length refers to the total length of the beacon frame.
The manufacturer identification information of the smart home device may be an Organization Unique Identifier (OUI). The OUI is a unique identifier assigned to various types of organization of units by the Institute of Electrical and Electronics Engineers (IEEE).
The fault type value is a factory-defined value that identifies a certain type of fault. In this embodiment, the fault type identified by the fault type value is an offline fault.
The frame position corresponding to the data is used for writing off-line fault information, such as the fault code mentioned above. It can be understood that, when the smart home device encrypts the offline fault information, the frame position corresponding to the data is used for writing the encrypted offline fault information.
S104, broadcasting the beacon frame through a built-in wireless communication module, wherein the beacon frame is used for indicating the target smart home device receiving the beacon frame to send the offline fault information and the device identification information to a preset server, and fault diagnosis is carried out through the server based on the offline fault information and the device identification information.
In a possible implementation manner, the smart home device may broadcast a beacon frame carrying offline fault information through a built-in WiFi communication module or a built-in bluetooth communication module, so that the target smart home device receiving the beacon frame uploads the offline fault information in the beacon frame and the device identification information of the execution subject to a server corresponding to the smart home platform in a correlated manner, so that the server can perform fault analysis and fault processing based on the offline fault information and the device identification information.
In order to better understand the solutions corresponding to S101 to S104, the following detailed description is made with reference to specific application scenarios. Assuming that the execution subject is the smart audio 21 in fig. 2, the smart audio 21, the smart socket 22 and the smart switch 23 in fig. 2 have previously established a communication connection with the server 24 corresponding to the smart home platform.
When the smart audio 21 detects that the network connection is currently disconnected, the smart audio 21 cannot communicate with the server 24. The intelligent sound equipment 21 acquires the offline fault information, generates a beacon frame carrying the offline fault information and the device identification information of the intelligent sound equipment 21, and broadcasts the beacon frame through a built-in wireless communication module.
In a possible implementation manner, the executing entity (smart home device) and the target smart home device that receives the beacon frame in this embodiment belong to trusted devices under the same user account. Namely, the execution main body and the target intelligent household equipment are in the same trust ring.
It can be understood that after the smart home device in the home of the user accesses the internet, the smart home device can send its own public key to the trust ring server by logging in the same user account to register with the trust ring server, and after the registration is successful, the device identification information of all trusted devices in the trust ring is synchronized. The user account is used for identifying identity information of an owner of the user account, and the user account can be a pre-registered Huawei account. The trusted device refers to a user device trusted by an owner of the user account, and the trusted devices have the authority of reporting the offline fault information to the server. The trust ring server and the server corresponding to the intelligent home platform can be the same or different.
Referring to fig. 6, fig. 6 is a schematic view of a scenario of a method for registering a trust ring according to an embodiment of the present disclosure. In fig. 6, the smart socket, the smart switch, and the mobile phone are devices that have logged in the same user account and successfully sent their public key registration to the trust ring server (i.e., the smart socket, the smart switch, and the mobile phone are trusted devices that have joined the trust ring). The intelligent sound box is an intelligent household device which is not added with a trust ring.
Since each device can have a public and private key pair, when a user purchases a new smart home device (e.g., a smart sound), the smart sound can be triggered to generate the public and private key pair by using an asymmetric encryption algorithm. The method comprises the steps that a user controls a new intelligent sound to enter an account login interface, a user account and a login password are input in the account login interface, a login request is sent to a trust ring server, when the trust ring server receives the login request, whether the user account and the login password in the login request are correct is verified based on the registration account and the registration password stored in a database, and when the user account and the login password in the login request are correct, the intelligent sound is allowed to login and establish communication connection with the intelligent sound. At the moment, the intelligent sound box can display an interactive interface for successful login, a user can control the intelligent sound box to enter the interactive interface for registering the trust ring, the user can input or select the public key of the intelligent sound box through the interactive interface, and click a 'registration' option to trigger the intelligent sound box to send a registration request to the server. The registration request includes the device identification of the smart sound and its public key. The equipment identification and the public key of the intelligent sound equipment are the identity information of the intelligent sound equipment.
When receiving a registration request, the trust ring server analyzes the equipment identification information and the public key contained in the registration request, establishes an incidence relation between the equipment identification and the public key, adds the intelligent sound equipment to the trust ring, returns the equipment identification and the respective public key of the existing equipment in the trust ring to the intelligent sound equipment, and then broadcasts the equipment identification and the public key of the intelligent sound equipment to the existing equipment in the trust ring so as to inform the existing equipment in the trust ring that new equipment is added into the trust ring currently and indicate the existing equipment in the trust ring to store the equipment identification information and the public key of the intelligent sound equipment. In this way, each device that joins the trust ring has stored therein the device identification information and its public key of all devices that have joined the trust ring.
The intelligent household devices in the same trust ring are mutually trusted devices of the other side and can safely communicate with each other.
In order to prevent the offline fault information from being tampered or leaked, and improve the security of the offline fault information in the beacon frame, in a possible implementation manner, S103 may specifically include: and encrypting the offline fault information by adopting a preset encryption key to generate a beacon frame carrying the encrypted offline fault information and the equipment identification information.
For example, after detecting that the network connection is disconnected, the smart home device acquires offline fault information, encrypts the offline fault information by using a preset encryption key, and generates a beacon frame based on the encrypted offline fault information and the device identification information to obtain the beacon frame carrying the encrypted offline fault information and the device identification information.
In a possible implementation manner, the pre-stored encryption key is a private key of the smart home device (i.e., the execution subject), or a pre-negotiated session key.
When the encryption key is the private key of the execution subject, the corresponding decryption key is the public key of the execution subject. When the encryption key is a pre-negotiated session key, the decryption key is also the session key.
Since all the smart home devices belonging to the same trust ring know the public keys of the other devices, the target smart home device receiving the beacon frame can decrypt the offline fault information in the beacon frame by using the public key corresponding to the smart home device sending the beacon frame.
It is understood that the pre-negotiated session keys may be one or at least two, and are not limited herein. When the pre-negotiated session key is one, the session key is generated by the trust ring server or the smart home devices, and the session key is suitable for the session key common to all the smart home devices in the trust ring.
When the pre-negotiated session keys are at least two, the session keys may be generated by the smart home devices, and the session keys may correspond to the smart home devices. For example, the first session key is used for encrypting or decrypting interactive data between the first smart home device and the second smart home device; the second session key is used for encrypting or decrypting interactive data between the first smart home device and the third smart home device. It can be understood that, when there are at least two session keys, different session keys may be respectively used to encrypt the offline fault information, so that the smart home devices that receive the beacon frame containing the encrypted offline fault information may use their respective session keys to decrypt the offline fault information.
The session key is generated based on a key agreement algorithm, and the session key may be a random number, may also be obtained by calculation based on the private key of the smart home device and the public keys of other smart home devices, and may also be obtained by calculation based on the private key of the smart home device and the public keys of other smart home devices and the random number, which is not limited herein. Since the key agreement algorithm is the prior art, the detailed process of generating the session key is not described herein.
In a possible implementation manner, after the smart home devices access the internet and establish communication connection with a preset server, the first smart home device performs authentication on the second smart home device, and generates a session key after the authentication is passed.
In an embodiment, the first smart home device may generate a session key based on the shared key, the fixed derivation factor, the first random number, and the second random number. The fixed derivation factor is a fixed random number used to identify the authentication traffic. The length of the fixed random number may be 8 bytes (Byte), but is not limited thereto, and may be set to other lengths according to actual needs. Authentication services include, but are not limited to, forwarding offline fault information, fast file transfer, fast hotspot sharing, sharing communication link information, short message forwarding or call relaying, and the like.
The shared secret key can be obtained by the first intelligent home device through calculation based on the private key of the first intelligent home device and the public key of the second intelligent home device by adopting a hash function. The first random number and the second random number are generated by the first intelligent household device and the second intelligent household device respectively.
The method for generating the session key by the first smart home device based on the shared key, the fixed derivation factor, the first random number and the second random number may be: calculating the digest value of the message composed of the shared key, the fixed derivation factor, the first random number and the second random number by adopting a message digest algorithm, and taking the digest value as a session key; the method can also be as follows: and under the participation of the shared key, calculating the MAC value of the message consisting of the shared key, the fixed derivative factor, the first random number and the second random number by adopting a message authentication algorithm, and taking the MAC value as the session key. It is understood that the first smart home device may also use other key agreement algorithms to generate the session key, which is not limited herein.
In a possible implementation manner, the first smart home device may perform authentication on the second smart home device according to the following steps:
1. when the first smart home device detects the second smart home device, the first smart home device sends an identity authentication notification message to the second smart home device.
2. And the second intelligent household equipment sends authentication request information to the first intelligent household equipment when receiving the identity authentication notification message, wherein the authentication request information comprises the equipment ID of the second intelligent household equipment, the version number of the public key attribute certificate of the second intelligent household equipment and the first random number generated by the second intelligent household equipment.
3. When receiving authentication request information sent by second intelligent home equipment, first intelligent home equipment analyzes the authentication request information to obtain an equipment ID of the second intelligent home equipment, a version number of a public key attribute certificate of the second intelligent home equipment and a first random number generated by the second intelligent home equipment; performing the following steps at the local public key directory:
a) the device ID of the second smart home device is searched, and the version number stored in the local public key directory is compared with the version number sent by the other party, that is, the version number of the received public key attribute credential (the first version number of the public key attribute credential sent by the second smart home device) is compared with the version number stored locally (the second version number of the public key attribute credential corresponding to the second smart home device stored locally), and whether the version number of the received public key attribute credential is the latest version number is determined. The version number is primarily to confirm whether the other party has been revoked (removed from the trust ring) or a device newly added to the trust ring. Therefore, certain security can be provided for the offline devices, and the validity of each device certificate does not need to be kept online at any time.
b) And processing according to the processing strategy in the following table based on the search result and the comparison result so as to obtain the public key of the second intelligent household equipment.
When the device ID of the second intelligent home device is not found and the locally stored version number is smaller than the version number sent by the opposite party, the second intelligent home device is judged to be a device newly added into the trust ring, the public key and the public key attribute certificate of the second intelligent home device stored in the local public key directory are old versions, and public key acquisition request information is sent to the second intelligent home device to request to acquire the public key and the public key attribute certificate of the second intelligent home device;
when the device ID of the second intelligent household device is not found and the locally stored version number is larger than the version number sent by the opposite party, the locally stored data is judged to be the latest version, after the local public key directory is updated finally, the data of the second intelligent household device is not in the local public key directory, and the trust qualification of the second intelligent household device is cancelled; at the moment, the first intelligent household equipment judges that the second intelligent household equipment is not credible, and connection of the second intelligent household equipment is refused;
when the device ID of the second intelligent home device is found and the locally stored version number is larger than the version number sent by the opposite party, the data stored in the local public key directory is judged to be the latest version, the public key of the second intelligent home device stored in the local public key directory is used for carrying out identity verification on the second intelligent home device, the public key of the second intelligent home device is obtained from the local public key directory, and the second intelligent home device is not required to send the public key and the public key attribute certificate.
Figure BDA0002289584530000111
4. When the first smart home device acquires the public key of the second smart home device, the first smart home device calculates the shared secret key by using the private key of the first smart home device and the public key of the second smart home device. It can be understood that the first smart home device may calculate the shared key by using a message digest algorithm based on a private key of the first smart home device and a public key of the second smart home device; or calculating hash values of the private key of the first intelligent home device and the public key of the second intelligent home device by adopting a hash algorithm to obtain a shared key; the shared key may also be calculated by other algorithms, and the manner of calculating the shared key is not limited herein.
5. The first smart home device generates a second random number, and calculates a device ID of the first smart home device, a first random number generated by the second smart home device, and a Message Authentication Code (MAC) value corresponding to the second random number generated by the first smart home device, using the shared key.
Specifically, the first smart home device may use the device ID, the first random number, and the second random number of the first smart home device as a message M, calculate a digest value of the message M by using a message digest algorithm, and calculate an MAC value from the digest value under the action of the shared key. Or the first smart home device calculates the MAC value of the message M by using a message authentication algorithm with participation of the shared key. For example, the digest value of the message M is encrypted with the shared key to obtain the MAC value, or the message M is encrypted with the shared key to obtain the MAC value.
6. The first intelligent home equipment sends the equipment ID, the version number of the public key attribute certificate and the second random number to second intelligent home equipment by adopting an NFC technology; it can be understood that, when the second smart home device needs to authenticate the first smart home device, the first smart home device may further send the calculated MAC value to the second smart home device, so that the second smart home device authenticates the MAC value by using the shared key when calculating the shared key, thereby authenticating the first smart home device.
7. When acquiring the device ID of the first smart home device and the version number of the public key attribute credential, the second smart home device performs the following processing:
searching the equipment ID of the first intelligent household equipment, and comparing the locally stored version number with the version number sent by the opposite party; processing according to the processing strategy in the table on the basis of the search result and the comparison result;
when the device ID of the first intelligent home device is not found and the locally stored version number is smaller than the version number sent by the opposite party, the first intelligent home device is judged to be a device newly added into the trust ring, the public key and the public key attribute certificate of the first intelligent home device stored in the local public key directory are old versions, and public key acquisition request information is sent to the first intelligent home device to request to acquire the public key and the public key attribute certificate of the first intelligent home device;
when the device ID of the first intelligent household device is not found and the locally stored version number is larger than the version number sent by the opposite party, the data stored in the local public key directory is judged to be the latest version, after the local public key directory is updated finally, the data of the first intelligent household device is not in the local public key directory, and the trust qualification of the first intelligent household device is cancelled; at the moment, the second intelligent household equipment judges that the first intelligent household equipment is not credible, and connection of the first intelligent household equipment is refused;
when the device ID of the first intelligent household device is found and the locally stored version number is larger than the version number sent by the opposite party, the data stored in the local public key directory is judged to be the latest version, the public key of the first intelligent household device stored in the local public key directory is used for carrying out identity verification on the first intelligent household device, the public key of the first intelligent household device is obtained from the local public key directory, and the first intelligent household device is not required to send the public key and the public key attribute certificate.
8. When the second smart home device acquires the public key of the first smart home device, the second smart home device calculates a shared secret key by using the private key of the second smart home device and the public key of the first smart home device. It can be understood that the second smart home device may calculate the shared key by using a message digest algorithm based on the private key of the second smart home device and the public key of the first smart home device; or calculating a hash value of a private key of the second intelligent home device and a public key of the first intelligent home device by adopting a hash algorithm to obtain a shared key; the shared key may also be calculated by other algorithms, and the manner of calculating the shared key is not limited herein. Because the key agreement algorithm (ECDH) has commutative property, the shared key calculated by the first smart home device and the second smart home device is the same.
9. And the second intelligent household equipment calculates the equipment ID of the first intelligent household equipment, the first random number generated by the second intelligent household equipment and the MAC value corresponding to the second random number generated by the first intelligent household equipment by using the shared secret key.
10. And sending the MAC value obtained by calculation to the first intelligent household equipment.
The method for calculating the message authentication code MAC value by the second smart home device is the same as the method for calculating the message authentication code MAC value by the first smart home device, and please refer to the description above for the first smart home device to calculate the message authentication code MAC value, which is not described herein again.
Optionally, when the second smart home device receives the MAC value sent by the first smart home device, the shared key may be used to verify the MAC value sent by the first smart home device, so as to perform identity verification on the first smart home device.
For example, when the MAC value sent by the first smart home device is obtained by encrypting the device ID, the first random number, and the second random number of the first smart home device with the shared key, the second smart home device may decrypt the MAC value sent by the first smart home device with the shared key obtained by calculation, and if the device ID, the first random number, and the second random number of the first smart home device are obtained by decryption, it is determined that the identity of the first smart home device is legal, and the authentication passes; and if the data obtained after decryption is different from any one of the equipment ID, the first random number and the second random number of the first intelligent household equipment, judging that the identity of the first intelligent household equipment is illegal, and failing to authenticate the identity.
For another example, when the MAC value sent by the first smart home device is obtained by encrypting a digest value (the digest value is obtained by calculating the device ID, the first random number, and the second random number of the first smart home device) by using the shared key, the second smart home device may decrypt the MAC value sent by the first smart home device by using the calculated shared key, and if the digest value is obtained by decrypting, calculate the digest values corresponding to the device ID, the first random number, and the second random number of the first smart home device by using a message digest algorithm; if the digest value obtained by decryption is the same as the calculated digest value, judging that the identity of the first intelligent household equipment is legal, and passing the identity verification; and if the digest value obtained by decryption is different from the calculated digest value, judging that the identity of the first intelligent household equipment is illegal, and failing to authenticate the identity.
11. When the first intelligent household equipment receives the MAC value sent by the second intelligent household equipment, the received MAC value is compared with the MAC value sent to the second intelligent household equipment, and when the received MAC value and the MAC value are the same, the identity of the second intelligent household equipment is judged to be legal, and the identity authentication is passed; when the first smart home equipment and the second smart home equipment are different, the identity of the second smart home equipment is judged to be illegal, and the identity authentication fails.
According to the embodiment of the application, after the smart home devices are connected to the internet and establish communication connection with the server, when the current disconnected network connection is detected, a beacon frame containing offline fault information and own device identification information is generated, and the beacon frame is broadcasted to the outside through the built-in wireless communication module, so that the online smart home devices receiving the beacon frame report the offline fault information and the device identification information in the beacon frame to the server corresponding to the smart home platform, and the server performs fault diagnosis and processing based on the offline fault information and the device identification information, so that the remote maintenance and management of the smart home devices in an offline state are realized.
Referring to fig. 7, fig. 7 is a schematic flowchart of an apparatus maintenance method according to another embodiment of the present application. The execution subject of the equipment maintenance method is intelligent household equipment, and the intelligent household equipment comprises but is not limited to: the intelligent floor sweeping machine comprises an intelligent desk lamp, an intelligent socket, an intelligent switch, a gateway, a door and window sensor, a curtain controller, a temperature and humidity sensor, an intelligent sound box, an intelligent floor sweeping machine, a smart phone, a tablet computer and the like. The equipment maintenance method in the embodiment comprises the following steps:
s201, obtaining a beacon frame, wherein the beacon frame is sent by offline intelligent household equipment disconnected from a network in a broadcast mode, and the beacon frame comprises offline fault information and equipment identification information of the offline intelligent household equipment.
And the on-line intelligent household equipment monitors the beacon frame sent by the off-line intelligent household equipment. Specifically, the on-line smart home device may obtain a beacon frame received through the built-in wireless communication module.
The online intelligent household equipment is the intelligent household equipment which is accessed to the Internet and is in communication connection with the server corresponding to the intelligent household equipment platform in advance. The offline intelligent household equipment is intelligent household equipment which is in communication connection with a server corresponding to the intelligent household equipment platform in advance and is disconnected from the network at present.
In one possible implementation manner, when the beacon frame is sent by the offline smart home device in a broadcast form through the WiFi communication module, the online smart home device (execution subject) acquires the beacon frame received through the built-in WiFi communication module; when the beacon frame is sent by the offline smart home device in a broadcast mode through the bluetooth communication module, the online smart home device (execution main body) acquires the beacon frame received through the built-in bluetooth communication module.
The online intelligent home equipment and the offline intelligent home equipment belong to trusted equipment under the same user account.
S202, fault information is sent to a preset server based on the beacon frame to inform the server of fault diagnosis based on the fault information, wherein the fault information comprises the offline fault information and the equipment identification information, and before the offline intelligent home equipment is disconnected from the network, the intelligent home equipment and the offline intelligent home equipment are in communication connection with the server in advance.
Because all the intelligent home devices are in communication connection with the server in advance before the offline intelligent home devices are disconnected from the network, when the online intelligent home devices acquire the offline fault information and the target identification information contained in the beacon frame, the offline fault information and the target identification information can be sent to the server through the internet.
Specifically, when the online smart home devices acquire the beacon frame, the beacon frame is analyzed, offline fault information and device identification information of the offline smart home devices, which are included in the beacon frame, are acquired, and the offline fault information and the device identification information of the offline smart home devices are sent to the server in a correlated manner based on preset identification information of the server, so that when the server receives the offline fault information and the device identification information, which smart home device is currently in an offline state can be determined based on the device identification information, and fault diagnosis and fault analysis are performed on the offline smart home devices based on the received offline fault information.
It can be understood that, when the beacon frame sent by the offline smart home device is in the format shown in fig. 6, the fault information sent by the online smart home device to the preset server may further include the OUI and the fault type value. The OUI and the fault type value are used for determining a fault reason corresponding to the offline fault information.
Specifically, the on-line smart home device analyzes the beacon frame, acquires the failure frame identification code in the frame header, and determines whether the acquired failure frame identification code is a preset identification code (e.g., 0XDD), and when the acquired failure frame identification code is the preset identification code, determines that the currently acquired beacon frame is a failure frame, and acquires the OUI, the failure type value, and the off-line failure information in the beacon frame, where the off-line failure information may be a failure code. And then, the on-line intelligent household equipment transmits the target identification information, the OUI, the fault type value and the off-line fault information to the server in an associated manner.
In a possible implementation manner, in order to avoid sending information in a beacon frame sent by a device that does not access the smart home platform to a server corresponding to the smart home platform or to avoid that a received beacon frame comes from smart home devices in other home networks, the online smart home devices may perform authentication on the smart home devices that send the beacon frame. S202 may be: performing identity verification on the off-line intelligent household equipment based on pre-stored equipment identification information and the equipment identification information carried by the beacon frame; and when the offline intelligent household equipment identity is confirmed to be legal, fault information is sent to a preset server based on the beacon frame.
The pre-stored device identification information may be device identification information corresponding to a device that has passed the authentication. The intelligent household equipment and the execution main body corresponding to the pre-stored equipment identification information are all trusted equipment belonging to the same user account.
In a possible implementation manner, in the smart home system, all smart home devices establishing communication connection with a preset server are trusted devices belonging to the same user account, that is, all smart home devices in a home network are trusted devices belonging to the same trust ring; the equipment identification information of the trusted equipment is prestored in each intelligent household equipment. At this time, the pre-stored device identification information may be device identification information of the trusted device.
The user account is used for identifying identity information of an owner of the user account, and the user account can be a pre-registered Huawei account. The trusted device refers to a user device trusted by an owner of the user account, and the trusted devices have the authority of reporting the offline fault information to the server. In this embodiment, the online smart home device and the offline smart home device have previously logged in the user account, and synchronize the device identification information of all trusted devices under the user account. That is, the device identification information of all trusted devices under the user account is pre-stored in the online smart home device and the offline smart home device. The off-line intelligent household equipment is intelligent household equipment disconnected with a network, and the on-line intelligent household equipment is equipment not disconnected with the network. Before the offline intelligent household equipment is disconnected from the network, the online intelligent household equipment and the offline intelligent household equipment are all in communication connection with a preset server.
When the on-line smart home equipment acquires the beacon frame, the equipment identification information in the beacon frame is acquired, and the equipment identification information matched with the equipment identification information is searched from the pre-stored equipment identification information. When the device identification information matched with the device identification information is found, the offline intelligent home equipment sending the beacon frame is judged to be the trusted equipment, the offline intelligent home equipment is judged to be legal in identity, and the offline fault information and the device identification information in the beacon frame are sent to a preset server. When the device identification information matched with the device identification information of the off-line intelligent household device is not searched from the pre-stored device identification information, the off-line intelligent household device which sends the beacon frame is judged to be not a trusted device, and the identity of the off-line intelligent household device is illegal.
In a possible implementation manner, in order to improve the security of information, when the offline smart home device encrypts the offline fault information in the beacon frame, S202 may include steps a to C, which are specifically as follows:
step A, analyzing the beacon frame to obtain the equipment identification information and the encrypted offline fault information.
And B, decrypting the encrypted offline fault information by adopting a preset decryption key to obtain target offline fault information.
Specifically, the target smart home device receiving the beacon frame may analyze the beacon frame, obtain device identification information of an outermost layer of the beacon frame, obtain a preset decryption key from a local database, decrypt the encrypted offline fault information in the beacon frame by using the preset decryption key, obtain the offline fault information before encryption, and obtain the target offline fault information.
In a possible implementation manner, the decryption key is a public key of the offline smart home device or a pre-negotiated session key. When the offline intelligent home equipment encrypts the offline fault information by using the private key of the offline intelligent home equipment, the online intelligent home equipment decrypts the encrypted offline fault information in the beacon frame by using the public key of the offline intelligent home equipment to obtain the target offline fault information.
When the offline intelligent home equipment encrypts the offline fault information by adopting the pre-negotiated session key, the online intelligent home equipment decrypts the encrypted offline fault information in the beacon frame by adopting the session key.
And step C, sending the target offline fault information and the equipment identification information to a preset server.
According to the embodiment of the application, the on-line intelligent home equipment receives the beacon frame sent by the off-line intelligent home equipment, and off-line fault information and equipment identification information in the beacon frame are sent to the preset server in an associated mode, so that the preset server can carry out fault diagnosis on the off-line intelligent home equipment based on the off-line fault information and the equipment identification information. In the home network, the offline device can also report the fault information by means of the existing online device, so as to maintain and diagnose the offline device.
When the number of the on-line intelligent household devices is at least two, the fault reporting path of the multiple devices can be realized in the home network.
It can be understood that the same smart home device may perform the steps in the embodiments corresponding to fig. 4 or fig. 7.
Referring to fig. 8, fig. 8 is a schematic flowchart of an apparatus maintenance method according to still another embodiment of the present application. The execution main body of the equipment maintenance method is a server corresponding to the intelligent home platform. The equipment maintenance method comprises the following steps:
s301, receiving fault information sent by target intelligent household equipment, wherein the fault information comprises offline fault information and equipment identification information of the offline intelligent household equipment, and the offline fault information and the equipment identification information are transmitted to the target intelligent household equipment through a broadcast beacon frame when the offline intelligent household equipment detects that the network connection is disconnected.
The target intelligent home equipment is any intelligent home equipment which is in communication connection with the server in advance and is not disconnected from the network at present. The off-line fault information and the device identification information of the off-line intelligent home device are contained in a beacon frame, and the beacon frame is sent in a broadcast mode through a built-in wireless communication module when the off-line intelligent home device detects that the network connection is disconnected.
S302, fault diagnosis is carried out on the off-line intelligent household equipment corresponding to the equipment identification information based on the off-line fault information.
When receiving fault information sent by target intelligent household equipment, the server acquires offline fault information and equipment identification information from the fault information, determines which intelligent household equipment is in an offline state at present based on the equipment identification information, and performs fault diagnosis and fault analysis on the offline intelligent household equipment based on the acquired offline fault information.
For example, when the offline fault information is 0X001, it is determined that the fault cause is network unreachable; when the offline fault information is 0X002, judging that the fault reason is the password error; when the offline fault information is 0X003, judging that the fault reason is that the heartbeat module is hung up; when the offline fault information is 0X004, judging that the fault reason is that the device processor is hung up; when the offline fault information is 0X005, it is determined that the cause of the fault is an apparatus execution instruction abnormality.
In one possible implementation, the offline fault information may be identified in the form of a fault code. The server stores the preset corresponding relation between the fault code and the fault reason in advance. When the server acquires the target fault code contained in the fault information, the server determines the fault reason corresponding to the target fault code based on the preset corresponding relation between the fault code and the fault reason, and maintains and processes the off-line intelligent household equipment based on the fault reason. The fault reason and the fault processing scheme can be pushed to the corresponding user terminal so as to remind or assist the user in processing the offline fault.
For example, when the target fault code is 01, the fault reason is determined to be network unreachable; when the target fault code is 02, judging that the fault reason is a password error; when the target fault code is 03, judging that the fault reason is that the heartbeat module is hung up; when the target fault code is 04, judging that the fault reason is that the device processor is hung up; when the target fault code is 05, the fault reason is judged to be that the equipment execution instruction is abnormal.
In a possible implementation manner, the fault information sent by the target smart home device may further include: OUI and fault type value.
The server may determine a failure cause corresponding to the offline failure information based on the OUI and the failure type value in the failure information.
According to the fault diagnosis method and device, the server receives the fault information sent by the target intelligent home equipment, and the offline fault information and the equipment identification information of the offline intelligent home equipment are sent to the target intelligent home equipment through the beacon frame when the offline intelligent home equipment detects that the network connection is disconnected, so that the server can perform fault diagnosis on the basis of the fault information offline intelligent home equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 9 shows a schematic block diagram of a structure of an apparatus maintenance device according to an embodiment of the present application, which corresponds to the apparatus maintenance method described in the embodiment corresponding to fig. 4 above, and only shows a part related to the embodiment of the present application for convenience of description. The device maintenance apparatus 9 includes a detecting unit 910, an obtaining unit 920, a generating unit 930, and a fault reporting unit 920. Wherein the content of the first and second substances,
a detecting unit 910, configured to detect whether a network connection is currently disconnected; the detecting unit 910 is configured to execute S101 in the embodiment corresponding to fig. 4, and please refer to the detailed description of S101 for a specific implementation process, which is not described herein again.
An obtaining unit 920, configured to obtain offline fault information when the network connection is disconnected. The obtaining unit 920 is configured to execute the S102 in the embodiment corresponding to fig. 4, and please refer to the detailed description of S102 for a specific implementation process, which is not described herein again.
A generating unit 930, configured to generate a beacon frame carrying the offline fault information and device identification information, where the device identification information belongs to the smart home device. The generating unit 930 is configured to execute S103 in the embodiment corresponding to fig. 4, and please refer to the detailed description of S103 for a specific implementation process, which is not described herein again.
A fault reporting unit 940, configured to broadcast the beacon frame through a built-in wireless communication module, where the beacon frame is used to instruct a target smart home device that receives the beacon frame to send the offline fault information and the device identification information to a preset server, and perform fault diagnosis based on the offline fault information and the device identification information through the server. The fault reporting unit 920 is configured to execute the S104 in the embodiment corresponding to fig. 4, and please refer to the detailed description of the S104 in the specific implementation process, which is not described herein again.
In a possible implementation manner, the smart home device and the target smart home device are trusted devices belonging to the same user account.
In a possible implementation manner, the generating unit 930 is specifically configured to: and encrypting the offline fault information by adopting a preset encryption key to generate a beacon frame carrying the encrypted offline fault information and the equipment identification information.
In a possible implementation manner, the encryption key is a private key of the smart home device or a pre-negotiated session key.
In one possible implementation, the beacon frame further carries: the beacon frame fault detection method comprises a fault frame identification code, manufacturer identification information and a fault type value, wherein the fault frame identification code is used for identifying the beacon frame as a fault frame, and the fault type value is used for identifying the fault type as an off-line fault.
In this embodiment, the device maintenance apparatus 9 may be an intelligent home device, or a chip in the intelligent home device, or a functional module integrated in the intelligent home device. The chip or the functional module may be located in a control center (e.g., a console) of the smart home device, and control the smart home device to implement the device maintenance method according to the embodiment corresponding to fig. 4.
Corresponding to the device maintenance method described in the embodiment corresponding to fig. 7, fig. 10 is a schematic block diagram illustrating a structure of a device maintenance apparatus provided in another embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown. The device maintenance apparatus 10 includes an obtaining unit 1010 and a fault reporting unit 1020. Wherein the content of the first and second substances,
an obtaining unit 1010, configured to obtain a beacon frame, where the beacon frame is sent by an offline smart home device that disconnects from a network in a broadcast manner, and the beacon frame includes offline fault information and device identification information of the offline smart home device. The obtaining unit 1010 is configured to execute the S201 in the embodiment corresponding to fig. 7, and please refer to the detailed description of S201 for a specific implementation process.
A fault reporting unit 1020, configured to send fault information to a preset server based on the beacon frame to notify the server to perform fault diagnosis based on the fault information, where the fault information includes the offline fault information and the device identification information, and before the offline smart home device disconnects the network connection, the smart home device and the offline smart home device have previously established communication connection with the server. The fault reporting unit 1020 is configured to execute the S202 in the embodiment corresponding to fig. 7, and please refer to the detailed description of the S202 for a specific implementation process, which is not described herein again.
In a possible implementation manner, the fault reporting unit 1020 is specifically configured to: performing identity verification on the off-line intelligent household equipment based on pre-stored equipment identification information and the equipment identification information carried by the beacon frame; and when the offline intelligent household equipment identity is confirmed to be legal, fault information is sent to a preset server based on the beacon frame.
In a possible implementation manner, when the offline fault information is encrypted, the fault reporting unit 1020 is specifically configured to: analyzing the beacon frame to acquire the equipment identification information and encrypted offline fault information; decrypting the encrypted offline fault information by adopting a preset decryption key to obtain target offline fault information; and sending the target offline fault information and the equipment identification information to a preset server.
In a possible implementation manner, the decryption key is a public key of the offline smart home device or a pre-negotiated session key.
In this embodiment, the device maintenance apparatus 10 may be an intelligent home device, or a chip in the intelligent home device, or a functional module integrated in the intelligent home device. The chip or the functional module may be located in a control center (e.g., a console) of the smart home device, and control the smart home device to implement the device maintenance method according to the embodiment corresponding to fig. 7.
Fig. 11 is a schematic block diagram of a structure of an apparatus maintenance device according to still another embodiment of the present application, which corresponds to the apparatus maintenance method described in the embodiment corresponding to fig. 8 above, and only shows a part related to the embodiment of the present application for convenience of description. The equipment maintenance device 11 includes a receiving unit 1110 and a fault diagnosis unit 1020. Wherein the content of the first and second substances,
the receiving unit 1110 is configured to receive fault information sent by a target smart home device, where the fault information includes offline fault information and device identification information of an offline smart home device, and the offline fault information and the device identification information are sent to the target smart home device by broadcasting a beacon frame when the offline smart home device detects that a network connection is disconnected. The receiving unit 1110 is configured to execute S301 in the embodiment corresponding to fig. 8, and please refer to the detailed description of S301 for a specific implementation process, which is not described herein again.
And the fault diagnosis unit 1120 is configured to perform fault diagnosis on the offline smart home device corresponding to the device identification information based on the offline fault information. The fault diagnosis unit 1120 is configured to execute the S302 in the embodiment corresponding to fig. 8, and please refer to the detailed description of the S302 for a specific implementation process, which is not described herein again.
In this embodiment, the device maintenance apparatus 11 may be a server, or a chip in the server, or a functional module integrated in the server. The chip or the functional module may be located in a control center (e.g., a console) of a server, and the control server implements the device maintenance method provided in the embodiment corresponding to fig. 8 in this application.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a maintenance device according to an embodiment of the present application. The maintenance device 12 may be a smart home device or a server. As shown in fig. 12, the maintenance apparatus 12 includes: at least one processor 1210 (only one shown in fig. 12), a memory 1220, and a computer program 1221 stored in the memory 1220 and operable on the at least one processor 1210, wherein the processor 1210, when executing the computer program 1221, implements the steps in any of the various device maintenance method embodiments described above.
When the maintenance device is an intelligent home device, the processor 1210 calls the computer program 1221 stored in the memory 1220 to implement the steps in the device maintenance method embodiments corresponding to the above-described S101 to S104, or implement the steps in the device maintenance method embodiments corresponding to the above-described S201 to S202.
When the maintenance device is a server, the processor 1210 calls the computer program 1221 stored in the memory 1220 to implement the steps in the above-described method embodiment for preventing the information from being deleted by mistake in S301 to S302.
The maintenance device may include, but is not limited to, a processor 1210, a memory 1220. Those skilled in the art will appreciate that fig. 12 is merely an example of the maintenance device 12, and does not constitute a limitation of the maintenance device 12, and may include more or less components than those shown, or some components in combination, or different components, such as input output devices, network access devices, etc.
The Processor 1210 may be a Central Processing Unit (CPU), and the Processor 1210 may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 1220 may be, in some embodiments, an internal storage unit of the maintenance device 12, such as a hard disk or memory of the maintenance device 12. The memory 1220 may also be an external storage device to the maintenance device 12 in other embodiments, such as a Smart Media Card (SMC), Secure Digital (SD) Card, Flash memory Card (Flash Card), etc. on the maintenance device 12. Further, the memory 1220 may also include both internal storage units of the maintenance device 12 and external storage devices. The memory 1220 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 1220 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to the maintenance device 12, including recording media, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (13)

1. The equipment maintenance method is applied to intelligent household equipment and comprises the following steps:
when the current disconnected network connection is detected, acquiring offline fault information;
generating a beacon frame carrying the offline fault information and equipment identification information, wherein the equipment identification information belongs to the intelligent household equipment;
broadcasting the beacon frame through a built-in wireless communication module, wherein the beacon frame is used for indicating target smart home equipment receiving the beacon frame to send the offline fault information and the equipment identification information to a preset server, and fault diagnosis is carried out through the server based on the offline fault information and the equipment identification information.
2. The device maintenance method according to claim 1, wherein the smart home device and the target smart home device are trusted devices belonging to a same user account.
3. The device maintenance method according to claim 1, wherein the generating a beacon frame carrying the offline fault information and the device identification information includes:
and encrypting the offline fault information by adopting a preset encryption key to generate a beacon frame carrying the encrypted offline fault information and the equipment identification information.
4. The device maintenance method according to claim 3, wherein the encryption key is a private key of the smart home device or a pre-negotiated session key.
5. The device maintenance method of any of claims 1 to 4, wherein the beacon frame further carries: the beacon frame fault detection method comprises a fault frame identification code, manufacturer identification information and a fault type value, wherein the fault frame identification code is used for identifying the beacon frame as a fault frame, and the fault type value is used for identifying the fault type as an off-line fault.
6. The equipment maintenance method is applied to intelligent household equipment and comprises the following steps:
acquiring a beacon frame, wherein the beacon frame is sent by offline intelligent household equipment disconnected from a network in a broadcast mode, and comprises offline fault information and equipment identification information of the offline intelligent household equipment;
and sending fault information to a preset server based on the beacon frame to inform the server of fault diagnosis based on the fault information, wherein the fault information comprises the offline fault information and the equipment identification information, and before the offline intelligent household equipment is disconnected from the network, the intelligent household equipment and the offline intelligent household equipment are in communication connection with the server in advance.
7. The device maintenance method according to claim 6, wherein the transmitting the failure information to a preset server based on the beacon frame comprises:
performing identity verification on the off-line intelligent household equipment based on pre-stored equipment identification information and the equipment identification information carried by the beacon frame;
and when the offline intelligent household equipment identity is confirmed to be legal, fault information is sent to a preset server based on the beacon frame.
8. The device maintenance method of claim 6, wherein, when the offline failure information is encrypted, the transmitting failure information to a preset server based on the beacon frame comprises:
analyzing the beacon frame to acquire the equipment identification information and encrypted offline fault information;
decrypting the encrypted offline fault information by adopting a preset decryption key to obtain target offline fault information;
and sending the target offline fault information and the equipment identification information to a preset server.
9. The device maintenance method according to claim 8, wherein the decryption key is a public key of the offline smart home device or a pre-negotiated session key.
10. An equipment maintenance method is applied to a server, and the equipment maintenance method comprises the following steps:
receiving fault information sent by target intelligent home equipment, wherein the fault information comprises offline fault information and equipment identification information of offline intelligent home equipment, and the offline fault information and the equipment identification information are transmitted to the target intelligent home equipment by broadcasting a beacon frame when the offline intelligent home equipment detects that the network connection is disconnected;
and carrying out fault diagnosis on the offline intelligent household equipment corresponding to the equipment identification information based on the offline fault information.
11. A maintenance device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the device maintenance method according to any one of claims 1 to 5, or implements the device maintenance method according to any one of claims 6 to 9, or implements the device maintenance method according to claim 10 when executing the computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the device maintenance method according to any one of claims 1 to 5, or carries out the device maintenance method according to any one of claims 6 to 9, or carries out the device maintenance method according to claim 10.
13. A computer program product, characterized in that when the computer program product is run on a terminal device, the terminal device implements the device maintenance method according to any one of claims 1 to 5, or implements the device maintenance method according to any one of claims 6 to 9, or implements the device maintenance method according to claim 10.
CN201911174448.4A 2019-11-26 2019-11-26 Device maintenance method, maintenance device, storage medium, and computer program product Withdrawn CN110958142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911174448.4A CN110958142A (en) 2019-11-26 2019-11-26 Device maintenance method, maintenance device, storage medium, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911174448.4A CN110958142A (en) 2019-11-26 2019-11-26 Device maintenance method, maintenance device, storage medium, and computer program product

Publications (1)

Publication Number Publication Date
CN110958142A true CN110958142A (en) 2020-04-03

Family

ID=69976927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911174448.4A Withdrawn CN110958142A (en) 2019-11-26 2019-11-26 Device maintenance method, maintenance device, storage medium, and computer program product

Country Status (1)

Country Link
CN (1) CN110958142A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665737A (en) * 2020-07-21 2020-09-15 宁波奥克斯电气股份有限公司 Intelligent household scene control method and system
CN112039706A (en) * 2020-09-01 2020-12-04 三星电子(中国)研发中心 Fault processing method, device, equipment and storage medium
CN112511420A (en) * 2020-12-04 2021-03-16 珠海格力电器股份有限公司 Communication method, intelligent device and router system
CN112637682A (en) * 2020-12-16 2021-04-09 深圳Tcl新技术有限公司 Abnormal offline diagnosis method, device, equipment and computer readable storage medium
CN112804730A (en) * 2021-01-25 2021-05-14 Oppo广东移动通信有限公司 Equipment interconnection method and device, server, intelligent equipment and storage medium
CN112954723A (en) * 2021-02-23 2021-06-11 上海汉图科技有限公司 Network diagnosis method and device
CN113596792A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113660200A (en) * 2021-07-08 2021-11-16 雅宝科技(深圳)有限公司 Network breaking processing method and system for full-automatic car washing
CN113904969A (en) * 2021-09-28 2022-01-07 青岛海尔科技有限公司 Performance detection method of Internet of things equipment
CN114338464A (en) * 2021-12-30 2022-04-12 深圳Tcl新技术有限公司 Fault diagnosis method, device, equipment and computer readable storage medium
CN115002684A (en) * 2022-05-25 2022-09-02 歌尔科技有限公司 Intelligent home networking method, device, equipment and medium
CN116074375A (en) * 2021-10-29 2023-05-05 青岛海尔科技有限公司 Method, system and equipment for updating remote online state of equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680097A (en) * 2012-09-24 2014-03-26 Lg电子株式会社 Home appliance using terminal and operating method thereof
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
CN106413125A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
CN106413123A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
US20170123880A1 (en) * 2014-02-26 2017-05-04 Microsoft Technology Licensing, Llc Service metric analysis from structured logging schema of usage data
CN109471865A (en) * 2018-11-06 2019-03-15 用友网络科技股份有限公司 A kind of off-line data management method, system, server and storage medium
CN110365558A (en) * 2018-04-11 2019-10-22 佛山市顺德区美的电热电器制造有限公司 A kind of fault handling method, apparatus and system
CN110380931A (en) * 2019-07-17 2019-10-25 上海庆科信息技术有限公司 Processing method, device, storage medium, processor and the system of connection status

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680097A (en) * 2012-09-24 2014-03-26 Lg电子株式会社 Home appliance using terminal and operating method thereof
US20170123880A1 (en) * 2014-02-26 2017-05-04 Microsoft Technology Licensing, Llc Service metric analysis from structured logging schema of usage data
CN106413125A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
CN106413123A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Data transmission method and device
CN105159105A (en) * 2015-08-13 2015-12-16 小米科技有限责任公司 Work method and device of intelligent electric appliance
CN110365558A (en) * 2018-04-11 2019-10-22 佛山市顺德区美的电热电器制造有限公司 A kind of fault handling method, apparatus and system
CN109471865A (en) * 2018-11-06 2019-03-15 用友网络科技股份有限公司 A kind of off-line data management method, system, server and storage medium
CN110380931A (en) * 2019-07-17 2019-10-25 上海庆科信息技术有限公司 Processing method, device, storage medium, processor and the system of connection status

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665737A (en) * 2020-07-21 2020-09-15 宁波奥克斯电气股份有限公司 Intelligent household scene control method and system
CN111665737B (en) * 2020-07-21 2023-09-15 宁波奥克斯电气股份有限公司 Smart home scene control method and system
CN112039706A (en) * 2020-09-01 2020-12-04 三星电子(中国)研发中心 Fault processing method, device, equipment and storage medium
CN112511420A (en) * 2020-12-04 2021-03-16 珠海格力电器股份有限公司 Communication method, intelligent device and router system
CN112511420B (en) * 2020-12-04 2022-04-15 珠海格力电器股份有限公司 Communication method, intelligent device and router system
CN112637682A (en) * 2020-12-16 2021-04-09 深圳Tcl新技术有限公司 Abnormal offline diagnosis method, device, equipment and computer readable storage medium
CN112804730B (en) * 2021-01-25 2023-09-08 Oppo广东移动通信有限公司 Equipment interconnection method, device, server, intelligent equipment and storage medium
CN112804730A (en) * 2021-01-25 2021-05-14 Oppo广东移动通信有限公司 Equipment interconnection method and device, server, intelligent equipment and storage medium
CN112954723A (en) * 2021-02-23 2021-06-11 上海汉图科技有限公司 Network diagnosis method and device
CN113596792A (en) * 2021-07-07 2021-11-02 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113596792B (en) * 2021-07-07 2024-04-19 青岛海尔科技有限公司 Binding method and device of electronic equipment, storage medium and electronic device
CN113660200A (en) * 2021-07-08 2021-11-16 雅宝科技(深圳)有限公司 Network breaking processing method and system for full-automatic car washing
CN113904969A (en) * 2021-09-28 2022-01-07 青岛海尔科技有限公司 Performance detection method of Internet of things equipment
CN113904969B (en) * 2021-09-28 2023-09-15 青岛海尔科技有限公司 Performance detection method of Internet of things equipment
CN116074375A (en) * 2021-10-29 2023-05-05 青岛海尔科技有限公司 Method, system and equipment for updating remote online state of equipment
CN114338464A (en) * 2021-12-30 2022-04-12 深圳Tcl新技术有限公司 Fault diagnosis method, device, equipment and computer readable storage medium
CN115002684A (en) * 2022-05-25 2022-09-02 歌尔科技有限公司 Intelligent home networking method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110958142A (en) Device maintenance method, maintenance device, storage medium, and computer program product
CN111478902B (en) Power edge gateway equipment and sensing data uplink storage method based on same
CN112260995B (en) Access authentication method, device and server
US10630646B2 (en) Methods and systems for communicating with an M2M device
US11165767B2 (en) Identity authentication method and system, server, and terminal
US7581096B2 (en) Method, apparatus, and program product for automatically provisioning secure network elements
WO2017028593A1 (en) Method for making a network access device access a wireless network access point, network access device, application server, and non-volatile computer readable storage medium
US20040098581A1 (en) Method and apparatus for establishing and using a secure credential infrastructure
US20040268119A1 (en) Method, apparatus, and program product for securely presenting situation information
CN108667601B (en) Method, device and equipment for transmitting data
CN106134232A (en) Certification in device-to-device discovery
KR20120091635A (en) Authentication method and apparatus in wireless communication system
CN1973495A (en) Device and process for wireless local area network association and correspondent product
US9648650B2 (en) Pairing of devices through separate networks
CN110545252B (en) Authentication and information protection method, terminal, control function entity and application server
CN112640387B (en) non-SI device, method, and computer readable and/or microprocessor executable medium for wireless connection
US20230328524A1 (en) Non-3gpp device access to core network
CN102143492B (en) Method for establishing virtual private network (VPN) connection, mobile terminal and server
JP2010532126A (en) Network and method for initializing trust center link key
CN112512048B (en) Mobile network access system, method, storage medium and electronic device
CN112512064B (en) Wireless distribution network method, wireless gateway and equipment to be accessed
CN112423299B (en) Method and system for wireless access based on identity authentication
WO2022067627A1 (en) A method for preventing leakage of authentication sequence number of a mobile terminal
CN108702705B (en) Information transmission method and equipment
Janesko Bluetooth low energy security analysis framework

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200403

WW01 Invention patent application withdrawn after publication