CN109976970B - Method, system and storage medium for prolonging service life of mainboard chip - Google Patents

Method, system and storage medium for prolonging service life of mainboard chip Download PDF

Info

Publication number
CN109976970B
CN109976970B CN201711457374.6A CN201711457374A CN109976970B CN 109976970 B CN109976970 B CN 109976970B CN 201711457374 A CN201711457374 A CN 201711457374A CN 109976970 B CN109976970 B CN 109976970B
Authority
CN
China
Prior art keywords
node information
information data
data
memory
node
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
CN201711457374.6A
Other languages
Chinese (zh)
Other versions
CN109976970A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711457374.6A priority Critical patent/CN109976970B/en
Publication of CN109976970A publication Critical patent/CN109976970A/en
Application granted granted Critical
Publication of CN109976970B publication Critical patent/CN109976970B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3031Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a method, a system and a storage medium for prolonging the service life of a mainboard chip, which are used for prolonging the service life of the mainboard chip. The method comprises the following steps: opening a node function for acquiring process writing in an operating system kernel, creating a process for monitoring writing embedded multimedia card EMMC data, monitoring the size of the writing embedded multimedia card EMMC data of each process in a set time period by the monitoring process to acquire and store node information and node total data, analyzing the node information data, analyzing and judging abnormal node information data in the node information data, and repairing. By means of the measures, the problem that when the data written into the memory EMMC reaches the upper limit of the main chip, the main chip cannot work normally, and the service life of the main chip is affected is avoided.

Description

Method, system and storage medium for prolonging service life of mainboard chip
Technical Field
The invention relates to an Android intelligent system technology, in particular to a method, a system and a storage medium for prolonging the service life of a mainboard chip.
Background
With the rapid development of internet technology, various intelligent system devices are increasingly popularized, and the development of various APKs (Android packages) brings more convenience and fun to the life of people. However, when an electronic device is installed in more and more applications, it is often a test for the main chips of the device, because the service life of each main chip is limited, and when the writing amount reaches the upper limit of the main chip, the main chip will not work normally. Therefore, if a user installs or a large amount of write data exist in the main program of the device, the service life of the main chip is greatly shortened, property loss of the client is caused, and the client is dissatisfied. Therefore, frequent write data and a large amount of write data are discovered as early as possible, and the problem is modified as early as possible, which becomes an urgent problem to be solved.
Accordingly, there is a need for improvements and developments in the art.
Disclosure of Invention
In view of the defects of the prior art, the invention provides a method for prolonging the service life of a mainboard chip, which comprises the steps of establishing a process for monitoring and writing data of an Embedded multimedia Card (EMMC) in an operating system kernel (kernel), monitoring the size of the data written by each process in the Embedded multimedia Card (EMMC) in a specified time period, outputting the data corresponding to each process, analyzing the information, finding out abnormality, processing in time, avoiding frequent writing of data and massive writing of data.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a method for improving the service life of a mainboard chip is used for improving the service life of a main chip and comprises the following steps:
A. opening a node function for acquiring process writing in an operating system kernel, and creating a process for writing memory information;
B. acquiring and storing node information and node total data in a set time period, and analyzing the node information data;
C. and analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data.
As a further improved technical solution, in the step a, a node function of acquiring process write is opened in an operating system kernel, and in a process of creating write memory information, the created write memory information process monitors node information data written into a memory in the operating system kernel.
As a further improved technical solution, in the step B, the node information and the total node data are obtained and stored in a set time period, and meanwhile, analyzing the node information data specifically includes the following steps:
the memory writing process monitors node information data written into the memory by each process in a preset time period;
acquiring current node information, and if the current node information is greater than a preset node information threshold, saving current node information data, and a process number and a process name written in the current node information data;
and acquiring total data of the current node, and if the total data of the current node is greater than a preset node total data threshold, storing the node information data before the current node, and the process number and the process name written into the current node information data.
As a further improved technical solution, the analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data in the step C specifically includes the following steps:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory or not according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory.
The invention also provides a system for prolonging the service life of the main board chip, which is used for prolonging the service life of the main chip and comprises a node information monitoring module, a node information analysis module and a problem node information processing module;
the node information acquisition module is used for opening a node function for acquiring process writing in an operating system kernel and creating a process for writing the memory information;
the node information analysis module is used for acquiring and storing node information and node total data in a set time period and analyzing the node information data;
and the problem node information processing module is used for analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data.
As a further improved technical solution, the node information process created by the node information obtaining module monitors node information data written in the memory in an operating system kernel.
As a further improved technical solution, the node information analysis module includes the following specific functions:
the memory writing process monitors node information data written into the memory by each process in a preset time period;
acquiring current node information, and if the current node information is greater than a preset node information threshold, saving current node information data, and a process number and a process name written into the current node information data;
and acquiring total data of the current node, and if the total data of the current node is greater than a preset node total data threshold, storing the node information data before the current node, and the process number and the process name written into the current node information data.
As a further improved technical solution, the problem node information processing module includes the following specific functions:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory or not according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory.
The invention also provides a storage medium, wherein the storage medium stores a program for prolonging the service life of the mainboard chip, and the program for prolonging the service life of the mainboard chip realizes the steps of the method for prolonging the service life of the mainboard chip when being executed by the processor.
Compared with the prior art that frequent write data cannot be monitored, a large amount of write data cannot be monitored, and various applications cannot be controlled to be installed in a large amount, the method and the device have the advantages that the node function for acquiring process write is opened in the kernel of the operating system, the information process of the write memory for monitoring the node information is created, the size of data written into the memory by each process is monitored, the data information is analyzed and judged, the data information is processed according to conditions to be controlled, and the service life of the main chip is well prevented from being damaged due to overload operation.
Drawings
Fig. 1 is a flowchart of a preferred embodiment of the method for prolonging the service life of a motherboard chip according to the present invention.
Fig. 2 is a structural diagram of a preferred embodiment of the system for improving the service life of the motherboard chip according to the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
With the rapid development of network technology and intelligent technology, intelligent system devices, such as smart televisions and smart phones, are rapidly popularized, and the development of various APKs (Android packages) brings great convenience to the life of people and greatly enriches the life of people. However, the more applications an electronic device is installed, the more serious the challenge is to the main chip of the device. Since the computing power of each master chip is limited, the more applications that are installed, the higher the computing power requirements of the master chip. All applications need to write data into the main chip, and when the data volume written into the main chip in a specified time period reaches the upper limit of the main chip, the main chip is blocked and cannot work normally. Meanwhile, if the main program of the device also has a large amount of write data, the main chip will run slowly and even be blocked. All of this results in a reduced life span for the host chip, loss of customer property, and customer dissatisfaction. The method comprises the steps of establishing a process for monitoring write of EMMC data of the embedded multimedia card of the memory in an operating system kernel, monitoring the size of the write of the EMMC data of each process in a specified time period, outputting data corresponding to each process, analyzing information, throwing out the data when the write data in the specified time period is larger than a certain value, keeping the data volume written into a main chip at a reasonable level, keeping the main chip normally running and prolonging the service life of the main chip.
The present invention provides a method for prolonging the service life of a motherboard chip, as shown in fig. 1, which is a flow chart of a preferred embodiment of the method for prolonging the service life of the motherboard chip, the preferred embodiment of the present invention comprises the following steps:
step S100, opening a node function for acquiring process writing in an operating system kernel, and creating a process for writing memory information.
Specifically, in this embodiment, a node function of acquiring process write is opened in an operating system kernel, a write memory information process for monitoring node information is created, the created write memory information process is used in the operating system kernel to monitor data written to the embedded multimedia card EMMC, and the node function of acquiring process write is opened in the operating system kernel, which is convenient for the created write memory information process to monitor data written to the embedded multimedia card EMMC.
And step S200, acquiring and storing the node information and the total node data in a set time period, and analyzing the node information data.
Specifically, in this embodiment, node information and total node data are acquired in a specified time period, the node information is stored, the node information and the total node data are analyzed and judged, the write embedded multimedia card EMMC information of each process is monitored in the set time period through the created write memory information process, the write embedded multimedia card EMMC information is output, the write embedded multimedia card EMMC information is stored, the node information and the total node data written in the memory are acquired, and the write embedded multimedia card EMMC information, that is, the node information and the total node data are stored and analyzed. The method specifically comprises the following steps:
the memory writing process monitors node information data written into the memory by each process in a preset time period;
acquiring current node information, and if the current node information is greater than a preset node information threshold, saving current node information data, and a process number and a process name written in the current node information data;
and acquiring total data of the current node, and if the total data of the current node is larger than a preset node total data threshold, saving the node information data in front of the current node, and the process number and the process name written in the current node information data.
And step S300, analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data.
Specifically, in this embodiment, analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data specifically include the following steps:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory or not according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory. Specifically, when a large amount of data of the embedded multimedia card EMMC are written in a certain process, emergency repair is needed, if the third-party Android installation package APK is adopted, the third-party Android installation package APK can be arranged to be firstly placed off the shelf or modified at the bottom layer of the system, and the third-party Android installation package APK is forbidden to write the embedded multimedia card EMMC, so that the processing of abnormal node information data is completed.
The present invention further provides a system for prolonging the service life of a motherboard chip, which is used for prolonging the service life of a main chip, as shown in fig. 2, the structure diagram of a preferred embodiment of the system for prolonging the service life of a chip of the present invention, the system comprises a node information monitoring module 10, a node information analyzing module 20 and a problem node information processing module 30.
The node information monitoring module 10 is configured to open a node function of acquiring process write in an operating system kernel, and create a process of writing memory information.
In this embodiment, a node function for acquiring process write is opened in an operating system kernel to create a write memory information process for monitoring node information, where the created write memory information process is used in the operating system kernel to monitor data written to the embedded multimedia card EMMC, and the node function for acquiring process write is opened in the operating system kernel, which is convenient for the created write memory information process to monitor data written to the embedded multimedia card EMMC.
The node information analysis module 20 is configured to acquire and store node information and total node data in a set time period, and analyze the node information data at the same time.
Specifically, in this embodiment, node information and node total data are acquired in a specified time period, the node information is stored, the node information and the node total data are analyzed and judged, the write embedded multimedia card EMMC information of each process is monitored in the set time period through the created write memory information process, the information of the write embedded multimedia card EMMC is output, the information of the write embedded multimedia card EMMC is stored, the node information and the node total data written in the memory are acquired, and the information of the write embedded multimedia card EMMC, that is, the node information and the node total data are stored and analyzed. The method specifically comprises the following functions:
and the memory writing process monitors the node information data written into the memory by each process in a preset time period.
And acquiring current node information, and if the current node information is greater than a preset node information threshold, storing the current node information data and the process number and the process name written into the current node information data.
And acquiring total data of the current node, and if the total data of the current node is greater than a preset node total data threshold, storing the node information data before the current node, and the process number and the process name written into the current node information data.
The problem node information processing module 30 is configured to analyze and determine abnormal node information data in the node information data, and repair the abnormal node information data.
Specifically, in this embodiment, analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data specifically include the following functions:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory. Specifically, when a large amount of data of the embedded multimedia card EMMC are written in a certain process, emergency repair is needed, if the third-party Android installation package APK is adopted, the third-party Android installation package APK can be arranged to be firstly placed off the shelf or modified at the bottom layer of the system, and the third-party Android installation package APK is forbidden to write the embedded multimedia card EMMC, so that the processing of abnormal node information data is completed.
The invention also provides a storage medium, which is a computer-readable storage medium, wherein the storage medium stores a program for prolonging the service life of the mainboard chip, and the program for prolonging the service life of the mainboard chip realizes the steps of the method for prolonging the service life of the mainboard chip when being executed by a processor.
It should be understood that the above-mentioned embodiments are merely preferred examples of the present invention, and not restrictive, but rather, all the changes, substitutions, alterations and modifications that come within the spirit and scope of the invention as described above may be made by those skilled in the art, and all the changes, substitutions, alterations and modifications that fall within the scope of the appended claims should be construed as being included in the present invention.

Claims (7)

1. A method for prolonging the service life of a mainboard chip is used for prolonging the service life of a main chip and is characterized by comprising the following steps:
A. opening a node function for acquiring process writing in an operating system kernel, and creating a process for writing memory information;
B. acquiring and storing node information and node total data in a set time period, and analyzing the node information data;
C. analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data;
the step B of acquiring and storing the node information and the node total data in a set time period, and analyzing the node information data specifically includes the following steps:
the information process of the write memory monitors the node information data written into the memory by each process in a preset time period;
acquiring current node information, and if the current node information is greater than a preset node information threshold, saving current node information data, and a process number and a process name written into the current node information data;
and acquiring total data of the current node, and if the total data of the current node is larger than a preset node total data threshold, saving the node information data in front of the current node, and the process number and the process name written in the current node information data.
2. The method according to claim 1, wherein in the step a, a node function for acquiring process write is opened in an operating system kernel, and a memory information write process is created, and the created memory information write process monitors node information data written into a memory in the operating system kernel.
3. The method according to claim 1, wherein the step C of analyzing and judging the abnormal node information data in the node information data and repairing the abnormal node information data specifically comprises the following steps:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory.
4. A system for improving the service life of a mainboard chip is used for improving the service life of a main chip and is characterized by comprising a node information monitoring module, a node information analysis module and a problem node information processing module;
the node information acquisition module is used for opening a node function for acquiring process write in an operating system kernel and creating a process for writing the memory information;
the node information analysis module is used for acquiring and storing node information and node total data in a set time period and analyzing the node information data;
the problem node information processing module is used for analyzing and judging abnormal node information data in the node information data and repairing the abnormal node information data;
the node information analysis module comprises the following specific functions:
the information process of the write memory monitors the node information data written into the memory by each process in a preset time period;
acquiring current node information, and if the current node information is greater than a preset node information threshold, saving current node information data, and a process number and a process name written in the current node information data;
and acquiring total data of the current node, and if the total data of the current node is greater than a preset node total data threshold, storing the node information data before the current node, and the process number and the process name written into the current node information data.
5. The system for prolonging the service life of a mainboard chip according to claim 4, wherein the memory information writing process created by the node information acquisition module monitors the node information data written into the memory in an operating system kernel.
6. The system for prolonging the service life of the mainboard chip according to claim 4, wherein the problem node information processing module comprises the following specific functions:
judging whether a process written into the current node information data has a large amount of actions of writing into a memory according to the stored current node information data;
if the process of writing the current node information data has a large amount of actions of writing into a memory, judging that the current node information data is abnormal node information data;
and deleting the installation package corresponding to the process of the abnormal node information data, or modifying the bottom layer of the system to prohibit the installation package from being written into a memory.
7. A storage medium storing a program for prolonging a service life of a motherboard chip, wherein the program for prolonging the service life of the motherboard chip realizes the steps of the method for prolonging the service life of the motherboard chip according to any one of claims 1 to 3 when the program is executed by a processor.
CN201711457374.6A 2017-12-28 2017-12-28 Method, system and storage medium for prolonging service life of mainboard chip Active CN109976970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711457374.6A CN109976970B (en) 2017-12-28 2017-12-28 Method, system and storage medium for prolonging service life of mainboard chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711457374.6A CN109976970B (en) 2017-12-28 2017-12-28 Method, system and storage medium for prolonging service life of mainboard chip

Publications (2)

Publication Number Publication Date
CN109976970A CN109976970A (en) 2019-07-05
CN109976970B true CN109976970B (en) 2022-11-15

Family

ID=67074456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711457374.6A Active CN109976970B (en) 2017-12-28 2017-12-28 Method, system and storage medium for prolonging service life of mainboard chip

Country Status (1)

Country Link
CN (1) CN109976970B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448794A (en) * 2020-03-26 2021-09-28 青岛海信传媒网络技术有限公司 Process positioning method, device and equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176075A (en) * 2005-05-18 2008-05-07 程滋颐 Circuit and method for improving service lifetime of memory device
CN103514958A (en) * 2012-12-31 2014-01-15 Tcl集团股份有限公司 Method for detecting service life of EMMC (embedded multi-media card) chip
CN103678148A (en) * 2013-12-03 2014-03-26 华为技术有限公司 Method and device for prolonging flash memory chip service life
CN103810074A (en) * 2012-11-14 2014-05-21 华为技术有限公司 System-on-chip and corresponding monitoring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140278247A1 (en) * 2013-03-14 2014-09-18 International Business Machines Corporation Remote electromigration monitoring of electronic chips

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101176075A (en) * 2005-05-18 2008-05-07 程滋颐 Circuit and method for improving service lifetime of memory device
CN103810074A (en) * 2012-11-14 2014-05-21 华为技术有限公司 System-on-chip and corresponding monitoring method
CN103514958A (en) * 2012-12-31 2014-01-15 Tcl集团股份有限公司 Method for detecting service life of EMMC (embedded multi-media card) chip
CN103678148A (en) * 2013-12-03 2014-03-26 华为技术有限公司 Method and device for prolonging flash memory chip service life

Also Published As

Publication number Publication date
CN109976970A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN101593146B (en) Method and device for automatically testing page
US10255434B2 (en) Detecting software attacks on processes in computing devices
CN109656779A (en) Internal memory monitoring method, device, terminal and storage medium
US20240054128A1 (en) Automatic database query load assessment and adaptive handling
CN105279426B (en) Configure the electronic equipment and its correlation technique of application program inter-related task
CN109933504B (en) Hard disk delay test method, device, terminal and storage medium
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
US20200136988A1 (en) Resource optimization and update method, server, and device
WO2016023520A1 (en) Method and device for recognizing application causing temperature rise of terminal, and terminal
WO2019148657A1 (en) Method for testing associated environments, electronic device and computer readable storage medium
CN109976970B (en) Method, system and storage medium for prolonging service life of mainboard chip
US20180144134A1 (en) Detection system and detection method
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
US8291389B2 (en) Automatically detecting non-modifying transforms when profiling source code
US9842064B2 (en) Electronic apparatus and management method thereof
CN113971977A (en) Method, device and equipment for detecting read interference influence of memory and storage medium
CN115509618A (en) Drive control method, device, apparatus, storage medium, and program product
CN104794040A (en) Service monitoring method, device and system
CN115310096A (en) Security vulnerability processing method, device, equipment and medium
CN113470725A (en) Method and device for testing dynamic random access memory
CN112463645A (en) Test case scheduling method, device, terminal and storage medium
CN111356987B (en) Dynamic memory identification method and device
CN113127051B (en) Application resource packaging process monitoring method, device, equipment and medium
CN113836012B (en) Algorithm testing method and device, electronic equipment and storage medium
CN108415814A (en) Automatically record field changing method, application server and computer readable 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
GR01 Patent grant
GR01 Patent grant