CN112579355A - Internet of things equipment 5G parameter storage and recovery method and internet of things equipment - Google Patents

Internet of things equipment 5G parameter storage and recovery method and internet of things equipment Download PDF

Info

Publication number
CN112579355A
CN112579355A CN202011518986.3A CN202011518986A CN112579355A CN 112579355 A CN112579355 A CN 112579355A CN 202011518986 A CN202011518986 A CN 202011518986A CN 112579355 A CN112579355 A CN 112579355A
Authority
CN
China
Prior art keywords
partition
internet
modemst1
fsg
writing
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.)
Pending
Application number
CN202011518986.3A
Other languages
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.)
Guangxi Dongxin Yilian Technology Co ltd
Original Assignee
Guangxi Dongxin Yilian 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 Guangxi Dongxin Yilian Technology Co ltd filed Critical Guangxi Dongxin Yilian Technology Co ltd
Priority to CN202011518986.3A priority Critical patent/CN112579355A/en
Publication of CN112579355A publication Critical patent/CN112579355A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for saving and recovering 5G parameters of equipment of the Internet of things and the equipment of the Internet of things, wherein after the 5G parameters and IMEI are written into a Modemst1 partition, all data of the Modemst1 partition are copied to an FSG partition for saving; checking whether the Modemmt 1 partition reading and writing are normal after each startup; when the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition; when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery; and when the Modemmt 1 partition reads and writes normally, finishing the subsequent normal starting process. The method has the advantages that the storage space of the FSG partition is fully utilized and exists as the shadow of the Modemmt 1 partition, the partition utilization rate is improved, and meanwhile, the complete factory setting restoration of the Internet of things equipment is achieved. The problem that the conventional Modemmt 1 partition cannot be reset after leaving the factory is solved ingeniously, and the defect that the 5G parameter is abnormal and the partition needs to be returned to the factory for maintenance is overcome.

Description

Internet of things equipment 5G parameter storage and recovery method and internet of things equipment
Technical Field
The invention relates to a 5G parameter processing technology of Internet of things equipment, in particular to a method for saving and recovering 5G parameters of the Internet of things equipment and the Internet of things equipment.
Background
The internet of things device 5G parameter is stored in a work partition as an NV value, and data stored in the work partition is not easy to lose. However, the high-pass platform has a disadvantage in operating the work partition, and when the data in the work partition fails to be operated, there is no mechanism for restoring to the factory state. NV refers to non-volatile memory, abbreviated NVRAM, which is system hardware used to hold some parameter values used in various modules.
The high-pass platform NV system mainly involves two partitions, a working partition for NV and a storage partition for the initialization values of NV parameters.
The work partition for the current NV is defined by the high-pass platform as modestm 1 or modestm 2, which is equivalent to the modestm 1 partition or modestm 2 partition in work. The 5G parameters are always stored in the modestm 1 partition when leaving the factory, and the router continuously performs read-write interaction with the modestm 1 partition in the running process.
The partition storing the NV parameter initialization value is an FSG partition, and the high-pass platform creates an image file containing the NV parameter initialization value and downloads the image file into the FSG partition.
As shown in FIG. 2, the high-pass platform judges whether the FSG partition copy to the modestm 1 partition is empty according to the judgment, and if the current NV working modestm 1 partition is empty, the NV parameter initialization value in the image file in the FSG partition is updated to the modestm 1 partition.
As shown in fig. 1, after the general 5G device first downloads software in an empty disk, because the modestm 1 partition is empty, the NV parameter initialization value in the FSG partition is written into the modestm 1 partition. Calibration parameters, IEMI, etc. 5G critical parameters were then written to modemst1 partition at the production ring, resulting in a failure to erase modemst1 partition later. Since the modestm 1 partition cannot be erased, the empty state will no longer occur, and the data for the FSG partition will no longer have a chance to be written into the modestm 1 partition. The reason why the modestm 1 partition cannot be erased is that the partition cannot be read and written, but after the data of the partition is erased, calibration parameters written in factory, IEMI and other 5G important parameters are lost. The 5G important parameters are not returned to the factory for maintenance, and no backup is carried out on the equipment of the Internet of things.
The method in the prior art has the natural defect that the FSG partition cannot be used again, and when the modestm 1 partition is abnormal in the use process of the Internet of things equipment, the modestm 1 partition cannot be restored to a factory state.
The original factory-leaving recovery operation of the internet-of-things equipment is only to operate a userdata partition, namely a partition for storing user data. When the userdata partition has a problem, the partition can be erased to restore the device to the factory state. This restore to factory state mechanism is only a partial restore. Only the userdata partition is recovered, not all partitions of the internet of things equipment, and the modestm 1 partition storing the parameters of the internet of things equipment 5G is abnormal, so that the method cannot be recovered.
Disclosure of Invention
The invention aims to provide a method for storing and recovering 5G parameters of Internet of things equipment and the Internet of things equipment, and aims to solve the problems in the prior art.
According to the method for saving and recovering the 5G parameters of the Internet of things equipment, all data of a Modemst1 partition are copied to an FSG partition for saving after the 5G parameters and the IMEI are written into the Modemst1 partition; checking whether the Modemmt 1 partition reading and writing are normal after each startup; when the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition; when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery; and when the Modemmt 1 partition reads and writes normally, finishing the subsequent normal starting process.
An Internet of things device comprises a Modemst1 partition and an FSG partition; the Modemst1 partition that completes the 5G parameter and IMEI write operation is copied to the FSG partition; after the computer is started, checking whether the Modamst 1 partition reading and writing are normal; when the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition; when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery; when the Modemmt 1 partition reading and writing are normal, the subsequent normal open machine process is completed.
The method for saving and restoring the 5G parameters of the Internet of things equipment and the Internet of things equipment have the advantages that the storage space of the FSG partition is fully utilized and exists as the shadow of the Modemmt 1 partition, the partition utilization rate is improved, and the complete restoration of factory settings of the Internet of things equipment is realized. The problem that the conventional Modemmt 1 partition cannot be reset after leaving the factory is solved ingeniously, and the defect that the 5G parameter is abnormal and the partition needs to be returned to the factory for maintenance is overcome.
Drawings
Fig. 1 is a schematic diagram of a production configuration process of an internet of things device in the prior art.
Fig. 2 is a schematic diagram of a boot process of an internet of things device in the prior art.
Fig. 3 is a schematic view of a production configuration process of the internet of things device according to the present invention.
Fig. 4 is a schematic diagram of a boot process of the internet of things device according to the present invention.
Detailed Description
According to the method for saving and recovering the 5G parameters of the Internet of things equipment, disclosed by the invention, as shown in FIG. 3, firstly, software downloading and soft system installation are carried out on an empty chip, and when a modestm 1 partition is empty, a working mechanism of a high-pass platform can copy all NV parameter initialization values stored in an FSG partition to a modestm 1 partition.
Then, various factory settings and parameter writes are performed on the modestm 1 partition, for example, sequentially: the method comprises the following operations of single-board number writing, calibration comprehensive test parameter writing, single-board current parameter writing, single-board function writing, complete machine current writing, coupling test parameter writing, complete machine function writing, IMEI writing and the like.
And finally copying the modestm 1 partition after the operation to an FSG partition, and finishing the storage work of the parameters of the Internet of things equipment 5G.
The partition fsg is not operated in the normal use process of the internet of things equipment, and the partition fsg parameters are always in the initial state when the equipment leaves a factory.
When the Internet of things equipment surfs the internet and registers a 5G network, the parameters of the modestm 1 partition are read as required, and the running state can be written into the modestm 1 partition of the equipment, so that data interaction is carried out with the modestm 1 partition continuously in the running process.
Frequent data interaction naturally greatly improves the error probability of the 5G parameter. When the read-write modestm 1 partition is abnormal, the read-write abnormality affects normal operation of the device registration network and the modem, and at this time, the modestm 1 partition needs to be restored to a factory state. In the scheme of the invention, the problem can be solved only by rebooting the abnormal Internet of things equipment for two times by a user, wherein the partition of Modemst1 is cleared for the first time, and the partition of ResetModemst1 is completely cleared for the second time.
As shown in fig. 4, after each boot, the internet of things device checks the read-write function of the modestm 1 partition, and at this time, there are three possibilities, namely, null, normal, and abnormal.
1) When the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition;
2) when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery;
3) and when the Modemmt 1 partition reads and writes normally, finishing the subsequent normal starting process.
Because the invention designs a specific step before factory production, all data of the Modemst1 partition is copied to the FSG partition for saving after the 5G parameter and the IMEI are written into the Modemst1 partition. Therefore, the operation of restoring the factory settings can be completely completed by the user without returning to the factory for maintenance. Certainly, restarting the internet of things equipment can be manually completed by manpower or automatically completed by restarting the system.
The Internet of things equipment is subjected to the 5G parameter storage operation and then is subjected to post-factory procedures. When the Modemst1 partition is abnormal in reading and writing, the recovery method is used for resetting the Modemst1 partition.
Various other modifications and changes may be made by those skilled in the art based on the above teachings and concepts, and all such modifications and changes are intended to fall within the scope of the appended claims.

Claims (2)

1. A method for saving and recovering 5G parameters of Internet of things equipment is characterized in that after the 5G parameters and an IMEI are written into a Modemst1 partition, all data of the Modemst1 partition are copied to an FSG partition for saving;
checking whether the Modemmt 1 partition reading and writing are normal after each startup;
when the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition;
when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery;
and when the Modemmt 1 partition reads and writes normally, finishing the subsequent normal starting process.
2. An Internet of things device comprises a Modemst1 partition and an FSG partition; the method is characterized in that the Modemst1 partition which completes the 5G parameter and IMEI writing operation is copied to the FSG partition; after the computer is started, checking whether the Modamst 1 partition reading and writing are normal; when the Modmst 1 partition is abnormal in reading and writing, emptying the Modmst 1 partition; when the Modemst1 partition is empty, copying the FSG partition to the Modemst1 partition for recovery; and when the Modemmt 1 partition reads and writes normally, finishing the subsequent normal starting process.
CN202011518986.3A 2020-12-21 2020-12-21 Internet of things equipment 5G parameter storage and recovery method and internet of things equipment Pending CN112579355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011518986.3A CN112579355A (en) 2020-12-21 2020-12-21 Internet of things equipment 5G parameter storage and recovery method and internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011518986.3A CN112579355A (en) 2020-12-21 2020-12-21 Internet of things equipment 5G parameter storage and recovery method and internet of things equipment

Publications (1)

Publication Number Publication Date
CN112579355A true CN112579355A (en) 2021-03-30

Family

ID=75136684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011518986.3A Pending CN112579355A (en) 2020-12-21 2020-12-21 Internet of things equipment 5G parameter storage and recovery method and internet of things equipment

Country Status (1)

Country Link
CN (1) CN112579355A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113567835A (en) * 2021-07-23 2021-10-29 上海创米科技有限公司 Method and equipment for testing and writing number of integrated circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945192A (en) * 2012-10-19 2013-02-27 广东欧珀移动通信有限公司 Data backup and recovery method and intelligent mobile terminal
CN106341834A (en) * 2016-08-25 2017-01-18 智能唯识科技(深圳)有限公司 Internet-of-things device configuration method, Internet-of-things device configuration apparatus, Internet-of-things device configuration system and Internet-of-things device
CN109634778A (en) * 2018-11-16 2019-04-16 歌尔股份有限公司 A kind of method, apparatus and electronic equipment of factory reset
CN111614764A (en) * 2020-05-21 2020-09-01 四川爱联科技有限公司 System and method for automatically repairing flash bad block of Internet of things equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945192A (en) * 2012-10-19 2013-02-27 广东欧珀移动通信有限公司 Data backup and recovery method and intelligent mobile terminal
CN106341834A (en) * 2016-08-25 2017-01-18 智能唯识科技(深圳)有限公司 Internet-of-things device configuration method, Internet-of-things device configuration apparatus, Internet-of-things device configuration system and Internet-of-things device
CN109634778A (en) * 2018-11-16 2019-04-16 歌尔股份有限公司 A kind of method, apparatus and electronic equipment of factory reset
CN111614764A (en) * 2020-05-21 2020-09-01 四川爱联科技有限公司 System and method for automatically repairing flash bad block of Internet of things equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113567835A (en) * 2021-07-23 2021-10-29 上海创米科技有限公司 Method and equipment for testing and writing number of integrated circuit

Similar Documents

Publication Publication Date Title
US10430285B2 (en) Backing up metadata
CN101650662B (en) Memory device of embedded system and staring method and upgrading of firmware
US6665813B1 (en) Method and apparatus for updateable flash memory design and recovery with minimal redundancy
US6205558B1 (en) Recovery of file systems after modification failure
TWI490876B (en) Method and apparatus of system boot and pilot process
US8261035B1 (en) System and method for online data migration
US20100064127A1 (en) Method for updating basic input/output system and method for repairing thereof
JPH06274409A (en) Batch erasure-type nonvolatile memory
JPH0816408A (en) Information processor
JP4620430B2 (en) Apparatus, system, method, recording medium, and program for high-speed loading of adapter
JP2014120179A (en) Salvaging event trace information in power loss interruption scenarios
US20050015579A1 (en) Handling exceptions
US11221927B2 (en) Method for the implementation of a high performance, high resiliency and high availability dual controller storage system
US5421003A (en) Disk storage system with fault tolerant media maintenance
US20100017648A1 (en) Complete dual system and system control method
CN112579355A (en) Internet of things equipment 5G parameter storage and recovery method and internet of things equipment
US20070277028A1 (en) Method and system for recovery from reprogramming failures in nonvolatile memory
CN116361817B (en) Protection method of ubi file system under Linux
JP3675375B2 (en) Nonvolatile memory and data rewriting method of nonvolatile memory
JP2005284902A (en) Terminal device, control method and control program thereof, host device, control method and control program thereof, and method, system, and program for remote updating
US20190026195A1 (en) System halt event recovery
JP2010536112A (en) Data storage method, apparatus and system for recovery of interrupted writes
JPH0981464A (en) Memory fault recovering method of computer system and recovering system
KR101850272B1 (en) Method for updating boot image for fast booting and image forming apparatus for performing the same
JP2000222232A (en) Electronic computer, and memory fault avoiding method for electronic computer

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210330