CN112187531B - Module upgrading method and system, storage medium and electronic device - Google Patents

Module upgrading method and system, storage medium and electronic device Download PDF

Info

Publication number
CN112187531B
CN112187531B CN202010981726.3A CN202010981726A CN112187531B CN 112187531 B CN112187531 B CN 112187531B CN 202010981726 A CN202010981726 A CN 202010981726A CN 112187531 B CN112187531 B CN 112187531B
Authority
CN
China
Prior art keywords
module
wifi module
terminal
server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010981726.3A
Other languages
Chinese (zh)
Other versions
CN112187531A (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
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202010981726.3A priority Critical patent/CN112187531B/en
Publication of CN112187531A publication Critical patent/CN112187531A/en
Application granted granted Critical
Publication of CN112187531B publication Critical patent/CN112187531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history

Abstract

The invention provides a module upgrading method and system, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring module information of a WIFI module in the household appliance based on a pre-established connection between the terminal and the household appliance; sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response made by the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded; under the condition that the indication information indicates that the WIFI module needs to be upgraded, the upgraded target WIFI module is selected on a target display interface of the terminal, the latest version file of the target WIFI module acquired from the server is received, and the latest version file is sent to the household appliance corresponding to the target WIFI module, so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, and the problems that in the prior art, the requirement for the upgrading network of the WIFI module is too high, the WIFI module cannot be selectively upgraded and the like are solved.

Description

Module upgrading method and system, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and a system for upgrading a module, a storage medium, and an electronic apparatus.
Background
Along with the gradual development of the internet of things, the interest of people in the intelligent household appliances of the internet of things is increasing, and the intelligent household appliances can be bought but not bound once, so that the intelligent household appliances cannot be controlled by using the APP. More and more people like to use cell-phone end APP to control household electrical appliances now, and the WIFI module of intelligent household electrical appliances also needs continuous upgrading optimization.
In the prior art, the previous upgrading of the intelligent household appliance WIFI module is mainly online upgrading, and the intelligent household appliance WIFI module can be upgraded only by connecting a server. Because the module and the router can have compatibility problems and can also be influenced by the network condition in a user home, the intelligent household appliance WIFI module cannot be normally online or online for a long time, the traditional upgrading needs the intelligent household appliance WIFI module to be online and can be upgraded after reaching a certain online time, the upgrading can be failed frequently due to condition limitation, the WIFI function is gradually optimized and more powerful along with the continuous development of the technology, and whether the upgrading of the WIFI of the intelligent household appliance can be optimized is a function which is urgently required by the user.
Aiming at the problems that the upgrading network requirement of the WIFI module is too high, the WIFI module cannot be selectively upgraded and the like in the related technology, an effective technical scheme is not provided.
Disclosure of Invention
The embodiment of the invention provides a module upgrading method and system, a storage medium and an electronic device, and aims to at least solve the problems that the requirement condition for upgrading a network of a WIFI module is too high, the WIFI module cannot be selectively upgraded and the like in the related technology.
According to an embodiment of the present invention, there is provided a module upgrading method including: acquiring module information of a WIFI module in the household appliance based on a pre-established connection between a terminal and the household appliance; sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded; under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module acquired from the server, and sending the latest version file to the household appliance corresponding to the target WIFI module, so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
In an exemplary embodiment, before obtaining module information of a WIFI module in the home appliance device, the method further includes: starting a hotspot of the terminal, and setting a hotspot name of the hotspot so as to enable one or more household appliances to be automatically connected to the terminal; and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
In an exemplary embodiment, receiving the indication information sent by the server includes: receiving indication information generated after the server judges the module information through a preset judgment logic, wherein the preset judgment logic comprises at least one of the following: and determining whether the module information is legal or not, determining whether the module information is the latest version or not, and upgrading the WIFI module when the indication information indicates that the module information is legal and the module information is not the latest version.
In an exemplary embodiment, after receiving the indication information sent by the server, the method further includes: and under the condition that the indication information is also used for indicating that the module information is not legal, disconnecting the terminal from the household appliance.
In an exemplary embodiment, after selecting the upgraded target WIFI module on the target display interface of the terminal, the method further includes: sending request information to the server, wherein the request information is used for acquiring a latest version file of the target WIFI module; and receiving the latest version file returned by the server in response to the request information.
In an exemplary embodiment, after receiving a latest version file of the target WIFI module obtained from the server and sending the latest version file to the home appliance device corresponding to the target WIFI module, so that the home appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, the method further includes: and after the household appliance corresponding to the target WIFI module finishes upgrading according to the latest version file, displaying that the target WIFI module finishes upgrading on the target display interface.
According to an embodiment of the present invention, there is also provided a module upgrading system including: the system comprises a terminal, household electrical appliances and a server, wherein the household electrical appliances are used for sending module information of a WIFI module to the terminal based on the pre-established connection between the terminal and the household electrical appliances; the terminal is used for sending the module information to a server; the server is further used for responding to the module information and sending indication information to the terminal, wherein the indication information is at least used for determining whether the WIFI module is upgraded or not; the terminal is further configured to select an upgraded target WIFI module on a target display interface of the terminal under the condition that the indication information indicates that the WIFI module needs to be upgraded, receive a latest version file of the target WIFI module, which is acquired from the server, and send the latest version file to the household appliance device corresponding to the target WIFI module, so that the household appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
In an exemplary embodiment, the terminal is further configured to start a hotspot, and set a hotspot name of the hotspot, so that one or more home appliances are automatically connected to the terminal; and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
In an exemplary embodiment, the server is further configured to determine, by using a preset determination logic, indication information generated after the module information is determined, where the preset determination logic includes at least one of: and determining whether the module information is legal or not, determining whether the module information is the latest version or not, and upgrading the WIFI module when the indication information indicates that the module information is legal and the module information is not the latest version.
In an exemplary embodiment, the terminal is further configured to disconnect the connection with the home appliance device when the indication information indicates that the module information is not legal.
In an exemplary embodiment, the terminal is further configured to send request information to the server, where the request information is used to obtain a latest version file of the target WIFI module; and receiving the latest version file returned by the server in response to the request information.
In an exemplary embodiment, the terminal is further configured to display that the target WIFI module is updated on the target display interface after the home appliance device corresponding to the target WIFI module is updated according to the latest version file.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, based on the pre-established connection between the terminal and the household appliance, the module information of the WIFI module in the household appliance is obtained; sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded; under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module acquired from the server, and sending the latest version file to the household appliance corresponding to the target WIFI module so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, namely, after the terminal acquires module information of the WIFI module and uploads the corresponding server, the terminal can receive indication information sent by the server to selectively upgrade the WIFI module needing to be upgraded, and by adopting the technical scheme, the problems that the requirement on an upgrading network of the WIFI module is too high, the WIFI module cannot be selectively upgraded and the like in the prior art can be solved, and the efficiency of optimizing and upgrading the WIFI module in the household appliance needing to be upgraded is ensured, and the updating operation is simple and easy to operate, so that the user experience is improved, and the after-sale and customer service support cost is reduced.
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 terminal of a module upgrading method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of upgrading a module according to an embodiment of the invention;
fig. 3 is a block diagram of a system architecture for WIFI network module upgrade, according to an alternative embodiment of the present invention;
fig. 4 is a flow diagram of a system for WIFI network module upgrade, according to an alternative embodiment of the present invention;
fig. 5 is an interaction diagram of a system for WIFI network module upgrade, according to an alternative embodiment of the present invention;
fig. 6 is a block diagram of an upgrade system of a module according to an embodiment of the present 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.
The method provided by the embodiment of the application can be executed in a terminal or a similar operation device. Taking the operation on the terminal as an example, fig. 1 is a hardware structure block diagram of the terminal of the module upgrading method according to the embodiment of the present invention. As shown in fig. 1, the terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is 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 terminal. For example, the 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 may be used for storing computer programs, for example, software programs of application software and modules, such as computer programs corresponding to the module upgrading method 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 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.
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 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 module upgrading method is provided, which is applied to the terminal described above, and fig. 2 is a flowchart of the module upgrading method according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, acquiring module information of a WIFI module in the household appliance based on a pre-established connection between a terminal and the household appliance;
step S204, sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response made by the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded;
step S206, under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module, which is obtained from the server, and sending the latest version file to the household appliance device corresponding to the target WIFI module, so that the household appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
Through the steps, based on the pre-established connection between the terminal and the household appliance, the module information of the WIFI module in the household appliance is obtained; sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded; under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module acquired from the server, and sending the latest version file to the household appliance corresponding to the target WIFI module so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, namely, after the terminal acquires module information of the WIFI module and uploads the corresponding server, the terminal can receive indication information sent by the server to selectively upgrade the WIFI module needing to be upgraded, and by adopting the technical scheme, the problems that the requirement on an upgrading network of the WIFI module is too high, the WIFI module cannot be selectively upgraded and the like in the prior art can be solved, and the efficiency of optimizing and upgrading the WIFI module in the household appliance needing to be upgraded is ensured, and the updating operation is simple and easy to operate, so that the user experience is improved, and the after-sale and customer service support cost is reduced.
It should be noted that the terminal may be a mobile phone terminal or other mobile terminals capable of establishing a connection relationship with the home appliance device and the server, so that the home appliance device is upgraded corresponding to the WIFI module through a hotspot connected with the terminal under the condition that the network is poor; the server may be an internet of things cloud server or other types of servers in real time, which is not limited in the present invention.
In an exemplary embodiment, before obtaining module information of a WIFI module in the home appliance device, the method further includes: starting a hotspot of the terminal, and setting a hotspot name of the hotspot so as to enable one or more household appliances to be automatically connected to the terminal; and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
In order to facilitate the terminal to acquire information of a WIFI module in the household appliance, the hotspot name of the hotspot is set on the terminal, the household appliance can be automatically connected to the terminal after the hotspot is identified, and then the automatic connection to the household appliance can be rapidly completed after the household appliance is restarted.
In an exemplary embodiment, receiving the indication information sent by the server includes: receiving indication information generated after the server judges the module information through a preset judgment logic, wherein the preset judgment logic comprises at least one of the following: and determining whether the module information is legal or not, determining whether the module information is the latest version or not, and upgrading the WIFI module when the indication information indicates that the module information is legal and the module information is not the latest version.
The terminal acquires module information of a WIFI module in household appliance equipment connected with the terminal through a hotspot, the acquired module information is sent to the server for logic judgment, and the server needs to judge a plurality of module information, so that the logic is preset in the server to accelerate the judgment of the module information, the judgment of the legality and version information of the module information uploaded by the terminal is realized, the server sends corresponding indication information according to the judgment result, and when the module information is legal but not the latest version, the indication information is directly used for indicating that the WIFI module needs to be upgraded.
In an exemplary embodiment, after receiving the indication information sent by the server, the method further includes: and under the condition that the indication information is also used for indicating that the module information is not legal, disconnecting the terminal from the household appliance.
When the server judges that the current module information is illegal according to preset logic, and a non-server can authorize the upgraded module, the server sends indication information for indicating the terminal to disconnect the hotspot connection with the household appliance containing the illegal module information to the terminal, and then the illegal WIFI module is prohibited from upgrading the WIFI module through the terminal.
In an exemplary embodiment, after selecting the upgraded target WIFI module on the target display interface of the terminal, the method further includes: sending request information to the server, wherein the request information is used for acquiring a latest version file of the target WIFI module; and receiving the latest version file returned by the server in response to the request information.
That is to say, after the module information of the WIFI module passes through the legal judgment of the server, the target display interface on the terminal can display information that the upgradable version or the current version is the latest version after the legal WIFI module, when a proper upgradable WIFI module is selected for upgrading, the terminal sends request information for acquiring the latest version file of the target WIFI module to the server, and the server returns the latest version file of the requested WIFI module to the terminal according to the request information.
In an exemplary embodiment, after receiving a latest version file of the target WIFI module obtained from the server and sending the latest version file to the home appliance device corresponding to the target WIFI module, so that the home appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, the method further includes: and after the household appliance corresponding to the target WIFI module finishes upgrading according to the latest version file, displaying that the target WIFI module finishes upgrading on the target display interface.
In short, in order to monitor the upgrading process of the upgradable WIFI module, after the household appliance corresponding to the target WIFI module finishes upgrading according to the latest version file, the upgradable display behind the WIFI module on the target display interface is changed to be updated, so that the upgrading determination of the WIFI module is completed.
In order to better understand the process of the module upgrading method, the following describes a flow of the module upgrading method with reference to an optional embodiment, but the flow is not limited to the technical solution of the embodiment of the present invention.
In an optional embodiment of the present invention, as shown in fig. 3, a system architecture block diagram for WIFI network module upgrade is provided, which mainly includes an internet of things home appliance 32 (equivalent to a home appliance device in the embodiment of the present invention), an internet of things intelligent APP terminal 34 (equivalent to a terminal in the embodiment of the present invention), and an internet of things cloud server 36 (equivalent to a server in the embodiment of the present invention).
The internet-of-things appliance 32 includes: a WIFI network module 24 (equivalent to a WIFI module in the embodiment of the present invention), and a home appliance control module 22; the WIFI network module 24 is used for keeping network connection between the intelligent household appliance and the intelligent APP and the cloud server; the household appliance control module 22 is used for controlling and acquiring the state of the household appliance to keep the household appliance running normally;
and the internet of things cloud server 36 is used for verifying whether the WIFI network module is legal or not and judging whether the WIFI network module needs to be upgraded or not, and only the verified WIFI network module can interact with the internet of things intelligent APP.
And the intelligent APP terminal 34 of the Internet of things is used for connecting the WIFI network module, acquiring the upgrade file from the cloud server of the Internet of things, and pushing the upgrade file to upgrade the WIFI network module.
Fig. 4 is a flowchart of a system for WIFI network module upgrade, according to an alternative embodiment of the present invention, including the following steps:
s402, opening the intelligent terminal of the Internet of things, and opening a hotspot of the intelligent terminal of the Internet of things, wherein the hotspot name needs to be stored consistent with an SSID (service set identifier) which can be automatically connected by the WIFI network module;
step S404, restarting the Internet of things household appliance, and automatically connecting the WIFI network module to a hotspot of the Internet of things intelligent terminal after the Internet of things household appliance is powered on;
s406, opening an intelligent APP of the intelligent terminal of the Internet of things, logging in and verifying the intelligent APP by the cloud server of the Internet of things, wherein after verification is passed, logging in is successful, and operation of related functions can be performed;
s408, searching a module list connected to the intelligent terminal of the Internet of things after login;
s410, acquiring basic information of the modules, and judging whether the modules are legal or not according to the logic of the Internet of things cloud server, wherein if the modules are illegal, the intelligent APP actively disconnects the interaction with the modules; after the WIFI module is judged to be legal, whether the module needs to be upgraded or not is judged according to the logic of the cloud server of the Internet of things, and if the module does not need to be upgraded, the intelligent APP displays and informs the WIFI network module that the WIFI network module is the latest version;
step 412, manually selecting a WIFI network module to be upgraded, and selecting one or more WIFI network modules, wherein the intelligent APP of the Internet of things intelligent terminal requests the latest version information and upgrade files of the WIFI network module on the cloud server of the Internet of things;
step S414, after the information is successfully obtained, the upgrade file and the latest version information are pushed to the WIFI network module, and the module upgrades the information after receiving the information; the WIFI network module returns an upgrade result and updates version information of the WIFI network module, and the upgrade result and the latest version of the WIFI network module are displayed on the intelligent APP of the intelligent terminal of the internet of things;
optionally, for convenience of understanding, fig. 5 is an interaction schematic diagram of a system for upgrading a WIFI network module according to an alternative embodiment of the present invention, including the following steps:
step 1: the intelligent terminal of the Internet of things starts a hotspot;
step 2: the WIFI network module is powered on again;
and step 3: the WIFI network module is automatically connected with the Internet of things intelligent terminal;
the automatic connection process specifically comprises the following steps: step 3.1, the intelligent terminal of the internet of things sends a broadcast packet to the WIFI network module; step 3.2, the WIFI network module is in a monitoring state and monitors channel connection; 3.3, the WIFI network module analyzes the broadcast packet sent by the intelligent terminal of the Internet of things according to the protocol, and automatic connection between the WIFI network module and the intelligent terminal of the Internet of things is completed;
and 4, step 4: opening an intelligent APP on the intelligent terminal of the Internet of things;
and 5: logging in on an intelligent APP and connecting to an Internet of things cloud server for verification;
step 5.1: after the verification is passed, returning login success information;
step 6: searching all WIFI network modules connected to the intelligent terminal of the Internet of things;
and 7: the Internet of things intelligent terminal sends the module information of the WIFI network module to the Internet of things cloud server, and the legality of all the WIFI network modules connected to the Internet of things intelligent terminal is inquired and verified;
step 7.1: the Internet of things cloud server sends the information of the verified legal WIFI module to the Internet of things intelligent terminal;
and 8: the Internet of things intelligent terminal can also inquire the WIFI network modules needing to be upgraded in the legal WIFI network modules from the Internet of things cloud server;
step 8.1: the Internet of things cloud server marks a WIFI network module needing to be upgraded;
and step 9: displaying all WIFI network modules connected to the intelligent terminal of the Internet of things on the intelligent terminal of the Internet of things and marking the WIFI network modules needing to be upgraded;
step 10: selecting one or more WIFI network modules needing to be upgraded;
step 11: the method comprises the steps that an Internet of things intelligent terminal inquires version information and an upgrading file of a WIFI network module needing upgrading from an Internet of things cloud server;
step 11.1: the Internet of things cloud server sends version information of the WIFI network module and an upgrade file query result to the Internet of things intelligent terminal;
step 12: the Internet of things intelligent terminal pushes version information and an upgrade file of the WIFI network module inquired by the Internet of things cloud server to the WIFI network module;
step 12.1: and after the WIFI network module finishes upgrading, an upgrading result is returned to the intelligent Internet of things terminal.
In summary, according to the optional embodiments of the present invention, when a WIFI network module in a home appliance performs module upgrade, a server does not need to be connected, and the method is not limited by the compatibility of a home router and the network condition of a user, so as to implement manual upgrade of the WIFI network module anytime and anywhere, and further continually optimize the function of the WIFI network module, so that the module function is more and more complete.
It should be noted that the execution order of the above steps may be exchanged or cyclically executed in some cases, which is not limited in the embodiment of the present invention.
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.
Fig. 6 is a block diagram of an upgrading system of a module according to an embodiment of the present invention, as shown in fig. 6, the system includes: the system comprises a terminal 64, a household appliance 62 and a server 66, wherein the household appliance 62 is used for sending module information of a WIFI module to the terminal based on the pre-established connection between the terminal and the household appliance; the terminal 64 is configured to send the module information to a server; the server 66 is further configured to send, in response to the module information, indication information to the terminal, where the indication information is at least used to determine whether the WIFI module is upgraded; the terminal 64 is further configured to select an upgraded target WIFI module on a target display interface of the terminal under the condition that the indication information indicates that the WIFI module needs to be upgraded, receive a latest version file of the target WIFI module, which is obtained from the server, and send the latest version file to the household appliance device corresponding to the target WIFI module, so that the household appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
Through the system, based on the pre-established connection between the terminal and the household appliance, the module information of the WIFI module in the household appliance is acquired; sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded; under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module acquired from the server, and sending the latest version file to the household appliance corresponding to the target WIFI module so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, namely, after the terminal acquires module information of the WIFI module and uploads the corresponding server, the terminal can receive indication information sent by the server to selectively upgrade the WIFI module needing to be upgraded, and by adopting the technical scheme, the problems that the requirement on an upgrading network of the WIFI module is too high, the WIFI module cannot be selectively upgraded and the like in the prior art can be solved, and the efficiency of optimizing and upgrading the WIFI module in the household appliance needing to be upgraded is ensured, and the updating operation is simple and easy to operate, so that the user experience is improved, and the after-sale and customer service support cost is reduced.
It should be noted that the terminal may be a mobile phone terminal or other mobile terminals capable of establishing a connection relationship with the home appliance device and the server, so that the home appliance device is upgraded corresponding to the WIFI module through a hotspot connected with the terminal under the condition that the network is poor; the server may be an internet of things cloud server or other types of servers in real time, which is not limited in the present invention.
In an exemplary embodiment, the terminal is further configured to start a hotspot, and set a hotspot name of the hotspot, so that one or more home appliances are automatically connected to the terminal; and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
In order to facilitate the terminal to acquire information of a WIFI module in the household appliance, the hotspot name of the hotspot is set on the terminal, the household appliance can be automatically connected to the terminal after the hotspot is identified, and then the automatic connection to the household appliance can be rapidly completed after the household appliance is restarted.
In an exemplary embodiment, the server is further configured to determine, by using a preset determination logic, indication information generated after the module information is determined, where the preset determination logic includes at least one of: and determining whether the module information is legal or not, determining whether the module information is the latest version or not, and upgrading the WIFI module when the indication information indicates that the module information is legal and the module information is not the latest version.
The terminal acquires module information of a WIFI module in household appliance equipment connected with the terminal through a hotspot, the acquired module information is sent to the server for logic judgment, and the server needs to judge a plurality of module information, so that the logic is preset in the server to accelerate the judgment of the module information, the judgment of the legality and version information of the module information uploaded by the terminal is realized, the server sends corresponding indication information according to the judgment result, and when the module information is legal but not the latest version, the indication information is directly used for indicating that the WIFI module needs to be upgraded.
In an exemplary embodiment, the terminal is further configured to disconnect the connection with the home appliance device when the indication information indicates that the module information is not legal.
When the server judges that the current module information is illegal according to preset logic, and a non-server can authorize the upgraded module, the server sends indication information for indicating the terminal to disconnect the hotspot connection with the household appliance containing the illegal module information to the terminal, and then the illegal WIFI module is prohibited from upgrading the WIFI module through the terminal.
In an exemplary embodiment, the terminal is further configured to send request information to the server, where the request information is used to obtain a latest version file of the target WIFI module; and receiving the latest version file returned by the server in response to the request information.
That is to say, after the module information of the WIFI module passes through the legal judgment of the server, the target display interface on the terminal can display information that the upgradable version or the current version is the latest version after the legal WIFI module, when a proper upgradable WIFI module is selected for upgrading, the terminal sends request information for acquiring the latest version file of the target WIFI module to the server, and the server returns the latest version file of the requested WIFI module to the terminal according to the request information.
In an exemplary embodiment, the terminal is further configured to display that the target WIFI module is updated on the target display interface after the home appliance device corresponding to the target WIFI module is updated according to the latest version file.
In short, in order to monitor the upgrading process of the upgradable WIFI module, after the household appliance corresponding to the target WIFI module finishes upgrading according to the latest version file, the upgradable display behind the WIFI module on the target display interface is changed to be updated, so that the upgrading determination of the WIFI module is completed.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring module information of a WIFI module in the household appliance based on the pre-established connection between the terminal and the household appliance;
s2, sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded;
s3, when the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module obtained from the server, and sending the latest version file to the household electrical appliance corresponding to the target WIFI module, so that the household electrical appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, 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.
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.
In an exemplary embodiment, 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.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring module information of a WIFI module in the household appliance based on the pre-established connection between the terminal and the household appliance;
s2, sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded;
s3, when the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module obtained from the server, and sending the latest version file to the household electrical appliance corresponding to the target WIFI module, so that the household electrical appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them 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 upgrading a module, comprising:
acquiring module information of a WIFI module in the household appliance based on a pre-established connection between a terminal and the household appliance;
sending the module information to a server, and receiving indication information sent by the server, wherein the indication information is a response of the server to the received module information, and the indication information is at least used for determining whether the WIFI module is upgraded;
under the condition that the indication information indicates that the WIFI module needs to be upgraded, selecting an upgraded target WIFI module on a target display interface of the terminal, receiving a latest version file of the target WIFI module acquired from the server, and sending the latest version file to the household appliance corresponding to the target WIFI module, so that the household appliance corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
2. The method of claim 1, wherein before obtaining module information of the WIFI module in the home device, the method further comprises:
starting a hotspot of the terminal, and setting a hotspot name of the hotspot so as to enable one or more household appliances to be automatically connected to the terminal;
and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
3. The method of claim 1, wherein receiving the indication information sent by the server comprises:
receiving indication information generated after the server judges the module information through a preset judgment logic, wherein the preset judgment logic comprises at least one of the following: and determining whether the module information is legal or not, determining whether the module information is the latest version or not, and upgrading the WIFI module when the indication information indicates that the module information is legal and the module information is not the latest version.
4. The method of claim 3, wherein after receiving the indication information sent by the server, the method further comprises:
and under the condition that the indication information is also used for indicating that the module information is not legal, disconnecting the terminal from the household appliance.
5. The method of claim 1, wherein after selecting the upgraded target WIFI module on the target display interface of the terminal, the method further comprises:
sending request information to the server, wherein the request information is used for acquiring a latest version file of the target WIFI module;
and receiving the latest version file returned by the server in response to the request information.
6. The method of claim 1, wherein a latest version file of the target WIFI module obtained from the server is received, and the latest version file is sent to the home device corresponding to the target WIFI module, so that after the home device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file, the method further comprises:
and after the household appliance corresponding to the target WIFI module finishes upgrading according to the latest version file, displaying that the target WIFI module finishes upgrading on the target display interface.
7. A system for upgrading a module, comprising:
a terminal, a home appliance, a server, wherein,
the household appliance equipment is used for sending the module information of the WIFI module to the terminal based on the pre-established connection between the terminal and the household appliance equipment;
the terminal is used for sending the module information to a server;
the server is further used for responding to the module information and sending indication information to the terminal, wherein the indication information is at least used for determining whether the WIFI module is upgraded or not;
the terminal is further configured to select an upgraded target WIFI module on a target display interface of the terminal under the condition that the indication information indicates that the WIFI module needs to be upgraded, receive a latest version file of the target WIFI module, which is acquired from the server, and send the latest version file to the household appliance device corresponding to the target WIFI module, so that the household appliance device corresponding to the target WIFI module upgrades the target WIFI module according to the latest version file.
8. The system of claim 7, wherein the terminal is further configured to start a hotspot, and set a hotspot name of the hotspot, so that one or more home devices are automatically connected to the terminal; and after the household appliances are restarted, receiving the automatic connection of the one or more household appliances.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202010981726.3A 2020-09-17 2020-09-17 Module upgrading method and system, storage medium and electronic device Active CN112187531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010981726.3A CN112187531B (en) 2020-09-17 2020-09-17 Module upgrading method and system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010981726.3A CN112187531B (en) 2020-09-17 2020-09-17 Module upgrading method and system, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112187531A CN112187531A (en) 2021-01-05
CN112187531B true CN112187531B (en) 2022-04-26

Family

ID=73920146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010981726.3A Active CN112187531B (en) 2020-09-17 2020-09-17 Module upgrading method and system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112187531B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378750B (en) * 2021-05-20 2023-09-19 海信集团控股股份有限公司 OTA upgrading method and equipment for electronic home equipment
CN113485735A (en) * 2021-07-22 2021-10-08 三维通信股份有限公司 Equipment upgrading method and device, storage medium and electronic device
CN114049702A (en) * 2021-10-14 2022-02-15 摩拜(北京)信息技术有限公司 Resource upgrading method and device, vehicle lock and electronic equipment
CN114024840A (en) * 2021-11-02 2022-02-08 浙江三维万易联科技有限公司 Request transmission method and device, storage medium and electronic device
CN114938365A (en) * 2022-03-18 2022-08-23 青岛海尔科技有限公司 Method and device for updating functional module, storage medium and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860852A (en) * 2010-03-03 2010-10-13 宇龙计算机通信科技(深圳)有限公司 Method and system for updating software and method for updating software of mobile terminal
CN103399760A (en) * 2013-07-20 2013-11-20 江苏中科天安智联科技有限公司 Remote upgrade method of vehicular intelligent terminal software
CN104750506B (en) * 2013-12-30 2018-04-17 海尔集团公司 A kind of intelligent appliance wifi module software automatic updating method
CN107580040B (en) * 2017-08-29 2020-11-03 聚好看科技股份有限公司 Method and device for upgrading communication module in intelligent household terminal
CN109495644A (en) * 2018-11-02 2019-03-19 青岛云世纪信息科技有限公司 A kind of device end wifi upgrade method based on the transmission of big file

Also Published As

Publication number Publication date
CN112187531A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN112187531B (en) Module upgrading method and system, storage medium and electronic device
CN110446201B (en) Communication module, communication method and system for realizing eSIM remote configuration
JP6566500B2 (en) Method, terminal, and system for upgrading terminal system
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
CN111371657A (en) Network configuration method and system of intelligent household appliance and intelligent household appliance
CN111885115A (en) Equipment binding change method and device
CN113438314B (en) Equipment control method and device, storage medium and electronic device
CN113873010B (en) Upgrading method and device of equipment, storage medium and electronic device
CN112737847B (en) Node upgrading method and device, storage medium and electronic device
WO2017076109A1 (en) Software upgrading method and device
CN112764803A (en) Version upgrading method and device, storage medium and electronic device
CN112637931A (en) Method and device for establishing network connection
CN112202652A (en) Method and device for displaying information of equipment to be networked, storage medium and electronic device
CN110149622B (en) Intelligent household appliance control method and device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN112637221B (en) Equipment control method and device
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
JPWO2018074422A1 (en) Fusion splicing device management system and splicing splicing device management method
CN111884938A (en) Router information acquisition method and device
CN114745740B (en) Intelligent household appliance upgrading system and method
KR101651854B1 (en) Method and apparatus for providing software upgrade using push message
CN114257509A (en) Module upgrading method and device, storage medium and electronic device
CN114125052A (en) Target operation execution method and device, storage medium and electronic device
CN111726411A (en) Equipment binding method, device, system, storage medium and electronic device
KR100912537B1 (en) System and Method for remote control of IPTV terminal

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