WO2018045958A1 - Wifi设备升级的方法及系统 - Google Patents

Wifi设备升级的方法及系统 Download PDF

Info

Publication number
WO2018045958A1
WO2018045958A1 PCT/CN2017/100681 CN2017100681W WO2018045958A1 WO 2018045958 A1 WO2018045958 A1 WO 2018045958A1 CN 2017100681 W CN2017100681 W CN 2017100681W WO 2018045958 A1 WO2018045958 A1 WO 2018045958A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi device
upgrade
upgrade file
wifi
file
Prior art date
Application number
PCT/CN2017/100681
Other languages
English (en)
French (fr)
Inventor
陈秋平
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2018045958A1 publication Critical patent/WO2018045958A1/zh

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
    • 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
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present disclosure relates to the field of WIFI (Wireless Fidelity) device technology, for example, to a method and system for upgrading a WIFI device.
  • WIFI Wireless Fidelity
  • the OTA (Over the Air Technology) upgrade scheme uses the STB (Set Top Box) to push the WIFI module.
  • the upgrade scheme mainly has the following defects: 1. If an upgrade occurs during the upgrade process Unexpected power failure and other conditions lead to upgrade failure, which will lead to system crash, WIFI equipment can no longer work normally; 2. Only applicable to STB+WIFI product portfolio form, can not meet the diversified needs of product forms; 3. STB in network topology For the CPE (Customer Premise Equipment) of the WIFI module, if the network of the STB module is abnormal, the WIFI upgrade push will not work properly. This networking model is relatively weak; 4. Pushing the upgrade in related technologies The software is built in the STB. Every STB must be inefficient with the STB software engineer. If the platform code is updated, the upgrade push module that responds to the STB model needs to be updated, which is not conducive to software development. 5. The network cannot be upgraded during the upgrade process. Use, affecting the user experience.
  • the present disclosure provides a method and system for upgrading a WIFI device, which can reduce the risk of occurrence of various problems caused by an abnormality in the upgrade process and improve the user experience.
  • a method for upgrading a WIFI device including:
  • the upgraded WIFI device is started from the backup partition.
  • the saving the save file to a backup partition of the WIFI device including:
  • the upgrade file is saved to a backup partition of the WIFI device.
  • the method further includes: updating a startup flag of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • the booting the upgraded WIFI device from the backup partition includes:
  • the upgraded WIFI device is started from the backup partition.
  • the method further includes: starting the WIFI device from the current partition when an interruption occurs in saving the upgrade file to a backup partition of the WIFI device or the upgrade file fails the pre-boot check.
  • the downloading the upgrade file of the WIFI device from the server including:
  • the upgrade file of the WIFI device is downloaded from the server according to the file download path.
  • the method before the downloading the upgrade file of the WIFI device from the server, the method further includes:
  • the device information of the WIFI device is encrypted by using the AES256 encryption method, and the upgrade query request of the WIFI device and the device information of the encrypted WIFI device are sent to the server through the server port information;
  • the receiving server determines, according to the device information of the encrypted WIFI device, the upgrade confirmation information that is sent after the WIFI device needs to be upgraded.
  • the device information of the WIFI device includes: a hardware version of the WIFI device, a software version of the WIFI device, a hardware configuration of the WIFI device, a region ID of the WIFI device, and a serial number of the WIFI device.
  • the upgrade file includes an upgrade file of the WIFI device or an upgrade file of the WIFI function module in the WIFI device.
  • a system for upgrading a WIFI device including:
  • the download unit is set to download an upgrade file of the WIFI device from the server;
  • An upgrade unit configured to save the upgrade file to a backup partition of the WIFI device to upgrade the WIFI device;
  • the boot unit is set to start the upgraded WIFI device from the backup partition when the upgrade is completed.
  • the upgrading unit is configured to perform verification after downloading the upgrade file to confirm The upgrade file can start the WIFI device; and save the upgrade file to a backup partition of the WIFI device when the upgrade file is verified by the download.
  • the method further includes: a startup flag update unit, configured to update a startup flag of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • a startup flag update unit configured to update a startup flag of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • the startup unit is configured to perform pre-boot verification on the upgrade file of the backup partition to detect whether the upgrade file can complete normal startup of the WIFI device; and when the upgrade file passes the startup When the pre-verification is performed, the upgraded WIFI device is started from the backup partition.
  • the method further includes an alternate startup unit configured to start from the current partition when an interruption occurs in saving the upgrade file to the backup partition of the WIFI device or the upgrade file fails the pre-boot check The WIFI device.
  • the download unit includes:
  • a sending accepting unit configured to send an upgrade download request of the WIFI device to the server, and receive a file download path sent by the server according to the upgrade download request;
  • the download subunit is configured to download an upgrade file of the WIFI device from the server according to the file download path.
  • it also includes:
  • the acquiring unit is configured to obtain device information of the WIFI device and upgrade server port information corresponding to the WIFI device;
  • the encryption sending unit is configured to encrypt the device information of the WIFI device by using an AES256 encryption method, and send, by using the server port information, an upgrade query request of the WIFI device and device information of the encrypted WIFI device to the server;
  • the receiving unit is configured to determine, by the receiving server, the upgrade confirmation information that is sent after the WIFI device needs to be upgraded according to the device information of the encrypted WIFI device.
  • the device information of the WIFI device includes: a hardware version of the WIFI device, a software version of the WIFI device, a hardware configuration of the WIFI device, a region ID of the WIFI device, and a serial number of the WIFI device.
  • the upgrade file includes an upgrade file of the WIFI device or an upgrade file of the WIFI function module in the WIFI device.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment further provides a WIFI device, including at least one processor;
  • a memory communicatively coupled to the at least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to perform the method of any of the above.
  • the WIFI device upgrade process if the accident occurs, the current partition is started, which avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, and reduces the risk of various problems caused by abnormalities in the upgrade process;
  • the WIFI device downloads the upgrade file directly from the server, and does not need to push the upgrade file of the WIFI device through the set top box.
  • the network topology of the WIFI system is more reasonable, and can satisfy various WIFI product forms; the unified automatic upgrade of the WIFI device is not restricted by the set top box. It is beneficial to the development of WIFI software; and it does not affect the user's use of the network during the upgrade process, which greatly improves the user experience.
  • FIG. 1 is a flowchart of a method of a first embodiment of a method for upgrading a WIFI device provided in this embodiment.
  • FIG. 2 is a flowchart of a method of a second embodiment of a method for upgrading a WIFI device provided in this embodiment.
  • FIG. 3 is a flowchart of a method of a third embodiment of a method for upgrading a WIFI device provided in this embodiment.
  • FIG. 4 is a structural block diagram of a first embodiment of a system for upgrading a WIFI device provided in the embodiment.
  • FIG. 5 is a structural block diagram of a second embodiment of a system for upgrading a WIFI device provided in this embodiment.
  • FIG. 6 is a structural block diagram of a WIFI device provided in the specific embodiment.
  • FIG. 1 is a flowchart of a method of a first embodiment of a method for upgrading a WIFI device provided in this embodiment.
  • the method may be performed by a WIFI device. As shown, the method includes: Step 110 - Step 130.
  • step 110 the upgrade file of the WIFI device is downloaded from the server.
  • the WIFI device downloads an upgrade file for upgrading the WIFI device software from the server.
  • WIFI device refers to a terminal device that includes WIFI function.
  • the terminal device can be an STB with WIFI, an EOC with WIFI. (Ethernet Over Coax, coaxial cable Ethernet), CM (Cable Modem) with WIFI, etc., wherein the upgrade file for downloading the WIFI device from the server can refer not only to the upgrade file of the WIFI device, but in this embodiment, It can also refer to the upgrade file of the WIFI module function in the WIFI device.
  • step 120 the upgrade file is saved to a backup partition of the WIFI device, and the WIFI device is upgraded.
  • the method further includes updating a bootmark of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • the WIFI device starts, compare the startup flag of the backup partition with the startup flag of the current partition, and if the startup flag of the backup partition is updated, start from the backup partition.
  • step 130 when the upgrade is completed, the upgraded WIFI device is started from the backup partition.
  • the WIFI device is started from the backup partition when the WIFI device starts.
  • the foregoing step 130 includes:
  • the upgraded WIFI device is started from the backup partition.
  • step 140 is further included.
  • step 140 when the upgrade is interrupted, the WIFI device is booted from the current partition.
  • the upgrade interruption includes: interruption of the upgrade process, interruption of the upgrade file saved to the backup partition of the WIFI device, failure of the upgrade file to pass the pre-launch check, and destruction of the upgrade file.
  • interruption of the upgrade process interruption of the upgrade file saved to the backup partition of the WIFI device, failure of the upgrade file to pass the pre-launch check, and destruction of the upgrade file.
  • the backup partition is written, and the current partition is read-only to prevent malicious damage.
  • the startup flag of the backup partition is not updated, and the WIFI device is directly started from the current partition
  • the upgrade file is The WIFI device is started from the current partition when the upgrade file does not pass the pre-launch check, so the WIFI device is started by using the file before the upgrade. So you can avoid or reduce the inability to start after the upgrade is complete. Obstacles.
  • Step 130 and step 140 in this embodiment are not performed at the same time, and one of the executions is selected according to different conditions. If the upgrade is completed, step 130 is performed, and if the upgrade is interrupted, step 140 is performed.
  • the upgrade file of the WIFI device is downloaded from the server; the upgrade file is saved to the backup partition of the WIFI device, and the WIFI device is upgraded; when the upgrade is completed, the backup partition is started.
  • the WIFI device upgrade process if an accident occurs, it will be started from the current partition, which avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, and reduces the risk of various problems caused by the abnormality of the upgrade process; the WIFI device directly Downloading the upgrade file from the server does not require the set-top box to push the upgrade file of the WIFI device.
  • the network topology of the WIFI system is more reasonable, and can satisfy various WIFI product forms; the unified automatic upgrade of the WIFI device is not limited by the set-top box, which is beneficial to The development of WIFI software; and does not affect the user's use of the network during the upgrade process, greatly improving the user experience.
  • FIG. 2 is a flowchart of a method of a second embodiment of a method for upgrading a WIFI device provided in this embodiment. As shown, the method includes: Step 201 - Step 205.
  • step 201 an upgrade download request of the WIFI device is sent to the server, and the file download path sent by the server according to the upgrade download request is received.
  • the WIFI device When the WIFI device software needs to be upgraded, the WIFI device actively sends an upgrade download request of the WIFI device software to the server. After receiving the upgrade download request, the server sends a corresponding file download path to the WIFI device according to the upgrade download request, and the WIFI device receives the request. The corresponding file download path.
  • the file download path sent by the receiving server according to the upgrade download request includes: an encrypted file download path sent by the receiving server according to the upgrade download request; wherein the encryption mode may be AES (Advanced Encryption Standard, advanced) Encryption standard) Encryption method, DES (Data Encryption Standard) encryption method, IDEA (International Data Encryption Algorithm) encryption method, etc.
  • step 202 the upgrade file of the WIFI device is downloaded from the server according to the file download path.
  • the downloading the upgrade file according to the file download path includes: decrypting the encrypted file download path; and downloading the upgrade file according to the decrypted file download path.
  • the WIFI device decrypts the encrypted file download path by using the corresponding decryption method, obtains the file download path, and accesses the file download path to download the upgrade file of the WIFI device from the server.
  • step 203 the upgrade file is saved to a backup partition of the WIFI device, and the WIFI device is used. Upgrade.
  • step 204 when the upgrade is completed, the upgraded WIFI device is started from the backup partition.
  • step 205 when the upgrade is interrupted, the WIFI device is started from the current partition.
  • Steps 204 and 205 are substantially the same as those of step 130 and step 140, and are not described herein again. Step 204 and step 205 in this embodiment are not performed at the same time, and one of the executions is selected according to different conditions. If the upgrade is completed, step 204 is performed, and if the upgrade is unexpectedly interrupted, step 205 is performed.
  • the WIFI device when the WIFI device software needs to be upgraded, the WIFI device actively sends an upgrade download request of the WIFI device software to the server, and the receiving server sends the file download path according to the upgrade download request to implement the WIFI device automatically. Upgrade; there is no need to push the upgrade file of WIFI device through the set-top box, the upgrade is not restricted by the set-top box, which is beneficial to the development of WIFI device software and meet the diversified needs of product forms; in the process of software upgrade of WIFI device, if there is an accident, it is from the current The partition is started, which avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, reduces the risk of various problems caused by the abnormality of the upgrade process, greatly improves the user experience, and reduces the risk of the customer complaining about the merchant. At the same time, it reduces the operator's operation and maintenance pressure.
  • FIG. 3 is a flowchart of a method of a third embodiment of a method for upgrading a WIFI device provided in this embodiment. As shown, the method includes steps 301 - 308.
  • step 301 the device information of the WIFI device and the server port information corresponding to the WIFI device are upgraded.
  • the WIFI device Open the WIFI device and initialize the WIFI device.
  • the WIFI device obtains the device information of the WIFI device according to the preset frequency and upgrades the server port information corresponding to the WIFI device software, and actively prepares for upgrading the WIFI device software.
  • the preset frequency can be set when the WIFI device is shipped from the factory, or can be set by the user according to the requirements.
  • the preset frequency is: 1 day/time, 2 days/time, 5 days/time, 15 days/time, and the like.
  • the device information of the WIFI device includes: a hardware version of the WIFI device, a software version of the WIFI device, a hardware configuration of the WIFI device, a region ID of the WIFI device, and a serial number of the WIFI device.
  • step 302 the device information of the WIFI device is encrypted by using the AES256 encryption method, and the upgrade query request of the WIFI device and the device information of the encrypted WIFI device are sent to the server through the server port information.
  • the AES256 (Advanced Encryption Standard 256, 256-bit key advanced encryption standard) encryption method is used to encrypt the device information of the WIFI device, and the encryption speed is fast.
  • the device information security level of the WIFI device after encryption is high, which effectively improves the security of the WIFI device. Sex.
  • the AES256 decryption method is used to decrypt the device information of the WIFI device, and the device information of the WIFI device is compared with the corresponding device information in the server database to determine whether the WIFI device software is the latest version of the WIFI device software. If it is not the latest version, it needs to be upgraded. If you are the latest version, you do not need to upgrade.
  • the process proceeds to step 303 to send an upgrade confirmation message to the WIFI device.
  • the WIFI device when the server determines that the WIFI device does not need to be upgraded, the WIFI device sends the confirmation information that does not need to be upgraded, and the WIFI device receives the confirmation information that does not need to be upgraded, and returns to step 301 to continue to obtain the preset frequency.
  • step 303 the receiving server determines, according to the device information of the encrypted WIFI device, the upgrade confirmation information that is sent after the WIFI device needs to be upgraded.
  • step 304 the upgrade file of the WIFI device is downloaded from the server.
  • step 305 the upgrade file is verified to determine whether it passes the verification.
  • step 306 Check the upgrade file to determine whether the upgrade file has passed the verification. When the upgrade file passes the verification, proceed to step 306; when the upgrade file fails the verification, return to step 305 to re-download the upgrade file of the WIFI device from the server.
  • the verification of the downloaded upgrade file can eliminate the problem that the upgrade file is incomplete, the upgrade file is damaged, or the upgrade file is incorrect, and the success rate of the WIFI device software upgrade is improved.
  • the process returns to step 301, and the device information of the WIFI device and the server port information corresponding to the WIFI device are updated according to the preset frequency.
  • step 306 the upgrade file is saved to a device partition of the WIFI device.
  • step 307 when the upgrade is completed, the upgraded WIFI device is started from the backup partition.
  • step 308 when the upgrade is interrupted, the WIFI device is started from the current partition.
  • Step 307 and step 308 in this embodiment are not performed at the same time, and one of the executions is selected according to different conditions. If the upgrade is completed, step 307 is performed, and if the upgrade is unexpectedly interrupted, step 308 is performed.
  • the device information of the WIFI device is obtained according to the preset frequency, and the device information of the encrypted WIFI device is sent to the server before the WIFI device software is upgraded, thereby effectively ensuring the security of the WIFI device; and sending an upgrade query request to the server.
  • the WIFI device software upgrade is not restricted by the set-top box, which is beneficial to the development of the WIFI software and meets the diversified needs of the product form; in the process of upgrading the WIFI device software, If an accident occurs, it is started from the current partition, which avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, which reduces the risk of various problems caused by the abnormality of the upgrade process, greatly improving the user experience and reducing the user experience. Customer complaints and the risks of the business.
  • the following is an embodiment of a system for upgrading a WIFI device of the present solution.
  • An embodiment of a system for upgrading a WIFI device is implemented based on an embodiment of a method for upgrading a WIFI device.
  • a system for upgrading a WIFI device For an exhaustive description, please refer to an embodiment of a method for upgrading a WIFI device.
  • FIG. 4 is a structural block diagram of a first embodiment of a system for upgrading a WIFI device provided in this embodiment. As shown, the system includes:
  • the download unit 410 is configured to download an upgrade file of the WIFI device from the server.
  • the device information of the WIFI device includes: a hardware version of the WIFI device, a software version of the WIFI device, a hardware configuration of the WIFI device, a regional identity number of the WIFI device, and a serial number of the WIFI device.
  • the upgrade file includes an upgrade file of the WIFI device or an upgrade file of the WIFI function module in the WIFI device.
  • the upgrading unit 420 is configured to save the upgrade file to a backup partition of the WIFI device to upgrade the WIFI device.
  • the startup unit 430 is configured to start the upgraded WIFI device from the backup partition when the upgrade is completed.
  • the download unit 410 is configured to download an upgrade file of the WIFI device from the server
  • the upgrade unit 420 is configured to save the upgrade file to the backup partition of the WIFI device, to the WIFI.
  • the device is upgraded;
  • the startup unit 430 is configured to start the upgraded WIFI device from the backup partition when the upgrade is completed.
  • the WIFI device upgrade process if an accident occurs, it will be started from the current partition, which avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, and reduces the risk of various problems caused by the abnormality of the upgrade process; the WIFI device directly Downloading the upgrade file from the server does not require the set-top box to push the upgrade file of the WIFI device.
  • the network topology of the WIFI system is more reasonable, and can satisfy various WIFI product forms; the unified automatic upgrade of the WIFI device is not limited by the set-top box, which is beneficial to The development of WIFI software; and does not affect the user's use of the network during the upgrade process, greatly improving the user experience.
  • the upgrading unit is configured to perform post-download verification on the upgrade file to confirm that the upgrade file can start the WIFI device; and when the upgrade file passes the download and check, The upgrade file is saved to the backup partition of the WIFI device.
  • the foregoing embodiment further includes: a startup flag updating unit 431, configured to update a startup flag of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • a startup flag updating unit 431 configured to update a startup flag of the backup partition, so that the WIFI device can be started by using the upgrade file.
  • the startup unit is configured to perform pre-boot verification on the upgrade file of the backup partition to detect whether the upgrade file can complete normal startup of the WIFI device; and when the upgrade file passes the startup When the pre-verification is performed, the upgraded WIFI device is started from the backup partition.
  • the standby starting unit 432 is further configured to: when an interruption occurs in saving the upgrade file to the backup partition of the WIFI device or the upgrade file fails the pre-boot check, from the current partition The WIFI device is activated.
  • FIG. 5 is a structural block diagram of a second embodiment of a system for upgrading a WIFI device provided in this embodiment. As shown, the system includes:
  • the obtaining unit 450 is configured to obtain device information of the WIFI device and upgrade server port information corresponding to the WIFI device.
  • the device information of the WIFI device includes: a hardware version of the WIFI device, a software version of the WIFI device, a hardware configuration of the WIFI device, a region ID of the WIFI device, and a serial number of the WIFI device.
  • the encryption sending unit 460 is configured to encrypt the device information of the WIFI device by using the AES256 encryption method, and send the upgrade query request of the WIFI device and the device information of the encrypted WIFI device to the server through the server port information.
  • the receiving unit 470 is configured to determine, by the receiving server, the upgrade confirmation information that is sent after the WIFI device needs to be upgraded according to the device information of the encrypted WIFI device.
  • the download unit 410 is configured to download an upgrade file of the WIFI device from the server.
  • the download unit 410 includes a transmission accepting unit and a download subunit.
  • the sending accepting unit is configured to send an upgrade download request of the WIFI device to the server, and receive a file download path sent by the server according to the upgrade download request.
  • the download subunit is configured to download an upgrade file of the WIFI device from the server according to the file download path.
  • the upgrading unit 420 is configured to save the upgrade file to a backup partition of the WIFI device, and upgrade the WIFI device.
  • the startup unit 430 is configured to start the upgraded WIFI device from the backup partition when the upgrade is completed.
  • the plurality of unit modules cooperate to obtain the device information of the WIFI device according to the preset frequency, and send the encrypted WIFI device to the server before upgrading the WIFI device software.
  • the device information effectively guarantees the security of the WIFI device; sends an upgrade query request to the server to know whether the WIFI device software needs to be upgraded, and realizes the WIFI device software to be automatically upgraded in time; the WIFI device software upgrade is not limited by the set top box, which is beneficial to the development of the WIFI software.
  • the WIFI device software upgrade is not limited by the set top box, which is beneficial to the development of the WIFI software.
  • To meet the diversified needs of product forms in the process of upgrading the WIFI device software, if there is an accident, it will be started from the current partition, avoiding the problem that the WIFI device can no longer work normally due to the upgrade failure, and the abnormality of the upgrade process is reduced.
  • the risk of multiple problems greatly improves the user experience and reduces the risk of customer complaints and merchants.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the method for upgrading the WIFI device described in the foregoing embodiments.
  • FIG. 6 is a structural block diagram of a WIFI device provided in the specific embodiment.
  • the WIFI device provided in this embodiment may include a processor 601 and a memory 603, and may further include a communications interface 602 and a bus 604.
  • the processor 601, the communication interface 602, and the memory 603 can complete communication with each other through the bus 604.
  • Communication interface 602 can be used for information transmission.
  • the processor 601 can call the logic instructions in the memory 603 to perform the method of upgrading the WIFI device of the above embodiment.
  • the logic instructions in the memory 603 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the methods described in the various embodiments.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the disclosure avoids the problem that the WIFI device can no longer work normally due to the upgrade failure, and reduces the risk that the upgrade process is abnormal and causes various problems; the WIFI device downloads the upgrade file directly from the server, and does not need to push the WIFI device through the set top box.
  • the upgrade file, WIFI system network topology is more reasonable, can meet a variety of WIFI product forms; achieve WIFI device unified automatic upgrade, not subject to the set-top box restrictions, is conducive to the development of WIFI software; and does not affect the user during the upgrade process
  • the network has greatly improved the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

一种无线保真WIFI设备升级的方法及系统。该方法包括:从服务器下载WIFI设备的升级文件;将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级;当升级完毕时,从所述备份分区启动升级后的WIFI设备。

Description

WIFI设备升级的方法及系统 技术领域
本公开涉及WIFI(Wireless Fidelity,无线保真)设备技术领域,例如涉及一种WIFI设备升级的方法及系统。
背景技术
相关技术中OTA(Over the Air Technology,空中下载技术)升级方案为利用STB(Set Top Box,数字视频变换盒)推送WIFI模块,该升级方案主要有以下几个缺陷:1.升级过程中如果发生意外断电等情况导致升级失败,将导致系统死机,WIFI设备无法再正常工作;2.仅仅适用于STB+WIFI这种产品组合形态,无法满足产品形式多样化需求;3.在网络拓扑中STB为WIFI模块的CPE(Customer Premise Equipment,客户终端设备),若STB模块网络异常则会造成WIFI升级推送无法正常工作的情况,这种组网模型健壮性相对较弱;4.相关技术中升级推送软件内置在STB中,每换一种STB必须与该STB软件工程师联调效率低下,若平台代码更新则需要更新响应STB机型的升级推送模块,不利于软件开发;5.升级过程中网络无法使用,影响用户体验。
发明内容
本公开提供了一种WIFI设备升级的方法及系统,该方法及系统可以降低升级过程出现异常而导致多种问题发生的风险,改善了用户的体验。
本公开采用以下技术方案:
一方面,提供了一种WIFI设备升级的方法,包括:
从服务器下载WIFI设备的升级文件;
将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级;
当升级完毕时,从所述备份分区启动升级后的WIFI设备。
可选的,所述将所述升级文件保存到WIFI设备的备份分区,包括:
对所述升级文件进行下载后校验,以确认该升级文件能够启动所述WIFI设备;以及
当所述升级文件通过所述下载后校验,将所述升级文件保存到WIFI设备的备份分区。
可选的,将所述升级文件保存到WIFI设备的备份分区之后,还包括:更新所述备份分区的启动标志,以使所述WIFI设备能够利用所述升级文件进行启动。
可选的,所述从所述备份分区启动升级后的WIFI设备,包括:
对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及
当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
可选的,还包括:当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断或者所述升级文件未通过所述启动前校验时,从当前分区启动所述WIFI设备。
可选的,所述从服务器下载WIFI设备的升级文件,包括:
向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径;
根据所述文件下载路径从服务器下载WIFI设备的升级文件。
可选的,所述从服务器下载WIFI设备的升级文件之前,还包括:
获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息;
采用AES256加密方式对所述WIFI设备的设备信息进行加密,通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息;
接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
可选的,所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域ID和WIFI设备的序列号。
可选的,所述升级文件包括WIFI设备的升级文件或者WIFI设备中WIFI功能模块的升级文件。
另一方面,提供了一种WIFI设备升级的系统,包括:
下载单元,设置为从服务器下载WIFI设备的升级文件;
升级单元,设置为将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级;以及
启动单元,设置为当升级完毕时,从所述备份分区启动升级后的WIFI设备。
可选的,所述升级单元是设置为对所述升级文件进行下载后校验,以确认 该升级文件能够启动所述WIFI设备;以及当所述升级文件通过所述下载后校验,将所述升级文件保存到WIFI设备的备份分区。
可选的,还包括:启动标志更新单元,设置为更新所述备份分区的启动标志,以使所述WIFI设备能够利用所述升级文件进行启动。
可选的,所述启动单元是设置为对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
可选的,还包括备用启动单元,设置为当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断或者所述升级文件未通过所述启动前校验时,从当前分区启动所述WIFI设备。
可选的,所述下载单元包括:
发送接受单元,设置为向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径;
下载子单元,设置为根据所述文件下载路径从服务器下载WIFI设备的升级文件。
可选的,还包括:
获取单元,设置为获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息;
加密发送单元,设置为采用AES256加密方式对所述WIFI设备的设备信息进行加密,通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息;
接收单元,设置为接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
可选的,所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域ID和WIFI设备的序列号。
可选的,所述升级文件包括WIFI设备的升级文件或者WIFI设备中WIFI功能模块的升级文件。
本实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项所述的方法。
本实施例还提供了一种WIFI设备,包括至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,执行如上述任一项所述的方法。
本实施例在WIFI设备升级过程中,如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险;WIFI设备直接从服务器下载升级文件,不需要通过机顶盒来推送WIFI设备的升级文件,WIFI系统的网络拓扑结构更加合理,可以满足多种WIFI产品形式;实现WIFI设备统一自动升级,不受机顶盒的限制,有利于WIFI软件的开发;且在升级过程中不影响用户使用网络,极大改善了用户的体验。
附图概述
图1是本具体实施方式中提供的一种WIFI设备升级的方法的第一实施例的方法流程图。
图2是本具体实施方式中提供的一种WIFI设备升级的方法的第二实施例的方法流程图。
图3是本具体实施方式中提供的一种WIFI设备升级的方法的第三实施例的方法流程图。
图4是本具体实施方式中提供的一种WIFI设备升级的系统的第一实施例的结构方框图。
图5是本具体实施方式中提供的一种WIFI设备升级的系统的第二实施例的结构方框图。
图6为本具体实施方式中提供的一种WIFI设备的结构框图。
具体实施方式
下面将结合附图对本实施例的技术方案作详细描述,显然,所描述的实施例仅仅是一部分实施例,而不是全部的实施例。请参考图1,其是本具体实施方式中提供的一种WIFI设备升级的方法的第一实施例的方法流程图。该方法可以是由WIFI设备执行,如图所示,该方法包括:步骤110-步骤130。
步骤110中,从服务器下载WIFI设备的升级文件。
WIFI设备从服务器下载对WIFI设备软件进行升级的升级文件。WIFI设备是指包含WIFI功能的终端设备,终端设备可以为带WIFI的STB,带WIFI的EOC (Ethernet Over Coax,同轴电缆以太网),带WIFI的CM(Cable Modem,电缆调制解调器)等等,其中,从服务器下载WIFI设备的升级文件不仅可以指WIFI设备的升级文件,本实施例中,还可以指WIFI设备中的WIFI模块功能的升级文件。
步骤120中,将所述升级文件保存到WIFI设备的备份分区,对所述WIFI设备进行升级。
将升级文件保存到WIFI设备的备份分区,以升级WIFI设备软件或者WIFI设备的WIFI模块软件,并更新备份分区。
可选的,在进行将升级文件保存到WIFI设备的备份分区之后,还包括更新所述备份分区的启动标志(bootmark),以使所述WIFI设备能够利用所述升级文件进行启动。可选的,WIFI设备在进行启动时,会对所述备份分区的启动标志以及当前分区的启动标志进行比较,若备份分区的启动标志进行过更新,则从备份分区进行启动。
步骤130中,当升级完毕时,从所述备份分区启动升级后的WIFI设备。
升级完毕(即WIFI设备软件升级成功),WIFI设备启动时从备份分区启动升级后的WIFI设备。可选的,上述步骤130包括:
对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及
当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
可选的,还包括步骤140。在步骤140中,当升级中断时,从当前分区启动所述WIFI设备。
当升级中断时,WIFI设备启动时,依然从当前分区启动。其中,升级中断包括:升级过程中断电、升级文件保存到WIFI设备的备份分区的过程中发生中断、升级文件未通过启动前校验以及升级文件被破坏等等。可选的,整个升级过程中,只对备份分区进行写操作,当前分区为只读状态,防止恶意破坏。
具体的,当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断时,则不进行备份分区的启动标志的更新,直接从当前分区启动所述WIFI设备,当所述升级文件保存到WIFI设备的备份分区的过程中未发生中断,但所述升级文件未通过所述启动前校验时,则从当前分区启动所述WIFI设备,如此,利用升级前的文件启动WIFI设备,从而可以避免或者降低升级完毕后无法启动 的障碍。
本实施例中的步骤130和步骤140不同时执行,根据条件不同选择其中一个执行,若升级完毕则执行步骤130,若升级中断则执行步骤140。
综上所述,本实施例通过从服务器下载WIFI设备的升级文件;将所述升级文件保存到WIFI设备的备份分区,对所述WIFI设备进行升级;当升级完毕时,从所述备份分区启动升级后的WIFI设备;当升级中断时,从当前分区启动所述WIFI设备。在WIFI设备升级过程中,如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险;WIFI设备直接从服务器下载升级文件,不需要通过机顶盒来推送WIFI设备的升级文件,WIFI系统的网络拓扑结构更加合理,可以满足多种WIFI产品形式;实现WIFI设备统一自动升级,不受机顶盒的限制,有利于WIFI软件的开发;且在升级过程中不影响用户使用网络,极大改善了用户的体验。
请参考图2,其是本具体实施方式中提供的一种WIFI设备升级的方法的第二实施例的方法流程图。如图所示,该方法包括:步骤201-步骤205。
步骤201中,向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径。
当WIFI设备软件需要升级时,WIFI设备主动向服务器发送WIFI设备软件的升级下载请求,服务器收到该升级下载请求后,根据该升级下载请求向WIFI设备发送相应的文件下载路径,WIFI设备接收该相应的文件下载路径。可选地,接收服务器根据所述升级下载请求发送的文件下载路径,包括:接收服务器根据所述升级下载请求发送的加密的文件下载路径;其中,加密的方式可以为AES(Advanced Encryption Standard,高级加密标准)加密方式、DES(Data Encryption Standard,数据加密标准)加密方式、IDEA(International Data Encryption Algorithm,国际数据加密算法)加密方式等。
步骤202中,根据所述文件下载路径从服务器下载WIFI设备的升级文件。
可选地,所述根据所述文件下载路径下载升级文件,包括:对所述加密的文件下载路径进行解密;根据解密后的文件下载路径下载升级文件。WIFI设备对加密的文件下载路径采用相应的解密方法进行解密,得到文件下载路径,访问文件下载路径从服务器下载WIFI设备的升级文件。
步骤203中,将所述升级文件保存到WIFI设备的备份分区,对所述WIFI设备 进行升级。
步骤204中,当升级完毕时,从所述备份分区启动升级后的WIFI设备。
步骤205中,当升级中断时,从当前分区启动所述WIFI设备。
步骤204和步骤205与步骤130和步骤140的内容基本相同,在此不再赘述,参见上文。本实施例中的步骤204和步骤205不同时执行,根据条件不同选择其中一个执行,若升级完毕则执行步骤204,若升级意外中断则执行步骤205。
综上所述,本实施例中,当WIFI设备软件需要升级时,WIFI设备主动向服务器发送WIFI设备软件的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径,实现WIFI设备自动升级;不需要通过机顶盒来推送WIFI设备的升级文件,升级不受机顶盒的限制,有利于WIFI设备软件的开发,满足产品形式多样化需求;在WIFI设备软件升级过程中,如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险,极大改善了用户的体验,减少了客户投诉商家的风险,同时降低了运营商的运维压力。
请参考图3,其是本具体实施方式中提供的一种WIFI设备升级的方法的第三实施例的方法流程图。如图所示,该方法包括:步骤301-步骤308。
步骤301中,获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息。
打开WIFI设备,对WIFI设备进行初始化。WIFI设备按照预设频率获取WIFI设备的设备信息和升级所述WIFI设备软件对应的服务器端口信息,积极为升级WIFI设备软件做准备。预设频率可以在WIFI设备出厂时设置,也可以由用户根据需求进行设置。可选地,预设频率为:1天/次、2天/次、5天/次、15天/次等。
其中,WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域ID和WIFI设备的序列号。
步骤302中,采用AES256加密方式对所述WIFI设备的设备信息进行加密,通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息。
采用AES256(Advanced Encryption Standard 256,256位密钥高级加密标准)加密方式对WIFI设备的设备信息进行加密,加密的速度快,加密后WIFI设备的设备信息安全级别高,有效提高了WIFI设备的安全性。
服务器接收WIFI设备发送的升级查询请求和加密后WIFI设备的设备信息后, 采用AES256解密方式进行解密得到WIFI设备的设备信息,将WIFI设备的设备信息与服务器数据库中相应的设备信息的进行比较,判断WIFI设备软件是否为最新版本WIFI设备软件,如果不是最新版本则需要升级,如果是最新版本则不需要升级。当服务器判断出WIFI设备需要升级时,继续执行步骤303,向WIFI设备发送升级确认信息。
作为另一种实施方式,当服务器判断出WIFI设备不需要升级时,向WIFI设备发送不需要升级的确认信息,WIFI设备接收该不需要升级的确认信息,返回步骤301,继续按照预设频率获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息。
步骤303中,接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
步骤304中,从服务器下载WIFI设备的升级文件。
步骤305中,对所述升级文件进行校验,判断是否通过校验?
对升级文件进行校验,判断升级文件是否通过校验?当升级文件通过校验时,继续执行步骤306;当升级文件没有通过校验时,返回步骤305,重新从服务器下载WIFI设备的升级文件。
对下载的升级文件进行校验,可以排除升级文件不完整、升级文件被破坏或升级文件不正确等问题,提高了WIFI设备软件升级的成功率。
作为另一种实施方式,当升级文件没有通过校验时,返回步骤301,继续按照预设频率获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息。
步骤306中,将所述升级文件保存到WIFI设备的设备分区。
步骤307中,当升级完毕时,从所述备份分区启动升级后的WIFI设备。
步骤308中,当升级中断时,从当前分区启动所述WIFI设备。
本实施例中的步骤307和步骤308不同时执行,根据条件不同选择其中一个执行,若升级完毕则执行步骤307,若升级意外中断则执行步骤308。
综上所述,通过按照预设频率获取WIFI设备的设备信息,在对WIFI设备软件进行升级之前,向服务器发送加密的WIFI设备的设备信息,有效保证WIFI设备的安全;向服务器发送升级查询请求,了解WIFI设备软件是否需要升级,实现WIFI设备软件及时自动升级;WIFI设备软件升级不受机顶盒的限制,有利于WIFI软件的开发,满足产品形式多样化需求;在WIFI设备软件的升级过程中, 如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险,极大改善了用户的体验,减少了客户投诉和商家的风险。以下为本方案一种WIFI设备升级的系统的实施例,一种WIFI设备升级的系统的实施例基于一种WIFI设备升级的方法的实施例实现,在一种WIFI设备升级的系统的实施例中未尽的描述,请参考一种WIFI设备升级的方法的实施例。
请参考图4,其是本具体实施方式中提供的一种WIFI设备升级的系统的第一实施例的结构方框图。如图所示,该系统包括:
下载单元410,设置为从服务器下载WIFI设备的升级文件。
可选的,所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域身份标识号ID和WIFI设备的序列号。
可选的,所述升级文件包括WIFI设备的升级文件或者WIFI设备中WIFI功能模块的升级文件。
升级单元420,设置为将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级。
启动单元430,设置为当升级完毕时,从所述备份分区启动升级后的WIFI设备。
综上所述,多个单元模块协同工作,下载单元410,设置为从服务器下载WIFI设备的升级文件;升级单元420,设置为将所述升级文件保存到WIFI设备的备份分区,对所述WIFI设备进行升级;启动单元430,设置为当升级完毕时,从所述备份分区启动升级后的WIFI设备。在WIFI设备升级过程中,如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险;WIFI设备直接从服务器下载升级文件,不需要通过机顶盒来推送WIFI设备的升级文件,WIFI系统的网络拓扑结构更加合理,可以满足多种WIFI产品形式;实现WIFI设备统一自动升级,不受机顶盒的限制,有利于WIFI软件的开发;且在升级过程中不影响用户使用网络,极大改善了用户的体验。
可选的,所述升级单元是设置为对所述升级文件进行下载后校验,以确认该升级文件能够启动所述WIFI设备;以及当所述升级文件通过所述下载后校验,将所述升级文件保存到WIFI设备的备份分区。
可选的,上述实施例还包括:启动标志更新单元431,设置为更新所述备份分区的启动标志,以使所述WIFI设备能够利用所述升级文件进行启动。
可选的,所述启动单元是设置为对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
可选的,还包括备用启动单元432,设置为当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断或者所述升级文件未通过所述启动前校验时,从当前分区启动所述WIFI设备。
请参考图5,其是本具体实施方式中提供的一种WIFI设备升级的系统的第二实施例的结构方框图。如图所示,该系统包括:
获取单元450,设置为获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息。
所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域ID和WIFI设备的序列号。
加密发送单元460,设置为采用AES256加密方式对所述WIFI设备的设备信息进行加密,通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息。
接收单元470,设置为接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
下载单元410,设置为从服务器下载WIFI设备的升级文件。
下载单元410包括:发送接受单元和下载子单元。
发送接受单元,设置为向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径。
下载子单元,设置为根据所述文件下载路径从服务器下载WIFI设备的升级文件。
升级单元420,设置为将所述升级文件保存到WIFI设备的备份分区,对所述WIFI设备进行升级。
启动单元430,设置为当升级完毕时,从所述备份分区启动升级后的WIFI设备。
综上所述,上述多个单元模块协同工作,通过按照预设频率获取WIFI设备的设备信息,在对WIFI设备软件进行升级之前,向服务器发送加密的WIFI设备 的设备信息,有效保证WIFI设备的安全;向服务器发送升级查询请求,了解WIFI设备软件是否需要升级,实现WIFI设备软件及时自动升级;WIFI设备软件升级不受机顶盒的限制,有利于WIFI软件的开发,满足产品形式多样化需求;在WIFI设备软件的升级过程中,如果出现意外则从当前分区启动,避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险,极大改善了用户的体验,减少了客户投诉和商家的风险。
本实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述实施例所述的WIFI设备升级的方法。
图6为本具体实施方式中提供的一种WIFI设备的结构框图。本实施例提供的WIFI设备可以是包括:处理器(processor)601和存储器(memory)603,还可以包括通信接口(Communications Interface)602和总线604。其中,处理器601、通信接口602、存储器603可以通过总线604完成相互间的通信。通信接口602可以用于信息传输。处理器601可以调用存储器603中的逻辑指令,以执行上述实施例的WIFI设备升级的方法。
此外,上述的存储器603中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。
工业实用性
本公开避免了因升级失败而导致WIFI设备无法再正常工作的问题,降低了升级过程出现异常而导致多种问题发生的风险;WIFI设备直接从服务器下载升级文件,不需要通过机顶盒来推送WIFI设备的升级文件,WIFI系统的网络拓扑结构更加合理,可以满足多种WIFI产品形式;实现WIFI设备统一自动升级,不受机顶盒的限制,有利于WIFI软件的开发;且在升级过程中不影响用户使用网络,极大改善了用户的体验。

Claims (19)

  1. 一种无线保真WIFI设备升级的方法,包括:
    从服务器下载WIFI设备的升级文件;
    将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级;
    当升级完毕时,从所述备份分区启动升级后的WIFI设备。
  2. 根据权利要求1所述的方法,其中,所述将所述升级文件保存到WIFI设备的备份分区,包括:
    对所述升级文件进行下载后校验,以确认该升级文件能够启动所述WIFI设备;以及
    当所述升级文件通过所述下载后校验,将所述升级文件保存到WIFI设备的备份分区。
  3. 根据权利要求2所述的方法,其中,将所述升级文件保存到WIFI设备的备份分区之后,还包括:更新所述备份分区的启动标志,以使所述WIFI设备能够利用所述升级文件进行启动。
  4. 根据权利要求3所述的方法,其中,所述从所述备份分区启动升级后的WIFI设备,包括:
    对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及
    当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
  5. 根据权利要求4所述的方法,还包括:当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断或者所述升级文件未通过所述启动前校验时,从当前分区启动所述WIFI设备。
  6. 根据权利要求1所述的方法,其中,所述从服务器下载WIFI设备的升级文件,包括:
    向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径;以及
    根据所述文件下载路径从服务器下载WIFI设备的升级文件。
  7. 根据权利要求1所述的方法,其中,所述从服务器下载WIFI设备的升级文件之前,还包括:
    获取WIFI设备的设备信息,并升级所述WIFI设备对应的服务器端口信息;
    采用高级加密标准AES256加密方式对所述WIFI设备的设备信息进行加密, 通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息;
    接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
  8. 根据权利要求7所述的方法,其中,所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域身份标识号ID和WIFI设备的序列号。
  9. 根据权利要求1所述的方法,其中,所述升级文件包括WIFI设备的升级文件或者WIFI设备中WIFI功能模块的升级文件。
  10. 一种WIFI设备升级的系统,包括:
    下载单元,设置为从服务器下载WIFI设备的升级文件;
    升级单元,设置为将所述升级文件保存到WIFI设备的备份分区,以对所述WIFI设备进行升级;以及
    启动单元,设置为当升级完毕时,从所述备份分区启动升级后的WIFI设备。
  11. 根据权利要求10所述的系统,其中,所述升级单元是设置为对所述升级文件进行下载后校验,以确认该升级文件能够启动所述WIFI设备;以及当所述升级文件通过所述下载后校验,将所述升级文件保存到WIFI设备的备份分区。
  12. 根据权利要求11所述的系统,还包括:启动标志更新单元,设置为更新所述备份分区的启动标志,以使所述WIFI设备能够利用所述升级文件进行启动。
  13. 根据权利要求12所述的系统,其中,所述启动单元是设置为对所述备份分区的升级文件进行启动前校验,以检测升级文件是否能够完成所述WIFI设备的正常启动;以及当所述升级文件通过所述启动前校验时,从所述备份分区启动升级后的WIFI设备。
  14. 根据权利要求13所述的系统,还包括备用启动单元,设置为当在将所述升级文件保存到WIFI设备的备份分区的过程中发生中断或者所述升级文件未通过所述启动前校验时,从当前分区启动所述WIFI设备。
  15. 根据权利要求10所述的系统,其中,所述下载单元包括:
    发送接受单元,设置为向服务器发送WIFI设备的升级下载请求,接收服务器根据所述升级下载请求发送的文件下载路径;以及
    下载子单元,设置为根据所述文件下载路径从服务器下载WIFI设备的升级文件。
  16. 根据权利要求10所述的系统,还包括:
    获取单元,设置为获取WIFI设备的设备信息和升级所述WIFI设备对应的服务器端口信息;
    加密发送单元,设置为采用AES256加密方式对所述WIFI设备的设备信息进行加密,通过所述服务器端口信息向服务器发送WIFI设备的升级查询请求和加密后WIFI设备的设备信息;以及
    接收单元,设置为接收服务器根据所述加密后WIFI设备的设备信息确定所述WIFI设备需要升级之后,发送的升级确认信息。
  17. 根据权利要求16所述的系统,其中,所述WIFI设备的设备信息包括:WIFI设备的硬件版本、WIFI设备的软件版本、WIFI设备的硬件配置、WIFI设备的区域身份标识号ID和WIFI设备的序列号。
  18. 根据权利要求16所述的系统,其中,所述升级文件包括WIFI设备的升级文件或者WIFI设备中WIFI功能模块的升级文件。
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-9任一项所述的方法。
PCT/CN2017/100681 2016-09-07 2017-09-06 Wifi设备升级的方法及系统 WO2018045958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610808094.4A CN106130808A (zh) 2016-09-07 2016-09-07 一种wifi设备升级的方法及系统
CN201610808094.4 2016-09-07

Publications (1)

Publication Number Publication Date
WO2018045958A1 true WO2018045958A1 (zh) 2018-03-15

Family

ID=57271306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100681 WO2018045958A1 (zh) 2016-09-07 2017-09-06 Wifi设备升级的方法及系统

Country Status (2)

Country Link
CN (1) CN106130808A (zh)
WO (1) WO2018045958A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309354A (zh) * 2020-02-13 2020-06-19 苏宁智能终端有限公司 联网设备的ota升级方法及装置
CN112817625A (zh) * 2021-01-29 2021-05-18 青岛海信移动通信技术股份有限公司 系统升级方法、装置、电子设备及存储介质
CN114430565A (zh) * 2020-10-15 2022-05-03 大唐移动通信设备有限公司 设备的启动方法、装置及存储介质
CN114553694A (zh) * 2022-02-24 2022-05-27 重庆长安汽车股份有限公司 一种基于机器学习的车辆ota推送系统和方法
CN115102855A (zh) * 2022-03-08 2022-09-23 上海锐铼水务科技有限公司 智能水表嵌入式软件在线升级方法及系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130808A (zh) * 2016-09-07 2016-11-16 深圳创维数字技术有限公司 一种wifi设备升级的方法及系统
CN107483271A (zh) * 2017-09-20 2017-12-15 深圳创维数字技术有限公司 路由器的升级方法、装置及计算机可读存储介质
CN109491690B (zh) * 2018-11-29 2021-02-26 广东美的制冷设备有限公司 家电设备的升级方法、装置以及家电设备
US11184824B2 (en) 2019-01-24 2021-11-23 Hewlett Packard Enterprise Development Lp Wireless device upgrade
CN110750287B (zh) * 2019-10-21 2023-10-13 上海庆科信息技术有限公司 智能机器人的固件升级方法、装置及智能机器人

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174689A1 (en) * 2005-11-23 2007-07-26 Inventec Corporation Computer platform embedded operating system backup switching handling method and system
CN101719072A (zh) * 2009-11-23 2010-06-02 青岛海信宽带多媒体技术有限公司 嵌入式终端设备软件升级方法及升级装置
CN104615471A (zh) * 2015-03-05 2015-05-13 浪潮软件集团有限公司 一种终端的系统升级方法及装置
CN105357572A (zh) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 基于三网融合的机顶盒内置wifi自动升级系统与方法
CN106130808A (zh) * 2016-09-07 2016-11-16 深圳创维数字技术有限公司 一种wifi设备升级的方法及系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378154A (zh) * 2010-08-19 2012-03-14 北京华科力扬科技有限公司 运用无线网络进行产品固件升级的方法和系统
CN102932824A (zh) * 2011-10-31 2013-02-13 广州盛华信息技术有限公司 一种微基站系统及更新方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174689A1 (en) * 2005-11-23 2007-07-26 Inventec Corporation Computer platform embedded operating system backup switching handling method and system
CN101719072A (zh) * 2009-11-23 2010-06-02 青岛海信宽带多媒体技术有限公司 嵌入式终端设备软件升级方法及升级装置
CN104615471A (zh) * 2015-03-05 2015-05-13 浪潮软件集团有限公司 一种终端的系统升级方法及装置
CN105357572A (zh) * 2015-12-14 2016-02-24 福建新大陆通信科技股份有限公司 基于三网融合的机顶盒内置wifi自动升级系统与方法
CN106130808A (zh) * 2016-09-07 2016-11-16 深圳创维数字技术有限公司 一种wifi设备升级的方法及系统

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309354A (zh) * 2020-02-13 2020-06-19 苏宁智能终端有限公司 联网设备的ota升级方法及装置
CN114430565A (zh) * 2020-10-15 2022-05-03 大唐移动通信设备有限公司 设备的启动方法、装置及存储介质
CN114430565B (zh) * 2020-10-15 2023-10-17 大唐移动通信设备有限公司 设备的启动方法、装置及存储介质
CN112817625A (zh) * 2021-01-29 2021-05-18 青岛海信移动通信技术股份有限公司 系统升级方法、装置、电子设备及存储介质
CN112817625B (zh) * 2021-01-29 2024-03-08 青岛海信移动通信技术有限公司 系统升级方法、装置、电子设备及存储介质
CN114553694A (zh) * 2022-02-24 2022-05-27 重庆长安汽车股份有限公司 一种基于机器学习的车辆ota推送系统和方法
CN115102855A (zh) * 2022-03-08 2022-09-23 上海锐铼水务科技有限公司 智能水表嵌入式软件在线升级方法及系统
CN115102855B (zh) * 2022-03-08 2023-12-22 上海锐铼水务科技有限公司 智能水表嵌入式软件在线升级方法及系统

Also Published As

Publication number Publication date
CN106130808A (zh) 2016-11-16

Similar Documents

Publication Publication Date Title
WO2018045958A1 (zh) Wifi设备升级的方法及系统
US10972467B2 (en) Certificate based profile confirmation
JP6359568B2 (ja) ワンタッチのデバイス個人化
CN101984575B (zh) 一种保护移动终端软件的方法和装置
CN110929262A (zh) 一种在线升级方法和系统
US10353689B2 (en) Method for transferring a file via a mobile device and mobile device for performing same
US9984255B2 (en) Methods and apparatus to enable runtime checksum verification of block device images
JP7371103B2 (ja) 車載デバイスアップグレード方法及び関連装置
TWI518595B (zh) 軟體更新方法及系統以及行動裝置
WO2013182155A1 (zh) 一种固件版本升级的方法及系统
US10664257B2 (en) Secure element activities
EP4322464A1 (en) Information transmission method, storage medium and electronic device
WO2019071650A1 (zh) 一种安全元件中的应用的升级方法及相关设备
CN110879713A (zh) 一种android端强加密插件热更新管理方法
WO2016179866A1 (zh) 一种更新移动终端智能卡的方法及系统
CN101299849B (zh) 一种WiMAX终端及其启动方法
WO2013185689A1 (zh) 一种认证方法、认证装置及认证设备
CN101753532B (zh) 一种存储设备、验证装置及存储装置的控制方法
CN115242413A (zh) 物联网设备固件安全升级方法、装置、电子设备及介质
CN111064723A (zh) 一种基于备份系统的空中下载升级方法及系统
CN112866195B (zh) 敏捷数据传输方法、装置、计算机设备及存储介质
EP3679510B1 (en) Secure firmware interface
US20150281959A1 (en) Information processing device and authentication control method
EP3079093B1 (en) Methods and apparatus to enable runtime checksum verification of block device images
CN101782950B (zh) 主板与板载设备之间的通信控制系统和方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17848131

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17848131

Country of ref document: EP

Kind code of ref document: A1