A method, system and mobile terminal for monitoring the health status of storage medium
By obtaining EMMC health status data when the mobile terminal is initialized and monitoring it in real time, the problem that the mobile terminal cannot accurately calculate the life of the storage medium is solved, early warning and life extension are achieved, and the user experience and after-sales analysis capabilities are improved.
Patent Information
- Application Number
- CN202011349583.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-11-26
AI Technical Summary
Existing mobile terminals cannot accurately calculate the life of EMMC storage media, and cannot obtain the health status of EMMC in advance, resulting in the inability to provide timely warnings and reducing user experience.
Obtain health status data through the mobile terminal when the storage medium is initialized and send it to the big data platform. Monitor the health status of EMMC in real time, set monitoring indicators such as the number of erasures, the number of bad blocks and the amount of writing, analyze user behavior information, and optimize reading and writing. operations and issue early warnings in abnormal situations.
It realizes early warning of EMMC health status abnormalities, extends the service life of EMMC, improves user experience, and helps analyze problems when customers return after sales.
Smart Images

Figure CN112363880B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile terminals, and in particular to a method, system and mobile terminal for monitoring the health status of a storage medium. Background Art
[0002] Currently, the storage medium of mobile terminals on the market is mainly eMMC (Embedded Multi Media Card). Since eMMC is used for storage, most of them can only simply see some information related to the storage capacity, so it is impossible to accurately calculate the life of eMMC.
[0003] At the same time, regarding the mobile terminals returned by customers, if the problem involved is related to the eMMC hardware, it is impossible to obtain the health status of the eMMC in advance, and it is impossible to make early warnings based on the health status of the eMMC, which results in the user and the product party being unable to obtain the service life of the mobile terminal in a timely manner, reducing the user experience. Summary of the invention
[0004] The present invention provides a method, a system and a mobile terminal for monitoring the health status of a storage medium, which solves the problem that the life of an emmc cannot be accurately calculated.
[0005] The technical solution provided by the present invention is as follows:
[0006] In one aspect, the present invention provides a method for monitoring the health status of a storage medium, comprising the following steps:
[0007] When the storage medium is initialized, the health status data of the storage medium is obtained through the mobile terminal and saved in the bottom layer node of the mobile terminal;
[0008] Reading the health status data of the storage medium from the underlying node through the mobile terminal and sending it to the big data platform;
[0009] The big data platform monitors the health status of the storage medium in real time based on the health status data of the storage medium.
[0010] Further preferably, when the storage medium is initialized, the health status data of the storage medium is obtained by an acquisition module and stored in the bottom node, including the steps of:
[0011] Send the cmd parameter and the arg parameter of the storage medium to the storage medium to obtain the health status data of the storage medium.
[0012] Further preferably, the reading of the health status data of the storage medium from the underlying node through the mobile terminal and sending the data to the big data platform comprises the steps of:
[0013] The health status data of the storage medium is periodically obtained from the underlying node through the upper-layer driver of the mobile terminal, and sent to the big data platform.
[0014] Further preferably, before monitoring the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform, the steps include:
[0015] Monitoring indicators are set through the big data platform, and the monitoring indicators include the manufacturer model of the storage medium, the number of erasures of different flash memory chips, the average number of erasures, the maximum number of erasures, the number of bad blocks, the number of original bad blocks, the number of newly added bad blocks, and the write volume.
[0016] Further preferably, after monitoring the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform, the method further comprises the steps of:
[0017] When the big data platform obtains the monitoring indicator, it analyzes whether there is an abnormal indicator exceeding the corresponding preset range in the health status data corresponding to the monitoring indicator;
[0018] When the abnormal indicators exist, an early warning is issued simultaneously.
[0019] Further preferably, after monitoring the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform, the method further includes the following steps:
[0020] Establishing a user model based on the health status data through the big data platform to analyze the user's behavior information of using the storage medium, wherein the behavior information includes the usage time of each application and the corresponding write amount;
[0021] Based on the usage duration and write volume of each application, the read and write operations of the storage medium are optimized.
[0022] Further preferably, after monitoring the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform, the method further comprises the steps of:
[0023] The big data platform analyzes the cause of the abnormality of the storage medium based on the health status data of the storage medium.
[0024] In another aspect, the present invention provides a mobile terminal, comprising:
[0025] Storage media;
[0026] An acquisition module, used to acquire the health status data of the storage medium and save it to the bottom node of the mobile terminal when the storage medium is initialized;
[0027] The upper layer driver is used to read the health status data of the storage medium from the bottom layer node and send it to the big data platform.
[0028] Further preferably, the acquisition module is also used for:
[0029] Send the cmd parameter and the arg parameter of the storage medium to the storage medium to obtain the health status data of the storage medium.
[0030] The present invention also provides a system for monitoring the health status of a storage medium, comprising the mobile terminal;
[0031] A big data platform is used to monitor the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0032] The present invention provides a method, system and mobile terminal for monitoring the health status of a storage medium, which have at least the following beneficial effects:
[0033] 1) The present invention can firstly provide an early warning of abnormal indicators of emmc health status data, and track and prevent mobile terminals in advance.
[0034] 2) Secondly, the present invention can also obtain information such as the eMMC write amount to establish a user model, analyze the user's usage behavior habits, etc., and optimize the eMMC consumption in a targeted manner to increase the eMMC lifespan.
[0035] 3) For some mobile terminals returned by customers after sales, the emmc information obtained by the present invention can also help analyze the problem, such as whether the mobile terminal cannot be turned on due to too many bad blocks or the TBW life is approaching. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments:
[0037] Figure 1 It is a flowchart of an embodiment of a method for monitoring the health status of a storage medium of the present invention;
[0038] Figure 2 is a flow chart of another embodiment of a method for monitoring the health status of a storage medium in the present invention;
[0039] Figure 3 is a flow chart of another embodiment of a method for monitoring the health status of a storage medium in the present invention;
[0040] Figure 4 is a flow chart of another embodiment of a method for monitoring the health status of a storage medium in the present invention;
[0041] Figure 5 is a flow chart of another embodiment of a method for monitoring the health status of a storage medium in the present invention;
[0042] Figure 6 is a flow chart of another embodiment of a method for monitoring the health status of a storage medium in the present invention;
[0043] Figure 7 It is a schematic diagram of the process of obtaining the number of erasure times in the present invention. DETAILED DESCRIPTION
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] In order to simplify the drawings, only the parts related to the present invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0046] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0047] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0048] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0050] Embodiment 1
[0051] like Figure 1 As shown, the present invention provides an embodiment of a method for monitoring the health status of a storage medium, comprising the following steps:
[0052] S100 When the storage medium is initialized, the health status data of the storage medium is obtained through the mobile terminal and saved in the bottom node of the mobile terminal.
[0053] Specifically, mobile terminals include mobile phones, watches, tablet computers and other mobile terminals that use storage media. Among them, the mainstream storage media of mobile terminals include EMMC (Embedded Multi Media Card), which consists of an embedded storage solution with an MMC (Multimedia Card) interface, flash memory device and main controller. Health status data mainly refers to the life of eMMC, such as SLC / MLC / TLC erase times, write volume, original bad blocks, and newly added bad blocks.
[0054] Exemplarily, when the EMMC is turned on, that is, when the EMMC underlying driver is initialized, the mobile terminal promptly obtains the health status data of the EMMC and stores it in the node created at the underlying layer for subsequent analysis of the EMMC lifespan.
[0055] S200 reads the health status data of the storage medium from the underlying node through the mobile terminal and sends it to the big data platform.
[0056] Specifically, the upper layer periodically reads the health status data of the EMMC in the nodes created by the lower layer and uploads it to the big data server. At this point, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0057] S300 monitors the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0058] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0059] In this embodiment, by acquiring the health status data of the EMMC in real time, it is possible to warn of abnormal indicators of the health status data of the EMMC in advance and track and prevent mobile terminals in advance.
[0060] Embodiment 2
[0061] Based on the above embodiments, Figure 2 As shown, the same parts as the above embodiments are not described one by one in this embodiment. This embodiment provides a method for monitoring the health status of a storage medium, including the following steps:
[0062] Preferably, when the storage medium is initialized in step S100, the health status data of the storage medium is obtained by the obtaining module and stored in the bottom node, including the steps of:
[0063] S101 sends a cmd parameter and an arg parameter of the storage medium to the storage medium to obtain health status data of the storage medium.
[0064] Specifically, the firmware of the emmc manufacturer can obtain the number of erase times, etc. Each EMMC has its own corresponding custom cmd parameters and arg parameters. We can use these cmd parameters and arg parameters to obtain these data from the emmc firmware.
[0065] In this embodiment, since the health status data of the EMMC can be obtained through the cmd parameter and the arg parameter, the cmd parameter and the arg parameter are first obtained from the EMMC firmware manufacturer. When the EMMC is initialized, the cmd parameter and the arg parameter are sent to read the required health status data from the EMMC end, for example: the required number of erase times, the number of bad blocks, the write amount and other related health information.
[0066] S200 reads the health status data of the storage medium from the underlying node through the mobile terminal and sends it to the big data platform.
[0067] Specifically, there are data nodes at the bottom layer, and the upper layer obtains data by reading the nodes at the bottom layer. The upper layer can customize the timing trigger to obtain the data of the bottom layer nodes.
[0068] Exemplarily, the upper layer periodically reads the health status data of the EMMC in the node created by the lower layer and uploads it to the big data server. Thus, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0069] S300 monitors the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0070] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0071] In this embodiment, by acquiring the health status data of the EMMC in real time, it is possible to warn of abnormal indicators of the health status data of the EMMC in advance and track and prevent mobile terminals in advance.
[0072] Embodiment 3
[0073] Based on the above embodiments, Figure 3 The same parts of this embodiment as those of the above embodiment will not be described one by one. This embodiment provides a method for monitoring the health status of a storage medium, including the following steps:
[0074] S100 When the storage medium is initialized, the health status data of the storage medium is obtained through the mobile terminal and saved in the bottom node of the mobile terminal.
[0075] Specifically, mobile terminals include mobile phones, watches, tablet computers, and other mobile terminals that use storage media. Among them, the mainstream storage media of mobile terminals include EMMC (Embedded Multi Media Card), which consists of an embedded storage solution with an MMC (Multimedia Card) interface, a flash memory device, and a host controller.
[0076] Exemplarily, when the EMMC is turned on, that is, when the EMMC underlying driver is initialized, the mobile terminal promptly obtains the health status data of the EMMC and stores it in the node created at the underlying layer for subsequent analysis of the EMMC lifespan.
[0077] S200 reads the health status data of the storage medium from the underlying node through the mobile terminal and sends it to the big data platform.
[0078] Specifically, the upper layer periodically reads the health status data of the EMMC in the nodes created by the lower layer and uploads it to the big data server. At this point, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0079] S300 monitors the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0080] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0081] In this embodiment, by acquiring the health status data of the EMMC in real time, it is possible to warn of abnormal indicators of the health status data of the EMMC in advance and track and prevent mobile terminals in advance.
[0082] Preferably, before the step S300 of monitoring the health status of the storage medium in real time through the big data platform based on the health status data of the storage medium, the steps include:
[0083] Monitoring indicators are set through the big data platform, and the monitoring indicators include the manufacturer model of the storage medium, the number of erasures of different flash memory chips, the average number of erasures, the maximum number of erasures, the number of bad blocks, the number of original bad blocks, the number of newly added bad blocks, and the write volume.
[0084] Preferably, step S300 of reading the health status data of the storage medium from the underlying node through the mobile terminal and sending it to the big data platform includes the following steps:
[0085] The health status data of the storage medium is periodically obtained from the underlying node through the upper-layer driver of the mobile terminal, and sent to the big data platform.
[0086] Preferably, after the step S300 of monitoring the health status of the storage medium in real time through the big data platform based on the health status data of the storage medium, the following steps are included:
[0087] S301: when the big data platform obtains the monitoring indicator, analyzing whether there is an abnormal indicator exceeding the corresponding preset range in the health status data corresponding to the monitoring indicator;
[0088] S302 When the abnormal indicator exists, an early warning is issued simultaneously.
[0089] Specifically, big data sets monitoring conditions, such as write volume indicators or erase count indicators. As long as the big data background obtains these indicators of the machine and exceeds the range indicators we specify, an alarm will be issued. For example, if the write volume is specified to be 5T, then the background monitors that the write volume of the watch exceeds 5T, then an alarm will be issued.
[0090] Exemplarily, the early warning method may include: if the big data platform detects data anomalies, it will send the abnormal data to relevant personnel through methods such as email, corporate WeChat, etc., to remind them of the abnormal status to provide prevention and warning effects.
[0091] In this embodiment, by acquiring the health status data of the EMMC in real time, it is possible to warn of abnormal indicators of the health status data of the EMMC in advance and track and prevent mobile terminals in advance.
[0092] Embodiment 4
[0093] Based on the above embodiments, Figure 4 As shown, the same parts as the above embodiments are not described one by one in this embodiment. This embodiment provides a method for monitoring the health status of a storage medium, including the following steps:
[0094] S100 When the storage medium is initialized, the health status data of the storage medium is obtained through the mobile terminal and saved in the bottom node of the mobile terminal.
[0095] Specifically, mobile terminals include mobile phones, watches, tablet computers, and other mobile terminals that use storage media. Among them, the mainstream storage media of mobile terminals include EMMC (Embedded Multi Media Card), which consists of an embedded storage solution with an MMC (Multimedia Card) interface, a flash memory device, and a host controller.
[0096] Exemplarily, when the EMMC is turned on, that is, when the EMMC underlying driver is initialized, the mobile terminal promptly obtains the health status data of the EMMC and stores it in the node created at the underlying layer for subsequent analysis of the EMMC lifespan.
[0097] S200 reads the health status data of the storage medium from the underlying node through the mobile terminal and sends it to the big data platform.
[0098] Specifically, the upper layer periodically reads the health status data of the EMMC in the nodes created by the lower layer and uploads it to the big data server. At this point, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0099] S300 monitors the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0100] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0101] Preferably, after the step S300 of monitoring the health status of the storage medium in real time through the big data platform based on the health status data of the storage medium, the step further includes:
[0102] S303 establishes a user model based on the health status data through the big data platform to analyze the user's behavior information on using the storage medium, wherein the behavior information includes the usage time of each application and the corresponding write volume.
[0103] Specifically, it is mainly based on the acquired health data, which is classified, summarized and organized to establish a user model based on a timeline, such as the usage status and habitual behavior from 8:00 to 20:00 every day.
[0104] S304 optimizes the read and write operations of the storage medium based on the usage duration and write volume of each of the applications.
[0105] Specifically, the user's daily usage behavior can be monitored in the background, for example, how long the communication software (WeChat app) is used. Then, the amount of eMMC writes is taken, and a certain proportion of users are collected as sample data to analyze the user's usage behavior. At the same time, some read and write operations are optimized for different software to enhance the life of eMMC.
[0106] In this embodiment, information such as the eMMC write amount can be obtained to establish a user model, analyze the user's usage behavior habits, etc., and optimize the eMMC consumption in a targeted manner to increase the life of the eMMC.
[0107] Embodiment 5
[0108] Based on the above embodiments, Figure 5 As shown, the same parts as the above embodiments are not described one by one in this embodiment. This embodiment provides a method for monitoring the health status of a storage medium, including the following steps:
[0109] S100 When the storage medium is initialized, the health status data of the storage medium is obtained through the mobile terminal and saved in the bottom node of the mobile terminal.
[0110] Specifically, mobile terminals include mobile phones, watches, tablet computers, and other mobile terminals that use storage media. Among them, the mainstream storage media of mobile terminals include EMMC (Embedded Multi Media Card), which consists of an embedded storage solution with an MMC (Multimedia Card) interface, a flash memory device, and a host controller.
[0111] Exemplarily, when the EMMC is turned on, that is, when the EMMC underlying driver is initialized, the mobile terminal promptly obtains the health status data of the EMMC and stores it in the node created at the underlying layer for subsequent analysis of the EMMC lifespan.
[0112] S200 reads the health status data of the storage medium from the underlying node through the mobile terminal and sends it to the big data platform.
[0113] Specifically, the upper layer periodically reads the health status data of the EMMC in the nodes created by the lower layer and uploads it to the big data server. At this point, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0114] S300 monitors the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0115] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0116] Preferably, after the step S300 of monitoring the health status of the storage medium in real time through the big data platform based on the health status data of the storage medium, the following steps are included:
[0117] S305: Analyze the cause of the abnormality of the storage medium based on the health status data of the storage medium through the big data platform.
[0118] In this embodiment, the health status data can be used to analyze specific problems. For example, if the health data shows that there are too many bad blocks, the relevant impact points of the bad blocks can be checked, such as whether the voltage has been abnormal. If the number of erases in the health status data is too much, the software usage can be checked.
[0119] In this embodiment, the corresponding influencing points can be analyzed according to the abnormalities of specific indicators in the health status data, and the real influencing points can be further determined, thereby narrowing the scope of analysis and improving the efficiency of the analysis.
[0120] Embodiment 6
[0121] Based on the above embodiments, Figure 6 As shown, the same parts as the above embodiments are not described one by one in this embodiment. This embodiment provides a method for monitoring the health status of a storage medium, including the following steps:
[0122] The present invention is designed and used based on the mobile terminal using emmc storage; when the emmc device is initialized, the custom cmd and arg parameters are sent to obtain the required number of erase times, number of bad blocks, write volume and other related health information from the emmc end. Figure 7 A process for obtaining the number of erase times is shown below:
[0123] The acquired eMMC health data is saved in the node created by the bottom layer; the upper layer obtains the data in the node regularly and uploads it to the big data server. At this point, the big data platform obtains the health data of the mobile terminal eMMC in real time.
[0124] The data are the manufacturer model of the eMMC, the number of original bad blocks, the number of newly added bad blocks, the average number of TLC erases, the maximum number of erases, and the amount of writes. The following is an example of the health data in the node:
[0125] / devices / platform / soc / 7824900.sdhci / mmc_host / mmc0 / mmc0:0001 / dev ice_report
[0126] Name:EP0808,Ori:10,Increase:0,Avg:80,Max:90,WriteSize:809
[0127] Among them, the EMMC model is EP0808, Ori is the original number of bad blocks: 10, Increase is the number of newly added bad blocks: 0, Avg is the average number of erase times of TLC: 80, Max is the maximum number of erase times: 90, and WriteSize is the write amount: 90.
[0128] For the eMMC-related data obtained from big data, internal sampling analysis and research can be carried out to extract valuable information and optimize the eMMC-related processes.
[0129] Compared with the traditional approach, the present invention has the following advantages: First, it can warn of abnormal indicators of eMMC health status data in advance and track and prevent mobile terminals in advance. Secondly, it can also obtain information such as eMMC write volume to establish a user model, analyze the user's usage behavior habits, etc., and optimize the eMMC consumption in a targeted manner to increase the eMMC life. Finally, for some mobile terminals returned by after-sales customers, the obtained eMMC information can also help analyze the problem, such as whether there are too many bad blocks or the TBW life is close, which leads to the inability to boot.
[0130] Embodiment 7
[0131] In another aspect, the present invention provides a mobile terminal, comprising:
[0132] Storage media.
[0133] The acquisition module is used to acquire the health status data of the storage medium and save it to the bottom node of the mobile terminal when the storage medium is initialized.
[0134] The upper layer driver is used to read the health status data of the storage medium from the bottom layer node and send it to the big data platform.
[0135] Specifically, there are data nodes at the bottom layer, and the upper layer obtains data by reading the nodes at the bottom layer. The upper layer can customize the timing trigger to obtain the data of the bottom layer nodes.
[0136] Exemplarily, the upper layer periodically reads the health status data of the EMMC in the node created by the lower layer and uploads it to the big data server. Thus, the big data platform obtains the health status data of the EMMC in the mobile terminal in real time.
[0137] Preferably, the acquisition module is also used for:
[0138] Send the cmd parameter and the arg parameter of the storage medium to the storage medium to obtain the health status data of the storage medium.
[0139] In this embodiment, the storage medium is a storage medium of a mobile terminal, such as EMMC. When the EMMC is turned on, the mobile terminal sends a cmd parameter and an arg parameter of the storage medium to the storage medium to obtain health status data of the storage medium.
[0140] Specifically, the firmware of the emmc manufacturer can obtain the number of erase times, etc. Each EMMC has its own corresponding custom cmd parameters and arg parameters. We can use these cmd parameters and arg parameters to obtain these data from the emmc firmware.
[0141] In this embodiment, since the health status data of the EMMC can be obtained through the cmd parameter and the arg parameter, the cmd parameter and the arg parameter are first obtained from the EMMC firmware manufacturer. When the EMMC is initialized, the cmd parameter and the arg parameter are sent to read the required health status data from the EMMC end, for example: the required number of erase times, the number of bad blocks, the write amount and other related health information.
[0142] Specifically, after obtaining the health status data of the EMMC, the big data platform analyzes and calculates the health status data of the EMMC and monitors the life of the EMMC in real time.
[0143] Compared with the traditional approach, the present invention has the following advantages: First, it can warn of abnormal indicators of eMMC health status data in advance and track and prevent mobile terminals in advance. Secondly, it can also obtain information such as eMMC write volume to establish a user model, analyze the user's usage behavior habits, etc., and optimize the eMMC consumption in a targeted manner to increase the eMMC life. Finally, for some mobile terminals returned by after-sales customers, the obtained eMMC information can also help analyze the problem, such as whether there are too many bad blocks or the TBW life is close, which leads to the inability to boot.
[0144] Embodiment 8
[0145] The present invention also provides a system for monitoring the health status of a storage medium, comprising the mobile terminal;
[0146] A big data platform is used to monitor the health status of the storage medium in real time based on the health status data of the storage medium through the big data platform.
[0147] Specifically, the big data platform in this embodiment is used to monitor the health status of EMMC in real time. When the mobile terminal sends the health status data of EMMC to the server side of the big data platform, the big data platform can monitor the life of EMMC in real time based on these health status data, and use these health status data to analyze various indicators of EMMC.
[0148] Compared with the traditional approach, the present invention has the following advantages: First, it can warn of abnormal indicators of eMMC health status data in advance and track and prevent mobile terminals in advance. Secondly, it can also obtain information such as eMMC write volume to establish a user model, analyze the user's usage behavior habits, etc., and optimize the eMMC consumption in a targeted manner to increase the eMMC life. Finally, for some mobile terminals returned by after-sales customers, the obtained eMMC information can also help analyze the problem, such as whether there are too many bad blocks or the TBW life is close, which leads to the inability to boot.
[0149] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0150] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. Exemplarily, the system embodiments described above are merely schematic. Exemplarily, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. Exemplarily, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0151] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0153] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
Claims
1. A method for monitoring the health status of a storage medium, characterized in that: The following steps are involved: When the emmc storage medium is initialized, the health status data of the emmc storage medium is obtained through the mobile terminal and saved in the bottom layer node of the mobile terminal; Sending a cmd parameter and an arg parameter of the emmc storage medium to the emmc storage medium to obtain health status data of the emmc storage medium; Read the health status data of the eMMC storage medium from the bottom node through the mobile terminal, and send it to the big data platform; regularly obtain the health status data of the eMMC storage medium from the bottom node through the upper layer driver of the mobile terminal, and send it to the big data platform; Based on the health status data of the emmc storage medium, the health status of the emmc storage medium is monitored in real time by the big data platform; Establishing a user model based on the health status data through the big data platform to analyze the user's behavior information of using the emmc storage medium, wherein the behavior information includes the usage time of each application and the corresponding write amount; Based on the usage time and write volume of each application, the read and write operations of the eMMC storage medium are optimized.
2. The method for monitoring the health status of a storage medium according to claim 1, characterized in that: Before the health status of the eMMC storage medium is monitored in real time based on the health status data of the eMMC storage medium through the big data platform, the steps include: Monitoring indicators are set through the big data platform, and the monitoring indicators include the manufacturer model of the eMMC storage medium, the number of erase times of different flash memory chips, the average number of erase times, the maximum number of erase times, the number of bad blocks, the number of original bad blocks, the number of newly added bad blocks, and the write volume.
3. The method for monitoring the health status of a storage medium according to claim 2, characterized in that: After the health status of the eMMC storage medium is monitored in real time based on the health status data of the eMMC storage medium through the big data platform, the method includes the following steps: When the big data platform obtains the monitoring indicator, it analyzes whether there is an abnormal indicator exceeding the corresponding preset range in the health status data corresponding to the monitoring indicator; When the abnormal indicators exist, an early warning is issued simultaneously.
4. The method for monitoring the health status of a storage medium according to claim 2, characterized in that: After the health status of the eMMC storage medium is monitored in real time based on the health status data of the eMMC storage medium through the big data platform, the method includes the following steps: The big data platform analyzes the cause of the abnormality of the emmc storage medium based on the health status data of the emmc storage medium.
Citation Information
Patent Citations
Data write-in operation monitoring method and terminal thereof
CN109857612A
Storage equipment health degree detection method and device and storage medium
CN110471802A
