CN113596792A - Binding method and device of electronic equipment, storage medium and electronic device - Google Patents

Binding method and device of electronic equipment, storage medium and electronic device Download PDF

Info

Publication number
CN113596792A
CN113596792A CN202110769534.0A CN202110769534A CN113596792A CN 113596792 A CN113596792 A CN 113596792A CN 202110769534 A CN202110769534 A CN 202110769534A CN 113596792 A CN113596792 A CN 113596792A
Authority
CN
China
Prior art keywords
target
server
fault
binding
target device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110769534.0A
Other languages
Chinese (zh)
Other versions
CN113596792B (en
Inventor
柯小锋
刘建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110769534.0A priority Critical patent/CN113596792B/en
Publication of CN113596792A publication Critical patent/CN113596792A/en
Application granted granted Critical
Publication of CN113596792B publication Critical patent/CN113596792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/48Security arrangements using identity modules using secure binding, e.g. securely binding identity modules to devices, services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a binding method and a binding device of electronic equipment, a storage medium and an electronic device, wherein the method comprises the following steps: under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server; acquiring a target binding request of a target device, wherein the target binding request is used for requesting to bind the target device with a server; the method comprises the steps of forwarding a target binding request to a server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that a fault of the target equipment which is not connected with a wireless network exists; and responding to the fault information, and configuring wireless network connection for the target equipment through a fault repairing process. By adopting the technical scheme, the problems that the binding success rate of the electronic equipment and the server is low and the like in the related technology are solved.

Description

Binding method and device of electronic equipment, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for binding electronic devices, a storage medium, and an electronic apparatus.
Background
In internet of things (IoT), WiFi class IoT devices currently need to configure routing information for each device (after connection routing) to activate the device, for example, a process of binding an existing IoT device with an IoT device cloud platform server generally needs to send routing information and user information to the device, and the device can connect to the platform and initiate binding after connection routing. However, in some scenarios (e.g., a newly decorated home) there may be no broadband, i.e., no route, and thus the binding is unsuccessful, resulting in a situation where the device cannot be activated and the device function cannot be experienced.
Aiming at the problems that the binding success rate of the electronic equipment and the server is low and the like in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a binding method and device of electronic equipment, a storage medium and an electronic device, and at least solves the problems that in the related art, the binding success rate of the electronic equipment and a server is low and the like.
According to an embodiment of the present invention, there is provided a method for binding electronic devices, including: under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server; acquiring a target binding request of the target device, wherein the target binding request is used for requesting to bind the target device with the server; the target binding request is forwarded to the server, and a target binding result and fault information sent by the server are received, wherein the fault information is used for indicating that the target equipment has a fault of being not connected with the wireless network; and responding to the fault information, and configuring wireless network connection for the target equipment through a fault repairing process.
In an exemplary embodiment, configuring a wireless network connection for the target device through a failover process in response to the failure information includes: responding to the fault information, and acquiring target configuration information of the wireless network; sending a fault repairing instruction carrying the target configuration information to the target equipment; determining that the target device successfully connects to a wireless network if the failure recovery of the target device is determined to be successful.
In one exemplary embodiment, obtaining target configuration information for a wireless network includes: displaying a fault prompt on a first operation interface, wherein the fault prompt is used for prompting that the target device is bound but not configured with a wireless network; under the condition that the repair operation executed on the fault prompt is detected, displaying an input prompt of configuration information of the wireless network on the first operation interface; and acquiring input content input in response to the input prompt as the target configuration information.
In one exemplary embodiment, prior to determining that the target device successfully connects to the wireless network, the method further comprises: receiving a repair prompt returned by the target equipment in response to the fault repair instruction; receiving a fault repairing notice returned by the server responding to the fault updating request sent by the target equipment; and determining that the fault repair of the target device is successful under the condition that the repair prompt is used for prompting that the fault repair of the target device is successful and the fault repair notice is used for notifying that the connection between the target device and the server is successful.
In an exemplary embodiment, obtaining the target binding request of the target device includes: sending a first binding request to the target device in a close-range connection mode, wherein the first binding request is used for requesting that the target device is bound to the server; and receiving the target binding request returned by the target equipment in a close-range connection mode, wherein the target binding request carries a second binding request and a fault request, the second binding request carries equipment information, user information and a binding code, and the fault request is used for requesting the server to maintain the fault of the target equipment.
In an exemplary embodiment, forwarding the target binding request to the server and receiving the target binding result and the failure information sent by the server includes: forwarding the target binding request to the server; receiving a binding request response returned by the server in response to the target binding request; forwarding the binding request reply to the target device; sending a query request to the server, wherein the query request is used for requesting to query the binding result of the target device; and receiving the target binding result and the fault information returned by the server in response to the query request.
In one exemplary embodiment, in the case that it is detected that the target device is not connected to the wireless network, connecting with the target device through a close-range connection manner includes: displaying a device list of detected broadcast messages on a second operation interface, wherein the broadcast messages are used for broadcasting messages to be configured of devices in the device list; acquiring the device on which the selection operation is performed from the device list as the target device; and under the condition that the wireless network does not exist in the environment where the target equipment is located, connecting the target equipment in a close-range connection mode.
According to another embodiment of the present invention, there is also provided a binding apparatus for an electronic device, including: the device comprises a connection module, a server and a control module, wherein the connection module is used for connecting a target device in a close-range connection mode under the condition that the target device is not connected to a wireless network, and the target device is an electronic device to be bound to the server; an obtaining module, configured to obtain a target binding request of the target device, where the target binding request is used to request that the target device is bound with the server; the forwarding module is used for forwarding the target binding request to the server and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that the target equipment has a fault which is not connected with a wireless network; and the configuration module is used for responding to the fault information and configuring wireless network connection for the target equipment through a fault repairing process.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the binding method of the electronic device when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for binding electronic devices through the computer program.
In the embodiment of the invention, under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server; acquiring a target binding request of a target device, wherein the target binding request is used for requesting to bind the target device with a server; the method comprises the steps of forwarding a target binding request to a server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that a fault of the target equipment which is not connected with a wireless network exists; responding to the fault information, configuring wireless network connection for the target equipment through a fault repairing process, namely if the target equipment to be bound to the server is detected not to be connected to the wireless network, establishing connection with the target equipment in a close-range connection mode, so that a target binding request of the target equipment is obtained through the close-range connection mode, forwarding the target binding request to the server for the target equipment to complete binding of the target equipment and the server, receiving fault information returned by the server and used for indicating that the target equipment has the fault of not being connected with the wireless network, responding to the fault information, configuring wireless network connection for the target equipment through the fault repairing process, and ensuring that the target equipment is successfully configured with the wireless network connection while ensuring that the target equipment is successfully bound with the server. By adopting the technical scheme, the problems that the binding success rate of the electronic equipment and the server is low and the like in the related technology are solved, and the technical effect of improving the binding success rate of the electronic equipment and the server is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computer terminal of a binding method of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flow chart of a binding method of an electronic device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a binding phase of an electronic device according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a wireless network configuration phase of an electronic device according to an embodiment of the invention;
fig. 5 is a block diagram of a binding apparatus of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a computer terminal, a computer terminal or a similar operation device. Taking an example of the method running on a computer terminal, fig. 1 is a hardware structure block diagram of the computer terminal of the binding method of the electronic device according to the embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the binding method of the electronic device in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for binding electronic devices is provided, which is applied to the computer terminal described above, and fig. 2 is a flowchart of the method for binding electronic devices according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, under the condition that a target device is not connected to a wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server;
step S204, a target binding request of the target equipment is obtained, wherein the target binding request is used for requesting to bind the target equipment and the server;
step S206, forwarding the target binding request to the server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that the target device has a fault which is not connected with a wireless network;
and step S208, responding to the fault information, and configuring wireless network connection for the target equipment through a fault repairing process.
Through the steps, under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server; acquiring a target binding request of a target device, wherein the target binding request is used for requesting to bind the target device with a server; the method comprises the steps of forwarding a target binding request to a server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that a fault of the target equipment which is not connected with a wireless network exists; responding to the fault information, configuring wireless network connection for the target equipment through a fault repairing process, namely if the target equipment to be bound to the server is detected not to be connected to the wireless network, establishing connection with the target equipment in a close-range connection mode, so that a target binding request of the target equipment is obtained through the close-range connection mode, forwarding the target binding request to the server for the target equipment to complete binding of the target equipment and the server, receiving fault information returned by the server and used for indicating that the target equipment has the fault of the unconnected wireless network, responding to the fault information, configuring wireless network connection for the target equipment through the fault repairing process, and ensuring that the target equipment is successfully configured with the wireless network connection while ensuring that the target equipment is successfully bound with the server. By adopting the technical scheme, the problems that the binding success rate of the electronic equipment and the server is low and the like in the related technology are solved, and the technical effect of improving the binding success rate of the electronic equipment and the server is realized.
Optionally, in this embodiment, the binding method of the electronic device may be, but is not limited to, applied to a terminal device capable of performing close-range connection with a target device, so as to perform server binding for the target device using the terminal device. Such as: mobile terminals (cell phones, tablet computers, etc.), PC computers, etc. The binding method of the electronic device may be, but is not limited to, executed by a terminal device, or may also be executed by a client (APP) of a control application installed on the terminal device.
In the technical solution provided in step S202, the target device may include, but is not limited to, an internet of things (IoT) device (such as a smart home, a smart kitchen ware, a smart car, a smart wearable device, and the like), and the server includes, but is not limited to, a server including an IoT cloud platform.
Optionally, in this embodiment, the wireless network may include, but is not limited to, a WiFi network, and the short-distance connection manner may include, but is not limited to, a short-distance wired connection manner, a short-distance wireless connection manner (e.g., a bluetooth connection, a bluetooth low energy BLE connection), and the like.
In an exemplary embodiment, the connection with the target device may be, but is not limited to, by: displaying a device list of detected broadcast messages on a second operation interface, wherein the broadcast messages are used for broadcasting messages to be configured of devices in the device list; acquiring the device on which the selection operation is performed from the device list as the target device; and under the condition that the wireless network does not exist in the environment where the target equipment is located, connecting the target equipment in a close-range connection mode.
Optionally, in this embodiment, an internet of things (IoT) device may send out a broadcast message in a SoftAp hotspot manner, or a BLE manner, but is not limited thereto. And displaying the perceived equipment corresponding to the broadcast message on the terminal equipment on a second operation interface in an equipment list mode, wherein the user can execute the selection operation of the equipment on the second operation interface, so that the target equipment needing to be bound to the server is determined. Alternatively, the terminal device may automatically select the target device from the device list according to a rule, such as: one by one or by priority, etc.
In the technical solution provided in step S204 above, the target binding request is used to request to bind the target device with the server, which may be, but is not limited to, provided by the target device, and may be encrypted by using a device key of the target device.
Optionally, in this embodiment, the target binding request of the target device may be, but is not limited to, acquired in a close-range connection manner.
In an exemplary embodiment, in the step S204, the target binding request of the target device may be obtained by, but is not limited to, the following manners: sending a first binding request to the target device in a close-range connection mode, wherein the first binding request is used for requesting that the target device is bound to the server; and receiving the target binding request returned by the target equipment in a close-range connection mode, wherein the target binding request carries a second binding request and a fault request, the second binding request carries equipment information, user information and a binding code, and the fault request is used for requesting the server to maintain the fault of the target equipment.
Optionally, in this embodiment, the target binding request carries a second binding request and a failure request, where the second binding request carries device information, user information, and a binding code (bindCode), and the failure request is used to request the server to maintain a failure of the target device. And the target equipment encapsulates the second binding request and the fault request into a target binding request.
Optionally, in this embodiment, the target binding request may be encrypted using the device key.
In the technical solution provided in step S206, the failure information returned by the server is used to indicate that the target device has a failure of an unconnected wireless network. Therefore, the terminal equipment can repair the fault of the target equipment, and wireless network connection is configured for the target equipment through the fault repair process.
Optionally, in this embodiment, the terminal device may communicate with the server by using, but not limited to, a mobile network.
In an exemplary embodiment, in the step S206, the target binding request may be forwarded to the server and the target binding result and the failure information sent by the server may be received in the following manner: forwarding the target binding request to the server; receiving a binding request response returned by the server in response to the target binding request; forwarding the binding request reply to the target device; sending a query request to the server, wherein the query request is used for requesting to query the binding result of the target device; and receiving the target binding result and the fault information returned by the server in response to the query request.
Optionally, in this embodiment, the server may return Localkey while returning the binding request response, where Localkey may be used to establish a secure connection between the terminal device and the target device.
In the technical solution provided in step S208, the wireless network connection is configured for the target device through the fault repairing process, so that the wireless network connection can be configured for the target device in time while the target device is successfully bound with the server.
In an exemplary embodiment, in the step S208, the wireless network connection may be configured for the target device in the following manner: responding to the fault information, and acquiring target configuration information of the wireless network; sending a fault repairing instruction carrying the target configuration information to the target equipment; determining that the target device successfully connects to a wireless network if the failure recovery of the target device is determined to be successful.
Optionally, in this embodiment, the target configuration information may include, but is not limited to, information such as a service set identifier (ssid) and a password (pwd) of WiFi.
In an exemplary embodiment, the target configuration information of the wireless network may be obtained, but is not limited to, in the following manner: displaying a fault prompt on a first operation interface, wherein the fault prompt is used for prompting that the target device is bound but not configured with a wireless network; under the condition that the repair operation executed on the fault prompt is detected, displaying an input prompt of configuration information of the wireless network on the first operation interface; and acquiring input content input in response to the input prompt as the target configuration information.
Optionally, in this embodiment, the failure of the unconnected wireless network may be repaired, but not limited to, by the user through the control application for the target device.
In an exemplary embodiment, before determining that the target device is successfully connected to the wireless network, the failure fix success of the target device may also be determined, but is not limited to, by: receiving a repair prompt returned by the target equipment in response to the fault repair instruction; receiving a fault repairing notice returned by the server responding to the fault updating request sent by the target equipment; and determining that the fault repair of the target device is successful under the condition that the repair prompt is used for prompting that the fault repair of the target device is successful and the fault repair notice is used for notifying that the connection between the target device and the server is successful.
In order to better understand the process of the binding method of the electronic device, the following describes an implementation method flow of the binding process of the electronic device with reference to an optional embodiment, but the implementation method flow is not limited to the technical solution of the embodiment of the present invention.
The embodiment provides an interactive process of a binding system of an electronic Device, which includes a binding phase of the electronic Device and a wireless network configuration phase of the electronic Device, wherein the binding system of the electronic Device includes a control application (App) and a ussdk deployed on a mobile phone, an SDL/module deployed on the electronic Device (Device), and an IoT cloud. For the binding phase of the electronic device, fig. 3 is a schematic diagram of the binding phase of the electronic device according to the embodiment of the present invention, and as shown in fig. 3, the following steps are specifically performed:
step 1: the electronic Device (Device) is started and enters the configuration mode through the SDL/module on the electronic Device (Device) and does not exit the configuration mode.
Step 2: the electronic Device (Device) broadcasts SoftAp hotspot/BLE through the SDL/module.
And step 3: and the uSDK senses the broadcast of the SDL/module and informs the App to find the equipment to be accessed to the network (namely the equipment to be bound with the server).
And 4, step 4: the user selects to bind the device on App.
And 5: and the App detects that the WiFi of the current mobile phone is started, but judges that no router is connected.
Step 6: the App requests the uSDK to bind and then allocate the device.
And 7: the ussdk sends a binding request (i.e., the first binding request described above) to the SDL/module via BLE.
And 8: the SDL/module encapsulates the binding request using the device information, user information, bind code, and failure request, and encrypts it using the device key (i.e., the target binding request described above).
And step 9: the SDL/module forwards the encapsulated request through the bluetooth proxy.
Step 10: the ussdk forwards the binding request and the failure request of the device to the IoT cloud.
Step 11: the IoT cloud maintains the device failure.
Step 12: the IoT cloud returns a binding request reply encrypted using the device key and Localkey to the uddk.
Step 13: and the uSDK forwards the binding request response to the SDL/module.
Step 14: the SDL/module returns the binding result to the uSDK.
Step 15: the ussdk queries the IoT cloud for the binding result.
Step 16: the IoT cloud returns the binding result and the failure information to the uddk.
And step 17: and returning the binding success to the App by the uSDK.
As for the wireless network configuration phase of the electronic device, fig. 4 is a schematic diagram of the wireless network configuration phase of the electronic device according to the embodiment of the present invention, and as shown in fig. 4, the following steps are specifically performed:
step 18: and reporting the equipment fault to the App by the uSDK.
Step 19: the SDL/module on the electronic Device (Device) broadcasts the unconfigured message.
Step 20: the uddk prompts the user device through App to bind but not configure.
Step 21: and the user clicks the equipment on the App to repair the fault.
Step 22: the user fills in the ssid and pwd of WiFi on App.
Step 23: app informs uSDK to repair the fault.
Step 24: the uSDK establishes a secure connection with the device through the SDL/module using Localkey.
Step 25: and the uSDK sends a fault repairing instruction carrying the ssid and the pwd to the SDL/module.
Step 26: the SDL/module uses the ssid and pwd information to connect routes.
Step 27: the SDL/module returns a repair success to the uSDK.
Step 28: and returning the repair success to the App by the uSDK.
Step 29: the SDL/module connects to the IoT cloud and updates the device failure.
Step 30: the IoT cloud notifies the uddk of the device failover.
Step 31: refreshing the user interface UI display device on the App without failure.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Fig. 5 is a block diagram illustrating a binding apparatus of an electronic device according to an embodiment of the present invention; as shown in fig. 5, includes:
the connection module 52 is configured to connect, in a short-distance connection manner, a target device when it is detected that the target device is not connected to a wireless network, where the target device is an electronic device to be bound to a server;
an obtaining module 54, configured to obtain a target binding request of the target device, where the target binding request is used to request that the target device is bound with the server;
a forwarding module 56, configured to forward the target binding request to the server, and receive a target binding result and fault information sent by the server, where the fault information is used to indicate that a fault that is not connected to the wireless network exists in the target device;
a configuration module 58, configured to respond to the fault information, and configure a wireless network connection for the target device through a fault repairing process.
Through the embodiment, under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to the server; acquiring a target binding request of a target device, wherein the target binding request is used for requesting to bind the target device with a server; the method comprises the steps of forwarding a target binding request to a server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that a fault of the target equipment which is not connected with a wireless network exists; responding to the fault information, configuring wireless network connection for the target equipment through a fault repairing process, namely if the target equipment to be bound to the server is detected not to be connected to the wireless network, establishing connection with the target equipment in a close-range connection mode, so that a target binding request of the target equipment is obtained through the close-range connection mode, forwarding the target binding request to the server for the target equipment to complete binding of the target equipment and the server, receiving fault information returned by the server and used for indicating that the target equipment has the fault of the unconnected wireless network, responding to the fault information, configuring wireless network connection for the target equipment through the fault repairing process, and ensuring that the target equipment is successfully configured with the wireless network connection while ensuring that the target equipment is successfully bound with the server. By adopting the technical scheme, the problems that the binding success rate of the electronic equipment and the server is low and the like in the related technology are solved, and the technical effect of improving the binding success rate of the electronic equipment and the server is realized.
In an exemplary embodiment, the configuration module includes: the acquisition unit is used for responding to the fault information and acquiring target configuration information of the wireless network; a sending unit, configured to send a fault repairing instruction carrying the target configuration information to the target device; a determining unit, configured to determine that the target device is successfully connected to the wireless network if it is determined that the fault recovery of the target device is successful.
In an exemplary embodiment, the obtaining unit is configured to: displaying a fault prompt on a first operation interface, wherein the fault prompt is used for prompting that the target device is bound but not configured with a wireless network; under the condition that the repair operation executed on the fault prompt is detected, displaying an input prompt of configuration information of the wireless network on the first operation interface; and acquiring input content input in response to the input prompt as the target configuration information.
In one exemplary embodiment, the apparatus further comprises: a first receiving module, configured to receive a repair prompt returned by the target device in response to the fault repair instruction before it is determined that the target device is successfully connected to the wireless network; a second receiving module, configured to receive a fault repair notification returned by the server in response to the fault update request sent by the target device; and the determining module is used for determining that the fault repair of the target device is successful under the condition that the repair prompt is used for prompting that the fault repair of the target device is successful and the fault repair notice is used for notifying that the connection between the target device and the server is successful.
In an exemplary embodiment, the obtaining module is configured to: sending a first binding request to the target device in a close-range connection mode, wherein the first binding request is used for requesting that the target device is bound to the server; and receiving the target binding request returned by the target equipment in a close-range connection mode, wherein the target binding request carries a second binding request and a fault request, the second binding request carries equipment information, user information and a binding code, and the fault request is used for requesting the server to maintain the fault of the target equipment.
In an exemplary embodiment, the forwarding module is configured to: forwarding the target binding request to the server; receiving a binding request response returned by the server in response to the target binding request; forwarding the binding request reply to the target device; sending a query request to the server, wherein the query request is used for requesting to query the binding result of the target device; and receiving the target binding result and the fault information returned by the server in response to the query request.
In an exemplary embodiment, the connection module is configured to: displaying a device list of detected broadcast messages on a second operation interface, wherein the broadcast messages are used for broadcasting messages to be configured of devices in the device list; acquiring the device on which the selection operation is performed from the device list as the target device; and under the condition that the wireless network does not exist in the environment where the target equipment is located, connecting the target equipment in a close-range connection mode.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, connecting with a target device in a close-range connection mode under the condition that the target device is not connected to a wireless network, wherein the target device is an electronic device to be bound to a server;
s2, acquiring a target binding request of the target device, wherein the target binding request is used for requesting to bind the target device with the server;
s3, forwarding the target binding request to the server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that the target device has a fault which is not connected with a wireless network;
s4, responding to the fault information, and configuring wireless network connection for the target device through a fault repairing process.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, connecting with a target device in a close-range connection mode under the condition that the target device is not connected to a wireless network, wherein the target device is an electronic device to be bound to a server;
s2, acquiring a target binding request of the target device, wherein the target binding request is used for requesting to bind the target device with the server;
s3, forwarding the target binding request to the server, and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that the target device has a fault which is not connected with a wireless network;
s4, responding to the fault information, and configuring wireless network connection for the target device through a fault repairing process.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for binding electronic devices, comprising:
under the condition that the target device is not connected to the wireless network, the target device is connected with the target device in a close-range connection mode, wherein the target device is an electronic device to be bound to a server;
acquiring a target binding request of the target device, wherein the target binding request is used for requesting to bind the target device with the server;
the target binding request is forwarded to the server, and a target binding result and fault information sent by the server are received, wherein the fault information is used for indicating that the target equipment has a fault of being not connected with the wireless network;
and responding to the fault information, and configuring wireless network connection for the target equipment through a fault repairing process.
2. The method of claim 1, wherein configuring a wireless network connection for the target device through a failover process in response to the failure information comprises:
responding to the fault information, and acquiring target configuration information of the wireless network;
sending a fault repairing instruction carrying the target configuration information to the target equipment;
determining that the target device successfully connects to a wireless network if the failure recovery of the target device is determined to be successful.
3. The method for binding electronic devices according to claim 2, wherein obtaining target configuration information of a wireless network comprises:
displaying a fault prompt on a first operation interface, wherein the fault prompt is used for prompting that the target device is bound but not configured with a wireless network;
under the condition that the repair operation executed on the fault prompt is detected, displaying an input prompt of configuration information of the wireless network on the first operation interface;
and acquiring input content input in response to the input prompt as the target configuration information.
4. The method of binding an electronic device as recited in claim 2, wherein prior to determining that the target device successfully connects to a wireless network, the method further comprises:
receiving a repair prompt returned by the target equipment in response to the fault repair instruction;
receiving a fault repairing notice returned by the server responding to the fault updating request sent by the target equipment;
and determining that the fault repair of the target device is successful under the condition that the repair prompt is used for prompting that the fault repair of the target device is successful and the fault repair notice is used for notifying that the connection between the target device and the server is successful.
5. The method for binding electronic devices according to claim 1, wherein obtaining the target binding request of the target device comprises:
sending a first binding request to the target device in a close-range connection mode, wherein the first binding request is used for requesting that the target device is bound to the server;
and receiving the target binding request returned by the target equipment in a close-range connection mode, wherein the target binding request carries a second binding request and a fault request, the second binding request carries equipment information, user information and a binding code, and the fault request is used for requesting the server to maintain the fault of the target equipment.
6. The method for binding electronic devices according to claim 1, wherein forwarding the target binding request to the server and receiving the target binding result and the failure information sent by the server comprises:
forwarding the target binding request to the server;
receiving a binding request response returned by the server in response to the target binding request;
forwarding the binding request reply to the target device;
sending a query request to the server, wherein the query request is used for requesting to query the binding result of the target device;
and receiving the target binding result and the fault information returned by the server in response to the query request.
7. The method for binding the electronic device according to claim 1, wherein in case that it is detected that the target device is not connected to the wireless network, connecting with the target device through a close-range connection manner comprises:
displaying a device list of detected broadcast messages on a second operation interface, wherein the broadcast messages are used for broadcasting messages to be configured of devices in the device list;
acquiring the device on which the selection operation is performed from the device list as the target device;
and under the condition that the wireless network does not exist in the environment where the target equipment is located, connecting the target equipment in a close-range connection mode.
8. An apparatus for binding an electronic device, comprising:
the device comprises a connection module, a server and a control module, wherein the connection module is used for connecting a target device in a close-range connection mode under the condition that the target device is not connected to a wireless network, and the target device is an electronic device to be bound to the server;
an obtaining module, configured to obtain a target binding request of the target device, where the target binding request is used to request that the target device is bound with the server;
the forwarding module is used for forwarding the target binding request to the server and receiving a target binding result and fault information sent by the server, wherein the fault information is used for indicating that the target equipment has a fault which is not connected with a wireless network;
and the configuration module is used for responding to the fault information and configuring wireless network connection for the target equipment through a fault repairing process.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202110769534.0A 2021-07-07 2021-07-07 Binding method and device of electronic equipment, storage medium and electronic device Active CN113596792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110769534.0A CN113596792B (en) 2021-07-07 2021-07-07 Binding method and device of electronic equipment, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110769534.0A CN113596792B (en) 2021-07-07 2021-07-07 Binding method and device of electronic equipment, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113596792A true CN113596792A (en) 2021-11-02
CN113596792B CN113596792B (en) 2024-04-19

Family

ID=78246234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110769534.0A Active CN113596792B (en) 2021-07-07 2021-07-07 Binding method and device of electronic equipment, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113596792B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095673A (en) * 2021-11-05 2023-05-09 华为技术有限公司 Communication system, network repair method and device
CN116132076A (en) * 2021-11-15 2023-05-16 青岛海尔科技有限公司 Terminal binding method and device
CN116132076B (en) * 2021-11-15 2024-05-24 青岛海尔科技有限公司 Terminal binding method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660618A (en) * 2015-03-24 2015-05-27 联想(北京)有限公司 Binding method and binding equipment
CN106487584A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 The management method of router, router and mobile terminal
CN106789219A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 The management method and device of router
CN110958142A (en) * 2019-11-26 2020-04-03 华为技术有限公司 Device maintenance method, maintenance device, storage medium, and computer program product
WO2020103563A1 (en) * 2018-11-22 2020-05-28 阿里巴巴集团控股有限公司 Payment method and apparatus for device
CN111464955A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Fault reporting method, device, terminal and computer readable medium
CN111465015A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Method, system, device, equipment and storage medium for intelligent household equipment network distribution
CN112130461A (en) * 2020-09-24 2020-12-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic device
CN112738265A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Equipment binding method and device, storage medium and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660618A (en) * 2015-03-24 2015-05-27 联想(北京)有限公司 Binding method and binding equipment
CN106487584A (en) * 2016-09-30 2017-03-08 北京小米移动软件有限公司 The management method of router, router and mobile terminal
CN106789219A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 The management method and device of router
WO2020103563A1 (en) * 2018-11-22 2020-05-28 阿里巴巴集团控股有限公司 Payment method and apparatus for device
CN110958142A (en) * 2019-11-26 2020-04-03 华为技术有限公司 Device maintenance method, maintenance device, storage medium, and computer program product
CN111464955A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Fault reporting method, device, terminal and computer readable medium
CN111465015A (en) * 2020-03-06 2020-07-28 珠海格力电器股份有限公司 Method, system, device, equipment and storage medium for intelligent household equipment network distribution
CN112130461A (en) * 2020-09-24 2020-12-25 珠海格力电器股份有限公司 Smart home control method and device, storage medium and electronic device
CN112738265A (en) * 2020-12-31 2021-04-30 青岛海尔科技有限公司 Equipment binding method and device, storage medium and electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095673A (en) * 2021-11-05 2023-05-09 华为技术有限公司 Communication system, network repair method and device
WO2023078214A1 (en) * 2021-11-05 2023-05-11 华为技术有限公司 Communication system, network repair method, and device
CN116132076A (en) * 2021-11-15 2023-05-16 青岛海尔科技有限公司 Terminal binding method and device
CN116132076B (en) * 2021-11-15 2024-05-24 青岛海尔科技有限公司 Terminal binding method and device

Also Published As

Publication number Publication date
CN113596792B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
EP3550892B1 (en) Method for network slice selection, user equipment, and network device
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
CN109792287B (en) Method and device for transmitting response message
US9930632B2 (en) M2M application remote registration method, device, system and storage medium
CN111885594B (en) Equipment binding method and device
CN103298072A (en) Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
CN111371657A (en) Network configuration method and system of intelligent household appliance and intelligent household appliance
CN107770826B (en) Network slice selection method and related equipment
CN112822756B (en) Communication method, system, base station and terminal
JP7043497B2 (en) Methods and equipment for installing and managing eSIM profiles
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN112764803A (en) Version upgrading method and device, storage medium and electronic device
US10863555B2 (en) Access method, apparatus, device, and system
CN112637221B (en) Equipment control method and device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN113259918A (en) Equipment binding method and system
CN112672352A (en) Network distribution method for intelligent equipment, mesh relay node, intelligent equipment and server
CN114982199A (en) Security information discovery method, security information configuration method and device
EP3174322A1 (en) Method for deleting notification resource, and common service entity
CN114301989A (en) Information transmission method, device and system
CN113965444A (en) Remote recovery method and device for home gateway
CN108307457B (en) Message routing method and device
CN107211479B (en) Method and device for selecting access network
US20190312929A1 (en) Information synchronization method and device
CN114697375B (en) Voice packet switching method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant