CN112788576A - Equipment offline processing method and system, storage medium and electronic device - Google Patents

Equipment offline processing method and system, storage medium and electronic device Download PDF

Info

Publication number
CN112788576A
CN112788576A CN202011488892.6A CN202011488892A CN112788576A CN 112788576 A CN112788576 A CN 112788576A CN 202011488892 A CN202011488892 A CN 202011488892A CN 112788576 A CN112788576 A CN 112788576A
Authority
CN
China
Prior art keywords
platform
hotspot
offline
target hotspot
preset rule
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
CN202011488892.6A
Other languages
Chinese (zh)
Other versions
CN112788576B (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 CN202011488892.6A priority Critical patent/CN112788576B/en
Publication of CN112788576A publication Critical patent/CN112788576A/en
Application granted granted Critical
Publication of CN112788576B publication Critical patent/CN112788576B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a system for processing equipment offline, a storage medium and an electronic device, wherein the method comprises the following steps: responding to an instruction received from a platform through a terminal, and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot; and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment. The invention solves the technical problem of lower processing efficiency of the off-line problem of the equipment in the related technology, and improves the processing efficiency of the off-line problem of the equipment.

Description

Equipment offline processing method and system, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to a method and a system for processing equipment offline, a storage medium and an electronic device.
Background
In the intelligent home scene, the WiFi equipment needs to be connected to the route and then can be connected with the intelligent home platform, and therefore the WiFi equipment is controlled through the intelligent home platform. However, the settings of the network and the router in the user home scene, the broadband situation, etc. all affect the stability of the device connection platform, and even cause the device to be offline from the platform, which affects the normal use of the user. The problem of offline of the equipment needs to have certain professional knowledge, and the user can not solve the problem by himself, so that professional after-sales personnel usually go to the home to solve the problem, and therefore a lot of after-sales personnel need to be invested to solve the offline problem of the equipment in the market, and efficiency is low.
Aiming at the technical problem of low processing efficiency of solving the off-line problem of the equipment in the related art, an effective technical scheme is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a method and a system for processing equipment offline, a storage medium and an electronic device, which are used for at least solving the technical problem of low processing efficiency of solving the equipment offline problem in the related art.
According to an embodiment of the present invention, there is provided a method for processing an offline device, including: the method comprises the following steps: responding to an instruction received from a platform through a terminal, and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot; and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment.
Optionally, before the target hotspot is started in the terminal by the terminal in response to the instruction received from the platform, the method further includes: and generating the identification information and the password according to the preset rule through the platform, wherein the identification information comprises a prefix and a first random number indicated by the preset rule.
Optionally, the determining, by the offline device according to the preset rule, the target hotspot from the at least one scanned hotspot includes: determining, by the offline device, the prefix indicated by the preset rule; and searching a hotspot with identification information including the prefix in the at least one hotspot through the offline equipment, and determining the searched hotspot as the target hotspot.
Optionally, after the target hotspot is determined from the at least one scanned hotspot by the offline device according to the preset rule, the method further includes: generating the password corresponding to the target hotspot according to the preset rule by the offline device, wherein the preset rule is also used for indicating a password generation algorithm for generating the password; and automatically connecting the target hotspot by the offline device by using the password.
Optionally, the generating, by the offline device according to the preset rule, the password corresponding to the target hotspot includes: reading a second random number and a key which are written into the offline equipment in advance through the offline equipment; extracting a first random number from the identification information of the target hotspot through the offline equipment; and calculating the first random number, the second random number and the secret key by using the password generation algorithm through the off-line equipment to obtain the password corresponding to the target hotspot.
Optionally, the upgrading the offline device through the platform includes: determining, by the platform, a cause of failure of the offline device offline from the platform; sending upgrade data to the offline device through the platform under the condition that the fault reason is used for indicating that the offline device needs to be upgraded; and responding to the received upgrading data through the off-line equipment, and automatically upgrading.
According to another embodiment of the present invention, there is provided a processing system for offline processing of a device, including: terminal, off-line equipment and platform, wherein: the terminal is used for responding to an instruction received from the platform and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; the off-line equipment is used for determining the target hotspot in the scanned at least one hotspot according to the preset rule and connecting to the platform through the target hotspot; the platform is used for upgrading the off-line equipment and receiving the connection of the upgraded off-line equipment.
Optionally, the platform is further configured to generate the identification information and the password according to the preset rule, where the identification information includes a prefix and a first random number indicated by the preset rule.
Optionally, the offline device is further configured to: determining the prefix indicated by the preset rule; and searching a hotspot with identification information including the prefix in the at least one hotspot through the offline equipment, and determining the searched hotspot as the target hotspot.
Optionally, the offline device is further configured to: generating the password corresponding to the target hotspot according to the preset rule, wherein the preset rule is also used for indicating a password generation algorithm for generating the password; and automatically connecting the target hotspot by using the password.
Optionally, the offline device is further configured to: reading a second random number and a key which are written into the offline equipment in advance; extracting a first random number from the identification information of the target hotspot; and calculating the first random number, the second random number and the secret key by using the password generation algorithm to obtain the password corresponding to the target hotspot.
Optionally, the platform is further configured to: determining a failure cause of the offline device offline from the platform; sending upgrading data to the offline equipment under the condition that the fault reason is used for indicating that the offline equipment needs to be upgraded; the off-line equipment is also used for responding to the received upgrading data and automatically upgrading.
Alternatively, according to another embodiment of the present invention, a storage medium is provided, in which a computer program is stored, wherein the computer program is arranged to perform the above-mentioned method when executed.
Alternatively, according to another embodiment of the present invention, there is provided an electronic apparatus, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the above method.
According to the invention, a terminal responds to an instruction received from a platform, and a target hotspot is started in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot; and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment. The off-line problem of the equipment is not required to be solved by professional after-sales personnel, the target hotspot is started through the platform control terminal, the off-line equipment is automatically connected to the platform through the target hotspot, and the off-line equipment is upgraded through the platform, so that the off-line equipment is on-line again, the technical problem that the off-line problem of the equipment is low in processing efficiency is solved, and the off-line problem of the equipment is improved.
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 flow chart of a method for processing an apparatus offline according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of an offline processing method of a device according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of identification information of a target hotspot according to an embodiment of the invention;
FIG. 4 is a flow chart of a method of processing a device offline according to another embodiment of the present invention;
FIG. 5 is a flow chart of a method for processing an apparatus offline according to another embodiment of the present invention;
FIG. 6 is a flow chart of a method for processing an apparatus offline according to another embodiment of the present invention (II);
FIG. 7 is a flow chart of a method of processing an apparatus offline according to yet another embodiment of the present invention (III);
FIG. 8 is a flow chart of a method of processing a device offline according to yet another embodiment of the present Invention (IV);
FIG. 9 is a schematic diagram of a processing system with an apparatus offline in accordance with an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
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.
An embodiment of the present invention provides an apparatus offline processing method, and fig. 1 is a flowchart of an apparatus offline processing method according to an embodiment of the present invention, as shown in fig. 1, including:
step S102, a terminal responds to an instruction received from a platform, and a target hotspot is started in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule;
step S104, determining the target hotspot in the scanned at least one hotspot through the offline equipment according to the preset rule, and connecting to the platform through the target hotspot;
and step S106, upgrading the off-line equipment through the platform and receiving the connection of the upgraded off-line equipment.
According to the invention, a terminal responds to an instruction received from a platform, and a target hotspot is started in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot; and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment. The off-line problem of the equipment is not required to be solved by professional after-sales personnel, the target hotspot is started through the platform control terminal, the off-line equipment is automatically connected to the platform through the target hotspot, and the off-line equipment is upgraded through the platform, so that the off-line equipment is on-line again, the technical problem that the off-line problem of the equipment is low in processing efficiency is solved, and the off-line problem of the equipment is improved.
It should be noted that the above embodiments can be applied to the application environment shown in fig. 2. As shown in fig. 2, the device may be connected to the platform through a router, and when the device is offline from the platform, the device becomes an offline device of the platform, and the offline device may be connected to the platform by automatically connecting to a target hotspot opened by the terminal.
Before the target hotspot is started in the terminal by the terminal in response to the instruction received from the platform, the above embodiment is further configured to perform the following technical method: and generating the identification information and the password according to the preset rule through the platform, wherein the identification information comprises a prefix and a first random number indicated by the preset rule.
It should be noted that, in the above embodiment, the platform may be an intelligent home internet of things platform, and the offline device may be an internet of things device in an intelligent home scene. Optionally, the server in the smart home internet of things platform may perform relevant steps executed by the platform in the above embodiments, for example, the server generates the identification information and the password according to a preset rule, where the preset rule is stored in the platform, and the preset rule is written into the internet of things device when the internet of things device leaves a factory.
As an optional implementation manner, the preset rule is used to indicate a prefix and a first random number that need to be included in the identification information of the target hotspot, and a device address (for example, a Media Access Control (MAC) address of the device). As shown in fig. 3, it is a schematic diagram of identification information of a target hotspot. The first random number can be updated through the platform under the condition that the offline device is connected with the platform, and the updated first random number is sent to the device to be stored in the device, so that when the offline problem of the device is solved next time, the platform can generate identification information of another target hotspot based on the updated first random number, and the device can also access to another target hotspot based on the updated first random number to be connected to the platform.
Based on the foregoing embodiment, as shown in fig. 4, the determining, by the offline device according to the preset rule, the target hotspot among the at least one scanned hotspot includes:
step 402, determining the prefix indicated by the preset rule through the offline device;
step 404, finding a hotspot whose identification information includes the prefix in the at least one hotspot through the offline device, and determining the found hotspot as the target hotspot.
In the above embodiment, after the device becomes an offline device from the platform offline, the offline device automatically starts a process of connecting to the target hotspot, where the offline device determines a prefix indicated by a preset rule, and automatically determines the target hotspot from the scanned at least one hotspot.
It should be noted that, in the above embodiment, the offline device automatically determines the target hotspot, and the offline device does not need to be manually operated to select the hotspot, so that the degree of automation of the offline device in connection with the target hotspot is improved, and the efficiency of solving the offline problem of the device is integrally improved.
After the target hotspot is determined from the at least one scanned hotspot according to the preset rule by the offline device, the method further includes: generating the password corresponding to the target hotspot according to the preset rule by the offline device, wherein the preset rule is also used for indicating a password generation algorithm for generating the password; and automatically connecting the target hotspot by the offline device by using the password.
In the above embodiment, after determining the target hotspot, the offline device automatically generates a password corresponding to the target hotspot according to a preset rule, and then automatically connects to the target hotspot, so that the offline device can connect to the platform through the target hotspot network.
As an optional implementation manner, as shown in fig. 5, the generating, by the offline device according to the preset rule, the password corresponding to the target hotspot includes:
step S502, reading a second random number and a secret key which are written into the off-line equipment in advance through the off-line equipment;
step S504, extracting a first random number from the identification information of the target hotspot through the offline equipment;
step S506, calculating the first random number, the second random number, and the secret key by using the password generation algorithm through the offline device, so as to obtain the password corresponding to the target hotspot.
The key and the second random number may be written into the device at the time of factory shipment of the device.
It should be noted that, in the foregoing embodiment, the upgrading the offline device by using the platform includes: determining, by the platform, a cause of failure of the offline device offline from the platform; sending upgrade data to the offline device through the platform under the condition that the fault reason is used for indicating that the offline device needs to be upgraded; and responding to the received upgrading data through the off-line equipment, and automatically upgrading.
The platform may send the upgrade data to the offline device in an Over the Air (OTA for short), so that the offline device automatically upgrades the received upgrade data.
The following explains the processing method of the device offline in the above embodiment with reference to an example, but is not intended to limit the technical solution of the embodiment of the present invention. As shown in fig. 6, the processing method of the device offline in an optional embodiment includes the following steps:
step 1, a terminal receives a binding instruction input by a user, wherein the binding instruction is used for indicating that the terminal is bound with equipment (such as WiFi equipment in an intelligent home scene or equipment of the Internet of things);
step 2, the terminal sends a wifi network name (ssid) and a password to the device (namely, the device is subjected to route configuration);
wherein the wifi network is provided by a router;
step 3, the equipment is connected with a router according to the ssid and the password of the wifi, namely the equipment is connected with a wifi network;
step 4, the equipment fails to connect the router, and the equipment is called offline equipment at the moment;
step 5, the equipment feeds back the route configuration failure to the terminal;
step 6, the terminal inquires target hotspot information from the platform;
it should be noted that, after receiving a message sent by a device and used for indicating that the route configuration fails, the terminal may automatically initiate to query the platform for the target hotspot information; or, prompt information can be displayed in the terminal to prompt the user to solve the problem of routing configuration failure, and after a determination instruction for instructing the solution of the problem of routing configuration failure is received, the query of the target hotspot information is initiated;
step 7, the platform generates identification information and a password of the target hotspot according to a preset rule;
as an optional implementation manner, the preset rule indicates that the identification information is in the following three parts: a prefix, a first random number, and a device MAC address. Wherein, the prefix is used for identifying a target hotspot by the equipment; the first random number may be a 16-bit random number; a device MAC address, which may be a MAC address of a device allowed to access the target hotspot, for example, a MAC address of a certain device; alternatively, when the device allowed to access the target hotspot is multiple devices, the device address may be a same address (e.g., an address in the form of multicast or the like) corresponding to the multiple devices.
In the above embodiment, the platform further stores a second random number (e.g. a 6-bit random number) and keys of the respective devices, and the preset rule further defines a password generation algorithm. As an optional implementation, the password generation algorithm is the following algorithm: the hash operation is performed on the first random number, the second random number and the device key (i.e. the key of the device identified by the device address in the preset rule) to obtain a 16-byte calculation result, the 16-byte calculation result is subjected to an operation of every 4 bytes to obtain a 4-byte calculation result (including but not limited to summing the data of the first 4 bytes and the data of the last 4 bytes of the 16 bytes, summing the obtained intermediate result with the data of the next 4 bytes again to obtain another intermediate result, and then summing the another intermediate result with the data of the lowest 4 bytes of the 16 bytes to obtain a final 4-byte calculation result), and finally outputting 8-character 16-ary data as a password.
Step 8, the platform sends the identification information and the password of the target hotspot to the terminal;
step 9, the terminal opens a target hotspot;
the terminal automatically opens the target hotspot after receiving the identification information and the password of the target hotspot sent by the platform;
step 10, after the device scans a target hotspot, automatically generating a password of the target hotspot and automatically connecting the target hotspot;
step 11, the device reports device information (including but not limited to information such as the MAC address of the device) to the terminal;
step 12, the device connects the platform through the network provided by the target hotspot;
step 13, the equipment reports the fault reason offline from the platform to the platform;
optionally, the terminal may also obtain the failure cause from the device, and report the failure cause to the platform by the terminal;
step 14, analyzing the fault reason by the platform, and sending the fault analysis result to the terminal;
optionally, the terminal may display the failure analysis result and information such as a solution progress for the offline problem of the device in a display interface;
step 15, the platform pushes upgrading data to the equipment under the condition that the failure reason is determined to be that the equipment needs upgrading;
and step 16, the equipment automatically upgrades according to the received upgrade data, and informs the platform that the upgrade is finished after the upgrade is finished.
It should be noted that, in the above embodiment, before performing step 1, the following steps may also be performed: at the time of shipment of the device, a key is written to the device, wherein the key may be a default key. As an alternative embodiment, the same default key may be written to multiple devices.
As an alternative implementation, as shown in fig. 7, after step 16, the above embodiment may further perform the following steps:
step 17, the platform informs the terminal that the equipment is upgraded;
step 18, the device (i.e. the upgraded device) connects to the router again;
step 19, the equipment is successfully connected with the router;
step 20, the device is connected to the platform through the network provided by the router;
step 21, the platform binds the terminal and the equipment;
step 22, the platform returns a message of successful binding at the terminal;
step 23, the terminal informs the user: the device binding is successful.
As an alternative implementation, as shown in fig. 8, the above embodiment may further perform the following steps:
step 1, equipment is successfully connected with a platform;
step 2, the platform informs the terminal device of being online;
step 3, the terminal reminds the user: and (5) enabling the equipment to be online.
As an alternative implementation, before performing step 18, the above embodiment may further perform the following steps: and the terminal determines whether to configure a new route for the device, and if so, sends the ssid and the password of the newly configured wifi to the device, so that the device is connected to the newly configured wifi network.
Through the embodiment, the problem that the WiFi equipment cannot be on-line due to network problems (for example, no route exists, the password is modified through the route, the routing signal is weak, and the connection platform cannot be stabilized), equipment firmware problems (the equipment connection platform cannot be on-line due to the fact that the strategy or logic of the equipment connection platform is problematic) and the like in the using process of the WiFi equipment can be solved.
In the embodiment, the platform can control the terminal to automatically start the target hotspot, and the device is automatically connected with the platform by means of the target hotspot when the platform is offline, so that the offline device is subjected to fault repair through the platform, and stable networking of the device is further realized; the off-line equipment with problems is upgraded, and the upgraded off-line equipment can be connected with the platform again, so that the equipment is stable and on-line, and when the off-line problem of the equipment is solved, a large amount of professionals are not required to be invested for mutual matching, the communication cost and the user waiting time are reduced, the user viscosity can be increased, and the platform value is improved.
As described above, the present invention is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and when the drag editing operation is performed, the selection and drag of the content in the circle are not limited to operations such as right double click, etc., because the corresponding editing tool is opened and recognized for various contents in various content formats when editing the content, among circles of various content formats. The protection scope of the present invention shall be subject to the protection scope of the claims.
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 (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to another embodiment of the present invention, a system for processing a device offline is provided, and the system is used to implement the foregoing embodiment and preferred embodiments, which have been already described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 9 is a schematic diagram of a processing system for an off-line device according to an embodiment of the present invention, the system comprising: a terminal 92, an offline device 94, and a platform 96, wherein:
the terminal 92 is configured to open a target hotspot in the terminal 92 in response to an instruction received from the platform 96, where the instruction includes identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform 96 according to a preset rule;
the offline device 94 is configured to determine the target hotspot among the scanned at least one hotspot according to the preset rule, and connect to the platform 96 through the target hotspot;
the platform 96 is configured to upgrade the offline device 94, and receive connection of the upgraded offline device.
According to the invention, a terminal responds to an instruction received from a platform, and a target hotspot is started in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule; determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot; and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment. The off-line problem of the equipment is not required to be solved by professional after-sales personnel, the target hotspot is started through the platform control terminal, the off-line equipment is automatically connected to the platform through the target hotspot, and the off-line equipment is upgraded through the platform, so that the off-line equipment is on-line again, the technical problem that the off-line problem of the equipment is low in processing efficiency is solved, and the off-line problem of the equipment is improved.
The platform is further configured to generate the identification information and the password according to the preset rule, where the identification information includes a prefix indicated by the preset rule and a first random number.
In the foregoing embodiment, the offline device is further configured to: determining the prefix indicated by the preset rule; and searching a hotspot with identification information including the prefix in the at least one hotspot through the offline equipment, and determining the searched hotspot as the target hotspot.
As an optional implementation manner, the offline device is further configured to: generating the password corresponding to the target hotspot according to the preset rule, wherein the preset rule is also used for indicating a password generation algorithm for generating the password; and automatically connecting the target hotspot by using the password.
It should be noted that, the offline device is further configured to: reading a second random number and a key which are written into the offline equipment in advance; extracting a first random number from the identification information of the target hotspot; and calculating the first random number, the second random number and the secret key by using the password generation algorithm to obtain the password corresponding to the target hotspot.
Wherein the platform is further configured to: determining a failure cause of the offline device offline from the platform; sending upgrading data to the offline equipment under the condition that the fault reason is used for indicating that the offline equipment needs to be upgraded; the off-line equipment is also used for responding to the received upgrading data and automatically upgrading.
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, responding to an instruction received from a platform through a terminal, and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule;
s2, determining the target hotspot in the at least one scanned hotspot through offline equipment according to the preset rule, and connecting to the platform through the target hotspot;
and S3, upgrading the off-line equipment through the platform and receiving the connection of the upgraded off-line equipment.
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.
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, responding to an instruction received from a platform through a terminal, and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule;
s2, determining the target hotspot in the at least one scanned hotspot through offline equipment according to the preset rule, and connecting to the platform through the target hotspot;
and S3, upgrading the off-line equipment through the platform and receiving the connection of the upgraded off-line equipment.
Fig. 10 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention. Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 may be used to store software programs and modules, such as program instructions/modules corresponding to the device offline processing method and the device offline processing system in the embodiment of the present invention, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, the device offline processing method is implemented. The memory 1002 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 1002 may further include memory located remotely from the processor 1004, which may be connected to the 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.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1008 for displaying a screen; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
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 processing an off-line device, comprising:
responding to an instruction received from a platform through a terminal, and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule;
determining the target hotspot in the scanned at least one hotspot according to the preset rule by using the off-line equipment, and connecting to the platform through the target hotspot;
and upgrading the off-line equipment through the platform, and receiving the connection of the upgraded off-line equipment.
2. The method of claim 1, wherein prior to the turning on, by the terminal, the target hotspot in the terminal in response to the instruction received from the platform, the method further comprises:
and generating the identification information and the password according to the preset rule through the platform, wherein the identification information comprises a prefix and a first random number indicated by the preset rule.
3. The method according to claim 2, wherein the determining, by the offline device, the target hotspot among the scanned at least one hotspot according to the preset rule comprises:
determining, by the offline device, the prefix indicated by the preset rule;
and searching a hotspot with identification information including the prefix in the at least one hotspot through the offline equipment, and determining the searched hotspot as the target hotspot.
4. The method according to claim 1, wherein after the target hotspot is determined among the at least one scanned hotspot by the offline device according to the preset rule, the method further comprises:
generating the password corresponding to the target hotspot according to the preset rule by the offline device, wherein the preset rule is also used for indicating a password generation algorithm for generating the password;
and automatically connecting the target hotspot by the offline device by using the password.
5. The method of claim 4, wherein the generating, by the offline device according to the preset rule, the password corresponding to the target hotspot comprises:
reading a second random number and a key which are written into the offline equipment in advance through the offline equipment;
extracting a first random number from the identification information of the target hotspot through the offline equipment;
and calculating the first random number, the second random number and the secret key by using the password generation algorithm through the off-line equipment to obtain the password corresponding to the target hotspot.
6. The method of claim 1, wherein the upgrading the offline device via the platform comprises:
determining, by the platform, a cause of failure of the offline device offline from the platform;
sending upgrade data to the offline device through the platform under the condition that the fault reason is used for indicating that the offline device needs to be upgraded;
and responding to the received upgrading data through the off-line equipment, and automatically upgrading.
7. A system for processing a device offline, comprising: terminal, off-line equipment and platform, wherein:
the terminal is used for responding to an instruction received from the platform and starting a target hotspot in the terminal, wherein the instruction comprises identification information of the target hotspot and a password corresponding to the target hotspot, and the identification information and the password are generated by the platform according to a preset rule;
the off-line equipment is used for determining the target hotspot in the scanned at least one hotspot according to the preset rule and connecting to the platform through the target hotspot;
the platform is used for upgrading the off-line equipment and receiving the connection of the upgraded off-line equipment.
8. The system of claim 7, wherein the platform is further configured to generate the identification information and the password according to the preset rule, wherein the identification information includes a prefix indicated by the preset rule and a first random number.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
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 6 by means of the computer program.
CN202011488892.6A 2020-12-16 2020-12-16 Equipment offline processing method and system, storage medium and electronic device Active CN112788576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011488892.6A CN112788576B (en) 2020-12-16 2020-12-16 Equipment offline processing method and system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011488892.6A CN112788576B (en) 2020-12-16 2020-12-16 Equipment offline processing method and system, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112788576A true CN112788576A (en) 2021-05-11
CN112788576B CN112788576B (en) 2022-12-02

Family

ID=75751059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011488892.6A Active CN112788576B (en) 2020-12-16 2020-12-16 Equipment offline processing method and system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112788576B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114641023A (en) * 2022-04-08 2022-06-17 深圳市欧瑞博科技股份有限公司 Method, system, computer device and storage medium for repairing network connection
CN115484115A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101206A (en) * 2015-06-26 2015-11-25 中国联合网络通信集团有限公司 Automatic WIFI accessing method and system of device
CN106603639A (en) * 2016-11-30 2017-04-26 深圳前海弘稼科技有限公司 Method of upgrading system of off-line plantation equipment and control device thereof
WO2017071567A1 (en) * 2015-10-30 2017-05-04 中兴通讯股份有限公司 Connection control method and device for wireless fidelity (wi-fi) hotspot
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
WO2019128906A1 (en) * 2017-12-29 2019-07-04 阿里巴巴集团控股有限公司 Method, apparatus, and system for accessing network hotspot device by device to be distributed a network
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
WO2020043209A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Disconnected network state reporting method and apparatus, and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101206A (en) * 2015-06-26 2015-11-25 中国联合网络通信集团有限公司 Automatic WIFI accessing method and system of device
WO2017071567A1 (en) * 2015-10-30 2017-05-04 中兴通讯股份有限公司 Connection control method and device for wireless fidelity (wi-fi) hotspot
WO2018049940A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Network access method, related device and system
CN106603639A (en) * 2016-11-30 2017-04-26 深圳前海弘稼科技有限公司 Method of upgrading system of off-line plantation equipment and control device thereof
WO2019128906A1 (en) * 2017-12-29 2019-07-04 阿里巴巴集团控股有限公司 Method, apparatus, and system for accessing network hotspot device by device to be distributed a network
CN110798493A (en) * 2018-08-02 2020-02-14 青岛经济技术开发区海尔热水器有限公司 Network configuration method, device, terminal equipment and storage medium
WO2020043209A1 (en) * 2018-08-31 2020-03-05 中兴通讯股份有限公司 Disconnected network state reporting method and apparatus, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114641023A (en) * 2022-04-08 2022-06-17 深圳市欧瑞博科技股份有限公司 Method, system, computer device and storage medium for repairing network connection
CN115484115A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device
CN115484115B (en) * 2022-08-30 2024-01-26 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN112788576B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
WO2020107689A1 (en) Method and apparatus for upgrading household appliance, and household appliance
CN111522264A (en) Device control method and device, storage medium, and electronic device
CN112788576B (en) Equipment offline processing method and system, storage medium and electronic device
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
CN113498594A (en) Control method and device of intelligent household system, electronic equipment and storage medium
CN104270204A (en) Testing method and testing equipment for wireless communication module
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN112689316A (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN112954770A (en) Device binding method and device, storage medium and electronic device
CN112035129A (en) Method and device for driver installation and upgrade and computer equipment
CN111026047A (en) Software configuration method and device
CN101197959B (en) Terminal control method, system and equipment
CN113434190B (en) Data processing method and device, storage medium and electronic equipment
CN114490746B (en) Equipment testing method and device, equipment to be tested and storage medium
US7747711B2 (en) Network configuration method and system
CN103179565B (en) Based on security information interaction system and the method for thin terminal pattern
CN114019821A (en) Smart home control method, device and system
CN110971716B (en) Address configuration method, device, system and computer readable storage medium
CN112698948A (en) Method and device for acquiring product resources, storage medium and electronic device
CN107171824B (en) Wifi disconnection processing method of terminal, terminal and storage device
CN111782291A (en) Test page starting method and device
CN115756579A (en) Data interaction method, device and system, storage medium and electronic equipment
CN117130318B (en) Industrial data acquisition method, device, system and readable storage medium

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