CN111614764B - Automatic flash bad block repairing system and method for Internet of things equipment - Google Patents

Automatic flash bad block repairing system and method for Internet of things equipment Download PDF

Info

Publication number
CN111614764B
CN111614764B CN202010437039.5A CN202010437039A CN111614764B CN 111614764 B CN111614764 B CN 111614764B CN 202010437039 A CN202010437039 A CN 202010437039A CN 111614764 B CN111614764 B CN 111614764B
Authority
CN
China
Prior art keywords
bad block
internet
flash
equipment
things
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
CN202010437039.5A
Other languages
Chinese (zh)
Other versions
CN111614764A (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.)
Sichuan Ailian Technology Co ltd
Original Assignee
Sichuan Ailian 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 Sichuan Ailian Technology Co ltd filed Critical Sichuan Ailian Technology Co ltd
Priority to CN202010437039.5A priority Critical patent/CN111614764B/en
Publication of CN111614764A publication Critical patent/CN111614764A/en
Application granted granted Critical
Publication of CN111614764B publication Critical patent/CN111614764B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The invention relates to the field of Internet of things, and discloses a flash bad block automatic repair system and method for Internet of things equipment, which can automatically repair the flash bad block in the running process of the Internet of things equipment, and improve the stability and service life of the equipment. The system comprises: the system comprises Internet of things equipment and server equipment; the Internet of things equipment is used for automatically detecting a flash bad block in the operation process, recording bad block information and uploading the bad block information to the server equipment; after receiving an OTA upgrading instruction issued by the server-side equipment, carrying out OTA upgrading, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image; and the server device is used for issuing an OTA upgrading instruction to the Internet of things device when judging that the bad block affects the safe operation of the Internet of things device according to the received bad block information.

Description

Automatic flash bad block repairing system and method for Internet of things equipment
Technical Field
The invention relates to the field of Internet of things, in particular to a flash bad block automatic repair system and method of Internet of things equipment.
Background
At present, the Internet of things equipment is gradually put into use in various industries, and the running environment of the Internet of things equipment is diversified and complex. The flash storage device is more likely to generate bad blocks due to external physical factors and the like, so that the Internet of things device is damaged. In addition, the huge number of the devices of the Internet of things and the uncertainty of the placement positions of the devices increase the maintenance and replacement cost of the devices of the Internet of things.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the system and the method for automatically repairing the flash bad blocks of the Internet of things equipment are provided, so that the flash bad blocks are automatically repaired in the running process of the Internet of things equipment, and the stability and the service life of the equipment are improved.
The technical scheme adopted for solving the technical problems is as follows:
a flash bad block automatic repair system of an Internet of things device comprises: the system comprises Internet of things equipment and server equipment;
the Internet of things equipment is used for automatically detecting a flash bad block in the operation process, recording bad block information and uploading the bad block information to the server equipment; after receiving an OTA upgrading instruction issued by the server-side equipment, carrying out OTA upgrading, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image;
and the server device is used for issuing an OTA upgrading instruction to the Internet of things device when judging that the bad block affects the safe operation of the Internet of things device according to the received bad block information.
As further optimization, the internet of things equipment comprises but is not limited to security equipment, vehicle-mounted equipment, meteorological acquisition equipment and the like.
As a further optimization, the internet of things device comprises the following modules:
the flash bad block detection module is used for periodically scanning the flash of the equipment in the running process and detecting the flash bad block;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for carrying out OTA upgrading after receiving an OTA upgrading instruction issued by the server-side equipment, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image.
As further optimization, the server device is a management background, and the internet of things device is connected with the management background through an operator network or a cloud server.
In addition, the invention also provides an automatic flash bad block repairing method of the internet of things equipment, which comprises the following steps:
a. the method comprises the steps that in the running process of the Internet of things equipment, a flash bad block is automatically detected, bad block information is recorded, and the bad block information is uploaded to a cloud server or uploaded to a management background through an operator network;
b. when the cloud server or the management background judges that the bad block affects the safe operation of the Internet of things equipment according to the received bad block information, an OTA upgrading instruction is issued to the Internet of things equipment;
c. and after receiving the OTA upgrading instruction, the internet of things equipment performs OTA upgrading, erases the flash partition with the bad block in the upgrading process, and skips the bad block to write a new partition image.
In step b, the cloud server or the management background makes an auxiliary decision through big data or existing experience, and issues an OTA upgrading instruction to the Internet of things equipment at a corresponding time.
The beneficial effects of the invention are as follows:
the method comprises the steps that a bad block is detected through scanning a flash storage device in the running process of the Internet of things device, the bad block is stored and uploaded to a cloud server or uploaded to a management background through an operator network when the bad block is detected, the position of the bad block is judged by the cloud server or the management background, when the bad block possibly affects the safe running of the device, flash upgrading is conducted through issuing an OTA instruction, a flash partition with the bad block is erased in the upgrading process, the bad block is skipped to write a new partition mirror image, and therefore abnormal running of software of the Internet of things device caused by the mirror image with the bad block is avoided.
Drawings
Fig. 1 is a block diagram of a flash bad block automatic repair system of an internet of things device.
Detailed Description
The invention aims to provide a flash bad block automatic repair system and method for Internet of things equipment, which can realize automatic repair of the flash bad block in the running process of the Internet of things equipment, and improve the stability and service life of the equipment.
As shown in fig. 1, the flash bad block automatic repair system of the internet of things equipment in the invention is composed of the internet of things equipment, a cloud server (or an operator network) and a management background.
The internet of things equipment mainly comprises but is not limited to security equipment, vehicle-mounted equipment, weather acquisition equipment and other equipment which can record flash bad block information, the recorded equipment information can be transmitted to a cloud server or a management background, and the management background can remotely control the Internet of things equipment to recover the partition mirror image through an OTA upgrading method, so that the remote automatic repair of the flash bad block is completed.
The Internet of things equipment comprises the following modules:
the flash bad block detection module is used for periodically scanning the flash of the equipment in the running process and detecting the flash bad block;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for carrying out OTA upgrading after receiving an OTA upgrading instruction issued by the server-side equipment, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image.
Communication means for realizing the Internet of things equipment and the management background include, but are not limited to, a mobile communication 2/3/4/5G network or a special network and the like.
Based on the system, the automatic flash bad block repairing method of the Internet of things equipment provided by the invention comprises the following steps:
a. the flash bad block detection module of the equipment software of the Internet of things can periodically scan the flash of the equipment in the running process, and the equipment information management module records the flash bad block information;
b. the internet of things device uploads device information to a cloud server or transmits the device information to a management background through an operator network;
c. the management background or the cloud server judges the influence of the bad blocks according to the information such as the position of the bad blocks of the flash of the equipment, and if the safety operation of the equipment is influenced, an OTA upgrading instruction is issued to the equipment of the Internet of things;
d. the OTA equipment completes OTA upgrading according to the command of the cloud server or the management post-Ethernet, the flash partition with the bad block is erased in the upgrading process, the bad block is skipped to be written into a new partition mirror image, and therefore abnormal running of the software of the OTA equipment caused by the mirror image with the bad block is avoided.
In the step c, an auxiliary decision can be made through big data or existing experience, and the flash repair time of the internet of things equipment is controlled, so that the influence on the work of the internet of things in the recovery process of the internet of things equipment can be avoided or reduced.

Claims (5)

1. A flash bad block automatic repair system of an Internet of things device is characterized in that,
comprising the following steps: the system comprises Internet of things equipment and server equipment;
the Internet of things equipment is used for automatically detecting a flash bad block in the operation process, recording bad block information and uploading the bad block information to the server equipment; after receiving an OTA upgrading instruction issued by the server-side equipment, carrying out OTA upgrading, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image;
and the server device is used for issuing an OTA upgrading instruction to the Internet of things device when judging that the bad block affects the safe operation of the Internet of things device according to the received bad block information.
2. The automatic repair system for the bad flash blocks of the Internet of things equipment according to claim 1, wherein,
the Internet of things equipment comprises the following modules:
the flash bad block detection module is used for periodically scanning the flash of the equipment in the running process and detecting the flash bad block;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for carrying out OTA upgrading after receiving an OTA upgrading instruction issued by the server-side equipment, erasing a flash partition with a bad block in the upgrading process, and skipping over the bad block to write a new partition image.
3. The automatic repair system for the bad flash blocks of the Internet of things equipment according to claim 1, wherein,
the server device is a management background, and the Internet of things device is connected with the management background through an operator network or a cloud server.
4. The automatic flash bad block repairing method of the Internet of things equipment is characterized by comprising the following steps of:
a. the method comprises the steps that in the running process of the Internet of things equipment, a flash bad block is automatically detected, bad block information is recorded, and the bad block information is uploaded to a cloud server or uploaded to a management background through an operator network;
b. when the cloud server or the management background judges that the bad block affects the safe operation of the Internet of things equipment according to the received bad block information, an OTA upgrading instruction is issued to the Internet of things equipment;
c. and after receiving the OTA upgrading instruction, the internet of things equipment performs OTA upgrading, erases the flash partition with the bad block in the upgrading process, and skips the bad block to write a new partition image.
5. The method for automatically repairing the flash bad blocks of the Internet of things equipment according to claim 4, wherein the method comprises the steps of,
in step b, the cloud server or the management background makes an auxiliary decision through big data or existing experience, and issues an OTA upgrading instruction to the Internet of things equipment at a corresponding time.
CN202010437039.5A 2020-05-21 2020-05-21 Automatic flash bad block repairing system and method for Internet of things equipment Active CN111614764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010437039.5A CN111614764B (en) 2020-05-21 2020-05-21 Automatic flash bad block repairing system and method for Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010437039.5A CN111614764B (en) 2020-05-21 2020-05-21 Automatic flash bad block repairing system and method for Internet of things equipment

Publications (2)

Publication Number Publication Date
CN111614764A CN111614764A (en) 2020-09-01
CN111614764B true CN111614764B (en) 2023-04-21

Family

ID=72203573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010437039.5A Active CN111614764B (en) 2020-05-21 2020-05-21 Automatic flash bad block repairing system and method for Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111614764B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579355A (en) * 2020-12-21 2021-03-30 广西东信易联科技有限公司 Internet of things equipment 5G parameter storage and recovery method and internet of things equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593157A (en) * 2008-05-27 2009-12-02 中兴通讯股份有限公司 The bad block management method of nandflash and device
CN101695162A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 Method and device for upgrading aerial firmware on mobile terminal
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN102012831A (en) * 2010-12-08 2011-04-13 四川金网通电子科技有限公司 Over-the-air technology (OTA) upgrading method based on Linux platform
CN102104750A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method for automatically upgrading network television
CN102629206A (en) * 2012-02-29 2012-08-08 深圳市赛格导航科技股份有限公司 Embedded system software upgrading method and system
CN103473067A (en) * 2013-09-23 2013-12-25 福建三元达软件有限公司 Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN106020862A (en) * 2016-05-05 2016-10-12 深圳市硅格半导体股份有限公司 Webpage based network mass production method and device
CN109067894A (en) * 2018-08-23 2018-12-21 广东汇泰龙科技有限公司 A kind of method, the system of the online upgrading based on cloud lock system and key reduction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11269764B2 (en) * 2017-03-21 2022-03-08 Western Digital Technologies, Inc. Storage system and method for adaptive scheduling of background operations

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593157A (en) * 2008-05-27 2009-12-02 中兴通讯股份有限公司 The bad block management method of nandflash and device
CN101923473A (en) * 2009-06-11 2010-12-22 英华达(南京)科技有限公司 Embedded electronic device and method for updating firmware thereof
CN101695162A (en) * 2009-10-22 2010-04-14 中兴通讯股份有限公司 Method and device for upgrading aerial firmware on mobile terminal
CN102104750A (en) * 2009-12-22 2011-06-22 康佳集团股份有限公司 Method for automatically upgrading network television
CN102012831A (en) * 2010-12-08 2011-04-13 四川金网通电子科技有限公司 Over-the-air technology (OTA) upgrading method based on Linux platform
CN102629206A (en) * 2012-02-29 2012-08-08 深圳市赛格导航科技股份有限公司 Embedded system software upgrading method and system
CN103473067A (en) * 2013-09-23 2013-12-25 福建三元达软件有限公司 Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN106020862A (en) * 2016-05-05 2016-10-12 深圳市硅格半导体股份有限公司 Webpage based network mass production method and device
CN109067894A (en) * 2018-08-23 2018-12-21 广东汇泰龙科技有限公司 A kind of method, the system of the online upgrading based on cloud lock system and key reduction

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Nand Flash 的驱动开发及产品化探讨";郭鑫俊;《通信设计与应用》;20140430;全文 *
"对nand flash设备进行升级";lee_jimmy;《https://blog.csdn.net/lee_jimmy/article/details/104108042》;20200129;全文 *
DirectLoad: A FastWeb-scale Index System across Large Regional Centers;An Qin;《2019 IEEE 35th International Conference on Data Engineering (ICDE)》;20191231;全文 *

Also Published As

Publication number Publication date
CN111614764A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN110069053B (en) Remote vehicle detection system and method based on TSP cloud deck
CN102968748A (en) Field comprehensive maintenance system for power distribution network electrical equipment
CN111614764B (en) Automatic flash bad block repairing system and method for Internet of things equipment
CN112637261A (en) Equipment maintenance informatization management system based on handheld terminal
CN103186471A (en) Method and system for managing bad blocks in storage equipment
CN106897087A (en) Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software
CN104184606A (en) Data processing method for LKJ data remote loading
CN107193689A (en) A kind of media file records abnormal restorative procedure and device
CN104219082A (en) LKJ equipment data remote-loading method and system
CN111324084B (en) Tunnel boring machine remote control method and system based on cloud computing
CN104184607A (en) Communication method for LKJ data remote loading
CN112528742A (en) State checking method and device for transformer substation pressure plate
CN110908678A (en) Automobile controller software configuration writing method
CN114092271A (en) New energy charging pile user management method and system based on block chain
CN111476330B (en) Remote monitoring and installation guidance system and method for manufacturing of electrical equipment of transformer substation
CN105224416A (en) Restorative procedure and related electronic device
CN109737979B (en) Storage method and system for unmanned vehicle air route
CN115271593A (en) Intelligent goods receiving and returning system for warehouse
CN115071792A (en) Pantograph online monitoring system and method based on edge calculation
CN113902976A (en) Fault battery plate position identification processing method and system
CN110264065B (en) Full life cycle management system of shale gas fracturing high pressure control element
CN112633704A (en) Engineering construction site quality management system and method
CN104467941B (en) Station repeater and its data transmission method
CN212379877U (en) Machine room operation and maintenance system based on equipment identification
CN111347427A (en) Method and system for restraining operation vibration of photovoltaic power station operation and maintenance robot and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 621000 Sichuan Ailian Technology Co.,Ltd., Anzhou Industrial Park, Mianyang City, Sichuan Province

Applicant after: Sichuan Ailian Technology Co.,Ltd.

Address before: 621000 Mianyang city of Sichuan Province, Sichuan Industrial Park, love science and Technology Co.

Applicant before: SICHUAN AI-LINK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant