CN111614764A - System and method for automatically repairing flash bad block of Internet of things equipment - Google Patents

System and method for automatically repairing flash bad block of Internet of things equipment Download PDF

Info

Publication number
CN111614764A
CN111614764A CN202010437039.5A CN202010437039A CN111614764A CN 111614764 A CN111614764 A CN 111614764A CN 202010437039 A CN202010437039 A CN 202010437039A CN 111614764 A CN111614764 A CN 111614764A
Authority
CN
China
Prior art keywords
bad block
internet
equipment
flash
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.)
Granted
Application number
CN202010437039.5A
Other languages
Chinese (zh)
Other versions
CN111614764B (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 Ai Link Technology Co ltd
Original Assignee
Sichuan Ai Link 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 Ai Link Technology Co ltd filed Critical Sichuan Ai Link 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 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the field of Internet of things, and discloses an automatic flash bad block repairing system and method for Internet of things equipment, which are used for automatically repairing a flash bad block in the running process of the Internet of things equipment, improving the stability of the equipment and prolonging the service life of the equipment. The system comprises: the system comprises Internet of things equipment and server-side equipment; the Internet of things equipment is used for automatically detecting a flash bad block in the running process, recording bad block information and uploading the bad block information to the server side equipment; performing OTA upgrading after receiving an OTA upgrading instruction issued by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing a new partition mirror image; and the server side equipment is used for judging whether the bad block affects the safe operation of the Internet of things equipment according to the received bad block information and issuing an OTA (over the air) upgrading instruction to the Internet of things equipment.

Description

System and method for automatically repairing flash bad block of Internet of things equipment
Technical Field
The invention relates to the field of Internet of things, in particular to a system and a method for automatically repairing a flash bad block of Internet of things equipment.
Background
At present, the Internet of things equipment is gradually put into use in various industries, and the operating environment of the Internet of things equipment is diversified and complicated. The flash storage device is easy 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 internet of things equipment and the uncertainty of the placement position of the equipment increase the maintenance and replacement cost of the internet of things equipment.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the automatic flash bad block repairing system and method 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, the stability of the equipment is improved, and the service life of the equipment is prolonged.
The technical scheme adopted by the invention for solving the technical problems is as follows:
an automatic flash bad block repair system of Internet of things equipment comprises: the system comprises Internet of things equipment and server-side equipment;
the Internet of things equipment is used for automatically detecting a flash bad block in the running process, recording bad block information and uploading the bad block information to the server side equipment; performing OTA upgrading after receiving an OTA upgrading instruction issued by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing a new partition mirror image;
and the server side equipment is used for judging whether the bad block affects the safe operation of the Internet of things equipment according to the received bad block information and issuing an OTA (over the air) upgrading instruction to the Internet of things equipment.
As a further optimization, the internet of things device includes, but is not limited to, a security device, an on-board device, a weather collection device, 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 scanning the flash of the equipment periodically in the running process and detecting the flash bad blocks;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for performing OTA upgrading after receiving an OTA upgrading instruction sent by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing the bad block into a new partition mirror image.
As further optimization, the server-side 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 repair method for the flash bad block of the equipment of the Internet of things, which comprises the following steps:
a. the method comprises the steps that the Internet of things equipment automatically detects flash bad blocks in the running process, records bad block information, and uploads the bad block information to a cloud server or a management background through an operator network;
b. 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, and issues an OTA (over the air) upgrading instruction to the Internet of things equipment;
c. and the Internet of things equipment performs OTA upgrading after receiving the OTA upgrading instruction, erases the flash partition with the bad block in the upgrading process, and skips the bad block and writes in a new partition mirror image.
In the step b, the cloud server or the management background performs an auxiliary decision through big data or existing experience, and issues an OTA upgrade instruction to the internet of things device at a corresponding time.
The invention has the beneficial effects that:
the method comprises the steps of detecting a bad block by scanning flash storage equipment in the running process of the Internet of things equipment, storing and uploading the bad block to a cloud server or uploading the bad block to a management background through an operator network when the bad block is detected, judging the position of the bad block by the cloud server or the management background, upgrading the flash by issuing an OTA (over the air) instruction when the bad block possibly affects the safe running of the equipment, erasing a flash partition with the bad block in the upgrading process, skipping the bad block and writing a new partition mirror image, and thus avoiding abnormal running of the Internet of things equipment software caused by the mirror image with the bad block.
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 an automatic flash bad block repairing system and method of Internet of things equipment, which can be used for automatically repairing a flash bad block in the running process of the Internet of things equipment, improving the stability of the equipment and prolonging the service life of the equipment.
As shown in fig. 1, the system for automatically repairing a flash bad block of an internet of things device in the present invention is composed of an internet of things device, a cloud server (or an operator network), and a management background.
The equipment mainly comprises but not limited to security equipment, vehicle-mounted equipment, meteorological acquisition equipment and the like, the equipment 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 equipment of the Internet of things to recover partition mirror images through OTA upgrading means so as to complete remote automatic repair of the flash bad blocks.
The Internet of things equipment comprises the following modules:
the flash bad block detection module is used for scanning the flash of the equipment periodically in the running process and detecting the flash bad blocks;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for performing OTA upgrading after receiving an OTA upgrading instruction sent by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing the bad block into a new partition mirror image.
Communication means for realizing the internet of things device and the management background include, but are not limited to, a mobile communication 2/3/4/5G network or a private network.
Based on the system, the method for automatically repairing the flash bad block of the Internet of things equipment comprises the following steps:
a. the flash bad block detection module of the Internet of things equipment software 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 equipment uploads the equipment information to a cloud server or transmits the equipment information to a management background through an operator network;
c. the management background or the cloud server judges the influence of the bad block according to the information such as the position of the bad block of the equipment flash, and if the safe operation of the equipment is influenced, an OTA (over the air) upgrading instruction is issued to the equipment of the Internet of things;
d. the IOT equipment completes OTA upgrading according to the command of the managed Ethernet or the cloud server, the flash partition with the bad block is erased in the upgrading process, the bad block is skipped and written into a new partition mirror image, and therefore abnormal operation of IOT equipment software 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 equipment of the Internet of things is controlled, so that the influence of the equipment of the Internet of things on the work of the Internet of things in the recovery process can be avoided or reduced.

Claims (5)

1. An automatic flash bad block repairing system of Internet of things equipment is characterized in that,
the method comprises the following steps: the system comprises Internet of things equipment and server-side equipment;
the Internet of things equipment is used for automatically detecting a flash bad block in the running process, recording bad block information and uploading the bad block information to the server side equipment; performing OTA upgrading after receiving an OTA upgrading instruction issued by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing a new partition mirror image;
and the server side equipment is used for judging whether the bad block affects the safe operation of the Internet of things equipment according to the received bad block information and issuing an OTA (over the air) upgrading instruction to the Internet of things equipment.
2. The system for automatically repairing a flash bad block of an Internet of things device as claimed in claim 1,
the Internet of things equipment comprises the following modules:
the flash bad block detection module is used for scanning the flash of the equipment periodically in the running process and detecting the flash bad blocks;
the device information management module is used for recording the detected flash bad block information;
and the OTA upgrading module is used for performing OTA upgrading after receiving an OTA upgrading instruction sent by the server equipment, erasing the flash partition with the bad block in the upgrading process, and skipping the bad block and writing the bad block into a new partition mirror image.
3. The system for automatically repairing a flash bad block of an Internet of things device as claimed in claim 1,
the server side equipment is a management background, and the Internet of things equipment is connected with the management background through an operator network or a cloud server.
4. An automatic flash bad block repairing method for Internet of things equipment is characterized by comprising the following steps:
a. the method comprises the steps that the Internet of things equipment automatically detects flash bad blocks in the running process, records bad block information, and uploads the bad block information to a cloud server or a management background through an operator network;
b. 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, and issues an OTA (over the air) upgrading instruction to the Internet of things equipment;
c. and the Internet of things equipment performs OTA upgrading after receiving the OTA upgrading instruction, erases the flash partition with the bad block in the upgrading process, and skips the bad block and writes in a new partition mirror image.
5. The method for automatically repairing a flash bad block of an Internet of things device as claimed in claim 4,
in the step b, the cloud server or the management background performs 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 true CN111614764A (en) 2020-09-01
CN111614764B 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)

Cited By (2)

* 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
US11989435B2 (en) 2021-05-17 2024-05-21 Elektrobit Automotive Gmbh Re-partitioning of a flash memory device

Citations (10)

* 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
US20180276116A1 (en) * 2017-03-21 2018-09-27 Western Digital Technologies, Inc. Storage System and Method for Adaptive Scheduling of Background Operations
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

Patent Citations (10)

* 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
US20180276116A1 (en) * 2017-03-21 2018-09-27 Western Digital Technologies, Inc. Storage System and Method for Adaptive Scheduling of Background Operations
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
AN QIN: "DirectLoad: A FastWeb-scale Index System across Large Regional Centers", 《2019 IEEE 35TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE)》 *
LEE_JIMMY: ""对nand flash设备进行升级"", 《HTTPS://BLOG.CSDN.NET/LEE_JIMMY/ARTICLE/DETAILS/104108042》 *
郭鑫俊: ""Nand Flash 的驱动开发及产品化探讨"", 《通信设计与应用》 *

Cited By (2)

* 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
US11989435B2 (en) 2021-05-17 2024-05-21 Elektrobit Automotive Gmbh Re-partitioning of a flash memory device

Also Published As

Publication number Publication date
CN111614764B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
CN111614764B (en) Automatic flash bad block repairing system and method for Internet of things equipment
CN110333881B (en) On-orbit reconstruction method for load equipment software based on satellite-borne FPGA processing
CN102968748A (en) Field comprehensive maintenance system for power distribution network electrical equipment
CN105183515A (en) Cloud deck firmware updating method and device
CN106897087A (en) Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software
US20160101876A1 (en) Aircraft Troubleshooting Network
CN105761016A (en) Bridge disease inspection management system and method
CN103186471A (en) Method and system for managing bad blocks in storage equipment
CN105678357A (en) Electric multiple unit maintenance operation process management and control system and method
CN103150584A (en) Communication resource motion processing method and system
CN104184606A (en) Data processing method for LKJ data remote loading
CN104219082A (en) LKJ equipment data remote-loading method and system
CN107193689A (en) A kind of media file records abnormal restorative procedure and device
CN112528742A (en) State checking method and device for transformer substation pressure plate
CN104184607A (en) Communication method for LKJ data remote loading
CN110908678A (en) Automobile controller software configuration writing method
CN104331948B (en) Tachographs upgrade information sending method, method of reseptance, apparatus and system
CN112583634A (en) Monitoring system-based highway portal disaster recovery method
CN110087035A (en) Subway station inspector on-stream monitoring method
CN207216409U (en) Remote monitoring system based on BDS/GPS
CN109737979B (en) Storage method and system for unmanned vehicle air route
CN104467941B (en) Station repeater and its data transmission method
CN210627199U (en) Unmanned aerial vehicle patrols and examines automatic filing device of photo
CN113902976A (en) Fault battery plate position identification processing method and system
CN112633704A (en) Engineering construction site quality management system and method

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