[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106980566B - Display control method and storage device - Google Patents

Display control method and storage device Download PDF

Info

Publication number
CN106980566B
CN106980566B CN201710187974.9A CN201710187974A CN106980566B CN 106980566 B CN106980566 B CN 106980566B CN 201710187974 A CN201710187974 A CN 201710187974A CN 106980566 B CN106980566 B CN 106980566B
Authority
CN
China
Prior art keywords
display
storage device
life
display device
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710187974.9A
Other languages
Chinese (zh)
Other versions
CN106980566A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710187974.9A priority Critical patent/CN106980566B/en
Publication of CN106980566A publication Critical patent/CN106980566A/en
Application granted granted Critical
Publication of CN106980566B publication Critical patent/CN106980566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)

Abstract

The application discloses a display control method and a storage device, wherein the storage device comprises a display device, the method comprises the steps of obtaining write-in service life information of the storage device and controlling the display device of the storage device to display, the display effect of the display device is used for indicating the write-in service life information, and the display effect of the display device after power failure keeps indicating the write-in service life information of the storage device at the time of power failure. It can be seen that, by applying the scheme of the application, whether power is on or not, the writing life information of the storage device can be known by directly observing the display effect of the display device included in the storage device, and the writing life of the storage device can be known without calling out and reading the SMART information of the storage device under the power-on condition, so that compared with the prior art, the writing life information of the storage device can be more conveniently and intuitively known by the scheme of the application.

Description

Display control method and storage device
Technical Field
The invention belongs to the technical field of application of storage devices, and particularly relates to a display control method and a storage device.
Background
Some current storage devices, such as Solid State Drives (SSDs), non-volatile memory Storages (AEPs), and the like, often have write life detection requirements to meet write life check requirements of people. The storage devices are internally packaged with a write-in lifetime detection algorithm, the write-in lifetime consumed by the storage devices can be detected in real time by using the write-in lifetime detection algorithm under the power-on condition, and the detection result is written into SMART information corresponding to the storage devices.
That is, in the prior art, people can only know the write-in life of the storage device by calling out and reading SMART information of the storage device after power-on, and the method for obtaining the write-in life of the storage device is not convenient and intuitive.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a display control method and a storage device, which are used to solve the above problems in the prior art, so that people can conveniently and intuitively know the write lifetime information of the storage device.
Therefore, the invention discloses the following technical scheme:
a display control method is applied to a storage device, the storage device comprises a display device, and the method comprises the following steps:
obtaining write life information of the storage device;
and controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment.
Preferably, the method for controlling the display device to display includes:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
controlling the display device to display so that a display part with a first proportion in the display device presents a different display effect from other parts; so that the write lifetime currently consumed by the storage device is obtained by the display effect of the first proportion of the display portions being different from the display effect of the other portions.
In the above method, preferably, the display device is disposed on an outer surface of the storage device;
the display device comprises more than one electrochromic transparent display device which is arranged side by side, each electrochromic transparent display device is connected to a mainboard of the storage device, a switch is arranged between each electrochromic transparent display device and the mainboard of the storage device, and each switch is turned off in an initial state of leaving a factory;
the controlling the display device to display includes:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
determining a first number of electrochromic transparent display devices needing to show a color change effect in the display devices according to the first proportion; a second ratio of the first number to a total number of electrochromic transparent display devices in the display device, consistent with the first ratio;
and controlling the first number of the electrochromic transparent display devices in the display devices to display a color change effect by controlling the corresponding switches to be closed, so that the currently consumed writing life of the storage device is obtained through the first number of the electrochromic transparent display devices displaying the color change effect.
The above method, preferably, the controlling the first number of electrochromic transparent display devices among the display devices to exhibit a color change effect includes:
determining a second number of electrochromic transparent display devices that have exhibited a color change effect among the display devices at present;
calculating a third number of the electrochromic transparent display devices which need to be subjected to color change control currently according to the first number and the second number;
and controlling the switches of a third number of the electrochromic transparent display devices to be closed, so that the third number of the electrochromic transparent display devices present a color change effect.
Preferably, the method for controlling the display device to display includes:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result;
and if the judgment result shows that the current write life reaches the life threshold, controlling the display device to display a display effect capable of indicating that the current consumed write life of the storage device reaches the life threshold.
In the above method, preferably, the storage device further includes a controller, and the display device is disposed on a housing of the storage device;
the display device includes: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the electric deformation device is connected with the controller through a switch circuit, and the switch circuit is turned off in an initial state of leaving a factory;
the controlling the display device to display includes:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result;
if the judgment result shows that the current is reached, the controller controls the switch circuit to be closed, so that the electric deformation device deforms, and the label device is in a tearing state when the electric deformation device deforms.
A storage device comprising a display device, further comprising:
a processor configured to perform:
obtaining write life information of the storage device;
and controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment.
In the above storage device, preferably, the display device is disposed on an outer surface of the storage device;
the display device comprises more than one electrochromic transparent display device which is arranged side by side, each electrochromic transparent display device is connected to a mainboard of the storage device, a switch is arranged between each electrochromic transparent display device and the mainboard of the storage device, and each switch is turned off in an initial state of leaving a factory;
the processor controls the display device to display, further comprising:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
determining a first number of electrochromic transparent display devices needing to show a color change effect in the display devices according to the first proportion; a second ratio of the first number to a total number of electrochromic transparent display devices in the display device, consistent with the first ratio;
and controlling the first number of the electrochromic transparent display devices in the display devices to display a color change effect by controlling the corresponding switches to be closed, so that the currently consumed writing life of the storage device is obtained through the first number of the electrochromic transparent display devices displaying the color change effect.
In the above memory device, preferably, the processor controls the first number of electrochromic transparent display devices in the display device to display a color change effect, and further includes:
determining a second number of electrochromic transparent display devices that have exhibited a color change effect among the display devices at present;
calculating a third number of the electrochromic transparent display devices which need to be subjected to color change control currently according to the first number and the second number;
and controlling the switches of a third number of the electrochromic transparent display devices to be closed, so that the third number of the electrochromic transparent display devices present a color change effect.
In the storage device, preferably, the display device is disposed on a housing of the storage device;
the display device includes: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the electro-deformation device is connected with the processor through a switch circuit, and the switch circuit is turned off in an initial state of leaving a factory;
the processor controls the display device to display, further comprising:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result;
if the judgment result shows that the current is reached, the switch circuit is controlled to be closed, so that the electro-deformation device deforms, and the label device is in a tearing state when the electro-deformation device deforms.
According to the scheme, the display control method can be applied to the storage device comprising the display device, the method comprises the steps of obtaining the writing life information of the storage device and controlling the display device of the storage device to display, the display effect of the display device is used for indicating the writing life information, and the display effect of the display device after power failure keeps indicating the writing life information of the storage device at the power failure moment. It can be seen that, by applying the scheme of the application, whether power is on or not, the writing life information of the storage device can be known by directly observing the display effect of the display device included in the storage device, and the writing life of the storage device can be known without calling out and reading the SMART information of the storage device under the power-on condition, so that compared with the prior art, the writing life information of the storage device can be more conveniently and intuitively known by the scheme of the application.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a display control method provided in the present application;
fig. 2 is a flowchart of a second embodiment of a display control method provided in the present application;
fig. 3 is a schematic diagram of a display device disposed on a storage device according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a display device according to a third embodiment of the present application;
fig. 5 is a flowchart of a third embodiment of a display control method provided in the present application;
fig. 6 is a flowchart of a fourth embodiment of a display control method provided in the present application;
fig. 7 is another schematic diagram of a display device provided on a storage device according to a fifth embodiment of the present application;
fig. 8 is a schematic diagram illustrating a connection relationship between a display device and a storage device according to a fifth embodiment of the present application;
fig. 9 is a flowchart of a fifth embodiment of a display control method provided in the present application;
FIG. 10 is a schematic diagram illustrating the tearing of the label device in the display device according to the fifth embodiment of the present application;
fig. 11 is a schematic structural diagram of a sixth embodiment of a memory device provided in the present application.
Detailed Description
For the sake of reference and clarity, the technical terms, abbreviations or abbreviations used hereinafter are to be interpreted in summary as follows:
write life: some current storage devices, such as solid state disk, non-volatile memory AEP, etc., have a limitation on the number of times of erasing and writing, and assuming that the maximum physical storage space of the storage device is N and the maximum allowable number of times of erasing and writing is x, the initial total write life of the storage device may be represented as N x, that is, the storage device corresponds to the available life space of N x in the initial unused state, and then, in the process of using the storage device after the storage device leaves the factory, the total storage amount of data corresponding to all erasing and writing operations on the storage device by a user may be understood as the consumed write life of the storage device.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
In an embodiment of the present application, a display control method is provided, where the method is applicable to a storage device, where the storage device may be, but is not limited to, a solid state disk, a non-volatile memory, or another storage device with a write lifetime detection requirement, and with reference to a flowchart of a first embodiment of the display control method shown in fig. 1, the method may include the following steps:
and 101, obtaining the write life information of the storage device.
The related write life detection algorithm can be packaged in the storage device in advance, and the write life information of the storage device can be detected by utilizing the write life detection algorithm packaged in advance when the storage device is powered on.
At present, some storage devices having a write-in lifetime detection requirement, such as a solid state disk, a non-volatile memory, and the like, are generally packaged with a related algorithm for performing write-in lifetime detection before shipping, so that, when power is turned on, the detection of the write-in lifetime of the storage device can be directly realized by using the algorithm.
The detected write lifetime information may indicate the currently consumed write lifetime of the storage device, or may indicate the remaining write lifetime of the storage device, and so on, where the indicated contents depend on the specific algorithm used.
And 102, controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment.
After the write-in life information of the storage device is detected, the display effect of the display device included in the storage device is controlled, so that the display device correspondingly presents the display effect capable of indicating the write-in life information, and therefore on the basis, a user can know the write-in life condition of the storage device by observing the display effect of the display device on the storage device, for example, the consumed write-in life condition of the storage device or the residual write-in life condition of the storage device and the like.
Wherein, display device is after the power failure, and its display effect still can keep the display effect of power failure moment, that is to say, power failure back display device's display effect still can instruct the storage device write-in life information of power failure moment, and based on this, whether utilize this application scheme, no matter add power on, can both know storage device's the display effect of display device that storage device includes through observing, write-in life condition.
According to the scheme, the display control method can be applied to the storage device comprising the display device, the method comprises the steps of obtaining the writing life information of the storage device and controlling the display device of the storage device to display, the display effect of the display device is used for indicating the writing life information, and the display effect of the display device after power failure keeps indicating the writing life information of the storage device at the power failure moment. It can be seen that, by applying the scheme of the application, whether power is on or not, the writing life information of the storage device can be known by directly observing the display effect of the display device included in the storage device, and the writing life of the storage device can be known without calling out and reading the SMART information of the storage device under the power-on condition, so that compared with the prior art, the writing life information of the storage device can be more conveniently and intuitively known by the scheme of the application. .
Example two
Referring to the flowchart of the second embodiment of the display control method shown in fig. 2, in this embodiment, the step 102, controlling the display device to display, may be implemented by the following processing procedures:
step 201, according to the write life information, determining a first proportion of the currently consumed write life of the storage device to the initial total write life of the storage device.
The embodiment aims to enable a user to conveniently and intuitively know the currently consumed writing life of the storage device through the display effect presented by the display device of the storage device.
For this purpose, after detecting the write lifetime information of the storage device by using the corresponding algorithm, the embodiment first obtains a first ratio of the currently consumed write lifetime of the storage device to the initial total write lifetime of the storage device according to the detected write lifetime information.
Step 202, controlling the display device to display, so that a display part with a first proportion in the display device presents a display effect different from that of other parts; so that the write lifetime currently consumed by the storage device is obtained by the display effect of the first proportion of the display portions being different from the display effect of the other portions.
On the basis of determining the first ratio, the present embodiment controls the display portion of the first ratio in the display device to present a display effect different from that of other portions, for example, the display portion of the first ratio of the display device may be controlled to present a color different from that of other portions, so that the user can know the write lifetime currently consumed by the storage device through the display effect different from that of other portions presented by the display portion of the first ratio.
EXAMPLE III
In this embodiment, the display device is specifically formed by an electrochromic transparent display device, so that the display effect of the display device is controllable.
Referring to fig. 3, in the figure, 301 denotes a display device, 302 denotes a storage device, and 303 denotes an electrochromic transparent display device, then as shown in fig. 3, the display device is disposed on an outer surface of the storage device, the display device includes more than one electrochromic transparent display devices side by side, each electrochromic transparent display device is connected to a main board of the storage device, and a switch is disposed between each electrochromic transparent display device and the main board of the storage device, and each switch is turned off in an initial state of factory shipment.
Further, the electrochromic transparent display device may be electrochromic transparent glass, accordingly, the display device includes a plurality of electrochromic transparent glasses side by side, and referring to fig. 4, fig. 4 shows a schematic diagram of a display device composed of 10 electrochromic transparent glasses side by side. Each electrochromic transparent glass is connected with the mainboard of the storage device through a switch, so that when the electrochromic transparent glass needs to be powered on, the mainboard of the storage device can be used as a power supply to take power, the switch corresponding to each electrochromic transparent glass is turned off in the initial state of leaving a factory, and the electrochromic transparent glass is not discolored in the initial state of leaving the factory, and once the electrochromic transparent glass is discolored by power, the electrochromic transparent glass cannot be recovered, namely once the electrochromic transparent glass is discolored, the color change effect is kept no matter whether the subsequent power is on or not.
On this basis, referring to a flowchart of a second embodiment of a display control method shown in fig. 5, in this embodiment, the step 102 may be implemented by controlling the display device to display, and further implemented by the following processing procedures:
step 501, according to the write life information, determining a first proportion of the currently consumed write life of the storage device to the initial total write life of the storage device.
The same object as the embodiment is to enable a user to intuitively know the write life that the storage device has currently consumed, by the display effect exhibited by the display device of the storage device.
For this purpose, after detecting the write lifetime information of the storage device by using the corresponding algorithm, the embodiment first obtains a first ratio of the currently consumed write lifetime of the storage device to the initial total write lifetime of the storage device according to the detected write lifetime information.
Step 502, determining a first number of electrochromic transparent display devices which need to show a color change effect in the display devices according to the first proportion; the first number is a second proportion of the total number of electrochromic transparent display devices in the display device, consistent with the first proportion.
In this embodiment, the first ratio of the consumed write lifetime of the storage device to the initial total write lifetime of the storage device is indicated by the ratio of the number of electrochromic transparent glasses exhibiting a color change effect to the total number of all the electrochromic transparent glasses in each electrochromic transparent glass of the display device.
Based on this, in this step, a first number of electrochromic transparent glasses required to exhibit a color change effect in the display device is determined according to the first ratio, and it is understood that a second ratio of the first number to the total number of electrochromic transparent glasses in the display device should be consistent with the first ratio.
Taking the case of fig. 4 where the display device is composed of 10 electrochromic transparent glasses arranged side by side as an example, if the first ratio is 61%, it can be determined that 6 electrochromic transparent glasses need to be controlled to exhibit the color change effect, and the ratio of the electrochromic transparent glasses exhibiting the color change effect to the total number of glasses is 60%, which is consistent with the first ratio of 61%.
Step 503, controlling the electrochromic transparent display devices of the first number in the display devices to present a color change effect by controlling the corresponding switches to be closed, so that the currently consumed write life of the storage device is obtained by the first number of the electrochromic transparent display devices presenting the color change effect.
On the basis of determining the first number, further determining a second number of electrochromic transparent glasses which present a color-changing effect in the display device, and calculating a third number of electrochromic transparent glasses which present a color-changing control (i.e. subtracting the second number from the first number) according to the first number and the second number, and further controlling the switch of the electrochromic transparent glasses of the third number in the display device to be closed, so that the electrochromic transparent glasses of the third number are electrified and present a color-changing effect, and combining the electrochromic transparent glasses of the second number which present a color-changing effect, the display device shares the electrochromic transparent glasses of the first number to present a color-changing effect, and a user can pass the color-changing effect of the glass no matter whether the storage device is electrified or not subsequently, to know the status of the consumed write lifetime of the storage device.
Example four
Referring to the flowchart of a fourth embodiment of the display control method shown in fig. 6, in this embodiment, the step 102 may be implemented by controlling the display device to display, and further by:
step 601, according to the write life information, judging whether the currently consumed write life of the storage device reaches a preset life threshold value, and obtaining a judgment result.
Step 602, if the determination result indicates that the current write life has reached the life threshold, controlling the display device to display a display effect capable of indicating that the currently consumed write life of the storage device has reached the life threshold.
The embodiment aims to enable a user to conveniently and intuitively know whether the currently consumed writing life of the storage device reaches a certain life node, for example, whether the writing life of the storage device is consumed or not, through a display effect displayed by a display device of the storage device.
Thus, the lifetime threshold may be a corresponding value indicating that the write lifetime consumed by the storage device reaches a certain lifetime node, for example, specifically, may be a proportional threshold indicating that the write lifetime of the storage device has been consumed: 100% (i.e., the consumed write life reaches 100% of the total write life), or a value relatively close to 100%, etc.
On the basis of detecting the write-in life information of the storage device, the embodiment firstly judges whether the write-in life consumed by the storage device currently reaches a preset life threshold value according to the write-in life information, and controls the display effect of the display device if the judgment result indicates that the write-in life consumed by the storage device currently reaches the preset life threshold value, so that the display effect of the display device can indicate that the write-in life consumed by the storage device currently reaches the life threshold value, and a user can visually know the relation between the write-in life consumed by the storage device and the life threshold value by observing the display effect.
EXAMPLE five
In this embodiment, the display device is configured by using an electrostrictive device in combination with a label device, so that the display effect of the display device is controllable.
Specifically, referring to fig. 7 in which 701 denotes a memory device, 702 denotes an electro-deformable device, 703 denotes a label device, and 704 denotes a slot formed in a housing of the memory device, the display device includes, as shown in fig. 7: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the storage device housing may be provided with a slot, the electrostrictive device may be provided in the slot, the label device may be provided on an outer surface of the electrostrictive device, the electrostrictive device may specifically be an electrostrictive material module, and the label device may specifically be a laser anti-counterfeit label, and is unrecoverable when deformed by application of power.
The electrical connection between the display device and the storage device is shown in fig. 8, taking the storage device as the non-volatile memory AEP as an example, and the electrical connection between the display device and the storage device is connected to the controller of the storage device through the switch circuit.
The switching circuit is turned off in an initial state of leaving a factory to ensure that the electro-deformation device is not deformed in the initial state.
Based on this, referring to the flowchart of the fifth embodiment of the display control method shown in fig. 9, in this embodiment, the step 102 may be implemented by controlling the display device to display, and further implemented by the following processing procedures:
step 901, judging whether the currently consumed write life of the storage device reaches a preset life threshold value according to the write life information to obtain a judgment result;
and 902, if the judgment result shows that the judgment result is reached, controlling the switch circuit to be closed through the controller, so that the electrostrictive device deforms, and the label device is in a tearing state when the electrostrictive device deforms.
The fourth embodiment is directed to a display effect displayed by the display device of the storage device, so that a user can conveniently and intuitively know whether the currently consumed write lifetime of the storage device reaches a certain lifetime node, for example, whether the write lifetime of the storage device is consumed.
Thus, the lifetime threshold may be a corresponding value indicating that the write lifetime consumed by the storage device reaches a certain lifetime node, for example, specifically, may be a proportional threshold indicating that the write lifetime of the storage device has been consumed: 100% (i.e., the consumed write life reaches 100% of the total write life), or a value relatively close to 100%, etc.
On the basis of detecting the write-in life information of the storage device, the embodiment first determines whether the currently consumed write-in life of the storage device reaches a preset life threshold according to the write-in life information. If the judgment result shows that the situation is reached, the controller controls the switch circuit to be closed, so that the electric deformation device is powered on, under the condition of power on, the electric deformation device can be stretched and deformed, and then the label device arranged on the surface of the electric deformation device can be torn, and the tearing effect can refer to the schematic diagram of fig. 10.
Therefore, once the consumed writing life of the storage device reaches the life threshold, a user can intuitively know the situation of the storage device through the tearing state presented by the tag device without indirectly knowing by calling out the SMART information of the storage device.
It should be noted that, because the electrostrictive device is subjected to tensile deformation when powered on, in an initial state of leaving a factory, a certain idle space should be reserved in a hole groove where the electrostrictive device is located on the storage device, so that when the electrostrictive device is subjected to tensile deformation, a sufficient deformation space can be reserved, and thus, a label device arranged on the electrostrictive device can be ensured to be torn when the electrostrictive device is deformed.
EXAMPLE six
An embodiment of the present application provides a storage apparatus, where the storage apparatus may be, but is not limited to, a solid state disk, a non-volatile memory, and the like, and has a write lifetime detection requirement, and with reference to a schematic structural diagram of an embodiment of the storage apparatus shown in fig. 11, the storage apparatus may include:
a display device 1;
a processor 2, the processor 2 being configured to perform: obtaining write life information of the storage device; and controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment.
The related write life detection algorithm can be packaged in the storage device in advance, and the write life information of the storage device can be detected by utilizing the write life detection algorithm packaged in advance when the storage device is powered on.
At present, some storage devices having a write-in lifetime detection requirement, such as a solid state disk, a non-volatile memory, and the like, are generally packaged with a related algorithm for performing write-in lifetime detection before shipping, so that, when power is turned on, the detection of the write-in lifetime of the storage device can be directly realized by using the algorithm.
The detected write lifetime information may indicate the currently consumed write lifetime of the storage device, or may indicate the remaining write lifetime of the storage device, and so on, where the indicated contents depend on the specific algorithm used.
After the write-in life information of the storage device is detected, the display effect of the display device included in the storage device is controlled, so that the display device correspondingly presents the display effect capable of indicating the write-in life information, and therefore on the basis, a user can know the write-in life condition of the storage device by observing the display effect of the display device on the storage device, for example, the consumed write-in life condition of the storage device or the residual write-in life condition of the storage device and the like.
Wherein, display device is after the power failure, and its display effect still can keep the display effect of power failure moment, that is to say, power failure back display device's display effect still can instruct the storage device write-in life information of power failure moment, and based on this, whether utilize this application scheme, no matter add power on, can both know storage device's the display effect of display device that storage device includes through observing, write-in life condition.
According to the scheme, the storage device comprises the display device, the storage device obtains the writing life information of the storage device and controls the display device of the storage device to display, the display effect of the display device is used for indicating the writing life information, and the display effect of the display device after power failure keeps the writing life information of the storage device indicating the power failure time. It can be seen that, by applying the scheme of the application, whether power is on or not, the writing life information of the storage device can be known by directly observing the display effect of the display device included in the storage device, and the writing life of the storage device can be known without calling out and reading the SMART information of the storage device under the power-on condition, so that compared with the prior art, the writing life information of the storage device can be more conveniently and intuitively known by the scheme of the application. .
EXAMPLE seven
In this embodiment, the processor 2 controls the display device to display, and may be implemented by the following processing procedures:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information; controlling the display device to display so that a display part with a first proportion in the display device presents a different display effect from other parts; so that the write lifetime currently consumed by the storage device is obtained by the display effect of the first proportion of the display portions being different from the display effect of the other portions.
The embodiment aims to enable a user to conveniently and intuitively know the currently consumed writing life of the storage device through the display effect presented by the display device of the storage device.
For this purpose, after detecting the write lifetime information of the storage device by using the corresponding algorithm, the embodiment first obtains a first ratio of the currently consumed write lifetime of the storage device to the initial total write lifetime of the storage device according to the detected write lifetime information.
On the basis of determining the first ratio, the present embodiment controls the display portion of the first ratio in the display device to present a display effect different from that of other portions, for example, the display portion of the first ratio of the display device may be controlled to present a color different from that of other portions, so that the user can know the write lifetime currently consumed by the storage device through the display effect different from that of other portions presented by the display portion of the first ratio.
Example eight
In this embodiment, the display device is specifically formed by an electrochromic transparent display device, so that the display effect of the display device is controllable.
Referring to fig. 3, in the figure, 301 denotes a display device, 302 denotes a storage device, and 303 denotes an electrochromic transparent display device, then as shown in fig. 3, the display device is disposed on an outer surface of the storage device, the display device includes more than one electrochromic transparent display devices side by side, each electrochromic transparent display device is connected to a main board of the storage device, and a switch is disposed between each electrochromic transparent display device and the main board of the storage device, and each switch is turned off in an initial state of factory shipment.
Further, the electrochromic transparent display device may be electrochromic transparent glass, accordingly, the display device includes a plurality of electrochromic transparent glasses side by side, and referring to fig. 4, fig. 4 shows a schematic diagram of a display device composed of 10 electrochromic transparent glasses side by side. Each electrochromic transparent glass is connected with the mainboard of the storage device through a switch, so that when the electrochromic transparent glass needs to be powered on, the mainboard of the storage device can be used as a power supply to take power, the switch corresponding to each electrochromic transparent glass is turned off in the initial state of leaving a factory, and the electrochromic transparent glass is not discolored in the initial state of leaving the factory, and once the electrochromic transparent glass is discolored by power, the electrochromic transparent glass cannot be recovered, namely once the electrochromic transparent glass is discolored, the color change effect is kept no matter whether the subsequent power is on or not.
On this basis, in this embodiment, the processor 2 may control the display device to display, and may also be implemented by the following processing procedures:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information; determining a first number of electrochromic transparent display devices needing to show a color change effect in the display devices according to the first proportion; a second ratio of the first number to a total number of electrochromic transparent display devices in the display device, consistent with the first ratio; and controlling the first number of the electrochromic transparent display devices in the display devices to display a color change effect by controlling the corresponding switches to be closed, so that the currently consumed writing life of the storage device is obtained through the first number of the electrochromic transparent display devices displaying the color change effect.
The same object as the embodiment is to enable a user to intuitively know the write life that the storage device has currently consumed, by the display effect exhibited by the display device of the storage device.
For this purpose, after detecting the write lifetime information of the storage device by using the corresponding algorithm, the embodiment first obtains a first ratio of the currently consumed write lifetime of the storage device to the initial total write lifetime of the storage device according to the detected write lifetime information.
In this embodiment, the first ratio of the consumed write lifetime of the storage device to the initial total write lifetime of the storage device is indicated by the ratio of the number of electrochromic transparent glasses exhibiting a color change effect to the total number of all the electrochromic transparent glasses in each electrochromic transparent glass of the display device.
Based on this, a first number of electrochromic transparent glasses in the display device, which are required to exhibit a color change effect, needs to be determined first according to the first ratio, and it can be understood that a second ratio of the first number to the total number of electrochromic transparent glasses in the display device should be consistent with the first ratio.
Taking the case of fig. 4 where the display device is composed of 10 electrochromic transparent glasses arranged side by side as an example, if the first ratio is 61%, it can be determined that 6 electrochromic transparent glasses need to be controlled to exhibit the color change effect, and the ratio of the electrochromic transparent glasses exhibiting the color change effect to the total number of glasses is 60%, which is consistent with the first ratio of 61%.
On the basis of determining the first number, further determining a second number of electrochromic transparent glasses which present a color-changing effect in the display device, and calculating a third number of electrochromic transparent glasses which present a color-changing control (i.e. subtracting the second number from the first number) according to the first number and the second number, and further controlling the switch of the electrochromic transparent glasses of the third number in the display device to be closed, so that the electrochromic transparent glasses of the third number are electrified and present a color-changing effect, and combining the electrochromic transparent glasses of the second number which present a color-changing effect, the display device shares the electrochromic transparent glasses of the first number to present a color-changing effect, and a user can pass the color-changing effect of the glass no matter whether the storage device is electrified or not subsequently, to know the status of the consumed write lifetime of the storage device.
Example nine
In this embodiment, the processor 2 controls the display device to display, and may also be implemented through the following processing procedures:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result; and if the judgment result shows that the current write life reaches the life threshold, controlling the display device to display a display effect capable of indicating that the current consumed write life of the storage device reaches the life threshold.
The embodiment aims to enable a user to conveniently and intuitively know whether the currently consumed writing life of the storage device reaches a certain life node, for example, whether the writing life of the storage device is consumed or not, through a display effect displayed by a display device of the storage device.
Thus, the lifetime threshold may be a corresponding value indicating that the write lifetime consumed by the storage device reaches a certain lifetime node, for example, specifically, may be a proportional threshold indicating that the write lifetime of the storage device has been consumed: 100% (i.e., the consumed write life reaches 100% of the total write life), or a value relatively close to 100%, etc.
On the basis of detecting the write-in life information of the storage device, the embodiment firstly judges whether the write-in life consumed by the storage device currently reaches a preset life threshold value according to the write-in life information, and controls the display effect of the display device if the judgment result indicates that the write-in life consumed by the storage device currently reaches the preset life threshold value, so that the display effect of the display device can indicate that the write-in life consumed by the storage device currently reaches the life threshold value, and a user can visually know the relation between the write-in life consumed by the storage device and the life threshold value by observing the display effect.
Example ten
In this embodiment, the display device is configured by using an electrostrictive device in combination with a label device, so that the display effect of the display device is controllable.
Specifically, referring to fig. 7 in which 701 denotes a memory device, 702 denotes an electro-deformable device, 703 denotes a label device, and 704 denotes a slot formed in a housing of the memory device, the display device includes, as shown in fig. 7: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the storage device housing may be provided with a slot, the electrostrictive device may be provided in the slot, the label device may be provided on an outer surface of the electrostrictive device, the electrostrictive device may specifically be an electrostrictive material module, and the label device may specifically be a laser anti-counterfeit label, and is unrecoverable when deformed by application of power. The electro-deformable device is connected to the processor 2 of the memory device via a switching circuit.
The switching circuit is turned off in an initial state of leaving a factory to ensure that the electro-deformation device is not deformed in the initial state.
Based on this, in this embodiment, the processor 2 controls the display device to display, and may also be implemented by the following processing procedures:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result; and if the judgment result shows that the detection result is reached, controlling the switch circuit to be closed, so that the electric deformation device deforms, and the label device is in a tearing state when the electric deformation device deforms.
The fourth embodiment is directed to a display effect displayed by the display device of the storage device, so that a user can conveniently and intuitively know whether the currently consumed write lifetime of the storage device reaches a certain lifetime node, for example, whether the write lifetime of the storage device is consumed.
Thus, the lifetime threshold may be a corresponding value indicating that the write lifetime consumed by the storage device reaches a certain lifetime node, for example, specifically, may be a proportional threshold indicating that the write lifetime of the storage device has been consumed: 100% (i.e., the consumed write life reaches 100% of the total write life), or a value relatively close to 100%, etc.
On the basis of detecting the write-in life information of the storage device, the embodiment first determines whether the currently consumed write-in life of the storage device reaches a preset life threshold according to the write-in life information. If the judgment result shows that the current situation is reached, the switch circuit is controlled to be closed, so that the electrostrictive device is powered on, and under the condition of power on, the electrostrictive device can be stretched and deformed, so that the label device arranged on the surface of the electrostrictive device can be torn, and the tearing effect can refer to the schematic diagram of fig. 10.
Therefore, once the consumed writing life of the storage device reaches the life threshold, a user can intuitively know the situation of the storage device through the tearing state presented by the tag device without indirectly knowing by calling out the SMART information of the storage device.
It should be noted that, because the electrostrictive device is subjected to tensile deformation when powered on, in an initial state of leaving a factory, a certain idle space should be reserved in a hole groove where the electrostrictive device is located on the storage device, so that when the electrostrictive device is subjected to tensile deformation, a sufficient deformation space can be reserved, and thus, a label device arranged on the electrostrictive device can be ensured to be torn when the electrostrictive device is deformed.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (7)

1. A display control method is applied to a storage device, wherein the storage device comprises a display device and a controller, and the method comprises the following steps:
obtaining write life information of the storage device;
controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment;
wherein the display device includes: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the electric deformation device is connected with the controller through a switch circuit;
the controlling the display device to display includes:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result;
if the judgment result shows that the current is reached, the controller controls the switch circuit to be closed, so that the electric deformation device deforms, and the label device is in a tearing state when the electric deformation device deforms.
2. The method of claim 1, wherein the controlling the display device to display further comprises:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
controlling the display device to display so that a display part with a first proportion in the display device presents a different display effect from other parts; so that the write lifetime currently consumed by the storage device is obtained by the display effect of the first proportion of the display portions being different from the display effect of the other portions.
3. The method of claim 1, wherein the display device is disposed on an exterior surface of the storage device;
the display device also comprises more than one electrochromic transparent display devices which are arranged side by side, each electrochromic transparent display device is connected to the mainboard of the storage device, a switch is arranged between each electrochromic transparent display device and the mainboard of the storage device, and each switch is turned off in an initial state of leaving a factory;
the controlling the display device to display includes:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
determining a first number of electrochromic transparent display devices needing to show a color change effect in the display devices according to the first proportion; a second ratio of the first number to a total number of electrochromic transparent display devices in the display device, consistent with the first ratio;
and controlling the first number of the electrochromic transparent display devices in the display devices to display a color change effect by controlling the corresponding switches to be closed, so that the currently consumed writing life of the storage device is obtained through the first number of the electrochromic transparent display devices displaying the color change effect.
4. The method of claim 3, wherein the controlling the first number of electrochromic transparent display devices of the display devices to exhibit a color change effect comprises:
determining a second number of electrochromic transparent display devices that have exhibited a color change effect among the display devices at present;
calculating a third number of the electrochromic transparent display devices which need to be subjected to color change control currently according to the first number and the second number;
and controlling the switches of a third number of the electrochromic transparent display devices to be closed, so that the third number of the electrochromic transparent display devices present a color change effect.
5. A storage device, comprising a display device, and further comprising:
a processor configured to perform:
obtaining write life information of the storage device;
controlling the display device to display, wherein the display effect of the display device is used for indicating the written life information, and the display effect of the display device after power failure keeps indicating the written life information of the storage device at the power failure moment;
wherein the display device includes: an electro-deformable device disposed on a housing of the memory device, and a label device disposed on the electro-deformable device; the electro-deformation device is connected with the processor through a switch circuit;
the processor controls the display device to display, further comprising:
judging whether the currently consumed write life of the storage device reaches a preset life threshold value or not according to the write life information to obtain a judgment result;
if the judgment result shows that the current is reached, the switch circuit is controlled to be closed, so that the electro-deformation device deforms, and the label device is in a tearing state when the electro-deformation device deforms.
6. The storage device of claim 5, wherein the display device is disposed on an exterior surface of the storage device;
the display device also comprises more than one electrochromic transparent display devices which are arranged side by side, each electrochromic transparent display device is connected to the mainboard of the storage device, a switch is arranged between each electrochromic transparent display device and the mainboard of the storage device, and each switch is turned off in an initial state of leaving a factory;
the processor controls the display device to display, further comprising:
determining a first proportion of the currently consumed writing life of the storage device to the initial total writing life of the storage device according to the writing life information;
determining a first number of electrochromic transparent display devices needing to show a color change effect in the display devices according to the first proportion; a second ratio of the first number to a total number of electrochromic transparent display devices in the display device, consistent with the first ratio;
and controlling the first number of the electrochromic transparent display devices in the display devices to display a color change effect by controlling the corresponding switches to be closed, so that the currently consumed writing life of the storage device is obtained through the first number of the electrochromic transparent display devices displaying the color change effect.
7. The memory device of claim 6, wherein the processor controls the first number of electrochromic transparent display devices of the display device to exhibit a color change effect, further comprising:
determining a second number of electrochromic transparent display devices that have exhibited a color change effect among the display devices at present;
calculating a third number of the electrochromic transparent display devices which need to be subjected to color change control currently according to the first number and the second number;
and controlling the switches of a third number of the electrochromic transparent display devices to be closed, so that the third number of the electrochromic transparent display devices present a color change effect.
CN201710187974.9A 2017-03-27 2017-03-27 Display control method and storage device Active CN106980566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710187974.9A CN106980566B (en) 2017-03-27 2017-03-27 Display control method and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710187974.9A CN106980566B (en) 2017-03-27 2017-03-27 Display control method and storage device

Publications (2)

Publication Number Publication Date
CN106980566A CN106980566A (en) 2017-07-25
CN106980566B true CN106980566B (en) 2020-05-26

Family

ID=59339034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710187974.9A Active CN106980566B (en) 2017-03-27 2017-03-27 Display control method and storage device

Country Status (1)

Country Link
CN (1) CN106980566B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432963A (en) * 2002-01-18 2003-07-30 惠普公司 Memory equipment with memory space indication
CN1710604A (en) * 2004-06-17 2005-12-21 精工爱普生株式会社 Integrated circuit label model, electronic apparatus, communication system and communication control method
CN201111912Y (en) * 2007-08-28 2008-09-10 上海北大方正科技电脑系统有限公司 Mobile hard disk capable of displaying memory information without electric condition
CN101578587A (en) * 2006-11-24 2009-11-11 桑德福斯公司 Operation for delaying the reduction of lifetime of memery
CN102736902A (en) * 2011-03-30 2012-10-17 和硕联合科技股份有限公司 State display method and storage device
CN104272241A (en) * 2012-04-30 2015-01-07 英派尔科技开发有限公司 Numeric representation to improve life of solid state storage devices
CN104699546A (en) * 2006-11-30 2015-06-10 株式会社东芝 Memory system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7274294B2 (en) * 2005-01-26 2007-09-25 Rf Technologies, Inc. Mobile locator system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1432963A (en) * 2002-01-18 2003-07-30 惠普公司 Memory equipment with memory space indication
CN1710604A (en) * 2004-06-17 2005-12-21 精工爱普生株式会社 Integrated circuit label model, electronic apparatus, communication system and communication control method
CN101578587A (en) * 2006-11-24 2009-11-11 桑德福斯公司 Operation for delaying the reduction of lifetime of memery
CN104699546A (en) * 2006-11-30 2015-06-10 株式会社东芝 Memory system
CN201111912Y (en) * 2007-08-28 2008-09-10 上海北大方正科技电脑系统有限公司 Mobile hard disk capable of displaying memory information without electric condition
CN102736902A (en) * 2011-03-30 2012-10-17 和硕联合科技股份有限公司 State display method and storage device
CN104272241A (en) * 2012-04-30 2015-01-07 英派尔科技开发有限公司 Numeric representation to improve life of solid state storage devices

Also Published As

Publication number Publication date
CN106980566A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN107728398B (en) Liquid crystal writing board system and erasing method thereof
KR101641532B1 (en) Timing control method, timing control apparatus for performing the same and display device having the same
CN108922494B (en) Light sensing module fault detection method and device, display screen and air conditioner
CN107092453B (en) Screen display control method and device and terminal
CN105825797B (en) Display screen detection method and device and terminal
KR20140117475A (en) Low-latency touch-input device
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN104951034A (en) Mobile terminal and USB interface mode control method and device thereof
JP5136272B2 (en) Portable display terminal and program
CN103870222A (en) Display output control method and electronic device
CN104238914A (en) Event record notification method and device and mobile terminal
JP2008130011A (en) Information display device using solar battery, use method thereof and system using the same
CN106980566B (en) Display control method and storage device
CN109685190A (en) A kind of IC card power-off protection method and device
US8365989B2 (en) IC card
US20180059615A1 (en) Imaging cartridge and memory chip applied to imaging cartridge
JP2009230204A (en) Display terminal and display terminal program
TW201117215A (en) Signal generating circuit and related storage apparatus
CN108873548B (en) Electrochromic method and device, electrochromic assembly and electronic equipment
US20150234525A1 (en) Powered card with touch display
CN114528181A (en) Storage protection prompt processing method and device based on solid state disk, and terminal
US9779006B2 (en) Non-volatile fault indication in a storage enclosure
KR20220012593A (en) Display apparatus, control method thereof and integrated circuit chip
EP3745263A1 (en) Electronic device and method for controlling same
CN1862450A (en) Battery failure warning controlling circuit

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