CN114265253B - Memory device and control method thereof - Google Patents

Memory device and control method thereof Download PDF

Info

Publication number
CN114265253B
CN114265253B CN202111672851.7A CN202111672851A CN114265253B CN 114265253 B CN114265253 B CN 114265253B CN 202111672851 A CN202111672851 A CN 202111672851A CN 114265253 B CN114265253 B CN 114265253B
Authority
CN
China
Prior art keywords
color change
electrochromic
control module
change control
display
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
CN202111672851.7A
Other languages
Chinese (zh)
Other versions
CN114265253A (en
Inventor
王岩
杨亚飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dapu Microelectronics Co Ltd
Original Assignee
Shenzhen Dapu Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dapu Microelectronics Co Ltd filed Critical Shenzhen Dapu Microelectronics Co Ltd
Priority to CN202111672851.7A priority Critical patent/CN114265253B/en
Publication of CN114265253A publication Critical patent/CN114265253A/en
Application granted granted Critical
Publication of CN114265253B publication Critical patent/CN114265253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrochromic Elements, Electrophoresis, Or Variable Reflection Or Absorption Elements (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application relates to the field of storage equipment application and discloses storage equipment and a control method thereof, the storage equipment comprises a main control module, a color change control module and a plurality of electrochromic devices, a data distribution unit is arranged on the color change control module and is connected with the color change control unit and each electrochromic device, the power-on time and/or power-on voltage of each electrochromic device are controlled according to pulse signals input by the color change control unit, so that the display color and/or display content of one or more electrochromic devices are adjusted, the display color and/or display content of the shell of the storage equipment are adjusted, the display of state information of the storage equipment can be better realized, fault information can still be kept displayed in the power-down state of the storage equipment or after the environment is changed, the working efficiency of a user and related staff in the aspects of monitoring, fault positioning, factory returning maintenance screening and the like is improved, and the probability of human error is reduced.

Description

Memory device and control method thereof
Technical Field
The present disclosure relates to the field of storage device applications, and in particular, to a storage device and a control method thereof.
Background
Storage devices such as: the solid state disk (Solid State Drives, SSD) is a hard disk made of a solid state electronic memory chip array, and the solid state disk comprises a control unit and a memory unit (FLASH memory chip or DRAM memory chip).
At present, when the storage device works, the current state or fault can be recorded or updated in real time in a fixed storage area configured internally, and the host can access the fault information or state information through a port appointed in advance. For a user or administrator, if such information is desired, the relevant port may be invoked by the host to view the relevant information. However, for some common faults or states, the operation is complicated in a port access mode, and state information of the storage device cannot be intuitively displayed, and cannot be displayed under offline or power-down conditions.
Based on this, improvements are needed in the art.
Disclosure of Invention
The embodiment of the application provides a storage device and a control method thereof, which can better realize the display of the state information of the storage device, and the fault information can still be kept displayed under the power-down state of the storage device or after the environment is changed, thereby improving the working efficiency of users and related staff in the aspects of monitoring, fault positioning, factory return maintenance screening and the like, and reducing the probability of human error occurrence.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
in a first aspect, an embodiment of the present application provides a storage device, including: the device comprises a main control module, a color change control module and a plurality of electrochromic devices, wherein the electrochromic devices are arranged on a shell of the storage device;
the main control module is connected with the color change control module and is used for sending a control signal to the color change control module;
a color change control module, comprising:
the color change control unit is used for receiving the control signals sent by the main control module and controlling the display colors of the plurality of electrochromic devices;
the signal conversion unit is connected with the color change control unit and is used for receiving the pulse signals sent by the color change control unit and generating voltage signals based on the pulse signals;
the data distribution unit is connected with the color change control unit and each electrochromic device and is used for controlling the power-on time and/or power-on voltage of one or more electrochromic devices according to the pulse signals input by the color change control unit so as to adjust the display color and/or display content of one or more electrochromic devices and further adjust the display color and/or display content of the shell of the storage device.
In some embodiments, the color change control module further comprises:
The level shift unit is connected with the signal conversion unit, the data distribution unit and the external power supply and is used for adjusting the output voltage corresponding to the voltage signal of the signal conversion unit, and the external power supply is used for outputting negative voltage to the data distribution unit so as to adjust the output voltage, thereby realizing reversible color change of the electrochromic device.
In some embodiments, after receiving the control signal sent by the main control module, the color change control unit determines a corresponding address selection signal and a voltage control signal according to the number of electrochromic devices so as to control the power-on voltage and/or power-on time of each electrochromic device.
In some embodiments, the memory device comprises three electrochromic devices in a stacked configuration, wherein each electrochromic device is configured to present one of three primary colors to effect a stack of three primary colors, including red, green, and blue.
In some embodiments, the storage device comprises four electrochromic devices, wherein each electrochromic device corresponds to one electric quantity display component one by one, and each electrochromic device is subjected to voltage inversion control by the level shifting unit, so that each electrochromic device is a reversible color-changing electrochromic device, and the available space proportion is displayed through color information of the four electric quantity display components.
In some embodiments, the memory device includes fifteen electrochromic devices, wherein one electrochromic device corresponds to one digital component or one punctuation mark of one digit to enable display of digital information of two digits and one punctuation mark, wherein one digit is displayed by seven digital components.
In some embodiments, an electrochromic device includes:
the color change control module is used for controlling the electrifying voltage and/or electrifying time of the transparent conductive layer so as to cause the electrochromic device to generate color change;
the electrochromic device further includes:
the mask layer is arranged on the upper layer of the substrate layer and is used for presetting character information to be displayed so as to display the character information.
In some embodiments, the color change control unit comprises a single chip microcomputer, and the signal conversion unit comprises a digital-to-analog converter or an analog filter.
In a second aspect, an embodiment of the present application provides a method for controlling a storage device, which is applied to a storage device as in the first aspect, where the method includes:
acquiring a control signal sent by a main control module;
and controlling the energizing voltage and/or energizing time of the one or more electrochromic devices according to the control signal to adjust the display color and/or display content of the one or more electrochromic devices to adjust the display color and/or display content of the housing of the storage device.
In some embodiments, the method further comprises:
after adjusting the display color of the housing of the storage device, each color change control unit is controlled to enter a power-down mode.
In a third aspect, embodiments of the present application also provide a non-volatile computer-readable storage medium storing computer-executable instructions for enabling a storage device to perform a method of controlling a storage device as in the second aspect.
The beneficial effects of the embodiment of the application are that: in a situation different from the prior art, a storage device provided in an embodiment of the present application includes: the device comprises a main control module, a color change control module and a plurality of electrochromic devices, wherein the electrochromic devices are arranged on a shell of the storage device; the main control module is connected with the color change control module and is used for sending a control signal to the color change control module; a color change control module, comprising: the color change control unit is used for receiving the control signals sent by the main control module and controlling the display colors of the plurality of electrochromic devices; the signal conversion unit is connected with the color change control unit and is used for receiving the pulse signals sent by the color change control unit and generating voltage signals based on the pulse signals; the data distribution unit is connected with the color change control unit and each electrochromic device and is used for controlling the power-on time and/or power-on voltage of one or more electrochromic devices according to the pulse signals input by the color change control unit so as to adjust the display color and/or display content of one or more electrochromic devices and further adjust the display color and/or display content of the shell of the storage device.
The data distribution unit is connected with the color change control unit and each electrochromic device and is used for controlling the power-on time and/or power-on voltage of each electrochromic device according to the pulse signals input by the color change control unit so as to adjust the display color and/or display content of one or more electrochromic devices, and further adjust the display color and/or display content of the shell of the storage device.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
Fig. 1 is a schematic structural diagram of a storage device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another memory device according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of an electrochromic device according to an embodiment of the present application;
fig. 4 is a flowchart of a control method of a storage device according to an embodiment of the present application;
fig. 5 is an overall flow schematic diagram of a control method of a storage device according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a stacked configuration of electrochromic devices provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of another memory device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a color change control module according to an embodiment of the present application;
fig. 9 is a schematic diagram of a specific structure of a color change control module according to an embodiment of the present application;
FIG. 10 is a schematic diagram of proportional information of an available space according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another memory device according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of a specific structure of another color change control module according to an embodiment of the present application;
FIG. 13 is a schematic illustration of a display of digital information provided by an embodiment of the present application;
FIG. 14 is a schematic diagram of the available space of a storage device according to an embodiment of the present application;
FIG. 15 is a schematic diagram of status information of a storage device according to an embodiment of the present application;
FIG. 16 is a schematic diagram of a structure of a further memory device according to an embodiment of the present application;
FIG. 17 is a schematic view of an electrochromic device according to an embodiment of the present application;
fig. 18 is a schematic diagram of a specific structure of another color change control module according to an embodiment of the present application;
fig. 19 is a flowchart of a control method of a storage device according to an embodiment of the present application;
fig. 20 is a flowchart of another control method of a storage device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that, if not conflicting, the various features in the embodiments of the present application may be combined with each other, which is within the protection scope of the present application. In addition, while functional block division is performed in a device diagram and logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. Moreover, the words "first," "second," "third," and the like as used herein do not limit the data and order of execution, but merely distinguish between identical or similar items that have substantially the same function and effect.
Before describing the present application in detail, the terms and terminology involved in the embodiments of the present application will be described, and the terms and terminology involved in the embodiments of the present application are suitable for the following explanation:
(1) Electrochromic refers to a phenomenon that optical properties (reflectivity, transmissivity, absorptivity and the like) of a material change in color stably and reversibly under the action of an applied electric field, and is expressed as reversible changes in color and transparency in appearance. Materials having electrochromic properties are referred to as electrochromic materials, and devices made from electrochromic materials are referred to as electrochromic devices. The electrochromic material has bistable property, and the electrochromic display device made of the electrochromic material does not need a backlight lamp, and after displaying a static image, the display content is not changed, so that power consumption is avoided, and the aim of saving energy is fulfilled. Compared with other displays, the electrochromic device has the advantages of blind angle, high contrast, low manufacturing cost, wide working temperature range, low driving voltage, rich colors and the like, and has great application prospects in the fields of instrument display, outdoor advertisements, static display and the like.
The memory comprises a solid-state memory, and can record or update the current state or fault in real time in a fixed storage area configured internally during operation, and the host can access the information through a port appointed in advance. For a user or administrator, if such information is desired, the port may be invoked by the host to view such information. In some memory product designs, one or more of these information items, important or commonly used, are visually displayed by placing an indicator light or LED screen on the surface of the housing.
Currently, due to lack of visual display of memory status or failure, it is inconvenient to view or manage; or even if such functions and components are present, their operation requires a memory power-up state.
On the one hand, if the memory has no visual display of status or failure, although the user or administrator can call the corresponding port to acquire the information through the host, the method is inconvenient, low in efficiency and easy to miss (such as tens or even millions of disks in a large-scale data center and a cloud computing center), and a certain failed disk is found and confirmed, so that a plurality of steps are needed.
On the other hand, in the design of some memory products, one or more important or common items of information are visually displayed by arranging an indicator lamp or an LED screen on the surface of the shell; however, once powered down, this information is likewise not visible. In some situations, such as power-down maintenance of a data center, fault return to factories, etc., users and staff want to be able to screen and judge the state or fault of a memory in the power-down state, but the prior art still cannot be satisfied.
Based on the above, the embodiment of the application provides a storage device, which improves the state detection efficiency of the storage device.
The following specifically describes the technical scheme of the present application with reference to the drawings of the specification:
referring to fig. 1, fig. 1 is a schematic structural diagram of a storage device according to an embodiment of the present application;
as shown in fig. 1, the storage device 100 includes: a main control module 110, a color change control module 120, and an electrochromic device 130, wherein,
the main control module 110 is connected with the color change control module 120 and is used for monitoring state information generated in the storage device 100 to send a control signal to the color change control module 120 so as to wake up the color change control module 120; wherein the status information includes, but is not limited to: fault information, usage status information, for example: available space information, available capacity information, health index information, last usage time information, bad block number information.
The color change control module 120 is connected with the main control module 110 and the electrochromic device 130, and is used for receiving the control signal sent by the main control module 110, generating a pulse signal, and sending the pulse signal to the electrochromic device 130 so as to control the electrifying voltage and/or electrifying time of the electrochromic device 130;
the electrochromic device 130 is disposed on the housing of the storage device 100, and is connected to the color change control module 120, and is configured to change its display color according to the power-on voltage and/or the power-on time, so as to adjust the display color of the housing of the storage device 100.
Referring to fig. 2 again, fig. 2 is a schematic structural diagram of a memory device according to an embodiment of the present application;
as shown in fig. 2, the storage device 100 is in communication connection with a host in a wired or wireless manner for implementing data interaction, where the storage device 100 may be a storage device such as a mechanical Hard Disk (HDD), a solid state Disk (Solid State Drives, SSD), a mobile Hard Disk, a fixed Hard Disk, and the like, and the storage device is provided with a housing.
Specifically, the storage device 100 includes: a main control module 110, a color change control module 120, an electrochromic device 130, a dynamic memory module 140 and a plurality of flash memories 150.
The main control module 110 is a main controller or an SSD controller, and includes a processor 111, a host interface controller 112, a cache controller 113, a flash memory controller 114, a cache unit 115, and a data codec unit 116.
Specifically, the processor 111 is connected to the host interface controller 112, the cache controller 113 and the flash memory controller 114, where the processor 111 and the host interface controller 112, the cache controller 113 and the flash memory controller 114 may be connected by buses or other manners, and the processor is configured to run nonvolatile software programs, instructions and modules to implement data processing or command processing of the main control module 110.
In the embodiment of the present application, when the storage device 100 operates, the main control module 110 monitors the operation states of all components including the main control module 110, for example: the operating state of one or more of the processor 111, the host interface controller 112, the cache controller 113, the flash memory controller 114, the cache unit, the data codec unit 116, and the flash memory 150 in the main control module 110. When one or more states associated with the color change control module 120 are found to change or change, i.e., a predefined fault or state occurs, the processor 111 sends a hardware reset signal to the color change control unit 121 of the color change control module 120 to wake up the color change control unit 121 of the color change control module 120, for example: the singlechip sends state information or fault information corresponding to the fault to the color change control unit 121, so that the color change control unit 121 enters a working mode after being awakened, receives the state information or fault information sent by the processor 111, and sends a pulse signal to the signal conversion unit 122 according to the state information or fault information so as to control the electrifying voltage and/or electrifying time of the transparent conductive layer of the electrochromic device 130, so that the shell of the storage device is partially or completely changed.
Specifically, the host interface controller 112 is connected to the processor 111, the cache controller 113, and the flash memory controller 114, and is used for controlling interfaces for interfacing with a host, where the interfaces are used for receiving data sent by the host, or receiving data sent by the processor 111, and implementing data transmission between the host and the processor 111, where the interfaces include SATA-2 interfaces, SATA-3 interfaces, SAS interfaces, MSATA interfaces, PCI-E interfaces, NGFF interfaces, CFast interfaces, SFF-8639 interfaces, and interfaces of m.2nvme/SATA protocols.
Specifically, the cache controller 113 is connected to the processor 111, the cache unit 115, and the dynamic storage module 140, and is configured to control data in the cache unit 115, for example: and reading or writing data sent by the host.
Specifically, the flash memory controller 114 is connected to the processor 111, the cache controller 113, the data codec unit 116, and the plurality of flash memories 150, and is configured to access the plurality of flash memories 150 at the back end, and manage various parameters and data I/O of the flash memories 150; or, the interface and the protocol for providing access are used for realizing a corresponding SAS/SATA target protocol end or NVMe protocol end, acquiring an I/O instruction sent by the host, decoding and generating an internal private data result, and waiting for execution; or for taking care of the core processing of the flash translation layer (Flash translation layer, FTL). The flash controller 114 uses flash commands conforming to the ONFI and Toggle standards of the flash memory to manage the reading and writing of data from the cache memory to the flash memory. The flash controller is connected and communicates with the flash memory, and from a single flash perspective, a Die/LUN is the basic unit of flash command execution.
Specifically, the buffer unit 115 is mainly used for buffering a read/write command sent by a host and read data or write data obtained from the flash memory 150 according to the read/write command sent by the host.
Specifically, the data encoding and decoding unit 116 includes an ECC module for performing ECC check. It can be appreciated that since the flash memory stores an error rate naturally, for the correctness of data, an ECC check protection should be added to the original data during the data writing operation, which is an encoding process. When reading data, it is also necessary to detect and correct errors by decoding, and if the number of bits in error exceeds the ECC error correction capability, the data is uploaded to the host in a "non-error-correctable" form. The ECC encoding and decoding process is performed by the data codec unit 116. ECC algorithms in SSDs are mainly BCH and LDPC, which are increasingly becoming the mainstream.
The color change control module 120 is connected to the processor 111 and the electrochromic device 130, and is configured to receive a control signal sent by the processor 111, so as to control a display color of the electrochromic device 130.
The color change control module 120 includes: the color change control unit 121 and the signal conversion unit 122, the color change control module 121 is connected to the signal conversion unit 122, and the color change control unit 121 is configured to receive the control signal sent by the processor 111, generate a pulse signal, and send the pulse signal to the signal conversion unit 122, so that the signal conversion unit 122 controls the display color of the electrochromic device 130 according to the pulse signal.
Specifically, the color change control unit 121 is connected to the processor 111 of the main control module 110, and is configured to receive a control signal sent by the processor 111 of the main control module 110 and generate a pulse signal;
specifically, the signal conversion unit 122 is connected to the color change control unit 121 and the electrochromic device 130, and is configured to receive the pulse signal sent by the color change control unit 121, and control the power-on voltage and/or the power-on time of the electrochromic device 130 according to the pulse signal, so as to control the display color of the electrochromic device 130. The signal conversion unit is used for controlling the energizing voltage and/or energizing time of the transparent conductive layer so as to enable the electrochromic device to generate color change.
In the embodiment of the present application, the color-change control unit 121 includes a single-chip microcomputer, for example: the AT89S52 single-chip microcomputer is configured to receive a control signal sent by the processor 111 of the main control module 110, so as to output a pulse signal, where the pulse signal includes a pulse width modulation signal (Pulse Width Modulation, PWM), and the signal conversion unit 122 includes a digital-to-analog converter or an analog filter, where the digital-to-analog converter or the analog filter converts the pulse width modulation signal output by the single-chip microcomputer into a continuous voltage value.
In this embodiment of the present application, after the corresponding external color display control operation is performed, the color change control unit 121, for example, a singlechip, enters the power-down mode or enters the sleep mode again by setting a register, and when entering the power-down mode, the power consumption can be reduced to below 0.1 μa due to the fact that the power consumption is reduced to 2mA when entering the sleep mode, and the power consumption is different by tens of thousands times. It will be appreciated that since the external color control does not work frequently, the color change control unit is preferably controlled to enter the power-down mode after adjusting the display color of the housing of the storage device. In the embodiment of the present application, the color change control unit 121 includes, but is not limited to, a processing unit with data processing capability, such as a single-chip microcomputer, a microprocessor, a central processing unit, and the like. Wherein, the singlechip includes 51 singlechip.
The electrochromic device 130 is disposed on the housing of the storage device, may be an integral housing or a partial housing, and the electrochromic device 130 may change its own color according to status information or fault information of the current status of the operation of the storage device 100, so as to change the color of the housing of the storage device 100.
It will be appreciated that since the electrochromic device 130 is reversible, when one or more states associated with the color change control module 120 are reversible, i.e., reversible faults, such as: the working temperature is too high, the available capacity is too low, and the like, so that the possible fault state can be restored to the normal state along with the operation of the storage device, and at the moment, the color change of the shell of the storage device also changes reversely, and the processing process is similar to that of the forward change. Specifically, the main control module, for example: the main controller or the SSD controller sends out a hardware reset signal to wake up the color change control unit 121 of the color change control module 120, and sends state information or fault information corresponding to one or more states which are reversely changed to the color change control unit 121; after the color change control unit 121 is awakened, it enters a normal operation mode, receives fault information or status information sent by the processor 111, determines external color control according to the fault information or status information, and outputs a pulse signal, and the signal conversion unit 122, for example: a digital-to-analog converter (DAC) or an analog filter, according to the color change control unit 121, for example: the pulse width modulation output (PWM) of the single chip microcomputer controls the energizing voltage and energizing time of the transparent conductive layer in the electrochromic device 130 such that the housing color of the memory device changes. After the singlechip performs the corresponding external color control operation, the power-down mode is entered again through setting a register.
It will be appreciated that if the above state does not reverse during operation of the memory device or after a restart, the housing color of the memory device will remain, depending on the characteristics of the electrochromic material.
It should be noted that there is another type of status related to the storage device, which cannot implement self-inversion, such as bad block proportion exceeding a threshold value, wear life reaching a dangerous period, and the like. At this time, after the color of the shell corresponding to the state or fault is changed, the self-inversion cannot be realized, and even if the storage equipment is powered down, the storage equipment is kept all the time, so that the classification, screening and other works of the storage can be realized by relevant personnel of users or factories. It can be understood that if the storage device with irreversible failure is maintained or returned to the factory for maintenance, the corresponding failure problem is solved, and the shell color of the storage device can be reversely changed into the original normal color through an external circuit or an internal interface instruction of the storage device.
Specifically, referring to fig. 3 again, fig. 3 is a schematic structural diagram of an electrochromic device according to an embodiment of the present application;
as shown in fig. 3, the electrochromic device includes: a transparent protective layer, a transparent conductive layer, an electrochromic layer, an electrolyte layer, an ion storage layer, and a substrate layer.
Wherein, the transparent protective layer, namely the transparent insulating protective layer, is arranged on the uppermost layer or the outermost layer of the electrochromic device;
the substrate layer is disposed on the lowermost layer or the bottommost layer of the electrochromic device, and may be a colored material or a transparent material, but black or a material close to black is not used in view of contrast enhancement.
The transparent conducting layer is arranged below the transparent protective layer and above the substrate layer, and the electrochromic device comprises two transparent conducting layers, wherein one transparent conducting layer is grounded, each transparent conducting layer at least has two points, namely a good electronic conductor and high light transmittance. Two common transparent conductive glasses, fluorine (F) doped tin oxide (SnO 2 ) A transparent conductive layer serving as conductive glass, abbreviated as FTO glass; tin doped indium oxide (In 2 O 3 ) A transparent conductive layer serving as conductive glass, namely ITO glass;
and the electrochromic layer is arranged below the upper transparent conductive layer, wherein the electrochromic layer is made of electrochromic materials such as transition metal oxide and organic conductive polymer. Under the action of an external electric field, charge transfer occurs, and the performance of the electrochromic device is mainly determined by the electrochromic layer.
And the electrolyte layer is arranged in the middle of the electrochromic device and is used for providing a transmission channel of ions for electrochromic effect, the complex of polyethylene oxide and alkali metal salt has good ion conduction characteristics, and the polymer electrolyte is an excellent ion transmission layer substance.
And the ion storage layer is arranged below the electrolyte layer and is used for storing and providing ions required by the electrochromic material. Under the action of an external electric field, releasing ions to be injected into the electrochromic layer; ions ejected from the electrochromic layer are stored when a reverse electric field is applied.
It can be understood that the electrochromic layer and the ion storage layer undergo opposite oxidation or reduction processes under the action of an electric field, namely, the electrochromic layer undergoes oxidation reaction and the ion storage layer undergoes reduction reaction, so that after the display color of the shell of the storage device is changed, the singlechip can be powered down, and the display color of the shell can still be maintained after the storage device is powered down.
The dynamic memory module 140 is used as a memory unit of the main control module 110, and is used for storing data of the main control module, or is used for loading programs and data for the processor 111 of the main control module 110 to directly run and operate. In an embodiment of the present application, the dynamic memory module 140 includes dynamic random access memory (Dynamic Random Access Memory, DRAM).
The Flash memory 150, which is a storage medium of the storage device 100, is also called a Flash memory, a Flash memory, or Flash particles, is a type of a storage device, is a nonvolatile memory, and can store data for a long time even without current supply, and has storage characteristics equivalent to a hard disk, so that the Flash memory 150 becomes a base of storage media of various portable digital devices.
In some embodiments, the main control module further includes a data converter (not shown) connected to the processor and the flash memory controller, respectively, for converting binary data into hexadecimal data and vice versa. Specifically, when the flash memory controller writes data to the flash memory, binary data to be written is converted into hexadecimal data by the data converter, and then written to the flash memory. When the flash memory controller reads data from the flash memory medium, hexadecimal data stored in the flash memory is converted into binary data by the data converter, and then the converted data is read from the binary data page register. The data converter may include a binary data register and a hexadecimal data register, among others. Binary data registers may be used to hold data converted from hexadecimal to binary, and hexadecimal data registers may be used to hold data converted from binary to hexadecimal.
In the embodiment of the application, the storage device comprises a main control module, a color change control module and an electrochromic device, wherein the main control module is connected with the color change control module and is used for monitoring fault information in the storage device so as to send a control signal to the color change control module and wake up the color change control module; the color change control module is connected with the main control module and the electrochromic device and is used for receiving the control signal sent by the main control module, generating a pulse signal and sending the pulse signal to the electrochromic device so as to control the electrifying voltage and/or electrifying time of the electrochromic device; the electrochromic device is arranged on the shell of the storage device, is connected with the color change control module and is used for changing the display color of the electrochromic device according to the energizing voltage and/or the energizing time, and then adjusting the display color of the shell of the storage device.
On the one hand, the electrochromic device is arranged on the shell of the storage device, the main control module monitors state information generated in the storage device to send a control signal to the color change control module so as to wake up the color change control module, the color change control module generates a pulse signal and controls the electrifying voltage and/or electrifying time of the electrochromic device, and then the display color of the shell of the storage device is adjusted.
On the other hand, the electrochromic device still keeps displaying in the power-down state, so that the working efficiency of a user and related staff in the aspects of monitoring, fault positioning, factory return maintenance screening and the like can be improved, and the probability of human error occurrence is reduced. Furthermore, compared with the case surface provided with an indicator lamp or an LED screen, the LED display screen has the advantages of energy conservation and environmental protection; in addition, the novel technology and the product provided by the invention can also provide technical support for future visual display, unmanned intelligent operation and maintenance and other fields.
Referring to fig. 4 again, fig. 4 is a flow chart of a control method of a storage device according to an embodiment of the present application;
as shown in fig. 4, the control method of the storage device includes:
step S401: monitoring status information occurring in the storage device;
specifically, the storage device includes a main control module, and the main control module monitors the operation states of all components including the main control module, for example: the running states of one or more of the processor, the host interface controller, the cache controller, the flash memory controller, the cache unit, the data encoding and decoding unit and the flash memory in the main control module include, but are not limited to: fault information, usage status information, for example: available space information, available capacity information, health index information, last usage time information, bad block number information, for example: and if a certain component fails, sending a control signal to the color change control module according to the state information corresponding to the failure.
Step S402: and sending a control signal to the color change control module according to the state information so as to wake up the color change control module to enter a normal working mode, and further controlling the electrifying voltage and/or electrifying time of the electrochromic device so as to adjust the display color of the shell of the storage device.
Specifically, a control signal is sent to the color change control module according to the state information to wake up the color change module to enter a normal working mode, and then the electrifying voltage and/or electrifying time of the electrochromic device are controlled to adjust the display color of the shell of the storage device.
For example: when it is found that one or more states associated with the colour change control module change or change, i.e. a predefined state information occurs, the processor sends a hardware reset signal to the colour change control unit of the colour change control module to wake up the colour change control unit of the colour change control module, for example: the single chip microcomputer sends state information or fault information corresponding to the faults to the color change control unit, so that the color change control unit enters a working mode after being awakened, receives the state information or the fault information sent by the processor, and sends pulse signals to the signal conversion unit according to the state information or the fault information so as to control the electrifying voltage and/or electrifying time of the transparent conductive layer of the electrochromic device, so that the shell of the storage device is partially or completely color changed.
In this embodiment of the present application, the color change control module includes a color change control unit and a signal conversion unit, and according to state information, sends a control signal to the color change control module, including:
determining whether the status information belongs to predefined status information, wherein the status information includes, but is not limited to: fault information, usage status information, for example: available space information, available capacity information, health index information, latest use time information and bad block number information;
if so, a control signal is sent to the color change control unit so that the color change control unit generates a pulse signal, and a voltage signal is generated by the signal conversion unit based on the pulse signal so as to control the energizing voltage and/or energizing time of the electrochromic device, wherein the control signal comprises a hardware reset signal and a digital signal corresponding to the state information.
Specifically, a first state information set is predefined, wherein the first failure information set includes state information related to the electrochromic device, that is, any one of the state information included in the first state information set is used for changing the color of the electrochromic device. If the processor of the main control module judges whether certain state information belongs to predefined state information, namely, judges whether certain state information belongs to a first state information set, if yes, the processor determines that the state information belongs to the predefined state information, the processor sends a control signal to a color change control unit of the color change control module, wherein the control signal comprises a hardware reset signal and a digital signal corresponding to the state information, the hardware reset signal is used for waking up the color change control unit in the color change control module, the digital signal corresponding to the state information is used for enabling the color change control unit to output a calculation result according to a prefabricated program and sends the calculation result to a signal conversion unit, so that the signal conversion unit converts the calculation result into a voltage signal and applies the voltage signal to a transparent conductive layer of the electrochromic device, and the electrochromic device is enabled to generate color change.
Specifically, referring to fig. 5 again, fig. 5 is an overall flow chart of a control method of a storage device according to an embodiment of the present application;
the control method of the storage device is applied to the storage device in the embodiment.
As shown in fig. 5, the overall flow of the control method of the storage device includes:
step S501: the main control module monitors the state change of the storage device;
specifically, the processor of the main control module monitors the operation states of all components of the storage device, for example: the host computer comprises a main control module, a processor, a host interface controller, a cache controller, a flash memory controller, a cache unit, a data encoding and decoding unit and one or more running states of the flash memory.
If a certain state change belongs to predefined state information, the step S502 is entered;
step S502: the main control module sends a hardware reset signal to the color change control module to wake up the color change control module to enter a normal working mode;
specifically, the processor of the main control module sends a hardware reset signal to the color change control unit of the color change control module to wake up the color change control unit and the signal conversion unit of the color change control module, so that the color change control module enters a normal working mode;
Step S503: the main control module sends a digital signal corresponding to the state information to the color change control module;
specifically, the processor of the main control module sends a digital signal corresponding to the state information to the color change control unit of the color change control module, so that the color change control unit receives the digital signal corresponding to the state information.
Step S504: the color change control module outputs a calculation result based on a preset program according to the digital signal corresponding to the state information;
specifically, after the color change control module receives the digital signal corresponding to the state information, the digital signal corresponding to the state information is calculated based on a preset program according to the digital signal corresponding to the state information, so as to output a calculation result.
For example: the state change includes fault information, if there is only one fault definition, then a bit binary information 0 or 1 is used to indicate that the fault occurs, 0 is no fault, otherwise there is a fault. When a fault occurs, 8'b00000001 (complement 8 bits) is input, indicating that a fault occurs, and the output is 8' b01111111.
Step S505: the signal conversion unit converts the calculation result into a voltage signal and applies the voltage signal to the electrochromic device so as to cause the electrochromic device to generate color change;
specifically, the color change control unit sends the calculation result to the signal conversion unit, through the signal conversion unit, for example: a digital-to-analog converter converting a digital signal into a voltage signal, for example: is converted to +5v voltage and applied to the transparent conductive layer of the electrochromic device to cause the electrochromic device to change color, which in turn causes the housing of the memory device to change color.
Step S506: the color change control unit of the color change control module enters a power-down mode;
specifically, after the shell of the storage device generates color change, the register is set to enable the color change control unit of the color change control module to enter a power-down mode, so that the electrochromic device still keeps displaying in a power-down state.
In an embodiment of the present application, by providing a method for controlling a storage device, the method is applied to the storage device of the foregoing embodiment, and the method includes: monitoring fault information occurring in the storage device; and sending a control signal to the color change control module according to the state information so as to wake up the color change control module to enter a normal working mode, and further controlling the electrifying voltage and/or electrifying time of the electrochromic device so as to adjust the display color of the shell of the storage device.
By monitoring the state change occurring in the storage device to control the energizing voltage and/or energizing time of the electrochromic device to adjust the display color of the housing of the storage device, the state detection efficiency of the storage device can be improved.
In an embodiment of the present application, a memory device includes at least two electrochromic devices, each electrochromic device including: the device comprises a transparent protective layer, a transparent conductive layer, an electrochromic layer, an electrolyte layer, an ion storage layer and a substrate layer, wherein at least two electrochromic devices are in a superposition structure.
It will be appreciated that colour rendering is largely dependent on the choice of electrochromic material, although polychromatic variation can be achieved by controlling voltage, and power-on time, contrast is not strong, and sometimes is difficult to distinguish; some metal organic complexes, such as phthalocyanine and lutetium (Lu) complex, the electrochromic range can be changed among red, green, blue and purple, but the problem that the multicolor change range is small, and even the contrast ratio among some colors is not strong and is difficult to distinguish still exists.
At present, a wide color switching problem is difficult to realize by using one electrochromic material, so that the memory device has more excellent color changing performance, such as higher color purity and wider color range by using a multi-electrochromic stacking mode, such as stacking three electrochromic devices respectively corresponding to three primary colors, so that richer color expression is realized.
Specifically, referring to fig. 6 again, fig. 6 is a schematic diagram of a stacked structure of electrochromic devices according to an embodiment of the present disclosure;
as shown in fig. 6, a superimposed structure of two electrochromic devices is shown, wherein each electrochromic device corresponds to a different color, and each electrochromic device includes: the device comprises a transparent protective layer, a transparent conductive layer, an electrochromic layer, an electrolyte layer and an ion storage layer, wherein the two electrochromic devices share one substrate layer.
In the embodiment of the application, at least two electrochromic devices are in a superposition structure so as to realize superposition of colors, and therefore, the shell of the storage device presents a better display effect.
It will be appreciated that, as the integration of solid state storage is now higher and higher, the required volume and circuit area are smaller and smaller, if a superposition of multiple electrochromic devices is used, the use of one color change control module for each electrochromic device increases the cost overhead, and in some cases the circuit area and power consumption are limited.
Therefore, the embodiment of the application further provides a storage device, and the data distributor is added to realize one color change control module to control at least two electrochromic devices.
Specifically, referring to fig. 7, fig. 7 is a schematic structural diagram of another storage device according to an embodiment of the present application;
as shown in fig. 7, the memory device 100 includes a main control module 110, a color change control module 120, three electrochromic devices 130, a dynamic memory module 140, and a plurality of flash memories 150, wherein the color change control module 120 is respectively connected to each electrochromic device 130 for controlling the display of each electrochromic device 130.
Specifically, referring to fig. 8, fig. 8 is a schematic structural diagram of a color-changing control module according to an embodiment of the present application;
as shown in fig. 8, the color-change control module 120 includes: the device comprises a color change control unit 121, a signal conversion unit 122, a level shift unit 123 and a data distribution unit 124, wherein the input end of the color change control unit 121 is connected with a processor of a main control module, one output end of the color change control unit 121 is connected with one input end of the data distribution unit 124, the other output end of the color change control unit 121 is connected with the input end of the signal conversion unit 122, the output end of the signal conversion unit 122 is connected with one input end of the level shift unit 123, the other input end of the level shift unit 123 is connected with an external power supply, the output end of the level shift unit 123 is connected with the other input end of the data distribution unit 124, and the output end of the data distribution unit 124 is connected with a plurality of electrochromic devices so as to realize color change control of the electrochromic devices.
The color change control unit 121 is configured to receive a control signal sent by the processor of the main control module, generate a pulse signal, and send the pulse signal to the signal conversion unit to control display colors of the plurality of electrochromic devices;
A signal conversion unit 122 connected to the color change control unit 121 for receiving the pulse signal transmitted from the color change control unit 121 and generating a voltage signal based on the pulse signal;
the level shift unit 123 is connected to the signal conversion unit 122, the data distribution unit 124, and an external power supply, and is used for adjusting an output voltage corresponding to the voltage signal of the signal conversion unit 122, and the external power supply is used for outputting a negative voltage to the data distribution unit 124 so as to adjust the output voltage, thereby realizing reversible color change of the electrochromic device.
The data distribution unit 124 is connected to the color change control unit 121 and each electrochromic device, and is configured to control the power-on time and/or power-on voltage of each electrochromic device according to the pulse signal input by the color change control unit 121, so as to adjust the display color and/or display content of the plurality of electrochromic devices, and further adjust the display color and/or display content of the housing of the storage device. Specifically, the display color and/or the display content of the transparent conductive layers of the plurality of electrochromic devices are adjusted.
In the embodiment of the present application, the color change control unit includes, but is not limited to: the color change control unit is preferably a single chip microcomputer, the signal conversion unit includes but is not limited to digital-to-analog converter or analog filter and other electronic devices with the function of converting digital signals into analog signals, and the signal conversion unit is preferably a digital-to-analog converter.
Specifically, referring to fig. 9, fig. 9 is a schematic diagram of a specific structure of a color-changing control module according to an embodiment of the present application;
as shown in fig. 9, the color change control module includes: the system comprises a singlechip, a digital-to-analog converter, a level shifter and a data distributor, wherein the input end of the singlechip is connected with a processor of a main control module, one output end of the singlechip is connected with one input end of the data distributor, the other output end of the singlechip is connected with the input end of the digital-to-analog converter, the output end of the digital-to-analog converter is connected with one output end of the level shifter, the other input end of the level shifter is connected with an external power supply, the output end of the level shifter is connected with the other input end of the data distributor, and a plurality of output ends of the data distributor are respectively connected with transparent conductive layers of a plurality of electrochromic devices, wherein one output end corresponds to the transparent conductive layer of one electrochromic device.
Specifically, one output end of the data distributor is connected with one transparent conductive layer of the first electrochromic device, and the other transparent conductive layer is grounded; similarly, the other output end of the data distributor is connected with one transparent conductive layer of the second electrochromic device, and the other transparent conductive layer is grounded; the other output end of the data distributor is connected with one transparent conductive layer of the third electrochromic device, and the other transparent conductive layer is grounded.
As shown in fig. 9, the singlechip receives 8-bit binary information sent by a processor of the main control module as input, and controls the first electrochromic device, the second electrochromic device or the third electrochromic device to be used as selection of an output end through an address selection signal; the control of the voltage is realized by using the lower six bits, the voltage is converted into a voltage analog signal through a digital-to-analog converter (Digital Analog Converter, DAC), and then the voltage analog signal is converted into the voltage expected range of the electrochromic device through a level shifter. Wherein, the level shifter adjusts the output voltage range to [ -v ] through an external power supply out ,v out ](e.g., [ -5V, 5V)]) The external power supply comprises a negative power supply for outputting negative voltage.
It will be appreciated that since digital to analog converters generally only enable digital to positive voltage conversion of digital signals, for example: 0-5V, so, in order to achieve a reversal of the current direction, such as a range of [ -5V,5V ], a level shifter is used to amplify the positive voltage, for example: amplifying 0-5V to 0-10V, and adding a reverse compensation of-5V via external power supply to make the final output voltage fall in the interval of [ -5V,5V ].
It will be appreciated that a data Distributor (DMUX) is used to time-share an input data signal to multiple outputs for output, or to change serial data into parallel data output. Data Distributors (DMUXs) include 1:2 DMUXs, 1:3 DMUXs, 1:4 DMUXs, 1:8 DMUXs, and the like.
In the embodiment of the present application, the data distributor is set according to the number of electrochromic devices connected thereto, for example: as shown in fig. 9, the data distributor is connected to the transparent conductive layers of the three electrochromic devices, and the data Distributor (DMUX) is 1:3DMUX, where one input end is connected to the output end of the level shifter, and two chip select signal lines are connected to two bits output by the single chip microcomputer, for example: the first two positions, the output three directions are respectively connected with the transparent conductive layer of one electrochromic device. It will be appreciated that if three electrochromic devices are connected, 1:4DMUX may be selected, and three of the four directions of output are respectively connected with the transparent conductive layer of one electrochromic device, and the other one is not used.
Wherein, the input of the singlechip is eight bits and is received from the output of the main control; the 8 bits are output and in the embodiment of the application, the first two bits are input as two bits of the DMUX chip select signal.
Wherein, the digital-to-analog converter inputs six-bit signals in the output of the 6-bit receiving singlechip, for example: the last six bits are output into one bit and sent to a level shifter;
wherein the level shifter has one input connected to the digital-to-analog converter and one output to an input of the data distributor.
In this embodiment, the data distributor is connected to three electrochromic devices, where the three electrochromic devices are in a stacked structure, and each electrochromic device is configured to present one of three primary colors to realize stacking of the three primary colors, where the three primary colors include red, green, and blue.
For example: as shown in fig. 9, the first electrochromic device is used for presenting red, the second electrochromic device is used for presenting green, and the third electrochromic device is used for presenting blue, and as the first electrochromic device, the second electrochromic device and the third electrochromic device are in a superposition structure, superposition of three primary colors can be realized, so that a wider color range is realized, better color changing performance is realized, a shell of the storage device can realize richer color expression, and differentiation of different states or faults of the storage device is facilitated.
In the embodiment of the application, the multi-color change of the appearance color of the memory is realized through superposition of a plurality of electrochromic devices with different primary colors, and the multi-color change is used for classifying and distinguishing different states or faults of the memory device; further, the method can also be used for visual display and other aspects to achieve the beautifying effect.
It should be noted that, the main control module 110, the dynamic storage module 140, and the flash memory 150 in the embodiment of the present application are the same as those mentioned in the above embodiment, and are not repeated here.
At present, in usual time, whether a mechanical Hard Disk (HDD) or a solid state Disk (Solid State Drives, SSD), a mobile Hard Disk or a fixed Hard Disk, if it is required to know information such as how much storage capacity, service life, number or proportion of bad blocks are needed, a host computer must be accessed, and only the information can be checked on the host computer, which is inconvenient to use, manage and maintain.
Based on this, the embodiment of the application realizes the display of the proportion information or the numerical value information by combining a plurality of electrochromic devices.
Referring to fig. 10, fig. 10 is a schematic diagram of a ratio information of available space according to an embodiment of the present application;
as shown in fig. 10, the display of the proportion information is implemented by four electric quantity display components, wherein each electric quantity display component comprises two colors of black or white, and if the four electric quantity display components are all white, the available space is 0%; if only one of the four power display components is black, the available space is 25%; if two of the four electric quantity display components are black and two of the four electric quantity display components are white, the available space is 50%; if only one of the four power display components is white, the available space is 75%; if all four power display elements are black, the available space is 100%. It will be appreciated that the black and white display may also be exchanged for the capacity of the available space, for example: if the four power display components are all white, the available space is 100%.
In the embodiment of the application, the four electric quantity display components can be realized through four electrochromic devices so as to realize the display of the proportion information.
Specifically, referring to fig. 11, fig. 11 is a schematic structural diagram of another storage device according to an embodiment of the present application;
as shown in fig. 11, the storage device 100 includes a color-changing control module 120 and four electrochromic devices 130, where the color-changing control module 120 is respectively connected to each electrochromic device 130, and control of the power-on voltage and/or power-on time of the four electrochromic devices 130 is implemented by the color-changing control module 120, so as to implement display of proportion information of the available space.
Specifically, the storage device comprises four electrochromic devices, wherein each electrochromic device corresponds to one electric quantity display component one by one, each electrochromic device is controlled by voltage inversion through the level shifting unit, so that each electrochromic device is a reversible electrochromic device, and the available space proportion is displayed through the color information of the four electric quantity display components.
Specifically, referring to fig. 12 again, fig. 12 is a schematic diagram of a specific structure of another color-changing control module according to an embodiment of the present application;
It is to be understood that the color change control module in fig. 12 is similar to the overall structure of the color change control module in fig. 9, and the same parts will not be repeated.
As shown in fig. 12, a first output terminal of the data distributor is connected to one transparent conductive layer of the first electrochromic device, and the other transparent conductive layer is grounded; similarly, the second output end of the data distributor is connected with one transparent conductive layer of the second electrochromic device, and the other transparent conductive layer is grounded; the third output end of the data distributor is connected with one transparent conductive layer of the third electrochromic device, and the other transparent conductive layer is grounded; the fourth output end of the data distributor is connected with one transparent conductive layer of the third electrochromic device, and the other transparent conductive layer is grounded.
As shown in fig. 12, the singlechip receives 8-bit binary information sent by a processor of the main control module as input, and controls the first electrochromic device, the second electrochromic device, the third electrochromic device and the fourth electrochromic device to be used as the selection of output ends through address selection signals; the control of the voltage is realized by using the lower six bits, the voltage is converted into a voltage analog signal through a digital-to-analog converter (Digital Analog Converter, DAC), and then the voltage analog signal is converted into the voltage expected range of the electrochromic device through a level shifter. Wherein, the level shifter adjusts the output voltage range to [ -v ] through an external power supply out ,v out ](e.g., [ -5V, 5V)]) To achieve the voltage requirements of electrochromic and its inverse, such as: each electrochromic device displays black or white, so that four electrochromic devices can cooperate to display the proportion of available spaceAnd the information, wherein the external power supply comprises a negative power supply for outputting negative voltage.
Further, in order to more accurately display the available space, the embodiment of the application also realizes the display of digital information through a plurality of electrochromic devices.
Referring to fig. 13, fig. 13 is a schematic diagram showing a display of digital information according to an embodiment of the present application;
as shown in fig. 13, arabic numerals 0 to 9 are represented by seven-segment display, and thus, the embodiment of the present application implements display of any one of numerals 0 to 9 by a combination of seven electrochromic devices. And so on, the display of multiple numbers may be achieved by a combination of multiple electrochromic devices.
Referring to fig. 14 again, fig. 14 is a schematic view of an available space of a storage device according to an embodiment of the present application;
as shown in fig. 14, (a) shows the available capacity in a 2TB capacity memory, and (b) shows the available capacity of 99%.
For example: for part (a) of fig. 14, one number corresponds to seven number components, two numbers correspond to fourteen number components, one punctuation mark is added, 15 electrochromic devices are needed to perform display processing in total, and control is needed through a 1:16 data Distributor (DMUX), wherein one electrochromic device corresponds to one number component or one punctuation mark of one number, so that display of digital information of two numbers and one punctuation mark is achieved, and one number is displayed by seven number components.
Specifically, 15 electrochromic devices are utilized, 8-bit binary information sent by a processor of a main control module is received as input through a singlechip, and the first electrochromic device, the second electrochromic device, … and the fifteenth electrochromic device are controlled to be used as selection of output ends through address selection signals; the control of the voltage is realized by using the lower four bits, the voltage is converted into a voltage analog signal through a digital-to-analog converter (Digital Analog Converter, DAC), and then the voltage analog signal is converted into a voltage expected range of the electrochromic device through a level shifter. Wherein the level shifter is onAdjusting the output voltage range to [ -v ] after external power supply out ,v out ](e.g., [ -5V, 5V)]) The external power supply comprises a negative power supply for outputting negative voltage.
It will be appreciated that for part (b) of fig. 14, the processing manner is similar to that of part (a) of fig. 14, and will not be described again.
Further, to enable display of various status information of the storage device, for example: the display of one or more of available capacity information, health index information, latest use information and bad block number information is realized by arranging a plurality of electrochromic devices.
Referring to fig. 15, fig. 15 is a schematic diagram of status information of a storage device according to an embodiment of the present application;
as shown in fig. 15, the available capacity information, the health index information, the most recently used information, and the bad block number information may be displayed by a plurality of electrochromic devices. For example: a common 51 single chip microcomputer is adopted, the output is 8 bits, and at least one bit is used for controlling the positive and negative of the voltage; then 7 bits may be used for the address signal to control the selection of the electrochromic device. The 7-bit binary address signal may be used to determine up to 128 addresses and may be used to display 18 0-9 Arabic numerals and two punctuation marks, such as decimal points, via a seven-segment display.
In the embodiment of the application, one or more electrochromic devices are applied to a shell of a storage device, and a main control module of the storage device controls the electrifying voltage and/or electrifying time of a transparent electrochromic layer in the electrochromic devices through a color change control module according to available capacity information of the storage device so as to change the display color of one or more electrochromic devices; and the high-low level output by the singlechip in the color change control module is set, so that the color change control on the plurality of electrochromic devices is realized by matching with the data distributor, and the related information of storage equipment such as proportion information or numerical value information is displayed, so that the effect of displaying corresponding information or numerical value is realized. By utilizing the electrochromic device, the display of state information such as the available capacity of the storage device can be still maintained when the power is turned off, the convenience and the working efficiency of users and related staff are improved, and compared with the case that the indicator lamp or the LED screen is arranged on the surface of the shell, the invention not only saves the requirements of hardware design volume, weight and circuit area, but also has the advantages of energy conservation, environmental protection and cost reduction.
It will be appreciated that regardless of the type of memory product, a significant number of memory products fail each year and must be scrapped or returned to service, possibly because one or more of many types of failures occur simultaneously. However, when the memory fails, the memory itself will not actively inform the user or even display failure information to the user, which is inconvenient for use, management and maintenance.
Based on the information, the embodiment of the application provides the storage device, and when the storage device fails, the information characters corresponding to the failure are actively displayed, so that convenience is brought to the use and management of users; and the display of the text information can be maintained even without any power supply connection, so that higher efficiency is brought to further transportation and plant maintenance.
Referring to fig. 16, fig. 16 is a schematic structural diagram of another memory device according to an embodiment of the present disclosure;
as shown in fig. 16, the storage device 100 includes: the device comprises a main control module 110, a color change control module 120, a plurality of electrochromic devices 130, a dynamic storage module 140 and a plurality of flash memories 150, wherein the color change control module 120 is respectively connected with each electrochromic device 130 and is used for controlling the display of each electrochromic device 130.
It is to be understood that the storage device 100 in the embodiment of the present application is similar to the overall structure of the storage device 100 in the above embodiment, and the same parts are not repeated, and reference is made to the description in the above embodiment.
It should be noted that, if the pixel unit required for displaying the text information is far greater than the digital display, the text is displayed by using the seven digital components corresponding to each digital component mentioned in the above embodiment, that is, the digital seven-segment display method, at this time, the 51 single-chip microcomputer with 8-bit output is used, and at most 18 electrochromic devices (corresponding to 18 pixel units) are controlled, so that the display requirement of the text information cannot be met; if a singlechip with 16-bit or even more bit output is adopted, the complexity of circuit control logic is increased even if the number of pixel units can meet the display requirement.
Therefore, the embodiment of the application provides a novel structure of the electrochromic device so as to realize text display.
Specifically, referring to fig. 17, fig. 17 is a schematic structural diagram of an electrochromic device according to an embodiment of the present application;
as shown in fig. 17, the electrochromic device includes:
the color change control module is used for controlling the electrifying voltage and/or electrifying time of the transparent conductive layer so as to cause the electrochromic device to generate color change;
The electrochromic device further includes:
the mask layer is arranged on the upper layer of the substrate layer and is used for presetting character information to be displayed so as to display the character information.
In particular, the electrochromic device has an eight-layer structure, wherein,
the transparent protective layer, namely the transparent insulating protective layer, is arranged on the uppermost layer or the outermost layer of the electrochromic device;
the transparent conducting layer is arranged below the transparent protective layer and above the substrate layer, and the electrochromic device comprises two transparent conducting layers, wherein one transparent conducting layer is grounded, each transparent conducting layer at least has two points, namely a good electronic conductor and high light transmittance. Two common transparent conductive glasses, fluorine (F) doped tin oxide (SnO 2 ) A transparent conductive layer serving as conductive glass, abbreviated as FTO glass; tin doped indium oxide (In 2 O 3 ) A transparent conductive layer serving as conductive glass, namely ITO glass;
and the electrochromic layer is arranged below the upper transparent conductive layer, wherein the electrochromic layer is made of electrochromic materials such as transition metal oxide and organic conductive polymer. Under the action of an external electric field, charge transfer occurs, and the performance of the electrochromic device is mainly determined by the electrochromic layer.
And the electrolyte layer is arranged in the middle of the electrochromic device and is used for providing a transmission channel of ions for electrochromic effect, the complex of polyethylene oxide and alkali metal salt has good ion conduction characteristics, and the polymer electrolyte is an excellent ion transmission layer substance.
And the ion storage layer is arranged below the electrolyte layer and is used for storing and providing ions required by the electrochromic material. Under the action of an external electric field, releasing ions to be injected into the electrochromic layer; ions ejected from the electrochromic layer are stored when a reverse electric field is applied.
The mask layer is arranged on the upper layer of the substrate layer and is used for presetting character information to be displayed so as to display the character information.
The substrate layer is disposed on the lowermost layer or the bottommost layer of the electrochromic device, and may be a colored material or a transparent material, but black or a material close to black is not used in view of contrast enhancement.
In the embodiment of the present application, the mask layer includes two design manners:
(1) The information hollowed-out mode is as follows: in the display mode, the characters are superimposed by the colors of the substrate layer and the light state colors of the electrochromic layer; in the non-display mode, the text color that the substrate layer is capable of transmitting is covered by the dark state color of the electrochromic layer. Such as: the substrate is blue, the mask layer is white, and the electrochromic layer can be switched between transparent and blue. In the display mode, the electrochromic layer is transparent and will display blue characters; in the non-display mode, the electrochromic layer also turns blue, covering the mask layer and substrate layer colors.
(2) The background hollowed-out mode is as follows: in the display mode, the characters are superimposed by the light state color of the electrochromic layer and the color of the mask layer; in the non-display mode, the text color that the mask layer can transmit is covered by the dark state color of the electrochromic layer. Such as: the substrate is blue, the mask layer is white, and the electrochromic layer can be switched between transparent and blue. In the display mode, the electrochromic layer is transparent, and blue-bottom white characters are displayed; in the non-display mode, the electrochromic layer also turns blue, covering the mask layer and substrate layer colors.
It can be understood that the electrochromic layer and the ion storage layer undergo opposite oxidation or reduction processes under the action of an electric field, namely, the electrochromic layer undergoes oxidation reaction and the ion storage layer undergoes reduction reaction, so that after the display color of the shell of the storage device is changed, the singlechip can be powered down, and the display color of the shell can still be maintained after the storage device is powered down.
It can be appreciated that, in general, the storage device includes a plurality of faults that need to be displayed, and therefore, in the embodiment of the present application, by adding one single chip microcomputer and a data distributor, the control of the power-on voltage and/or the power-on time of a plurality of electrochromic devices is achieved.
Specifically, referring to fig. 18 again, fig. 18 is a schematic diagram of a specific structure of another color-changing control module according to an embodiment of the present application;
as shown in fig. 18, the color-changing control module comprises a single-chip microcomputer, a digital-to-analog converter, a level shifter and a data distributor, wherein the input end of the single-chip microcomputer is connected with a processor of the main control module, one output end of the single-chip microcomputer is connected with one input end of the data distributor, the other output end of the single-chip microcomputer is connected with the input end of the digital-to-analog converter, the output end of the digital-to-analog converter is connected with one output end of the level shifter, the other input end of the level shifter is connected with an external power supply, the output end of the level shifter is connected with the other input end of the data distributor, and a plurality of output ends of the data distributor are respectively connected with transparent conductive layers of a plurality of electrochromic devices, wherein one output end corresponds to the transparent conductive layer of one electrochromic device.
Wherein the data Distributor (DMUX) is 1: n data distributor (1:N DMUX), where N is the number of electrochromic devices. Specifically, one output end of the data distributor is connected with one transparent conductive layer of the first electrochromic device, and the other transparent conductive layer is grounded; similarly, the nth output end of the data distributor is connected with one transparent conductive layer of the nth electrochromic device, and the other transparent conductive layer is grounded.
As shown in fig. 18, the singlechip receives as input 8-bit binary information sent by the processor of the main control module, calculates and outputs an 8-bit binary result according to the prefabricated program: wherein, a high t (0<t<8,t are positive integers) bits as address input (0) of a data allocator (1:ndmux)<N<2 t N is a positive integer), and N electrochromic devices are controlled to be used as the selection of the output ends through address selection signals, wherein the value of N is at most 2 t A plurality of; the control of the voltage is realized by using low 8-t bits, and the voltage is converted into a voltage analog signal through a digital-to-analog converter (DAC), and then is converted into a range expected by the voltage of the electrochromic device through a level shifter. Wherein, the level shifter adjusts the output voltage range to [ -v ] through an external negative power supply out ,v out ](e.g., [ -5V, 5V)]) To achieve the voltage requirements of electrochromic and its inverse.
In the embodiment of the application, the electrochromic device added with the mask layer is applied to the shell of the storage device, and the electrifying voltage and/or electrifying time of the transparent electrifying layer in the electrochromic device are controlled through the color change control module so as to change the display color of the electrochromic device and achieve the display effect on the text information; and one or more electrochromic devices are used on the shell of the storage device, the main control module of the storage device controls one or more electrochromic devices in the electrochromic devices to change colors through the current running state and fault information of the storage module, so that the display of text information corresponding to the fault of the storage device is realized, and the fault detection efficiency of the storage device can be improved;
Meanwhile, as the electrochromic device is adopted, the visual display of the faults of the storage equipment can be still kept when the power is turned off, the working efficiency of users and related staff in the aspects of monitoring, fault positioning, factory return maintenance screening and the like is improved, the probability of human error occurrence is reduced, and compared with the fault recording modes such as log files and the like, the method can also realize automatic intervention-free, offline readable, information loss and non-standardization prevention and is more friendly to users.
Referring to fig. 19 again, fig. 19 is a flowchart of a control method of a storage device according to an embodiment of the present application;
the control method of the storage device is applied to the storage device in the embodiment.
As shown in fig. 19, the control method of the storage device includes:
step S1901: acquiring a control signal sent by a main control module;
specifically, the master control module monitors status information of the storage device, where the status information includes, but is not limited to: fault information, usage status information, for example: available space information, available capacity information, health index information, last usage time information, bad block number information, when a storage device malfunctions or a state related to an electrochromic device changes, for example: the change of the available space, the processor of the main control module sends a control signal to the color change control module, and the color change control unit of the color change control module, for example: and the singlechip is used for acquiring a control signal sent by the processor of the main control module.
Step S1902: and controlling the energizing voltage and/or energizing time of the one or more electrochromic devices according to the control signal to adjust the display color and/or display content of the one or more electrochromic devices to adjust the display color and/or display content of the housing of the storage device.
Specifically, the color change control unit of the color change control module includes, for example: after receiving the control signal, the singlechip processes the control signal and performs signal processing through the digital-to-analog converter, the level shifter and the data distributor to control the energizing voltage and/or energizing time of one or more electrochromic devices so as to adjust the display color and/or display content of the one or more electrochromic devices and adjust the display color and/or display content of the shell of the storage device.
Specifically, referring to fig. 20 again, fig. 20 is a flow chart of another control method of a storage device according to an embodiment of the present application;
as shown in fig. 20, the control method of the storage device includes:
step S201: the main control module monitors that state information related to the electrochromic device in the storage device changes;
specifically, the processor of the main control module monitors the state information related to the electrochromic device in the storage device for changes, for example: the available space of the storage device changes.
Step S202: the main control module sends a hardware reset signal to the color change control module to wake up the color change control module to enter a normal working mode;
specifically, the processor of the main control module sends a hardware reset signal to the color change control unit of the color change control module to wake up the color change control unit and the signal conversion unit of the color change control module, so that the color change control module enters a normal working mode.
Step S203: the main control module sends a digital signal corresponding to the state information to the color change control module;
specifically, the processor of the main control module sends a digital signal corresponding to the state information to the color change control unit of the color change control module, so that the color change control unit receives the digital signal corresponding to the state information.
Step S204: the color change control module outputs a calculation result based on a preset program according to the digital signal corresponding to the state information;
specifically, after the color change control module receives the digital signal corresponding to the fault information, the digital signal corresponding to the fault information is calculated based on a preset program according to the digital signal corresponding to the fault information, so as to output a calculation result.
For example: there is only one fault definition, using one bit of binary information 0 or 1 to indicate that a fault has occurred, 0 being no fault and vice versa. When a fault occurs, 8'b00000001 (complement 8 bits) is input, indicating that a fault occurs, and the output is 8' b01111111.
Step S205: the signal conversion unit converts the calculation result into a voltage signal;
specifically, the color change control unit sends the calculation result to the signal conversion unit, through the signal conversion unit, for example: a digital-to-analog converter converting a digital signal into a voltage signal, for example: converted to a +5v voltage.
Step S206: the level shift unit applies a voltage signal to the transparent conductive layer of the electrochromic device through the data distributor to cause the electrochromic device to generate color change;
specifically, the level shift unit applies a voltage signal to the transparent conductive layer of one or more electrochromic devices through the data distributor to cause the one or more electrochromic devices to color change, thereby causing the housing of the memory device to color change.
Step S207: the color change control unit of the color change control module enters a power-down mode.
Specifically, after the shell of the storage device generates color change, the register is set to enable the color change control unit of the color change control module to enter a power-down mode, so that the electrochromic device still keeps displaying in a power-down state.
In an embodiment of the present application, by providing a method for controlling a storage device, the method is applied to the storage device of the foregoing embodiment, and the method includes: acquiring a control signal sent by a main control module; and controlling the energizing voltage and/or energizing time of the one or more electrochromic devices according to the control signal to adjust the display color and/or display content of the one or more electrochromic devices to adjust the display color and/or display content of the housing of the storage device.
The display color and/or the display content of the shell of the storage device are/is adjusted by acquiring the control signal sent by the main control module.
The embodiments of the present application also provide a nonvolatile computer storage medium storing computer executable instructions that are executable by one or more processors, for example, the one or more processors may perform a method for controlling a storage device in any of the method embodiments described above, for example, perform the steps described above.
The apparatus or device embodiments described above are merely illustrative, in which the unit modules illustrated as separate components may or may not be physically separate, and the components shown as unit modules may or may not be physical units, may be located in one place, or may be distributed over multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and include several instructions for up to a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of each embodiment or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; the technical features of the above embodiments or in the different embodiments may also be combined under the idea of the present application, the steps may be implemented in any order, and there are many other variations of the different aspects of the present application as above, which are not provided in details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A memory device, comprising: the device comprises a main control module, a color change control module and a plurality of electrochromic devices, wherein the electrochromic devices are arranged on a shell of the storage device;
the main control module is connected with the color change control module and is used for sending a control signal to the color change control module;
the color change control module comprises:
the color change control unit is used for receiving the control signals sent by the main control module and controlling the display colors of the electrochromic devices;
the signal conversion unit is connected with the color change control unit and is used for receiving the pulse signal sent by the color change control unit and generating a voltage signal based on the pulse signal;
the data distribution unit is connected with the color change control unit and each electrochromic device and is used for controlling the energizing time and/or energizing voltage of one or more electrochromic devices according to the pulse signals input by the color change control unit so as to adjust the display color and/or display content of one or more electrochromic devices and further adjust the display color and/or display content of the shell of the storage device;
the color change control module further comprises:
The level shifting unit is connected with the signal conversion unit, the data distribution unit and the external power supply and is used for adjusting output voltage corresponding to a voltage signal of the signal conversion unit, and the external power supply is used for outputting negative voltage to the data distribution unit so as to adjust the output voltage, thereby realizing reversible color change of the electrochromic device.
2. The apparatus according to claim 1, wherein the color change control unit determines a corresponding address selection signal and voltage control signal according to the number of the electrochromic devices after receiving the control signal transmitted from the main control module, so as to control the power-on voltage and/or power-on time of each of the electrochromic devices.
3. The device of claim 1, wherein the memory device comprises three electrochromic devices in a stacked configuration, wherein each electrochromic device is configured to present one of three primary colors to achieve a stack of three primary colors, including red, green, and blue.
4. The device of claim 1, wherein the storage device comprises four electrochromic devices, wherein each electrochromic device is in one-to-one correspondence with one of the power display components, each electrochromic device is voltage inversion controlled by the level shifting unit, such that each electrochromic device is a reversible color-changing electrochromic device to display the available space ratio through color information of the four power display components.
5. The device of claim 1, wherein the memory device comprises fifteen electrochromic devices, wherein one electrochromic device corresponds to one digital component of one digit or one punctuation mark to enable display of digital information of two digits and one punctuation mark, wherein one digit is displayed by seven digital components.
6. The apparatus of claim 1, wherein the electrochromic device comprises:
the color change control module is used for controlling the electrifying voltage and/or electrifying time of the transparent conductive layer so as to enable the electrochromic device to generate color change;
the electrochromic device further includes:
the mask layer is arranged on the upper layer of the substrate layer and is used for presetting character information to be displayed so as to display the character information.
7. The apparatus of any one of claims 1-6, wherein the color change control unit comprises a single chip microcomputer and the signal conversion unit comprises a digital-to-analog converter or an analog filter.
8. A control method of a storage device, characterized by being applied to the storage device according to any one of claims 1 to 7, the method comprising:
Acquiring a control signal sent by the main control module;
and controlling the energizing voltage and/or energizing time of one or more electrochromic devices according to the control signal so as to adjust the display color and/or display content of one or more electrochromic devices, so as to adjust the display color and/or display content of the shell of the storage device.
9. The method of claim 8, wherein the method further comprises:
and after the display color of the shell of the storage device is adjusted, controlling each color change control unit to enter a power-down mode.
CN202111672851.7A 2021-12-31 2021-12-31 Memory device and control method thereof Active CN114265253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111672851.7A CN114265253B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111672851.7A CN114265253B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Publications (2)

Publication Number Publication Date
CN114265253A CN114265253A (en) 2022-04-01
CN114265253B true CN114265253B (en) 2023-06-30

Family

ID=80832208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111672851.7A Active CN114265253B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Country Status (1)

Country Link
CN (1) CN114265253B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202085073U (en) * 2010-10-07 2011-12-21 珠海凯为电子元器件有限公司 Power supply controller for loop test of electrochromism device
JP2021021872A (en) * 2019-07-30 2021-02-18 株式会社リコー Electrochromic device, optical lens device, spectacles, control unit for electrochromic device, control method for electrochromic device, and control program for electrochromic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007101723A (en) * 2005-09-30 2007-04-19 Nissan Motor Co Ltd Control method of electrochromic element, dimmer, and glass for vehicle
CN101577747B (en) * 2009-05-08 2012-05-09 中兴通讯股份有限公司 Electronic device and method for changing color of shell thereof
TWI461808B (en) * 2012-05-31 2014-11-21 Wistron Corp Color-changeable protection device and portable device
US10344208B2 (en) * 2014-06-09 2019-07-09 iGlass Technology, Inc. Electrochromic device and method for manufacturing electrochromic device
CN113498280B (en) * 2020-03-18 2023-02-21 北京小米移动软件有限公司 Electronic equipment shell, manufacturing method of electronic equipment shell and electronic equipment
US11481593B2 (en) * 2020-06-22 2022-10-25 Western Digital Technologies, Inc. Color changing storage device housing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202085073U (en) * 2010-10-07 2011-12-21 珠海凯为电子元器件有限公司 Power supply controller for loop test of electrochromism device
JP2021021872A (en) * 2019-07-30 2021-02-18 株式会社リコー Electrochromic device, optical lens device, spectacles, control unit for electrochromic device, control method for electrochromic device, and control program for electrochromic device

Also Published As

Publication number Publication date
CN114265253A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
KR100947560B1 (en) Flat-panel display with hybrid imaging technology
US11087669B2 (en) Gate drive circuit, driving method thereof and display device
US11481593B2 (en) Color changing storage device housing
US20180047338A1 (en) Power control in an organic light emitting diode (oled) display device
US20110242088A1 (en) Reduced-power communications within an electronic display
CN108491058A (en) A kind of the powered-off fault data guard method and device of Nonvolatile memory
WO2020019802A1 (en) Device control method and apparatus, storage medium and electronic device
TWI406260B (en) Control circuit with voltage charge sharing function of display panel and control method of same
US10228750B2 (en) Reducing the power consumption of an information handling system capable of handling both dynamic and static display applications
US20160171922A1 (en) Controller for persistent display panel
CN114265253B (en) Memory device and control method thereof
CN114300002B (en) Memory device and control method thereof
CN201111912Y (en) Mobile hard disk capable of displaying memory information without electric condition
CN109001951A (en) Picture and text showing method, apparatus, electrochromic window assemblies and electronic equipment
US10261383B2 (en) Electronic paper touch panel, its controlling method, and display device
CN111124094A (en) Server hard disk power-on and power-off control method, control device and control equipment
US10115371B2 (en) Look up table management method of liquid crystal display and device
CN108873548B (en) Electrochromic method and device, electrochromic assembly and electronic equipment
CN102004541A (en) Image display system and method
US10157583B2 (en) Display apparatus and display control method thereof
US11243591B2 (en) Uninterruptible power system and operation method thereof
CN105448246A (en) Terminal and electronic ink screen adjustment method and device of terminal
CN111078128B (en) Data management method and device and solid state disk
US11341905B2 (en) Level converter, data processing method, and display device
KR20130086449A (en) Method for recording volume management program to relocate data block according to usage of each level volume

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