[go: up one dir, main page]

WO2018032460A1 - Procédé, appareil et système de mise à niveau à distance de dispositif - Google Patents

Procédé, appareil et système de mise à niveau à distance de dispositif Download PDF

Info

Publication number
WO2018032460A1
WO2018032460A1 PCT/CN2016/095866 CN2016095866W WO2018032460A1 WO 2018032460 A1 WO2018032460 A1 WO 2018032460A1 CN 2016095866 W CN2016095866 W CN 2016095866W WO 2018032460 A1 WO2018032460 A1 WO 2018032460A1
Authority
WO
WIPO (PCT)
Prior art keywords
nandflash
kernel
remote
configuration information
upgrade
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.)
Ceased
Application number
PCT/CN2016/095866
Other languages
English (en)
Chinese (zh)
Inventor
韩昌刚
段勇军
夏春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZNV Technology Co Ltd
Original Assignee
Shenzhen ZNV 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 Shenzhen ZNV Technology Co Ltd filed Critical Shenzhen ZNV Technology Co Ltd
Priority to PCT/CN2016/095866 priority Critical patent/WO2018032460A1/fr
Publication of WO2018032460A1 publication Critical patent/WO2018032460A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of power environment monitoring, and in particular, to a remote upgrade method, device, and system thereof based on a NandFlash driving device.
  • NandFlash non-linear flash memory, or flash memory, or data
  • a NandFlash-driven device such as a FSU (Field Supervision Unit)) Storage flash memory
  • a large number of bad blocks appear on the storage medium, so that the device's N and Flash memory is occupied, there is no extra space to store useful information.
  • NandFlash has a lot of bad blocks, it will print a lot of bad blocks.
  • the information when the printing time exceeds a certain time (for example, 5 seconds), will cause the watchdog to reset, the device will restart, but it will not be fully started, resulting in failure to start, resulting in the device not working properly.
  • the technical problem to be solved by the present invention is to provide a remote upgrade method, device and system based on the NandFlash driving device, which can enable maintenance personnel to use the processing device in the remote network environment without using the lower station processing device. , Realize remote online upgrade, easy to operate, save manpower, and save operating costs.
  • the present invention provides a remote upgrade based on a NandFlash driving device.
  • the method includes:
  • the NandFlash driver device is remotely upgraded.
  • remotely upgrading the NandFlash driving device including:
  • the remote operation erasing tool erases data in the NandFlash driving device
  • the remote operation programming tool writes NandFlash data
  • the erasing tool is used for remotely erasing data in the NandFlash driving device, including erasing selected NandFlash partitions and/or NandFlash logical bad blocks in the kernel, and erasing the specified starting position and ending position as needed
  • the NandFlash partition the programming tool is used to remotely write NandFlash data, and to make the verification codes of the u-boot. kernel and remote programming tools consistent.
  • the remote operation erasing tool erases data in the NandFlash driving device, including:
  • the remote operation erase tool clears the table information in the BBT and erases the logical bad block of the kernel's NandFlash.
  • the remote operation programming tool writes the NandFlash data, including:
  • the designated space refers to a space that has not been used in the u-boot partition of the NandFlash driving device, and the live running configuration information data is saved in a space that has not been used in the u-boot partition of the NandFlash driving device.
  • the present invention provides a remote upgrade device based on a NandFlash driving device, the device comprising: a conversion module, an upgrade module;
  • the conversion module is configured to convert an operation state, and the operation enters a kernel state from a user state;
  • the upgrade module is configured to remotely upgrade the NandFlash driving device in a kernel mode operation state.
  • the upgrade module comprises an erasing module, a programming module, and a recovery module, wherein:
  • an erasing module configured to remotely operate the erasing tool to erase data in the NandFlash driving device
  • a programming module configured to remotely operate the programming tool to write NandFlash data, and obtain on-site running configuration information, and remotely save to a designated space of the NandFlash;
  • the recovery module is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the live running configuration information.
  • the erasing tool is used for remotely erasing data in the NandFlash driving device, including erasing selected NandFlash partitions and/or NandFlash logical bad blocks in the kernel, and erasing the specified starting position and ending position as needed
  • the NandFlash partition the programming tool is used to remotely write NandFlash data, and to make the verification codes of the u-boot. kernel and remote programming tools consistent.
  • the erasing module is configured to remotely operate the erasing tool to erase data in the NandFlash driving device, specifically for:
  • the remote operation erase tool clears the table information in the BBT and erases the logical bad block of the kernel's NandFlash.
  • the programming module is configured to remotely write the NandFlash data through a specific remote programming tool, and obtain the on-site running configuration information, and remotely save the specified space to the NandFlash, specifically for:
  • the designated space refers to a space that has not been used in the u-boot partition of the NandFlash driving device, and the live running configuration information data is saved in a space that has not been used in the u-boot partition of the NandFlash driving device.
  • the recovery module is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the site running configuration information, specifically for:
  • the download remote erasing tool and the remote programming tool adopt the following storage methods:
  • the memory is mapped to the medium for saving the file.
  • the present invention further provides a remote upgrade system based on a NandFlash drive device, the system includes: an upgrade device, a NandFlash drive device, wherein the upgrade device is configured to convert an operation state, and the operation is performed The user mode enters the kernel state, and in the kernel state operation state, the NandFlash driver device is remotely upgraded.
  • the upgrading apparatus comprises: a conversion module, an upgrade module;
  • the conversion module is configured to convert an operation state, and the operation enters a kernel state from a user state;
  • the upgrade module is configured to remotely upgrade the NandFlash driving device in a kernel mode operation state.
  • the upgrade module comprises an erasing module, a programming module, and a recovery module, wherein:
  • an erasing module configured to remotely operate the erasing tool to erase data in the NandFlash driving device
  • a programming module configured to remotely operate the programming tool to write NandFlash data, and obtain on-site running configuration information, and remotely save to a designated space of the NandFlash;
  • the recovery module is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the field running configuration information.
  • the erasing tool is used for remotely erasing data in the NandFlash driving device, including erasing selected NandFlash partitions and/or NandFlash logical bad blocks in the kernel, and erasing the specified starting position and ending position as needed
  • the NandFlash partition the programming tool is used to remotely write NandFlash data, and to make the verification codes of the u-boot. kernel and remote programming tools consistent.
  • the erasing module is configured to remotely operate the erasing tool to erase data in the NandFlash driving device, specifically for:
  • the remote operation erase tool clears the table information in the BBT and erases the logical bad block of the kernel's NandFlash.
  • the programming module is configured to remotely write the NandFlash data through a specific remote programming tool, and obtain the on-site running configuration information, and remotely save the specified space to the NandFlash, specifically for:
  • the designated space refers to a space that has not been used in the u-boot partition of the NandFlash driving device, and the field running configuration information data is saved in a space that has not been used in the u-boot partition of the NandFlash driving device.
  • the recovery module is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the site running configuration information, specifically for:
  • the system further comprises a memory device, wherein the memory device is configured to store an upgrade file of the upgrade device, the upgrade file in the upgrade device, the remote wipe tool, and the remote programming tool are downloaded by using the following storage manner: in the NandFlash driver
  • the device has no extra space to store files using NandFlash media, and maps the memory to the medium where the files are saved.
  • the tmpfs virtual file system using the memory as a file storage medium is used to store the files, and all the upgrade files are placed in the virtual file system.
  • the remote upgrade scheme based on the NandFlash driving device enables the operation to enter the kernel state from the user state in the application based on the NandFlash driving device by using the conversion operation state, and operates the NandFlash structure and the kernel in the kernel. Handle and kernel related hardware data structure; and in the kernel state operation state, using the remote erasing tool of the present invention to erase the NandFlash logic bad block in the kernel and the modified optimal remote burning tool to remotely write NandFlash data, thereby The purpose of remotely upgrading the Na ndFlash drive device is achieved.
  • the maintenance personnel can use the upgrade processing package provided by the system to run the upgrade script in the remote networked environment, and the remote online upgrade can be realized, the operation is simple, the manpower is saved, and the running cost is saved; ⁇ , also provides a stable use of the kernel backup function, so that when a kernel data is corrupted, it can be quickly booted from another kernel backup space, greatly reducing the failure rate, and solving the scene often fails to start due to kernel damage. Failure problem.
  • FIG. 1 is a flowchart of a remote upgrade method based on a NandFlash driving device according to an embodiment of the present invention.
  • FIG. 2 is a structural diagram of an OOB according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an upgrade of a remote upgrade method based on a NandFlash driving device according to an embodiment of the present invention.
  • FIG. 4 is a flow chart showing a method for applying a remote upgrade method based on a NandFlash driving device to a remote upgrade application system according to the present invention.
  • FIG. 5 is a schematic structural diagram of a remote upgrade device based on a NandFlash driving device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a remote upgrade system based on a NandFlash driving device according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a dual-core booting based on a NandFlash driving device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a remote upgrade method based on a NandFlash driving device, where the method includes:
  • S1 Converting the operation state, and causing the operation to enter the kernel state from the user state.
  • the user state enters the kernel state, and the NandFlash structure, the kernel handle, and the kernel-related hardware data structure are operated in the kernel.
  • S2 The NandFlash driver device is remotely upgraded in the kernel state operation state. Includes:
  • S21 The remote operation erasing tool erases data (logical bad block) in the NandFlash driving device. Specific steps:
  • S211 In the kernel state operation state, determine a handle of the NandFlash, and find a NandFlash bad block table BBT (Bad Block Table) that marks the bad block information in the kernel.
  • BBT Bit Block Table
  • S212 In the kernel state operation state, remotely operate the remote erasing tool emseko.so, and erase the kernel N and Flash bad blocks.
  • the specific process is as follows:
  • the remote erasing tool emseko.so is a specific function of the present invention, and its main function is to remotely erase data in the NandFlash driving device, including erasing selected NandFlash partitions and/or NandFlash in the kernel.
  • a logical bad block that erases the NandFlash partitions that specify the start and end positions as needed.
  • OOB Out Of Band
  • OOB front end 2 bytes is OxFF OxFF, which is used to identify non-bad blocks; every 256 bytes of data requires 3 bytes of ECC (Error Checking and Correction) check, 8, 9, 10 is the 512 bytes of the first half of the ECC check code ; 13,14,15ecc2[3] is the ECC check code of the latter half of 512 bytes.
  • Bad blocks are managed using BBT.
  • OOB is the data that each page has, but BBT corresponds to each NandFlash, Lin ux automatically creates BBT table, which is convenient for bad block management. Before erasing NandFlash, you must obtain BB T and clear the logical bad block management information. , in order to successfully erase the logical bad block.
  • S221 Download the remote programming tool Nandwrite to the NandFlash-based device, and download the kernel (linux) and file system (yaffs) to the device.
  • S222 remotely burning the kernel (linux) and the file system (yaffs) into the NandFlash driving device by using the remote programming tool Nandwrite, and simultaneously writing the verification information into the NandFlash driving device during the synchronization of the programming.
  • the verification information is verified by u-boot after the NandFlash driver is started.
  • the verification method is as follows: In general, in the remote programming tool Nandwrite, the ECC check function in the OOB (refer to FIG. 2) and the verification based on the u-boot on the NandFlash-driven device system. The function is inconsistent. After the kernel linux and file system yaffs written by the remote programming tool Nandwrite, the u-boot checksum cannot be obtained, and the NandFlash drive device system cannot be started normally. In the present invention, the remote programming tool Nandwrite tool is modified and optimized, so that the verification codes of the u-boot, the kernel, and the nandwr ite are consistent, and a specific remote programming tool Nandwrite is formed, so that the NandFla sh driving device system can be ensured. Normal start.
  • the remote programming tool Nandwrite is a specific function of the present invention, and its main function is to remotely write NandFlash data, and make the verification codes of the u-boot, the kernel, and the remote programming tool consistent. Specifically, including:
  • B data can be verified after the kernel is started
  • S23 Acquire the on-site running configuration information, and save it to the specified space of the NandFlash remotely. [0100] Obtaining on-site running configuration information, the on-site running configuration information includes IP information, various collection amounts, configuration of sensors, and related configuration information of the driving device. Specific steps:
  • the kernel and/or the file system will be rewritten, and the mapping table between the kernel and the NandFlash will be changed, which may result in the loss of the original data file, including the field running configuration information. After restarting the application, the saved file information will be lost. Therefore, you need to save the live running configuration information before upgrading.
  • the field running configuration information data including the IP information is stored in a space that has not been used in the u-boot partition of the NandFlash driving device, that is, the designated space refers to the u-boot of the NandFlash driving device.
  • the live operation configuration information including the on-site IP information is saved in the u-boot. In the NandFlash used, this ensures that these field running configuration information data will not be erased or overwritten during the upgrade process.
  • the remote erase tool eraseko.so and the remote programming tool Nandwrite can use the following storage methods:
  • NandFlash Due to the long running of the device and the NandFlash operation, NandFlash has a large number of logical bad blocks, based on NandFlash.
  • the NandFlash of the drive device has reached 100%, and the file cannot be stored using NandFlash media.
  • the NandFlash media cannot be used to store files.
  • the solution is to use memory to store files and map the memory to a medium that can save files.
  • the tmpfs virtual file system is used.
  • the file system uses memory as the storage medium of the file system, and all the upgrade files are placed in the virtual file system.
  • S242 Clear the field running configuration information saved in the u-boot designated space, and prevent the device system from repeatedly reading after the next startup.
  • S242 Please refer to FIG. 3.
  • the embodiment of the invention provides a remote upgrade method based on a NandFlash driving device, and the method includes:
  • S11 First, it is determined whether an upgrade is needed. If the usage rate of NandFlash is too high, for example, 95 ⁇ 3 ⁇ 4, it indicates that an upgrade is required, and the process proceeds to S12; otherwise, it indicates that an upgrade is not required.
  • S12 Establish a tmpfs virtual file system, which is used to store files required for the related upgrade.
  • S13 Download the upgrade file (kernel linux, system file yaffs, remote programming tool Nan dwrite, remote wipe tool eraseko.so) to the device using the FTP tool.
  • upgrade file kernel linux, system file yaffs, remote programming tool Nan dwrite, remote wipe tool eraseko.so
  • S16 Remotely save the live running configuration information including the IP information and the like to the NandFlash designated space.
  • S17 Restart the device, and restore related field operation configuration information before the upgrade.
  • the embodiment of the present invention provides a remote upgrade device based on a NandFlash driving device.
  • the upgrade device 100 is configured to convert an operation state, and the operation is changed from a user state to a kernel state, and the NandFlash driver device is remotely upgraded in a kernel state operation state. .
  • the upgrading apparatus 100 includes: a conversion module 10, an upgrade module 20;
  • the conversion module 10 is configured to convert an operation state, and the operation enters a kernel state from a user state; and operate a NandFlash structure, a kernel handle, and a kernel-related hardware data structure in a kernel state.
  • the upgrade module 20 is configured to remotely upgrade the NandFlash driving device in a kernel mode operation state.
  • the upgrade module 20 includes: an erase module 22, a programming module 23, and a recovery module 24, wherein:
  • the erasing module 22 is configured to remotely operate the erasing tool to erase data (logical bad blocks) in the NandFlash driving device.
  • the programming module 23 is used for remotely operating the remote programming tool. Nandwrite writes the NandFlash data, and obtains the live running configuration information, and saves it to the designated space of the NandFlash remotely.
  • the recovery module 24 is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the running configuration information of the field.
  • the erasing module 22 is configured to remotely operate the erasing tool eraseko.so to erase data (logical bad blocks) in the NandFlash driving device. Specifically used for: [0126] In the kernel state operation state, the handle of the NandFlash is determined, and the Nan dFlash bad block table BBT (Bad Block Table) that marks the bad block information in the kernel is found.
  • BBT Bit Block Table
  • the remote wipe tool eraseko.so is remotely operated, and the kernel's NandFlas h bad block is erased.
  • the specific process is as follows:
  • the programming module 23 is configured to remotely write the NandFlash data through a specific remote programming tool Nandwrite, and obtain the on-site running configuration information, and save the data to the specified space of the NandFlash remotely. Specifically used for:
  • the on-site configuration information includes IP information, various acquisition quantities, sensor configuration, and configuration information for the drive device.
  • the field running configuration information data including the IP information is saved in the space of the u-boot partition of the NandFlash driving device that has not been used, that is, the specified space is not yet in the u-boot partition of the NandFlash driving device. The space being used.
  • the remote erasing tool eraseko.so and the remote programming tool Nandwrite can adopt the following storage methods:
  • the NandFlash driving device has no extra space to use NandFlash media to store files, the solution is to use memory to store files, and to store the memory.
  • the t mpfs virtual file system is used.
  • the file system uses memory as the storage medium of the file system, and all the upgrade files are placed in the virtual file system.
  • the recovery module 24 is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the running configuration information of the field.
  • the specific process is as follows:
  • the embodiment of the invention provides a remote upgrade system based on a NandFlash drive device, and the upgrade system includes: an upgrade device 100, a NandFlash drive device 200, and a memory device 300.
  • the upgrading apparatus 100 is configured to convert an operation state, enter an operation from a user state to a kernel state, and remotely upgrade the NandFlash driving device 200 in a kernel state operation state.
  • the memory device 300 is configured to store the file used by the upgrade device 100 for upgrading; the NandFlash drive device 200 has no unnecessary space to use the NandFlash media to store files, and the upgrade file of the upgrade device 100 is stored, including the upgrade file, and remotely erased.
  • the tool and the remote programming tool; the specific method is: mapping the memory device 300 into a medium that can save the file; specifically, using the tmpfs virtual file system, the file system uses the memory as the storage medium of the file system, and places all the upgrade files in In the virtual file system.
  • the upgrading apparatus 100 includes: a conversion module 10, an upgrade module 20;
  • the conversion module 10 is configured to convert an operation state, and the operation enters a kernel state from a user state; and operate a NandFlash structure, a kernel handle, and a kernel-related hardware data structure in a kernel state.
  • the upgrade module 20 is configured to remotely upgrade the NandFlash driving device in a kernel mode operation state.
  • the upgrade module 20 includes: an erase module 22, a programming module 23, and a recovery module 24, wherein:
  • the erasing module 22 is configured to remotely operate the erasing tool to erase data (logical bad blocks) in the NandFlash driving device.
  • the programming module 23 is used for remotely operating the remote programming tool. Nandwrite writes the NandFlash data, and obtains the live running configuration information, and saves it to the specified space of the NandFlash remotely.
  • the recovery module 24 is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the running configuration information of the field.
  • the erasing module 22 for remotely operating the erasing tool, eraseko.so, erases data (logical bad blocks) in the NandFlash driving device. Specifically used for:
  • the handle of the NandFlash is determined, and the Nan dFlash bad block table BBT (Bad Block Table) indicating the bad block information in the kernel is found.
  • the remote erasing tool eraseko.so is remotely operated, and the kernel's NandFlas h bad block is erased. The specific process is as follows:
  • the programming module 23 is configured to remotely write NandFlash data through a specific remote programming tool Nandwrite
  • the verification information is also written to the NandFlash driver device during the synchronization of the programming, and the verification information is verified by the u-boot after the NandFlash driver device is started.
  • the on-site configuration information includes IP information, various acquisition quantities, sensor configuration, and configuration information for the drive device.
  • the field running configuration information data including IP information is saved in the NandFlash driving device.
  • the specified space refers to the U of the NandFlash driver.
  • the remote erasing tool eraseko.so and the remote programming tool Nandwrite can adopt the following storage methods:
  • the NandFlash driving device has no extra space to use NandFlash media to store files, the solution is to use memory to store files, and to store the memory.
  • the t mpfs virtual file system is used.
  • the file system uses memory as the storage medium of the file system, and all the upgrade files are placed in the virtual file system.
  • the recovery module 24 is configured to read the field running configuration information saved in the specified space of the NandFlash, and restore the running configuration information of the field.
  • the specific process is as follows:
  • a remote upgrade method based on a NandFlash driving device provided according to the present invention is applied to a method for remotely upgrading an application system. The method includes:
  • the new application system can generally upgrade the kernel (linux) and/or the upgrade file system (y affs), and the upgrade method is upgraded by using the NandFlash-based device-based remote upgrade method provided by the present invention:
  • yaffs is mainly used to store files and related programs. For the related programs of the device, you can upgrade from the original program to the newly modified program, and you can add new programs and add new functions.
  • the upgraded new kernel and file system, the modification may include repartitioning the NandFlash partition, deleting the kernel module, adding new monitoring functions, and the like.
  • S24 Upgrade to l.x+, upgrade from 1.x version to l.x+ version.
  • the kernel and the file system do not change much, mainly to slightly modify the kernel, or modify the device.
  • the main program to solve some kind of failure.
  • the upgrade method used in the above S21 to S26 upgrade is performed by using the remote upgrade method based on the NandFlash driver device provided by the present invention.
  • the method and process involved in the upgrade process are detailed in the foregoing embodiments of the present invention. Description, the description will not be repeated here.
  • the tools used in the upgrade (remote programming tool NandFlash, remote wipe tool eraseko.so, tmpfs virtual file system) System tool, one-click upgrade script update), remote programming tool Nandwrite, remote wipe tool erase ko.so, one-click upgrade script update is a unique feature of the present invention, wherein, one-click upgrade script (upda te) mainly Is to put all the operations in the script, upgrade ⁇ , start the script, you can automatically complete the upgrade
  • the upgrade system's networking also needs to restore the on-site configuration information, especially the various acquisitions, sensor configuration, and related configuration of the smart device.
  • a dual-core booting method based on a NandFlash driving device comprising: [0176] S31: u-boot normally loads the NandFlash kernel.
  • S32 Check whether the normal zone kernel is normal. If it is normal, go to S33 for processing; if it is not normal, go to S34 for processing.
  • S33 erasing the backup area, using the remote erasing tool emseko.so of the present invention to erase the backup area by remote, and then using the remote programming tool Nandwrite of the present invention to program the normal area kernel data remotely. Backup area; After completion, transfer to S38.
  • S34 Check whether the kernel of the backup area is normal. If it is normal, go to S53 for processing; if it is not normal, go to S37 for processing.
  • S35 u-boot loads the kernel from the backup area.
  • S36 erasing the normal area data, and writing the backup area kernel data to the normal area kernel; and transferring to S38.
  • the remote upgrade scheme based on the NandFlash driving device enables the operation to enter the kernel state from the user state in the application based on the NandFlash driving device by using the conversion operation state, and operates the NandFlash structure and the kernel in the kernel. Handle and kernel related hardware data structure; and in the kernel state operation state, using the remote erasing tool of the present invention to erase the NandFlash logic bad block in the kernel and the modified optimal remote burning tool to remotely write NandFlash data, thereby The purpose of remotely upgrading the Na ndFlash drive device is achieved.
  • the maintenance personnel can use the upgrade processing package provided by the system to run the upgrade script in the remote networked environment, and the remote online upgrade can be realized, the operation is simple, the manpower is saved, and the running cost is saved; ⁇ , also provides a stable use of kernel backup function, so that when a kernel data is corrupted, you can quickly back up space from another kernel. Startup, greatly reducing the failure rate, and solving the problem that the site often fails to start due to kernel damage.
  • the remote upgrade solution based on the NandFlash driving device provided by the present invention can be applied to the power environment monitoring fields such as a telecommunication room, an I DC room, a railway, a power, etc., and relates to a technical field such as a u-boot, a kernel, a file system, and a N and Flash.
  • FSU Field Supervision Unit
  • a remote upgrade scheme based on the NandFlash driving device provided by the embodiment of the present invention, by using a conversion operation state, the operation is changed from the user state to the kernel state in the application based on the NandFlash driving device, and the NandFlash structure is operated in the kernel. Kernel handle and kernel-related hardware data structure; and in the kernel state operation state, the remote wiping tool of the present invention is used to erase the NandFlash logic bad block in the kernel and the modified optimal remote burning tool to remotely write NandFlash data. In order to achieve the purpose of remotely upgrading the NandFlash driver device.
  • the maintenance personnel can use the upgrade processing package provided by the system to run the upgrade script in the remote networked environment, and the remote online upgrade can be realized, the operation is simple, the manpower is saved, and the running cost is saved; ⁇ , also provides a stable use of the kernel backup function, so that when a kernel data is corrupted, it can be quickly booted from another kernel backup space, greatly reducing the failure rate, and solving the scene often fails to start due to kernel damage. Failure problem.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

La présente invention concerne le domaine de la surveillance de l'environnement de puissance. L'invention concerne un procédé, un appareil et un système de mise à niveau à distance basés sur un dispositif de mémoire flash Nand. Le procédé de mise à niveau à distance basé sur un dispositif mémoire flash Nand consiste : à convertir un état de mise en œuvre de telle sorte que la mise en œuvre entre dans un mode noyau à partir d'un mode utilisateur; et à mettre à niveau à distance un dispositif de mémoire flash Nand dans l'état de mise en œuvre du mode noyau. La présente invention concerne également un appareil et un système de mise à niveau à distance basés sur un dispositif de mémoire flash Nand. Selon une solution de mise à niveau à distance basée sur un dispositif de mémoire flash Nand fournie par la présente invention, le personnel de maintenance peut réaliser une mise à niveau à distance en ligne dans un environnement de mise en réseau à distance sans le traitement du dispositif sur site, la mise en œuvre est simple et le travail et les coûts de fonctionnement sont économisés.
PCT/CN2016/095866 2016-08-18 2016-08-18 Procédé, appareil et système de mise à niveau à distance de dispositif Ceased WO2018032460A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/095866 WO2018032460A1 (fr) 2016-08-18 2016-08-18 Procédé, appareil et système de mise à niveau à distance de dispositif

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/095866 WO2018032460A1 (fr) 2016-08-18 2016-08-18 Procédé, appareil et système de mise à niveau à distance de dispositif

Publications (1)

Publication Number Publication Date
WO2018032460A1 true WO2018032460A1 (fr) 2018-02-22

Family

ID=61197247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095866 Ceased WO2018032460A1 (fr) 2016-08-18 2016-08-18 Procédé, appareil et système de mise à niveau à distance de dispositif

Country Status (1)

Country Link
WO (1) WO2018032460A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722420A (zh) * 2011-10-25 2012-10-10 中国电力科学研究院 一种自诊断终端、检测方法及远程维护系统
US20130111454A1 (en) * 2010-06-17 2013-05-02 Fujitsu Limited Technique for updating program being executed
CN103744694A (zh) * 2013-12-24 2014-04-23 武汉烽火众智数字技术有限责任公司 基于Nand闪存的动态分区搜索装置及其方法
CN104182256A (zh) * 2014-08-21 2014-12-03 四川九成信息技术有限公司 一种嵌入式设备程序更新方法
CN104765626A (zh) * 2014-01-08 2015-07-08 深圳中电长城信息安全系统有限公司 一种固件程序烧写方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130111454A1 (en) * 2010-06-17 2013-05-02 Fujitsu Limited Technique for updating program being executed
CN102722420A (zh) * 2011-10-25 2012-10-10 中国电力科学研究院 一种自诊断终端、检测方法及远程维护系统
CN103744694A (zh) * 2013-12-24 2014-04-23 武汉烽火众智数字技术有限责任公司 基于Nand闪存的动态分区搜索装置及其方法
CN104765626A (zh) * 2014-01-08 2015-07-08 深圳中电长城信息安全系统有限公司 一种固件程序烧写方法及装置
CN104182256A (zh) * 2014-08-21 2014-12-03 四川九成信息技术有限公司 一种嵌入式设备程序更新方法

Similar Documents

Publication Publication Date Title
CN101377744B (zh) 一种终端设备软件升级恢复方法及装置
CN101557583B (zh) 直放站设备嵌入式软件的远程升级与版本切换方法
US20030014582A1 (en) Data recorder and method for recording data in flash memory
TW202016731A (zh) 用於現場可程式邏輯閘陣列的韌體更新方法
CN101344868B (zh) 数据备份和获取的方法和装置
CN102541604B (zh) 一种远程升级方法、远程升级的终端设备以及远程升级系统
CN101515967A (zh) 一种终端固件空中下载装置及方法
CN101957765B (zh) 一种实现设备固件更新的方法及系统、设备
JP2003316595A (ja) インストール方法、ファイル更新方法、プログラム及びコンピュータシステム
JP4586469B2 (ja) メモリ制御装置、メモリ制御方法、プログラム
CN116909611A (zh) 电子设备固件更新方法、清洁设备以及存储介质
JP2023068538A (ja) 情報処理装置及びその制御方法、並びにプログラム
CN104427120B (zh) 通信终端及其非易失性数据的处理方法
CN117499231A (zh) 一种恢复网卡mac地址方法、系统、设备及存储介质
CN110888656B (zh) 一种多功能烧写器及烧写方法
WO2018032460A1 (fr) Procédé, appareil et système de mise à niveau à distance de dispositif
CN107273370A (zh) 切换系统方法及装置
CN107092509A (zh) 一种使用bmc更新固件的方法
CN109697077B (zh) 硬盘固件启动方法、装置及设备
JP4430931B2 (ja) 画像形成装置及びそのファームウェアの更新方法
CN114442906B (zh) 一种数据存储方法、终端及计算机可读存储介质
WO2012062132A1 (fr) Procédé et dispositif d'auto-programmation pour système de fichiers sur la base d'une mémoire flash non-et
CN101256497A (zh) 终端固件的升级方法和装置
JPWO2012077604A1 (ja) 処理装置、プログラム更新方法、およびプログラム
JP4258312B2 (ja) 画像形成装置およびそのプログラム更新履歴管理方法

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: 16913217

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: 16913217

Country of ref document: EP

Kind code of ref document: A1