CN107851456A - Discrimination method and its mobile terminal, the terminal device of storage card - Google Patents

Discrimination method and its mobile terminal, the terminal device of storage card Download PDF

Info

Publication number
CN107851456A
CN107851456A CN201580082092.5A CN201580082092A CN107851456A CN 107851456 A CN107851456 A CN 107851456A CN 201580082092 A CN201580082092 A CN 201580082092A CN 107851456 A CN107851456 A CN 107851456A
Authority
CN
China
Prior art keywords
memory card
data
mobile terminal
identification information
storage capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201580082092.5A
Other languages
Chinese (zh)
Other versions
CN107851456B (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.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107851456A publication Critical patent/CN107851456A/en
Application granted granted Critical
Publication of CN107851456B publication Critical patent/CN107851456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the present invention provides a kind of discrimination method and its mobile terminal, terminal device of storage card;The discrimination method includes:Infomation detection is identified to connected storage card to obtain the demarcation memory capacity of storage card in mobile terminal;Mobile terminal fills the data of predetermined quantity into storage card, and judges whether meet predetermined condition between predetermined quantity and the demarcation memory capacity of storage card;And when a predetermined condition is satisfied, it is determined that the demarcation memory capacity of storage card is correct.The application obtains the demarcation memory capacity of storage card by the way that infomation detection is identified to storage card, then the data of predetermined quantity are filled into storage card, and by judging to be packed between the predetermined quantity data of storage card and the demarcation memory capacity of storage card to meet predetermined condition to determine the actual storage capacity of storage card, storage card can be differentiated using mobile terminal with convenient, fast and accurate.

Description

Memory card authentication method, mobile terminal and terminal equipment
[ technical field ] A method for producing a semiconductor device
The invention belongs to the technical field of mobile equipment memory card identification, and particularly relates to a memory card identification method of a mobile terminal and the mobile terminal thereof, and also relates to a terminal device.
[ background of the invention ]
The use of memory cards is a common method for expanding the memory of mobile devices (such as mobile phones, MP3, etc.), but the memory cards on the market are various and hard to distinguish. Not only does a fake memory card not have sufficient nominal storage capacity, it may also result in a significant reduction in storage performance. The read-write speed of the memory card generally does not meet the standard requirements, and the memory card with the slower read-write speed even influences the performance of the whole mobile equipment.
The following methods are generally used to authenticate memory cards in the prior art. 1) The memory card is distinguished by observing the appearance and the material of the memory card, and the memory cards produced by different manufacturers have different appearances and materials, so that the identification difficulty is high, and the accuracy is low; 2) the anti-counterfeiting code or the anti-counterfeiting mark pasted on the memory card is scanned for identification, and the method needs to use special equipment to scan the anti-counterfeiting code or the anti-counterfeiting mark, so that the operation is relatively complex; 3) the identification is carried out through software on a computer, the method needs to be completed with assistance of the computer, and although the accuracy is high, the portability of the computer is not strong, so that the timeliness of the identification is difficult to ensure.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a memory card authentication method for a mobile terminal, and a mobile terminal and a terminal device thereof, so as to solve the technical problems of inaccurate memory card authentication and complex authentication process.
In order to solve the above technical problem, a first aspect of the present application provides a memory card authentication method for a mobile terminal, where the memory card authentication method includes: the mobile terminal detects the identification information of a memory card connected with the mobile terminal to obtain the calibrated memory capacity of the memory card; the mobile terminal fills data with a preset quantity into the memory card and judges whether the preset quantity and the calibrated storage capacity of the memory card meet a preset condition or not; and when the preset condition is met, determining that the calibrated storage capacity of the memory card is correct.
With reference to the first aspect, in a first possible implementation manner, the predetermined condition is that the predetermined amount of data filled into the memory card reaches an amount that is a certain percentage of a nominal storage capacity of the memory card;
the step of filling a predetermined amount of data into the memory card and determining whether a predetermined condition is satisfied between the predetermined amount and the nominal storage capacity of the memory card is specifically as follows: filling data of a preset proportion of the calibrated storage capacity of the storage card into the storage card, and judging whether the storage space of the storage card has residual capacity; if the storage space is determined to have the residual capacity, continuously filling the data of the memory card with the residual capacity in a preset proportion; and if the storage space is determined to have no residual capacity, judging whether the quantity of the data filled into the storage card is the same as the preset quantity.
With reference to the first aspect, in a second possible implementation manner, the predetermined condition is that the predetermined amount of data filled into the memory card reaches an amount that is a certain percentage of a nominal storage capacity of the memory card;
the step of filling a predetermined amount of data into the memory card and determining whether a predetermined condition is satisfied between the predetermined amount and the nominal storage capacity of the memory card is specifically as follows: continuously filling data into the memory card until the memory space of the memory card is filled; and judging whether the quantity of the data filled into the memory card is the same as the preset quantity.
With reference to the first or second possible implementation manner of the first aspect, in a third possible implementation manner, after the step of determining that the nominal storage capacity of the memory card is correct, the method further includes: acquiring the actual read-write speed of the memory card; informing a user of the actual read-write speed information or inquiring calibrated read-write speed information corresponding to the memory card identification information through a network so as to determine a detection comparison result of the read-write speed of the memory card; and recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual storage capacity after authentication and/or the actual reading and writing speed information.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a fourth possible implementation manner, when the predetermined condition is not satisfied, the memory card authentication method further includes, after the step of determining that the predetermined condition is not satisfied: and determining the actual storage capacity of the memory card according to the data quantity filled in the memory card, and informing a user of the actual storage capacity information of the memory card.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, after the step of notifying the user of the actual storage capacity information of the memory card and/or before the step of acquiring the actual read-write speed of the memory card, the method further includes: and clearing the data filled in the memory card.
With reference to the first aspect, in a sixth possible implementation manner, after the step of detecting, by the mobile terminal, the identification information of the memory card connected to the mobile terminal to obtain the calibrated storage capacity of the memory card, the method further includes: matching the obtained identification information of the memory card with the identification information of the memory card stored in the mobile terminal; if the matching result is judged to be yes, the matched memory card identification information is notified to the user; and if the matching result is judged to be negative, filling a preset amount of data into the memory card, and judging whether a preset condition is met between the preset amount and the calibrated storage capacity of the memory card.
In order to solve the above technical problem, a second aspect of the present application further provides a mobile terminal, including: the identification information detection module is used for detecting the identification information of the mobile terminal memory card to obtain the calibrated memory capacity of the memory card; the data filling module is used for filling a preset amount of data into the memory card; and the judging module is used for judging whether the preset quantity and the calibrated storage capacity of the memory card meet the preset condition, and when the preset condition is met, the calibrated storage capacity of the memory card is determined to be correct.
With reference to the second aspect, in a first possible implementation manner, the data filling module fills data of a predetermined ratio of the calibrated storage capacity of the storage card into the storage card, the determining module determines whether the storage space of the storage card has a remaining capacity, and if the storage space has the remaining capacity, continues to fill the data of the predetermined ratio of the remaining capacity of the storage card; if the storage space is judged to have no residual capacity, continuously judging whether the quantity of the data filled into the storage card is the same as the preset quantity or not; the preset condition is that the preset amount of data filled into the memory card reaches a certain percentage of the nominal storage capacity of the memory card.
With reference to the second aspect, in a second possible implementation manner, the data filling module is configured to fill the memory card with data until the memory space of the memory card is filled, and the determining module determines whether the amount of the data filled into the memory card is the same as the predetermined amount; the preset condition is that the preset amount of data filled into the memory card reaches a certain percentage of the nominal storage capacity of the memory card.
With reference to the second aspect, in a fourth possible implementation manner, the mobile terminal further includes a notification module, the determination module determines an actual storage capacity of the memory card according to the amount of data filled into the memory card, and the notification module notifies a user of information of the actual storage capacity of the memory card.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a fifth possible implementation manner, the mobile terminal further includes an obtaining module, an inquiring module, and a comparing module, where the obtaining module is configured to obtain an actual read-write speed of the memory card, the inquiring module inquires calibrated read-write speed information corresponding to the memory card identification information through a network, and the comparing module compares the calibrated read-write speed corresponding to the memory card identification information with the actual read-write speed obtained by the obtaining module to determine a detection comparison result of the memory card read-write speed; the notification module is also used for notifying the user of the actual reading and writing speed information.
With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner, the mobile terminal further includes a data clearing module and a data recording module, where the data clearing module is configured to clear data filled in the memory card; the data recording module is used for recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual memory capacity after authentication and/or the actual read-write speed information.
With reference to any one of the third possible implementation manners of the second aspect to the second aspect, in a seventh possible implementation manner, the mobile terminal further includes a matching module; the matching module is used for matching the acquired identification information of the memory card with the identification information of the memory card stored in the mobile terminal; the judging module judges the matching result, and if the matching result is judged to be yes, the matched memory card identification information is notified to the user; and if the matching result is judged to be negative, filling a preset amount of data into the memory card, and judging whether a preset condition is met between the preset amount and the calibrated storage capacity of the memory card.
In order to solve the above technical problem, a third aspect of the present application further provides a terminal device, where the terminal device includes a processor and a display; the processor is used for detecting the identification information of the memory card accessed by the mobile terminal to obtain the calibrated storage capacity of the memory card, filling a preset amount of data into the memory card and judging whether the preset amount and the calibrated storage capacity of the memory card meet a preset condition or not; when the preset condition is met, determining that the calibrated storage capacity of the storage card is correct; the display is used for displaying prompt information and detection result information in the detection process.
With reference to the third aspect, in a first possible implementation manner, the processor is specifically configured to: filling data of a preset proportion of the calibrated storage capacity of the storage card into the storage card, judging whether the storage space of the storage card has residual capacity, and if the storage space has residual capacity, continuing to fill the data of the preset proportion of the residual capacity of the storage card; and if the storage space is judged to have no residual capacity, continuously judging whether the quantity of the data filled into the storage card is the same as the preset quantity, wherein the preset condition is that the quantity of the data filled into the storage card in the preset quantity reaches a certain percentage of the rated storage capacity of the storage card.
With reference to the third aspect, in a second possible implementation manner, the processor is specifically configured to: and filling data into the memory card until the memory space of the memory card is filled completely, and judging whether the quantity of the data filled into the memory card is the same as the preset quantity, wherein the preset condition is that the quantity of the data filled into the memory card with the preset quantity reaches a certain percentage of the rated memory capacity of the memory card.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a third possible implementation manner, the processor is further configured to: acquiring the actual read-write speed of the memory card, inquiring the calibrated read-write speed information corresponding to the memory card identification information through a network, comparing the calibrated read-write speed corresponding to the memory card identification information with the acquired actual read-write speed to determine a detection comparison result of the memory card read-write speed, and informing a user of the actual read-write speed information.
With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner, the processor is further configured to: clearing the data filled in the memory card; and recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual memory capacity after authentication and/or the actual read-write speed information.
In the scheme, the calibration storage capacity of the memory card is obtained by detecting the identification information of the memory card, then the memory card is filled with the data with the preset quantity, and the actual storage capacity of the memory card is determined by judging that the preset quantity of the data filled into the memory card and the calibration storage capacity of the memory card meet the preset condition, so that the memory card can be conveniently, quickly and accurately identified by using the mobile terminal.
[ description of the drawings ]
FIG. 1 is a flow chart of a first embodiment of a mobile terminal memory card authentication method according to the invention;
FIG. 2 is a flow chart of a second embodiment of the authentication method for the memory card of the mobile terminal according to the invention;
FIG. 3 is a flow chart of a mobile terminal memory card authentication method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first embodiment of the mobile terminal of the present invention;
fig. 5 is a schematic structural diagram of a second embodiment of the mobile terminal of the present invention;
fig. 6 is a schematic structural diagram of an embodiment of the terminal device of the present invention.
[ detailed description ] embodiments
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The following description is made with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating a first embodiment of a memory card authentication method for a mobile terminal according to the present invention.
And step S100, the mobile terminal detects the identification information of the memory card connected with the mobile terminal to obtain the calibrated memory capacity of the memory card.
It should be noted that the mobile terminal memory card authentication method provided by the present invention is premised on that the memory card can be correctly loaded, and if the memory card cannot be successfully loaded, that is, the mobile terminal cannot identify the memory card, the authentication method of the embodiment of the present invention is not involved. Therefore, a step of detecting that the memory card is inserted by the mobile terminal is generally included before step S100. It should be noted that the mobile terminal in the embodiments of the present invention is preferably a portable device such as a mobile phone and a tablet computer, so that the memory card can be identified conveniently and timely.
In step S100, after the memory card is identified and loaded, identification information (cardidentity) detection needs to be performed on the identified memory card, and during the identification information detection, information such as a manufacturer, a model, and a calibrated storage capacity of the memory card can be identified through a binary identification code of the memory card, where the binary identification code of the memory card is unique to each memory card and is different from binary codes of other memory cards. The nominal storage capacity is the memory capacity marked by the memory card, for example, when the manufacturer marks the memory capacity of the memory card as 8G through the binary identification code, the nominal storage capacity of the memory card is 8G. However, the nominal storage capacity may be the real memory capacity of the memory card, and the real memory capacity of the memory card may also be smaller than or far smaller than the nominal storage capacity.
Step S110, the mobile terminal fills a predetermined amount of data into the memory card, and determines whether a predetermined condition is satisfied between the predetermined amount and a calibrated storage capacity of the memory card.
In step S110, the method for filling the memory card with the predetermined amount of data by the mobile terminal may adopt two ways, one is to fill the memory card with the predetermined proportion of data, and the other is to fill the memory card with the predetermined unit amount of data. The difference between the two data filling modes will be described in detail in the following embodiments.
The step of determining whether the predetermined amount of data filled in the memory card and the nominal storage capacity of the memory card satisfy the predetermined condition may be: and judging whether the data filled into the memory card in the preset quantity reaches the quantity of a certain percentage of the nominal storage capacity of the memory card.
Step S120, when the predetermined condition is satisfied, it is determined that the calibrated storage capacity of the memory card is correct.
In step S120, when it is determined that the predetermined condition is satisfied, for example, when it is determined that the predetermined amount of data filled into the memory card reaches 95% of the nominal storage capacity of the memory card, it can be determined that the nominal storage capacity of the memory card is correct. Certainly, the user can set the determination criteria for the percentage of the nominal storage capacity of different memory cards by himself, which may be 90%, 99%, or 80% of the nominal storage capacity of the memory card. And is not particularly limited herein.
Of course, after the capacity of the memory card is detected in the data filling manner, the data filled in the memory card needs to be removed to ensure that the identified memory card is a clean empty card.
In the method for authenticating the memory card of the mobile terminal in the embodiment, the calibration storage capacity of the memory card is obtained by detecting the identification information of the memory card, then the predetermined amount of data is filled into the memory card, and whether the calibration storage capacity of the memory card is correct or not is determined by judging whether the predetermined amount of data filled into the memory card and the calibration storage capacity of the memory card meet the predetermined condition, so that the memory card can be authenticated by using the mobile terminal conveniently, quickly and accurately.
Referring to fig. 2, fig. 2 is a flowchart illustrating a second embodiment of a memory card authentication method for a mobile terminal according to the present invention.
In step S201, the mobile terminal detects identification information of the memory card connected thereto to obtain a calibrated storage capacity of the memory card.
The identified memory card needs to be subjected to identification information detection, and information such as the manufacturer, the model, the calibrated storage capacity and the like of the memory card can be identified through the binary identity identification code of the memory card in the identification information detection process.
Step S202, the obtained identification information of the memory card is matched with the identification information of the memory card stored in the mobile terminal.
Step S203, determining whether the identification information of the memory card matches the identification information of the memory card stored in the mobile terminal. If so, the process proceeds to step S204, otherwise, the process proceeds to step S205.
In steps S202 and S203, after the identification information of the memory card obtained by the mobile terminal, the identification information is matched with the identification information of the memory card stored in the mobile terminal, where the identification information of the memory card stored in the mobile terminal is generally data obtained and stored by the mobile terminal in the process of detecting the memory card, and when the mobile terminal identifies that the memory card is detected for the second time in the process of judging the matching result, the following steps are performed: if the identification information of the memory card is recorded in the mobile terminal, the next step is performed.
Step S204, the matched memory card identification information is notified to the user. Then, the flow ends.
At the moment, the mobile terminal reminds the user that the information of the memory card exists in the historical retrieval result of the mobile terminal, and meanwhile, the historical retrieval record information aiming at the identification information of the memory card is presented to the user to remind the user whether to detect again, when the user chooses not to detect again, the prompt is not carried out, the user can normally use the mobile phone, and meanwhile, the identification process of the memory card is stopped.
Step S205, the memory card is filled with data of a preset proportion of the nominal memory capacity of the memory card.
In step S205, the memory card is filled with data according to the nominal storage capacity corresponding to the detected memory card identification information, for example, if the nominal storage capacity corresponding to the detected memory card identification information is 8GB, the memory card is first filled with data of a predetermined proportion of the nominal storage capacity at a time, which may be 50% of the nominal storage capacity 8GB, that is, data of 4GB at a time.
In step S206, it is determined whether the storage space of the memory card has a remaining capacity. If the storage space of the memory card is judged to have the remaining capacity, the process proceeds to step S207, and if the storage space of the memory card is judged to have no remaining capacity, the process proceeds to step S208.
Step S207, the memory card is continuously filled with data of a predetermined proportion of the remaining capacity.
In this step, the data of the predetermined ratio of the remaining capacity may be the same as or different from the predetermined ratio in the previous step, and similarly, the predetermined ratio data may be specifically set according to the arithmetic capability of the mobile terminal, the size of the memory capacity of the memory card calibration, and the like. After the filling is completed once, the process returns to step S206 to continue to determine whether the memory card has a storage space left, and the process loops between steps S207 and S206 until step S206 determines that the storage space of the memory card has no remaining capacity.
In step S208, it is determined whether the amount of data filled into the memory card is the same as a predetermined amount. If so, the process proceeds to step S209, otherwise, the process proceeds to step S214.
In step S208, the total amount of data of the data filled into the memory card through steps S205, 207 is determined, and it is judged whether the total amount of data is the same as the predetermined amount. The predetermined number may be 95% of the calibrated storage capacity of the memory card, and certainly, the user may set a determination criterion for percentage of the calibrated storage capacity of different memory cards by himself, specifically 90%, 99%, or 80% of the calibrated storage capacity of the memory card. And is not limited herein. When it is judged that the amount of data filled into the memory card is the same as the predetermined amount, the flow proceeds to step S209.
In step S209, it is determined that the actual storage capacity of the memory card is correct.
In step S209, the user may be prompted that the actual storage capacity of the authenticated memory card is correct, and the manner of prompting the user that the data capacity of the memory card is correct may be displaying a prompt box, emitting voice or vibrating, and the like.
In step S210, the data filled in the memory card is cleared.
In step S211, the actual read/write speed of the memory card is obtained.
In step S211, the actual read/write speed of the memory card may be obtained by filling a larger unit of data into the memory card, and then obtaining the actual read/write speed of the memory card during the process of filling the data.
Step S212, the actual read-write speed information is notified to the user or the calibrated read-write speed information corresponding to the memory card identification information is inquired through the network, so as to determine the detection and comparison result of the memory card read-write speed.
In step S212, the mobile terminal notifies the user of the acquired actual read/write speed information of the memory card, where the notification may be displayed on a display screen through a prompt message, or prompted through voice. In addition, the mobile terminal can also inquire the calibrated read-write speed of the memory card on an official website of a manufacturer corresponding to the identification information of the memory card through a network, and then compare the calibrated read-write speed with the obtained actual read-write speed to obtain a comparison result, so that whether the actual read-write speed of the memory card meets the requirement or not can be clearly known through the comparison result.
In step S213, the actual read/write speed and the actual storage capacity information of the memory card are recorded in the mobile terminal. Then, the flow ends.
The mobile terminal itself includes a storage device, and actual read-write speed including a memory card and actual storage capacity information and the like can be recorded in the mobile terminal.
Step S214, determining the actual storage capacity of the memory card according to the amount of data filled into the memory card, and notifying the user of the actual storage capacity information of the memory card. Then, the process returns to step S210.
In step S214, the user is notified of the actual storage capacity information of the memory card to remind the user that the storage capacity of the memory card is not qualified. Similarly, the notification mode may be that the information is displayed on a display screen by a prompt, or the prompt is made by voice.
In the mobile terminal memory card identification method in the embodiment, the memory card is filled by filling the data in the preset proportion every time, so that the capacity of the memory card can be quickly and accurately detected; the identified memory card identification information is matched with the information stored in the mobile terminal before the process of identifying the memory capacity, so that the repeated identification of the same memory card can be prevented, and meanwhile, the identification method can also identify the read-write speed information of the memory card.
Referring to fig. 3, fig. 3 is a flowchart illustrating a memory card authentication method for a mobile terminal according to a third embodiment of the present invention.
In step S301, the mobile terminal detects identification information of the memory card connected thereto to obtain a calibrated storage capacity of the memory card.
The identified memory card needs to be subjected to identification information detection, and information such as the manufacturer, the model, the calibrated storage capacity and the like of the memory card can be identified through the binary identity identification code of the memory card in the identification information detection process.
Step S302, the obtained identification information of the memory card is matched with the identification information of the memory card stored in the mobile terminal.
Step S303, determining whether the identification information of the memory card matches the identification information of the memory card stored in the mobile terminal. If so, the process proceeds to step S304, otherwise, the process proceeds to step S305.
In steps S302 and S303, after the identification information of the memory card obtained by the mobile terminal is obtained, the identification information is matched with the identification information of the memory card stored in the mobile terminal, where the identification information of the memory card stored in the mobile terminal is generally data obtained and stored by the mobile terminal in the process of detecting the memory card, and when the mobile terminal identifies that the memory card is detected for the second time in the process of determining the matching result, the following steps are performed: if the identification information of the memory card is recorded in the mobile terminal, the next step is performed.
In step S304, the user is notified of the matching memory card identification information. Then, the flow ends.
At the moment, the mobile terminal reminds the user that the information of the memory card exists in the historical retrieval result of the mobile terminal, and meanwhile, the historical retrieval record information aiming at the identification information of the memory card is presented to the user to remind the user whether to detect again, when the user chooses not to detect again, the prompt is not carried out, the user can normally use the mobile phone, and meanwhile, the identification process of the memory card is stopped.
In step S305, the memory card is continuously filled with data in a predetermined unit until the memory card is filled.
In step S305, the memory card is continuously filled with data in a predetermined unit, wherein the predetermined unit of data may be 1M, i.e., 1M at a time. The predetermined unit is not limited to 1M, and may be set according to factors such as the computing capability of the mobile terminal, and may be 2M, 3M, 10M, and the like, which are not listed here.
In step S306, it is determined whether the amount of data filled into the memory card is the same as a predetermined amount.
In step S306, the predetermined number may be 95% of the nominal storage capacity of the memory card, and of course, the user may set the determination criteria for percentage of the nominal storage capacity of different memory cards by himself, specifically, 90%, 99%, or 80% of the nominal storage capacity of the memory card. And is not limited herein. When it is judged that the amount of data filled into the memory card is the same as the predetermined amount, the flow proceeds to step S307.
In step S307, it is determined that the actual storage capacity of the memory card is correct.
In step S307, the way to prompt the user that the actual storage capacity of the memory card is correct may be to display a prompt box, to make a voice or to vibrate, or the like.
Step S308, clearing the data filled in the memory card.
In step S309, the actual read/write speed of the memory card is obtained.
In step 309, the actual read/write speed of the memory card may be obtained by filling a larger unit of data into the memory card, and then obtaining the actual read/write speed of the memory card during the data filling process.
Step S310, the actual read-write speed information is notified to the user or the calibrated read-write speed information corresponding to the memory card identification information is inquired through the network, so as to determine the detection and comparison result of the memory card read-write speed.
In step S310, the mobile terminal notifies the user of the acquired actual read-write speed information of the memory card, where the notification may be displayed on a display screen through a prompt message, or prompted through voice, or the like. In addition, the mobile terminal can also inquire the calibrated read-write speed of the memory card on an official website of a manufacturer corresponding to the identification information of the memory card through a network, and then compare the calibrated read-write speed with the obtained actual read-write speed to obtain a comparison result, so that whether the actual read-write speed of the memory card meets the requirement or not can be clearly known through the comparison result.
In step S311, the actual read/write speed and the actual storage capacity information of the memory card are recorded in the mobile terminal. The mobile terminal itself includes a storage device, and actual read-write speed including a memory card and actual storage capacity information and the like can be recorded in the mobile terminal. Then, the flow ends.
Step S312, determining the actual storage capacity of the memory card according to the amount of data filled into the memory card, and notifying the user of the actual storage capacity information of the memory card.
In step S312, the user is notified of the actual storage capacity information of the memory card and reminded that the storage capacity of the memory card is not qualified. Similarly, the notification mode may be that the information is displayed on a display screen by a prompt, or the prompt is made by voice.
In step S313, the data filled in the memory card is cleared.
After step S313, the process proceeds to step S311, where the actual storage capacity information of the memory card is recorded in the mobile terminal. The mobile terminal memory card authentication method in this embodiment ends.
In the mobile terminal memory card identification method in the embodiment, the capacity of the memory card can be quickly and accurately detected by filling the memory card with the preset unit data; the identified memory card identification information is matched with the information stored in the mobile terminal before the process of identifying the memory capacity, so that the repeated identification of the same memory card can be prevented; meanwhile, the identification method can also identify the read-write speed information of the memory card.
Referring to fig. 4, fig. 4 is a schematic block diagram of a first embodiment of a mobile terminal 400 according to the present invention, which includes but is not limited to the following modules: an identification information detection module 401, a data filling module 402 and a judgment module 403.
Specifically, the identification information detection module 401 is configured to detect identification information of a memory card accessing the mobile terminal to obtain a nominal storage capacity of the memory card. It should be noted that, the mobile terminal provided in the embodiment of the present invention is premised on that the memory card can be correctly loaded by the mobile terminal, and if the memory card cannot be successfully loaded, that is, the mobile terminal cannot recognize the memory card, the mobile terminal of the embodiment of the present invention is not involved. It should be noted that the mobile terminal in the embodiments of the present invention is preferably a portable device such as a mobile phone and a tablet computer, so that the memory card can be identified conveniently and timely.
The identification information detection module 401 needs to detect identification information (cardidentity) of the identified memory card, and during the identification information detection, information such as manufacturer, model, calibrated storage capacity, and the like of the memory card can be identified through a binary identification code of the memory card, where the binary identification code of the memory card is unique to each memory card to distinguish binary codes different from those of other memory cards. The nominal storage capacity is the memory capacity marked by the memory card, for example, when the manufacturer marks the memory capacity of the memory card as 8G through the binary identification code, the nominal storage capacity of the memory card is 8G. However, the nominal storage capacity may be the real memory capacity of the memory card, and the real memory capacity of the memory card may also be smaller than or far smaller than the nominal storage capacity.
The data filling module 402 is used to fill the memory card with a predetermined amount of data, and the manner of filling the memory card with the predetermined amount of data may be two manners, one is to fill the memory card with a predetermined proportion of data, and the other is to fill the memory card with a predetermined unit amount of data.
The judging module 403 may judge whether the predetermined condition is satisfied between the predetermined number and the nominal storage capacity of the memory card by: and judging whether the data filled into the memory card in the preset quantity reaches the quantity of a certain percentage of the nominal storage capacity of the memory card.
When it is determined that the predetermined condition is satisfied, for example, when it is determined that the predetermined amount of data filled into the memory card reaches 95% of the nominal storage capacity of the memory card, it is determined that the actual storage capacity of the memory card is correct. Certainly, the user can set the determination criteria for the percentage of the nominal storage capacity of different memory cards by himself, which may be 90%, 99%, or 80% of the nominal storage capacity of the memory card. And is not particularly limited herein.
In the mobile terminal in this embodiment, the identification information detection module detects the identification information of the memory card to obtain the calibrated storage capacity of the memory card, the data filling module fills the memory card with a predetermined amount of data, and the determination module determines that the predetermined amount of data filled into the memory card and the calibrated storage capacity of the memory card satisfy a predetermined condition to determine the actual storage capacity of the memory card.
Referring to fig. 5, fig. 5 is a schematic block diagram of a second embodiment of a mobile terminal 500 according to the present invention, which includes but is not limited to the following modules: the system comprises an identification information detection module 501, a data filling module 502, a judgment module 503, a notification module 504, a matching module 505, an acquisition module 506, a query module 507, a comparison module 508, a data clearing module 509 and a data recording module 510.
Specifically, the identification information detection module 501 is configured to detect identification information of a memory card accessing the mobile terminal to obtain a nominal storage capacity of the memory card. When detecting identification information (cardidentity) of the identified memory card, the identification information detection module 501 may identify information such as a manufacturer, a model, and a calibrated storage capacity of the memory card through a binary id of the memory card, where the binary id of the memory card is unique to each memory card to distinguish binary codes different from those of other memory cards. The nominal storage capacity is the memory capacity marked by the memory card, for example, when the manufacturer marks the memory capacity of the memory card as 8G through the binary identification code, the nominal storage capacity of the memory card is 8G. However, the nominal storage capacity may be the real memory capacity of the memory card, and the real memory capacity of the memory card may also be smaller than or far smaller than the nominal storage capacity.
The matching module 505 is configured to match the obtained identification information of the memory card with the identification information of the memory card already stored in the mobile terminal, and the determining module 503 determines whether the identification information of the memory card matches with the identification information of the memory card already stored in the mobile terminal. After the identification information of the memory card is obtained by the identification information detection module 501, the matching module 505 matches the identification information with the identification information of the memory card stored in the mobile terminal, where the identification information of the memory card stored in the mobile terminal is generally data obtained and stored by the mobile terminal in the process of detecting the memory card, and when the judgment module 503 judges that the memory card is detected for the second time in the process of judging the matching result, the method is as follows: if there is a record of the identification information of the memory card in the mobile terminal, the notification module 504 notifies the user of the matching identification information of the memory card. At this time, the notification module 504 may alert the user that the information of the memory card already exists in the history search result of the mobile terminal. Meanwhile, history retrieval record information aiming at the identification information of the memory card is presented to the user to remind the user whether to detect again, when the user selects not to detect again, the prompt is not carried out, the user can use the mobile phone normally, and the identification process of the memory card is stopped.
The data filling module 502 is used to fill the memory card with data of a predetermined proportion of the nominal memory capacity of the memory card. For example, if the nominal storage capacity corresponding to the detected identification information of the memory card is 8GB, the data filling module 502 fills the memory card with data at a predetermined ratio of the nominal storage capacity, which may be 50% of the nominal storage capacity 8GB, that is, 4GB of the nominal storage capacity at a time, first of all, and of course, the data at the predetermined ratio is not limited in this embodiment, and may be set according to the computing capability of the mobile terminal, the size of the nominal storage capacity of the memory card, and the like, which may be 30%, 60%, and the like, and this is not listed here.
In the first aspect, the determining module 503 determines whether the memory card has a remaining memory space, if so, the data filling module 502 continues to fill the data with the predetermined proportion of the remaining capacity of the memory card, and if the determining module 503 determines that no memory space remains, the data filling module continues to determine whether the amount of the data filled into the memory card is the same as the predetermined amount. The predetermined number may be 95% of the nominal storage capacity of the memory card, and certainly, the user may set the determination criteria of percentage of the nominal storage capacity of different memory cards by himself, specifically, 90%, 99%, or 80% of the nominal storage capacity of the memory card. And is not limited herein.
On the other hand, the data filling module 502 may also continuously fill the memory card with data in a predetermined unit, wherein the predetermined unit of data may be 1M, i.e., filling with data in a predetermined unit of 1M at a time. The predetermined unit is not limited to 1M, and may be set according to the computing capability of the mobile terminal, and may be 2M, 3M, 10M, and the like. When the memory card is full, the determination module 503 determines whether the amount of data filled into the memory card is the same as a predetermined amount.
The obtaining module 506 is configured to obtain an actual read/write speed of the memory card, where the obtaining module 506 obtains the actual read/write speed of the memory card by filling a larger unit of data into the memory card through the data filling module 502, and then obtains the actual read/write speed of the memory card in a process of filling the data.
The query module 507 is configured to query, through a network, the calibrated read-write speed information corresponding to the identification information of the memory card, and specifically, the query module 507 may query, through the network, the calibrated read-write speed corresponding to the memory card on an official website of a manufacturer corresponding to the identification information of the memory card.
The comparing module 508 is configured to compare the calibrated read-write speed queried by the querying module 507 with the actual read-write speed obtained by the obtaining module 506, so as to obtain a comparison result, and clearly obtain whether the actual read-write speed of the memory card meets the requirement through the comparison result.
The notifying module 504 is further configured to notify the user of the actual storage capacity and the actual read/write speed of the authenticated memory card, and notify the user of whether the memory card meets the requirements and the detection result. The notification mode of the notification module 504 may be that the notification information is displayed on a display screen, or that the notification information is prompted by voice, vibration, or the like.
The data clearing module 509 is configured to clear data filled in the memory card during the capacity and read/write speed detection process, so as to ensure that the authenticated memory card is empty. The data recording module 510 is configured to record identification information of the memory card in the mobile terminal, where the identification information includes a name of the memory card and information such as an actual storage capacity and an actual read/write speed after authentication corresponding to the name of the memory card.
In the mobile terminal in the embodiment, the data filling module is used for filling the memory card with the data in the preset unit and the data in the preset proportion respectively, so that the capacity of the memory card can be quickly and accurately checked; the identified memory card identification information is matched with the information stored in the mobile terminal before the process of identifying the memory capacity, so that the repeated identification of the same memory card can be prevented; and can also distinguish the read-write speed information of the memory card.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device in this embodiment may be a mobile phone, a portable computer, or the like. The terminal device 600 includes a processor 601, a receiver 602, a transmitter 603, a read only memory 604, a random access memory 605, and a bus 606.
The receiver 602 is used for receiving data.
The processor 601 controls the operation of the terminal device repair apparatus, and the processor 601 may also be a Central Processing Unit (CPU). The processor 601 may be an integrated circuit chip having signal processing capabilities. The processor 601 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The transmitter 603 is used for transmitting data.
The memories may include a read-only memory 604 and a random access memory 605 and provide instructions and data to the processor 601. The portion of memory may also include non-volatile random access memory (NVRAM).
The various components of the end device repair arrangement are coupled together by a bus 606, where the bus 606 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. But for clarity of illustration the various busses are labeled as the bus 606 in the figures.
The memory stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
In the embodiment of the present invention, the processor 601 performs the following operations by calling an operation instruction stored in the memory (the operation instruction may be stored in the operating system):
the processor 601 is configured to detect identification information of a memory card accessing the mobile terminal to obtain a nominal storage capacity of the memory card. It should be noted that the terminal device provided in the embodiment of the present invention is premised on that the memory card can be correctly loaded by the terminal device, and if the memory card cannot be successfully loaded, that is, the terminal device cannot identify the memory card, the terminal device of the embodiment of the present invention is not involved.
The processor 601 needs to detect identification information (cardidentity) of the identified memory card, and during the identification information detection, information such as manufacturer, model, calibrated storage capacity, and the like of the memory card can be identified through a binary identification code of the memory card, where the binary identification code of the memory card is unique to each memory card to distinguish binary codes different from those of other memory cards. The processor 601 is further configured to fill the memory card with a predetermined amount of data, and the manner of filling the memory card with the predetermined amount of data may be two manners, one is to fill the memory card with a predetermined proportion of data, and the other is to fill the memory card with a predetermined unit amount of data.
The processor 601 is further configured to match the obtained identification information of the memory card with the identification information of the memory card already stored in the mobile terminal. After obtaining the identification information of the memory card, the processor 601 matches the identification information with the memory card identification information stored in the mobile terminal, where the memory card identification information stored in the terminal device is generally data obtained and stored by the terminal device in the process of detecting the memory card. In the process of judging the matching result, when the memory card is identified to be secondarily detected, the following steps are carried out: if the identification information of the memory card is recorded in the terminal device, the user is notified of the matching memory card identification information. At this time, the processor 601 will remind the user that the information of the memory card already exists in the history search result of the terminal device. Meanwhile, history retrieval record information aiming at the identification information of the memory card is presented to the user to remind the user whether to detect again, when the user selects not to detect again, the prompt is not carried out, the user can use the mobile phone normally, and the identification process of the memory card is stopped.
The processor 601 is used to fill the memory card with a predetermined proportion of the nominal memory capacity of the memory card. The processor 601 fills the memory card with data according to the nominal storage capacity corresponding to the detected memory card identification information, for example, if the nominal storage capacity corresponding to the detected memory card identification information is 8GB, the memory card is first filled with data of a predetermined proportion of the nominal storage capacity at a time, which may be 50% of the nominal storage capacity 8GB, that is, data of 4GB is filled at a time. And when judging whether the storage space of the storage card is left, if so, continuously filling data with a preset proportion of the remaining capacity of the storage card, and if not, continuously judging whether the quantity of the data filled into the storage card is the same as the preset quantity. The predetermined number may be 95% of the nominal storage capacity of the memory card, and certainly, the user may set the determination criteria of percentage of the nominal storage capacity of different memory cards by himself, specifically, 90%, 99%, or 80% of the nominal storage capacity of the memory card. And is not limited herein.
On the other hand, the processor 601 may also continuously fill the memory card with data in a predetermined unit, wherein the predetermined unit of data may be 1M, i.e., every time the memory card is filled with data in a predetermined unit of 1M. And judges whether the amount of data filled in the memory card is the same as a predetermined amount.
The processor 601 may determine whether a predetermined condition is satisfied between the predetermined number and the nominal storage capacity of the memory card by: and judging whether the data filled into the memory card in the preset quantity reaches the quantity of a certain percentage of the nominal storage capacity of the memory card. When it is determined that the predetermined condition is satisfied, for example, when it is determined that the predetermined amount of data filled into the memory card reaches 95% of the nominal storage capacity of the memory card, it is determined that the actual storage capacity of the memory card is correct.
Optionally, the processor 601 is further configured to obtain an actual read/write speed of the memory card, where the actual read/write speed of the memory card may be obtained by filling a larger unit of data into the memory card and then in a process of filling the data. The processor 601 is configured to query the calibrated read/write speed information corresponding to the identification information of the memory card through a network, and specifically, query the calibrated read/write speed corresponding to the memory card on an official website of a manufacturer corresponding to the identification information of the memory card through the network. The processor 601 compares the queried calibrated read-write speed with the obtained actual read-write speed to obtain a comparison result, and whether the actual read-write speed of the memory card meets the requirement can be clearly known through the comparison result.
Optionally, the mobile device 600 further includes a display (not shown), and the processor 601 is further configured to notify the user of the actual storage capacity and the actual read/write speed of the authenticated memory card, and notify the user of whether the memory card meets the requirements and the detection result. The notification mode may be displayed on a display through a prompt message, or prompt through voice, vibration, or the like.
Optionally, the processor 601 is further configured to clear data filled in the memory card during the capacity and read/write speed detection process, so as to ensure that the authenticated memory card is empty. The processor 601 records identification information of the memory card in the read only memory 604 of the terminal device, wherein the identification information includes the name of the memory card and the corresponding information such as the actual memory capacity and the actual read/write speed after authentication.
The display is also used for displaying prompt information and detection result information in the detection process.
In the terminal device in the embodiment, the processor detects the identification information of the memory card to obtain the nominal storage capacity of the memory card, then fills the memory card with the predetermined amount of data, and finally determines that the predetermined amount of data filled into the memory card and the nominal storage capacity of the memory card satisfy the predetermined condition to determine the actual storage capacity of the memory card, so that the terminal device can be used for conveniently, quickly and accurately identifying the memory card.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a management server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (19)

  1. A memory card authentication method of a mobile terminal, wherein the method comprises:
    the mobile terminal detects the identification information of a memory card connected with the mobile terminal to obtain the calibrated memory capacity of the memory card;
    the mobile terminal fills data with a preset quantity into the memory card and judges whether the preset quantity and the calibrated storage capacity of the memory card meet a preset condition or not; and
    and when the preset condition is met, determining that the calibrated storage capacity of the memory card is correct.
  2. The memory card authentication method of claim 1, wherein the predetermined condition is that a predetermined amount of data filled into the memory card reaches an amount of a percentage of a nominal storage capacity of the memory card;
    the step of filling a predetermined amount of data into the memory card and determining whether a predetermined condition is satisfied between the predetermined amount and the nominal storage capacity of the memory card is specifically as follows:
    filling data of a preset proportion of the calibrated storage capacity of the storage card into the storage card, and judging whether the storage space of the storage card has residual capacity;
    if the storage space is determined to have the residual capacity, continuously filling the data of the memory card with the residual capacity in a preset proportion; and if the storage space is determined to have no residual capacity, judging whether the quantity of the data filled into the storage card is the same as the preset quantity.
  3. The memory card authentication method of claim 1, wherein the predetermined condition is that a predetermined amount of data filled into the memory card reaches an amount of a percentage of a nominal storage capacity of the memory card;
    the step of filling a predetermined amount of data into the memory card and determining whether a predetermined condition is satisfied between the predetermined amount and the nominal storage capacity of the memory card is specifically as follows:
    continuously filling data into the memory card until the memory space of the memory card is filled;
    and judging whether the quantity of the data filled into the memory card is the same as the preset quantity.
  4. The memory card authentication method of claim 2 or 3, wherein after the step of determining that the nominal storage capacity of the memory card is correct, the method further comprises:
    acquiring the actual read-write speed of the memory card;
    informing a user of the actual read-write speed information or inquiring calibrated read-write speed information corresponding to the memory card identification information through a network so as to determine a detection comparison result of the read-write speed of the memory card;
    and recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual storage capacity after authentication and/or the actual reading and writing speed information.
  5. The memory card authentication method according to any one of claims 1 to 3, wherein when the predetermined condition is not satisfied, the memory card authentication method further includes, after the step of judging that the predetermined condition is not satisfied:
    and determining the actual storage capacity of the memory card according to the data quantity filled in the memory card, and informing a user of the actual storage capacity information of the memory card.
  6. The memory card authentication method of claim 5, wherein the method further comprises, after the step of notifying a user of actual storage capacity information of the memory card and/or before the step of acquiring an actual read-write speed of the memory card:
    and clearing the data filled in the memory card.
  7. The memory card authentication method of claim 1, wherein after the step of the mobile terminal detecting the identification information of the memory card connected thereto to obtain the nominal storage capacity of the memory card, the method further comprises:
    matching the obtained identification information of the memory card with the identification information of the memory card stored in the mobile terminal;
    if the matching result is judged to be yes, the matched memory card identification information is notified to the user; and if the matching result is judged to be negative, filling a preset amount of data into the memory card, and judging whether a preset condition is met between the preset amount and the calibrated storage capacity of the memory card.
  8. A mobile terminal, wherein the mobile terminal comprises:
    the identification information detection module is used for detecting the identification information of a memory card accessed to the mobile terminal so as to obtain the calibrated memory capacity of the memory card;
    the data filling module is used for filling a preset amount of data into the memory card; and
    and the judging module is used for judging whether a preset condition is met between the preset quantity and the calibrated storage capacity of the memory card, and when the preset condition is met, determining that the calibrated storage capacity of the memory card is correct.
  9. The mobile terminal of claim 8, wherein the data filling module fills the memory card with data of a predetermined proportion of a nominal storage capacity of the memory card, the determining module determines whether a storage space of the memory card has a remaining capacity, and if the storage space has the remaining capacity, the data filling module continues to fill the memory card with the data of the predetermined proportion of the remaining capacity of the memory card; and if the storage space is judged to have no residual capacity, continuously judging whether the quantity of the data filled into the storage card is the same as the preset quantity, wherein the preset condition is that the quantity of the data filled into the storage card in the preset quantity reaches a certain percentage of the rated storage capacity of the storage card.
  10. The mobile terminal according to claim 8, wherein the data filling module is configured to fill the memory card with data until the memory space of the memory card is filled, and the determining module determines whether the amount of data filled into the memory card is the same as the predetermined amount, where the predetermined condition is that the amount of data filled into the memory card in the predetermined amount reaches a certain percentage of the nominal storage capacity of the memory card.
  11. The mobile terminal of claim 8, wherein the mobile terminal further comprises a notification module, the determination module determines the actual storage capacity of the memory card according to the amount of data filled into the memory card, and the notification module notifies a user of the actual storage capacity information of the memory card.
  12. The mobile terminal according to claim 8 or 9, wherein the mobile terminal further comprises an obtaining module, an inquiring module, and a comparing module, the obtaining module is configured to obtain an actual read-write speed of the memory card, the inquiring module inquires calibrated read-write speed information corresponding to the memory card identification information through a network, and the comparing module compares the calibrated read-write speed corresponding to the memory card identification information with the actual read-write speed obtained by the obtaining module to determine a detection comparison result of the memory card read-write speed; the notification module is further configured to notify the user of the actual read-write speed information.
  13. The mobile terminal of claim 12, wherein the mobile terminal further comprises a data clearing module and a data recording module, the data clearing module is configured to clear data filled in the memory card; the data recording module is used for recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual memory capacity after authentication and/or the actual read-write speed information.
  14. The mobile terminal according to any of claims 8-11, wherein the mobile terminal further comprises a matching module; the matching module is used for matching the obtained identification information of the memory card with the stored identification information of the memory card in the mobile terminal; the judging module judges the matching result, and if the matching result is judged to be yes, the matched memory card identification information is notified to a user; and if the matching result is judged to be negative, filling a preset amount of data into the memory card, and judging whether a preset condition is met between the preset amount and the calibrated storage capacity of the memory card.
  15. A terminal device, wherein the terminal device comprises a processor and a display; the processor is used for detecting identification information of a memory card accessed by the mobile terminal to obtain the calibrated storage capacity of the memory card, filling a preset amount of data into the memory card, and judging whether a preset condition is met between the preset amount and the calibrated storage capacity of the memory card; when the preset condition is met, determining that the calibrated storage capacity of the storage card is correct; the display is used for displaying prompt information and detection result information in the detection process.
  16. The terminal device of claim 15, wherein the processor is specifically configured to: filling data of a preset proportion of the calibrated storage capacity of the storage card into the storage card, judging whether the storage space of the storage card has residual capacity, and if the storage space has residual capacity, continuing to fill the data of the preset proportion of the residual capacity of the storage card; and if the storage space is judged to have no residual capacity, continuously judging whether the quantity of the data filled into the storage card is the same as the preset quantity, wherein the preset condition is that the quantity of the data filled into the storage card in the preset quantity reaches a certain percentage of the rated storage capacity of the storage card.
  17. The terminal device of claim 15, wherein the processor is specifically configured to: and filling data into the memory card until the memory space of the memory card is filled completely, and judging whether the quantity of the data filled into the memory card is the same as the preset quantity, wherein the preset condition is that the quantity of the data filled into the memory card with the preset quantity reaches a certain percentage of the rated memory capacity of the memory card.
  18. The terminal device of claim 16 or 17, wherein the processor is further configured to: acquiring the actual read-write speed of the memory card, inquiring the calibrated read-write speed information corresponding to the memory card identification information through a network, comparing the calibrated read-write speed corresponding to the memory card identification information with the acquired actual read-write speed to determine a detection comparison result of the memory card read-write speed, and informing a user of the actual read-write speed information.
  19. The terminal device of claim 18, wherein the processor is further configured to: clearing the data filled in the memory card; and recording the identification information of the memory card in the mobile terminal, wherein the identification information comprises the name of the memory card, the actual memory capacity after authentication and/or the actual read-write speed information.
CN201580082092.5A 2015-08-10 2015-08-10 Memory card authentication method, mobile terminal and terminal equipment Active CN107851456B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/086452 WO2017024459A1 (en) 2015-08-10 2015-08-10 Memory card authentication method and mobile terminal thereof, and terminal device

Publications (2)

Publication Number Publication Date
CN107851456A true CN107851456A (en) 2018-03-27
CN107851456B CN107851456B (en) 2021-02-09

Family

ID=57982875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580082092.5A Active CN107851456B (en) 2015-08-10 2015-08-10 Memory card authentication method, mobile terminal and terminal equipment

Country Status (2)

Country Link
CN (1) CN107851456B (en)
WO (1) WO2017024459A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598473A (en) * 2019-09-18 2019-12-20 深圳市网心科技有限公司 Mobile storage medium management method, device and equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9828691D0 (en) * 1998-12-24 1999-02-17 Inventec Corp Method for detecting storage capacity of cache
CN1797610A (en) * 2004-12-30 2006-07-05 英保达股份有限公司 System for displaying residual capacity connected to external data storage device
US20060195650A1 (en) * 2005-02-25 2006-08-31 Su Zhiqiang J Method to detect NAND-flash parameters by hardware automatically
CN101477837A (en) * 2009-01-21 2009-07-08 炬力集成电路设计有限公司 Detection method and apparatus for memory capacity
CN201796608U (en) * 2010-09-15 2011-04-13 深圳市江波龙电子有限公司 Storage device quality detector
CN102306503A (en) * 2010-07-30 2012-01-04 深圳市江波龙电子有限公司 Method and system for detecting false capacity memory
US9165688B2 (en) * 2011-06-06 2015-10-20 Micron Technology, Inc. Apparatuses, systems, devices, and methods of replacing at least partially non-functional portions of memory

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366830A (en) * 2012-03-30 2013-10-23 点序科技股份有限公司 Testing device of memory card
CN103116536B (en) * 2013-02-25 2016-02-24 杭州华澜微电子股份有限公司 The capacity check method of memory storage
CN103500586B (en) * 2013-09-26 2016-04-13 北京奇虎科技有限公司 Detect the method and apparatus of flash memory device capacity

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9828691D0 (en) * 1998-12-24 1999-02-17 Inventec Corp Method for detecting storage capacity of cache
CN1797610A (en) * 2004-12-30 2006-07-05 英保达股份有限公司 System for displaying residual capacity connected to external data storage device
US20060195650A1 (en) * 2005-02-25 2006-08-31 Su Zhiqiang J Method to detect NAND-flash parameters by hardware automatically
CN101477837A (en) * 2009-01-21 2009-07-08 炬力集成电路设计有限公司 Detection method and apparatus for memory capacity
CN102306503A (en) * 2010-07-30 2012-01-04 深圳市江波龙电子有限公司 Method and system for detecting false capacity memory
CN201796608U (en) * 2010-09-15 2011-04-13 深圳市江波龙电子有限公司 Storage device quality detector
US9165688B2 (en) * 2011-06-06 2015-10-20 Micron Technology, Inc. Apparatuses, systems, devices, and methods of replacing at least partially non-functional portions of memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598473A (en) * 2019-09-18 2019-12-20 深圳市网心科技有限公司 Mobile storage medium management method, device and equipment and storage medium

Also Published As

Publication number Publication date
WO2017024459A1 (en) 2017-02-16
CN107851456B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
WO2020171611A1 (en) Electronic device for providing various functions through application using a camera and operating method thereof
WO2017213358A1 (en) Electronic device and method for activating applications therefor
WO2020085636A1 (en) Electronic device for displaying list of executable applications on split screen and operating method thereof
KR101051246B1 (en) Consumer abuse detection system and method
WO2018164381A1 (en) Method for determining battery state on basis of atmospheric pressure and electronic device
WO2014189265A1 (en) Method and apparatus for using electronic device
WO2020162709A1 (en) Electronic device for providing graphic data based on voice and operating method thereof
WO2020171427A1 (en) Electronic device which prefetches application and method therefor
WO2018155928A1 (en) Electronic device for performing authentication by using multiple biometric sensors and operation method thereof
WO2017116052A1 (en) Content recognition apparatus and method for operating same
WO2020231177A1 (en) Electronic device and method for receiving push message stored in blockchain
WO2017010772A1 (en) Apparatus and method for providing memo function
WO2019039729A1 (en) Method for changing the size of the content displayed on display and electronic device thereof
WO2015005744A1 (en) Electronic device and method for suggesting response manual in occurrence of denial
WO2020171579A1 (en) Electronic device and method providing content associated with image to application
WO2015199430A1 (en) Method and apparatus for managing data
CN106126382B (en) Identify the method and device of file system error
CN107851456A (en) Discrimination method and its mobile terminal, the terminal device of storage card
WO2021261781A1 (en) Battery state management system and method
WO2019194427A1 (en) Electronic device for managing application relating to key of external electronic device, and operating method of electronic device
WO2021040395A1 (en) Electronic device for controlling access to device resource and operation method thereof
WO2019039706A1 (en) Electronic device and data management method thereof
CN108762553B (en) Touch information processing method and device, storage medium and electronic device
WO2019143161A1 (en) Electronic device and search keyword processing method thereof
WO2018191889A1 (en) Photo processing method and apparatus, and computer device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210422

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Shenzhen, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.