CN114300002A - Storage device and control method thereof - Google Patents

Storage device and control method thereof Download PDF

Info

Publication number
CN114300002A
CN114300002A CN202111666951.9A CN202111666951A CN114300002A CN 114300002 A CN114300002 A CN 114300002A CN 202111666951 A CN202111666951 A CN 202111666951A CN 114300002 A CN114300002 A CN 114300002A
Authority
CN
China
Prior art keywords
control module
color change
electrochromic
storage device
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111666951.9A
Other languages
Chinese (zh)
Other versions
CN114300002B (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 CN202111666951.9A priority Critical patent/CN114300002B/en
Publication of CN114300002A publication Critical patent/CN114300002A/en
Application granted granted Critical
Publication of CN114300002B publication Critical patent/CN114300002B/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, wherein the storage equipment comprises: the main control module, look becomes control module and electrochromic ware, through setting up the electrochromic ware in storage device's shell, the fault information who takes place in the storage device is monitored by main control module, in order to send control signal to look become control module, in order to awaken up look becomes control module, look becomes control module and generates pulse signal, and control the circular telegram voltage and/or the circular telegram time of electrochromic ware, and then the demonstration colour of adjustment storage device's shell, storage device fault information can be visualized in this application, and still can keep state information to show under the storage device power-off state, storage device's state detection efficiency has been improved.

Description

Storage 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: solid State Drives (SSD), which are hard disks made of Solid State electronic memory chip arrays, include a control unit and a memory unit (FLASH memory chip or DRAM memory chip).
Currently, a storage device records or updates a current state in a fixed storage area configured inside the storage device in real time during operation, and a host can access the state information through a pre-agreed port. For a user or administrator, if such information is desired, the relevant port may be called by the host to view the relevant information. However, for some common state changes, the access mode through the port is cumbersome to operate, and the detection efficiency is low.
Based on this, there is a need for improvement in the art.
Disclosure of Invention
The embodiment of the application provides a storage device and a control method thereof, which solve the technical problem of low state detection efficiency at present and improve the state detection efficiency of the storage device.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in a first aspect, an embodiment of the present application provides a storage device, including: 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 used for monitoring state information generated in the storage device so as to send a control signal to the color change control module to wake up the color change control module;
the color-changing control module is connected with the main control module and the electrochromic device and 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 the electrifying time of the electrochromic device;
the electrochromic device is arranged on the shell of the storage device, is connected with the color-changing control module and is used for changing the display color of the electrochromic device according to the power-on voltage and/or power-on time so as to adjust the display color of the shell of the storage device.
In some embodiments, the color change control module comprises:
the color change control unit is used for receiving the control signal sent by the main control module and generating a pulse signal;
and the signal conversion unit is connected with the color change control unit and used for receiving the pulse signal sent by the color change control unit, generating a voltage signal based on the pulse signal and sending the voltage signal to the electrochromic device.
In some embodiments, an electrochromic device comprises: the electrochromic device comprises a transparent protective layer, a transparent conducting layer, an electrochromic layer, an electrolyte layer, an ion storage layer and a substrate layer, wherein the color change control module is used for controlling the electrifying voltage and/or the electrifying time of the transparent conducting layer so as to enable the electrochromic device to generate color change.
In some embodiments, the signal conversion unit is connected to the transparent conductive layer, and the signal conversion unit is used for controlling the energizing voltage and/or the energizing time of the transparent conductive layer so as to enable the electrochromic device to generate color change.
In some embodiments, the storage device includes at least two electrochromic devices, each electrochromic device including: transparent protective layer, transparent conducting layer, electrochromic layer, electrolyte layer, ion storage layer, wherein, at least two electrochromic wares are the stack structure.
In some embodiments, the master control module comprises:
and the processor is connected with the color change control unit and used for sending a control signal to the color change control unit.
In some embodiments, the color-change control unit comprises a single chip, 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 the storage device as in the first aspect, and the method includes:
monitoring status 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 power-on voltage and/or power-on time of the electrochromic device so as to adjust the display color of the shell of the storage device.
In some embodiments, the color change control module includes a color change control unit and a signal conversion unit, and sends a control signal to the color change control module according to the state information, including:
judging whether the state information belongs to predefined state information or not;
if yes, 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 electrifying voltage and/or the electrifying time of the electrochromic device, wherein the control signal comprises a hardware reset signal and a digital signal corresponding to the state information.
In some embodiments, the color change control unit is controlled to enter a power-down mode after adjusting a display color of a housing of the storage device.
In a third aspect, the present application further provides a non-transitory computer-readable storage medium storing computer-executable instructions for enabling a storage device to execute the control method of the storage device according to the second aspect.
The beneficial effects of the embodiment of the application are that: different from the prior art, the storage device and the control method thereof provided by the embodiment of the application include 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 used for monitoring 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-changing control module is connected with the main control module and the electrochromic device and 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 the electrifying time of the electrochromic device; the electrochromic device is arranged on the shell of the storage device, is connected with the color-changing control module and is used for changing the display color of the electrochromic device according to the power-on voltage and/or power-on time so as to adjust the display color of the shell of the storage device.
Through setting up the electrochromic ware in storage device's shell, by the status information that takes place in the master control module monitoring storage device, in order to send control signal to the colour change control module, in order to awaken up the colour change control module, the colour change control module generates pulse signal, and the circular telegram voltage and/or the circular telegram time of control electrochromic ware, and then the demonstration colour of adjustment storage device's shell, storage device status information can be visualized in this application, and still can keep the status information display under the storage device power-off state, storage device's state detection efficiency has been improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic structural diagram of a storage device according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of another storage device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electrochromic device according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a control method of a storage device according to an embodiment of the present application;
fig. 5 is a schematic overall flow chart of a control method of a storage device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a superimposed structure of an electrochromic device provided in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another storage device provided in an embodiment of the present application;
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 structural diagram of a color change control module according to an embodiment of the present disclosure;
FIG. 10 is a diagram illustrating scale information of an available space according to an embodiment of the present disclosure;
FIG. 11 is a schematic structural diagram of another storage device provided in an embodiment of the present application;
fig. 12 is a schematic structural diagram of another color change control module provided in the 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 an available space of a storage device according to an embodiment of the present disclosure;
FIG. 15 is a diagram illustrating status information of a storage device according to an embodiment of the present application;
FIG. 16 is a schematic structural diagram of another memory device provided in an embodiment of the present application;
fig. 17 is a schematic structural diagram of an electrochromic device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of another color change control module provided in the embodiment of the present application;
fig. 19 is a flowchart illustrating a control method of a storage device according to an embodiment of the present application;
fig. 20 is a flowchart illustrating another method for controlling 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 is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, if not conflicted, the various features of the embodiments of the present application may be combined with each other within the scope of protection of the present application. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. In addition, the words "first", "second", "third", and the like used herein do not limit the data and execution order, but merely distinguish the same items or similar items having substantially the same functions and actions.
Before the present application is explained in detail, terms and expressions referred to in the embodiments of the present application are explained, and the terms and expressions referred to in the embodiments of the present application are applicable to the following explanations:
(1) electrochromic is a phenomenon in which optical properties (reflectivity, transmittance, absorption, etc.) of a material undergo a stable and reversible color change under the action of an applied electric field, and is visually represented as a reversible change in color and transparency. Materials having electrochromic properties are referred to as electrochromic materials, and devices made with electrochromic materials are referred to as electrochromic devices. The electrochromic material has bistable performance, and the electrochromic display device made of the electrochromic material does not need a backlight lamp, and does not consume power as long as the display content is not changed after a static image is displayed, thereby achieving the purpose of energy conservation. Compared with other displays, the electrochromic device has the advantages of no visual 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 advertising, static display and the like.
The memory, including solid-state memory, will carry on the real-time record or upgrade in the fixed storage area that the job will be present state or trouble dispose inside, the host computer can visit these information through the port appointed in advance. If desired, the user or administrator can access the ports via the host to view the information. In some memory product designs, a plurality of items of information which are important or common are displayed visually by arranging an indicator light or an LED screen on the surface of a shell.
Currently, it is inconvenient to view or manage due to lack of visual display of memory status or failures; or even if such functions and components are present, their operation needs to be in a memory power-on state.
On one hand, if the storage has no visual display of the state or the fault, although the user or the administrator can call the corresponding port to obtain the information through the host, the method is not only inconvenient and inefficient, but also prone to errors (such as large-scale data centers, tens of even millions of disks in cloud computing centers, and many steps are required to find and confirm a certain fault disk).
On the other hand, in the design of some memory products, one or more important or commonly used items of information are visually displayed by arranging an indicator light 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-off maintenance of a data center, return to a factory due to a fault, etc., a user or a worker may want to be able to screen and judge the state or fault of a memory in a power-off state, but the prior art still cannot meet the requirement.
Based on this, the embodiment of the application provides a storage device, which improves the state detection efficiency of the storage device.
The technical scheme of the application is specifically described in the following with the attached drawings of the specification:
referring to fig. 1, fig. 1 is a schematic structural diagram of a memory device according to an embodiment of the present disclosure;
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 to the color change control module 120, and configured to monitor status information occurring in the storage device 100, so as 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, recent use time information, and bad block number information.
The color-changing control module 120 is connected to the main control module 110 and the electrochromic device 130, and is configured to receive the control signal sent by the main control module 110, generate a pulse signal, and send the pulse signal to the electrochromic device 130, so as to control the energization voltage and/or the energization time of the electrochromic device 130;
the electrochromic device 130 is disposed on the housing of the storage device 100, connected to the color-change control module 120, and configured to change a display color of the electrochromic device according to the power-on voltage and/or 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 disclosure;
as shown in fig. 2, the storage device 100 is in communication connection with a host in a wired or wireless manner to implement data interaction, and the storage device 100 may be a storage device such as a Hard Disk Drive (HDD), a Solid State Drive (SSD), a mobile Hard Disk, a fixed Hard Disk, and the like, where the storage device is provided with a housing.
Specifically, the storage device 100 includes: the main control module 110, the color-changing control module 120, the electrochromic device 130, the dynamic storage module 140, and the 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 respectively connected to the host interface controller 112, the cache controller 113 and the flash memory controller 114, wherein the processor 111, the host interface controller 112, the cache controller 113 and the flash memory controller 114 may be connected by a bus or other methods, 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 runs, the master control module 110 monitors the running states of all components including the master control module 110, for example: the operating status 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 a change or a change in one or more states associated with the color-change control module 120 is found, 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: and the one-chip microcomputer sends the state information or the 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 the fault information sent by the processor 111, and sends a pulse signal to the signal conversion unit 122 according to the state information or the fault information, so as to control the energization voltage and/or the energization time of the transparent conductive layer of the electrochromic device 130, so that the color change of the outer shell portion or the whole outer shell portion of the storage device occurs.
Specifically, the host interface controller 112 is connected to the processor 111, the cache controller 113 and the flash memory controller 114, and is configured to control an interface interfacing with the host, where the interface is configured to receive data sent by the host, or receive data sent by the processor 111, and implement data transmission between the host and the processor 111, and the interface includes an SATA-2 interface, an SATA-3 interface, an SAS interface, an MSATA interface, a PCI-E interface, an NGFF interface, a CFast interface, an SFF-8639 interface, and an interface of m.2nvme/SATA protocol.
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: read data or write 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 flash memories 150, and is configured to access the flash memories 150 at the back end and manage various parameters and data I/O of the flash memories 150; or, an interface and a protocol for providing access, implementing a corresponding SAS/SATA target protocol end or NVMe protocol end, acquiring an I/O instruction sent by a host, decoding and generating an internal private data result to wait for execution; or, the core processing responsible for Flash Translation Layer (FTL). The flash memory controller 114 uses flash memory commands conforming to the standards of flash memory ONFI and Toggle to manage the reading and writing of data from the cache to the flash memory. The flash memory controller is coupled to and communicates with the flash memory, and from a single flash memory perspective, a Die/LUN is the basic unit of flash memory command execution.
Specifically, the cache unit 115 is mainly used for caching the read/write command sent by the host and the read data or the write data acquired from the flash memory 150 according to the read/write command sent by the host.
Specifically, the data encoding/decoding unit 116 includes an ECC module for performing ECC check. It can be understood that, since the error rate of flash memory is inherent, for the correctness of data, ECC check protection should be added to the original data during the data writing operation, which is an encoding process. When reading data, it also needs to detect and correct errors by decoding, and if the number of bits of errors exceeds the ECC correction capability, the data will be uploaded to the host in a form of "uncorrectable". Here, the ECC encoding and decoding process is performed by the data codec unit 116. The ECC algorithm in SSD is mainly BCH and LDPC, wherein LDPC is becoming mainstream gradually.
The color-changing 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 to control a display color of the electrochromic device 130.
The color change control module 120 includes: a color-changing control unit 121 and a signal conversion unit 122, wherein the color-changing control module 121 is connected to the signal conversion unit 122, and the color-changing control unit 121 is configured to receive the control signal sent by the processor 111 to 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-changing 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-changing control unit 121 and the electrochromic device 130, and is configured to receive the pulse signal sent by the color-changing control unit 121, and control the power-on voltage and/or 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 electrochromic device comprises a transparent conducting layer, and the signal conversion unit is used for controlling the electrifying voltage and/or the electrifying time of the transparent conducting layer so as to enable the electrochromic device to generate color change.
In this embodiment of the application, the color change control unit 121 includes a single chip, 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 to output a Pulse signal, where the Pulse signal includes a Pulse Width Modulation (PWM) signal, and the signal conversion unit 122 includes a digital-to-analog converter or an analog filter, and the digital-to-analog converter or the analog filter converts the PWM signal output by the single chip microcomputer into a continuous voltage value.
In the embodiment of the present application, after the color change control unit 121, for example, a single chip microcomputer, executes the corresponding external color display control operation, the single chip microcomputer enters the power down mode or the sleep mode again by setting the register, and since the power consumption of the single chip microcomputer is reduced to 2mA when the single chip microcomputer enters the sleep mode, the power consumption of the single chip microcomputer can be reduced to below 0.1 μ a when the single chip microcomputer enters the power down mode, and the power consumption is different by tens of thousands of times. It is to be understood that, since the outer color control does not work frequently, it is preferable to control the color-change control unit 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-changing control unit 121 includes, but is not limited to, a single chip, a microprocessor, a central processing unit, and other processing units with data processing capability. Wherein, singlechip includes 51 singlechips.
The electrochromic device 130 is disposed on the housing of the storage device, and may be the entire housing or a part of the housing, and the electrochromic device 130 may change its color according to the state information or the failure information of the current state 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 reversibly color-changing, when one or more states associated with the color-change control module 120 are reversible, i.e., a reversible failure, such as: the working temperature is too high, the available capacity is too low, and the like, along with the operation of the storage device, the possible fault state can be recovered to the normal state, at the moment, the shell color change of the storage device can also be reversely changed, and the processing process is similar to the processing process of the forward change. Specifically, the main control module, for example: the main controller or the SSD controller sends 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 reversely changed states to the color change control unit 121; the color-changing control unit 121 is awakened and then enters a normal operation mode, receives the fault information or the state information sent by the processor 111, determines the external color control according to the fault information or the state 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 controls the energization voltage and energization time of the transparent conductive layer in the electrochromic device 130, so that the color of the case of the storage device changes. And after the single chip microcomputer executes the corresponding external color control operation, the single chip microcomputer enters the power-down mode again through the setting register.
It will be appreciated that if the above states do not reverse during operation of the memory device or after a restart, the color of the housing of the memory device will remain consistent depending on the characteristics of the electrochromic material.
It should be noted that there are other types of states of the memory device that cannot be self-inverted, such as the proportion of bad blocks exceeding a threshold value, the wear life reaching a dangerous period, and the like. At this moment, after the color of the shell corresponding to the state or the fault is changed, the self-inversion cannot be realized, and the self-inversion can be always kept even after the storage equipment is powered off, so that the classification, screening and other works of the storage can be realized by related personnel of a user or a manufacturer. It can be understood that, if the storage device with the 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, please refer to fig. 3 again, fig. 3 is a schematic structural diagram of an electrochromic device according to an embodiment of the present disclosure;
as shown in fig. 3, the electrochromic device includes: transparent protective layer, transparent conducting layer, electrochromic layer, electrolyte layer, ion storage layer and base plate layer.
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 arranged at the lowest layer or the lowest layer of the electrochromic device, and the substrate layer can be a colored material or a transparent material, but a black material or a nearly black material is not adopted in the aspect of enhancing the contrast.
The transparent conducting layers are arranged below the transparent protective layer and above the substrate layer, one electrochromic device comprises two transparent conducting layers, one transparent conducting layer is grounded, and each transparent conducting layer at least has two characteristics, namely, a good electronic conductor and high light transmittance. Two common types of transparent conductive glasses, fluorine (F) -doped tin oxide (SnO)2) The transparent conducting layer used as the conducting glass is called FTO glass for short; tin doped indium oxide (In)2O3) The transparent conductive layer used as the conductive glass is called ITO glass for short;
and the electrochromic layer is arranged below the upper transparent conductive layer, wherein the electrochromic layer uses electrochromic materials such as transition metal oxides and organic conductive polymers. 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.
The electrolyte layer is arranged in the middle of the electrochromic device and used for providing a transmission channel of ions for electrochromic effect, the complex of the polyethylene oxide and the alkali metal salt has good ion conduction characteristic, 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. Releasing ions to be injected into the electrochromic layer under the action of an external electric field; when a reverse electric field is applied, ions released from the electrochromic layer are stored.
It can be understood that the electrochromic layer and the ion storage layer are subjected to opposite oxidation or reduction processes under the action of an electric field, namely, the ion storage layer is subjected to reduction reaction while the electrochromic layer is subjected to oxidation reaction, so that after the display color of the shell of the storage device is changed, the singlechip can be powered off, and the display color of the shell can still be maintained after the storage device is powered off.
The dynamic storage module 140 is used as a storage 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 the embodiment of the present application, the Dynamic Memory module 140 includes a Dynamic Random Access Memory (DRAM).
The Flash memory 150, which is a storage medium of the storage device 100 and is also called a Flash memory, or a Flash granule, is a type of storage device, is a nonvolatile memory, can store data for a long time without current supply, and has storage characteristics equivalent to a hard disk, so that the Flash memory 150 can be a basis of a storage medium of various portable digital devices.
In some embodiments, the host module further comprises a data converter (not shown) respectively connected to the processor and the flash controller, the data converter being configured to convert the binary data into hexadecimal data and the hexadecimal data into binary data. Specifically, when the flash memory controller writes data into the flash memory, the binary data to be written is converted into hexadecimal data by the data converter, and then written into 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, among other things, a binary data register and a hexadecimal data register. The binary data register may be used to store data converted from hexadecimal to binary, and the hexadecimal data register may be used to store data converted from binary to hexadecimal.
In an embodiment of the present application, a storage device is provided, which includes a main control module, a color change control module, and an electrochromic device, where the main control module is connected to the color change control module, and is configured to monitor fault information occurring in the storage device, so as to send a control signal to the color change control module, so as to wake up the color change control module; the color-changing control module is connected with the main control module and the electrochromic device and 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 the electrifying time of the electrochromic device; the electrochromic device is arranged on the shell of the storage device, is connected with the color-changing control module and is used for changing the display color of the electrochromic device according to the power-on voltage and/or power-on time so as to adjust the display color of the shell of the storage device.
On one hand, the electrochromic device is arranged on the shell of the storage device, the master control module monitors fault information generated in the storage device to send a control signal to the color change control module to wake up the color change control module, the color change control module generates a pulse signal and controls the power-on voltage and/or power-on time of the electrochromic device to further adjust the display color of the shell of the storage device, and the state or fault information of the storage device can be visualized by the method, so that the fault detection efficiency of the storage device is improved;
on the other hand, because the electrochromic device still keeps displaying under the power-off state, the working efficiency of the user and related workers in the aspects of monitoring, fault positioning, return-to-factory maintenance screening and the like can be improved, and the probability of human errors is reduced. Furthermore, compared with the case with the surface provided with the indicating lamp or the LED screen, the invention also has the advantages of energy saving and environmental protection; in addition, the novel technology and the product provided by the invention can provide technical support for the application in the fields of future visual display, unmanned intelligent operation and maintenance and the like.
Referring to fig. 4 again, fig. 4 is a schematic flowchart of a control method of a storage device according to an embodiment of the present disclosure;
as shown in fig. 4, the method for controlling a 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 operating states of all components including the main control module, for example: the running state of one or more of the processor, the host interface controller, the cache controller, the flash memory controller, the cache unit, the data codec unit and the flash memory in the main control module, and the state 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, 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 power-on voltage and/or power-on time of the electrochromic device so as to adjust the display color of the shell of the storage device.
Specifically, according to the state information, a control signal is sent to the color change control module to wake up the color change module to enter a normal working mode, and then the power-on voltage and/or power-on time of the electrochromic device is controlled to adjust the display color of the shell of the storage device.
For example: when one or more states related to the color-change control module are found to be changed or changed, that is, predefined state information occurs, the processor 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 of the color-change control module, for example: and the singlechip is used for sending the state information or fault information corresponding to the fault to the color change control unit, enabling the color change control unit to enter a working mode after being awakened, receiving the state information or the fault information sent by the processor, and sending a pulse signal to the signal conversion unit according to the state information or the fault information so as to control the electrifying voltage and/or the electrifying time of the transparent conducting layer of the electrochromic device and enable the shell part or the whole part of the storage device to be subjected to color change.
In this embodiment of the application, the color-changing control module includes a color-changing control unit and a signal conversion unit, and sends a control signal to the color-changing control module according to the state information, including:
determining whether the state information belongs to predefined state information, wherein the state 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 yes, 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 electrifying voltage and/or the electrifying 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, where the first state 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 to cause the electrochromic device to change color. 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 so, 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 awakening the color change control unit in the color change control module, and 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 sending 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 conducting layer of the electrochromic device to enable the electrochromic device to generate color change.
Specifically, please refer to fig. 5 again, fig. 5 is a schematic overall flow chart of a control method of a storage device according to an embodiment of the present disclosure;
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 master control module monitors that the storage equipment has state change;
specifically, the processor of the main control module monitors the operating states of all components of the storage device, for example: the running state of one or more of a processor, a host interface controller, a cache controller, a flash memory controller, a cache unit, a data coding and decoding unit and a flash memory in the main control module.
If a certain state change belongs to the predefined state information, 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 master 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 comprises fault information, if only one fault definition exists, a bit of binary information 0 or 1 is used for indicating that the fault occurs, 0 is no fault, and otherwise, the fault occurs. When a fault occurs, 8 'b 00000001 (8 bits are filled), indicating that a fault occurs, and 8' b01111111 is output.
Step S505: the signal conversion unit converts the calculation result into a voltage signal and applies the voltage signal to the electrochromic device to enable the electrochromic device to generate color change;
specifically, the color change control unit sends the calculation result to the signal conversion unit, and the signal conversion unit, for example: digital-to-analog converters, which convert digital signals into voltage signals, such as: converted to a voltage of +5V and applied to the transparent conductive layer of the electrochromic device to cause the electrochromic device, and thus the housing of the memory device, to undergo a color change.
Step S506: a color change control unit of the color change control module enters a power-down mode;
specifically, after the shell of the storage device is subjected to color change, the color change control unit of the color change control module enters a power-down mode through the setting register, 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 above 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 power-on voltage and/or power-on time of the electrochromic device so as to adjust the display color of the shell of the storage device.
The state change of the storage device is monitored to control the power-on voltage and/or power-on time of the electrochromic device so as to adjust the display color of the shell of the storage device, and the state detection efficiency of the storage device can be improved.
In an embodiment of the present application, the memory device comprises at least two electrochromic devices, each electrochromic device comprising: transparent protective layer, transparent conducting layer, electrochromic layer, electrolyte layer, ion storage layer and base plate layer, wherein, at least two electrochromic wares are the stack structure.
It will be appreciated that the colour appearance depends primarily on the choice of electrochromic material, and although multicolour variations can be achieved by controlling the voltage, and energisation time, the contrast is not strong and sometimes even very difficult to distinguish; some metal organic complexes, such as phthalocyanine and lutetium (Lu), can change the electrochromic range among red, green, blue and purple, but still have the problems of small multicolor change range and even low contrast among colors and difficult distinction.
At present, the problem of wide color switching is difficult to realize by using one electrochromic material, so that the storage device has more excellent color changing performance, such as higher color purity and wider color range, for example, three electrochromic devices which respectively correspond to three primary colors are used for superposition, and richer color expression is realized by using a multi-electrochromic device superposition mode and a multi-color superposition mode.
Specifically, referring to fig. 6 again, fig. 6 is a schematic diagram of a superimposed structure of an electrochromic device provided in the embodiment of the present application;
as shown in fig. 6, a stacked configuration of two electrochromic devices is shown, wherein each electrochromic device corresponds to a different color, each electrochromic device comprising: the device comprises a transparent protective layer, a transparent conductive layer, an electrochromic layer, an electrolyte layer and an ion storage layer, wherein two electrochromic devices share one substrate layer.
In the embodiment of the application, at least two electrochromic devices are in a superposed structure to realize superposition of colors, so that the shell of the storage device presents better display effect.
It can be understood that, because the integration degree of the solid-state memory is higher and higher, the required volume and the circuit area are smaller and smaller, if a plurality of electrochromic devices are stacked, and one color-changing control module is used for controlling each electrochromic device, the cost overhead is increased, and the circuit area and the power consumption are limited in some cases.
Therefore, the embodiment of the present application further provides a storage device, which is implemented by adding a data distributor to implement a color-change control module to control at least two electrochromic devices.
Specifically, please refer to fig. 7, fig. 7 is a schematic structural diagram of another memory device according to an embodiment of the present disclosure;
as shown in fig. 7, the memory device 100 includes a main control module 110, a color-changing control module 120, three electrochromic devices 130, a dynamic memory module 140, and a plurality of flash memories 150, wherein the color-changing control module 120 is respectively connected to each electrochromic device 130 for controlling the display of each electrochromic device 130.
Specifically, please refer to fig. 8 again, fig. 8 is a schematic structural diagram of a color change control module according to an embodiment of the present disclosure;
as shown in fig. 8, the color-change control module 120 includes: the color-changing control unit 121, the signal conversion unit 122, the level shift unit 123 and the data distribution unit 124, wherein an input end of the color-changing control unit 121 is connected to the processor of the main control module, an output end of the color-changing control unit 121 is connected to an input end of the data distribution unit 124, another output end of the color-changing control unit 121 is connected to an input end of the signal conversion unit 122, an output end of the signal conversion unit 122 is connected to an input end of the level shift unit 123, another input end of the level shift unit 123 is connected to an external power supply, an output end of the level shift unit 123 is connected to another input end of the data distribution unit 124, and an output end of the data distribution unit 124 is connected to the plurality of electrochromic devices, so as to realize color-changing control of the plurality of electrochromic devices.
The color-changing control unit 121 is configured to receive a control signal sent by a processor of the main control module, generate a pulse signal, and send the pulse signal to the signal conversion unit to control the 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 sent by 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 the external power supply, and is configured to adjust an output voltage corresponding to the voltage signal of the signal conversion unit 122, and the external power supply is configured to output a negative voltage to the data distribution unit 124 to adjust the output voltage, thereby implementing reversible color change of the electrochromic device.
The data distributing unit 124 is connected to the color-change control unit 121 and each electrochromic device, and is configured to control an energization time and/or an energization voltage of each electrochromic device according to the pulse signal input by the color-change control unit 121, so as to adjust a display color and/or a display content of the plurality of electrochromic devices, and further adjust a display color and/or a display content of a housing of the storage device. Specifically, the display color and/or display content of the transparent conductive layers of the plurality of electrochromic devices is adjusted.
In the embodiment of the present application, the color change control unit includes, but is not limited to: the color-changing control unit is preferably a single chip microcomputer, the signal conversion unit includes, but is not limited to, an electronic device having a function of converting a digital signal into an analog signal, such as a digital-to-analog converter or an analog filter, and the signal conversion unit is preferably a digital-to-analog converter.
Specifically, please refer to fig. 9 again, fig. 9 is a schematic structural diagram of a color change control module according to an embodiment of the present disclosure;
as shown in fig. 9, the color change control module includes: the single-chip microcomputer, digital-to-analog converter, level shifter and data distributor, wherein, the processor of main control module is connected to the input of single-chip microcomputer, an input of data distributor is connected to an output of single-chip microcomputer, the input of digital-to-analog converter is connected to another output of single-chip microcomputer, an output of level shifter is connected to an output of level shifter, external power supply is connected to another input of level shifter, another input of data distributor is connected to the output of level shifter, a plurality of output of data distributor connect the transparent conducting layer of a plurality of electrochromic wares respectively, wherein, an output corresponds the transparent conducting layer of an electrochromic ware.
Specifically, one output end of the data distributor is connected with one transparent conducting layer of the first electrochromic device, and the other transparent conducting layer is grounded; similarly, the other output end of the data distributor is connected with one transparent conducting layer of the second electrochromic device, and the other transparent conducting layer is grounded; the other output end of the data distributor is connected with one transparent conducting layer of the third electrochromic device, and the other transparent conducting layer is grounded.
As shown in fig. 9, the single chip receives 8-bit binary information sent by the processor of the main control module as input, and controls the selection of the first electrochromic device, the second electrochromic device or the third electrochromic device as output ends through an address selection signal; the control of the voltage is achieved using the lower six bits, via a Digital Analog Converter (DAC)Converter, DAC) into a voltage analog signal, which is then converted by a level shifter into a desired range of voltage for the electrochromic device. Wherein, the level shifter adjusts the range of the output voltage to-out,out](e.g., [ -5V, 5V)]) To achieve the voltage requirements of electrochromism and inverse transformation thereof, wherein 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-analog conversion of digital signals to positive voltages, for example: 0-5V, and therefore, in order to achieve a reversal of the current direction, e.g., in the range of [ -5V,5V ], a level shifter is now used to amplify the positive voltage, e.g.: amplifying 0-5V to 0-10V range, and adding a-5V reverse compensation through an external power supply to make the final output voltage fall in the range of [ -5V,5V ].
It will be appreciated that the data splitter (DMUX) is used to time-share an input data signal to a plurality of output terminals for output, or to convert serial data to parallel data for output. The data Distributor (DMUX) includes a 1:2DMUX, a 1:3DMUX, a 1:4DMUX, a 1:8DMUX, and so on.
In the embodiment of the present application, the data distributor is set according to the number of the electrochromic devices connected thereto, for example: as shown in fig. 9, the data Distributor (DMUX) is connected to the transparent conductive layers of three electrochromic devices, and the data Distributor (DMUX) is a 1:3DMUX, where one input end is connected to the output end of the level shifter, and two chip selection signal lines are connected to two of the output ends of the single chip, for example: the first two, the output three, are connected to the transparent conducting layer of an electrochromic device respectively. It is understood that if three electrochromic devices are connected, 1:4DMUX can be selected, and three directions of four output directions are respectively connected with the transparent conducting layers of one electrochromic device, and the other electrochromic device is not used.
Wherein, the input of the singlechip is eight bits and is received from the output of the master control; 8 bits are output, and in the embodiment of the application, the first two bits are used as two-bit input of the DMUX chip select signal.
The digital-to-analog converter inputs six-bit signals in the output of the 6-bit receiving singlechip, for example: the last six bits output one bit and send to the level shifter;
the level shifter has one bit input connected to the D/A converter and output to one input of the data distributor.
In the embodiment of the present application, the data distributor is connected to three electrochromic devices, wherein the three electrochromic devices are in a stacked structure, and each electrochromic device is used for presenting one of three primary colors, so as to realize the stacking of the three primary colors, wherein the three primary colors comprise red, green and blue.
For example: as shown in fig. 9, the first electrochromic device is used for displaying red, the second electrochromic device is used for displaying green, and the third electrochromic device is used for displaying blue, and the first electrochromic device, the second electrochromic device, and the third electrochromic device are in a stacked structure, so that stacking of three primary colors can be realized, a wider color range is realized, better color-changing performance is achieved, a housing of the storage device can realize richer color expression, and the distinguishing of different states or faults of the storage device is facilitated.
In the embodiment of the application, the colorful change of the appearance color of the memory is realized by overlapping a plurality of electrochromic devices with different primary colors, and the colorful change is used for classifying and distinguishing different states or faults of the memory device; furthermore, the method can also be used for visual display and the like, and has a 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 embodiments, and are not described herein again.
At present, common storage devices, whether mechanical Hard disks (Hard Disk Drives, HDDs) or Solid State Drives (SSDs), mobile Hard disks or fixed Hard disks, need to be accessed to a host computer if necessary to obtain information such as storage capacity, service life, bad block number or proportion, and the like, and can only 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 proportional information or the numerical information through the combination of a plurality of electrochromic devices.
Referring to fig. 10, fig. 10 is a schematic diagram illustrating a ratio information of an available space according to an embodiment of the present disclosure;
as shown in fig. 10, the display of the proportional information is realized by four electric quantity display components, wherein each electric quantity display component includes two colors, i.e., black and white, and if the four electric quantity display components are all white, the available space is represented as 0%; if only one of the four power display elements is black, the available space is 25%; if two of the four electric quantity display assemblies are black and two are white, the available space is 50 percent; if only one of the four power display elements is white, the available space is 75%; if the four charge level display elements are all black, the available space is 100%. It will be appreciated that the black and white display can also be swapped with the capacity of the available space, for example: if all four power display elements are white, the available space is 100%.
In the embodiment of the present application, four power display components may be implemented by four electrochromic devices to display the scale information.
Specifically, please refer to fig. 11, fig. 11 is a schematic structural diagram of another storage device according to an embodiment of the present disclosure;
as shown in fig. 11, the storage device 100 includes one color-change control module 120 and four electrochromic devices 130, the color-change control module 120 is connected to each electrochromic device 130, and the control of the power-on voltage and/or the power-on time of the four electrochromic devices 130 is realized through one color-change control module 120, so as to realize the display of the scale information of the available space.
Specifically, the storage device comprises four electrochromic devices, wherein each electrochromic device corresponds to one electric quantity display assembly one by one, and each electrochromic device is subjected to voltage inversion control by a level shift 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 assemblies.
Specifically, please refer to fig. 12 again, fig. 12 is a schematic structural diagram of another color change control module provided in the embodiment of the present application;
it is understood that the overall structure of the color change control module in fig. 12 is similar to that of the color change control module in fig. 9, and the same parts are not repeated.
As shown in fig. 12, the 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 conducting layer of the second electrochromic device, and the other transparent conducting layer is grounded; the third output end of the data distributor is connected with one transparent conducting layer of the third electrochromic device, and the other transparent conducting layer is grounded; the fourth output end of the data distributor is connected with one transparent conducting layer of the third electrochromic device, and the other transparent conducting layer is grounded.
As shown in fig. 12, the single chip receives 8-bit binary information sent by the processor of the main control module as input, and controls the selection of the first electrochromic device, the second electrochromic device, the third electrochromic device and the fourth electrochromic device as output ends through address selection signals; the voltage is controlled by using the lower six bits, converted into a voltage Analog signal by a Digital-to-Analog Converter (DAC), and converted into a voltage expected range of the electrochromic device by a level shifter. Wherein, the level shifter adjusts the range of the output voltage to [ -v ] through the external power supplyout,vout](e.g., [ -5V, 5V)]) To achieve the voltage requirements for electrochromism and its inverse transformation, for example: each electrochromic device displays black or white, so that the four electrochromic devices can be matched to display the proportion information of the available space, wherein the external power supply comprises a negative power supply and is used 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 illustrating a display of digital information according to an embodiment of the present disclosure;
as shown in fig. 13, arabic numerals 0 to 9 are expressed by a seven-segment display method, and therefore, in the embodiment of the present application, any one of numerals 0 to 9 is displayed by a combination of seven electrochromic devices. By analogy, the display of multiple numbers can be achieved through the combination of multiple electrochromic devices.
Referring to fig. 14 again, fig. 14 is a schematic diagram illustrating an available space of a storage device according to an embodiment of the present disclosure;
as shown in fig. 14, (a) part shows an available capacity in the memory of 2TB capacity, and (b) part shows an available capacity of 99%.
For example: for the portion (a) in fig. 14, one number corresponds to seven digital components, two numbers correspond to fourteen digital components, and one punctuation mark is added, a total of 15 electrochromic devices are required for display processing, and control is required through a 1:16 data Distributor (DMUX), wherein one electrochromic device corresponds to one digital component of one number or one punctuation mark, so as to realize display of digital information of two numbers and one punctuation mark, wherein one number is displayed by seven digital components.
Specifically, by using 15 electrochromic devices, 8-bit binary information sent by a processor of a main control module is received by a single chip as input, and an address selection signal is used for controlling the selection of a first electrochromic device, a second electrochromic device, … and a fifteenth electrochromic device as output ends; the voltage is controlled by using the lower four bits, converted into a voltage Analog signal by a Digital-to-Analog Converter (DAC), and converted into a voltage expected range of the electrochromic device by a level shifter. Wherein, the level shifter adjusts the range of the output voltage to [ -v ] through the external power supplyout,vout](e.g., [ -5V, 5V)]) To achieve the voltage requirements of electrochromism and inverse transformation thereof, wherein the external power supply comprises a negative power supply for outputting negative voltage.
It is to be understood that, regarding the part (b) in fig. 14, the processing manner thereof is similar to that of the part (a) in fig. 14, and is not described again here.
Further, in order to realize the display of various kinds of status information of the storage device, for example: the method comprises the steps of displaying one or more of available capacity information, health index information, recent use information and bad block number information, and displaying various state information by arranging a plurality of electrochromic devices.
Referring to fig. 15, fig. 15 is a schematic diagram illustrating status information of a storage device according to an embodiment of the present disclosure;
as shown in fig. 15, the available capacity information, the health index information, the most recent usage information, and the bad block number information may be displayed by a plurality of electrochromic devices. For example: a common 51 singlechip is adopted, the output is 8 bits, and at least one bit is used for controlling the positive and negative of voltage; then, there are 7 bits that can be used for the address signal to control the selection of the electrochromic device. The 7-bit binary address signal can be used to determine up to 128 addresses, and can be used to display 18 0-9 Arabic numerals and two punctuation marks, such as decimal points, by the seven-segment display method.
In the embodiment of the application, one or more electrochromic devices are applied to the shell of the storage device, and the main control module of the storage device controls the power-on voltage and/or power-on time of a transparent electricity-generating layer in the electrochromic devices through the color-changing control module according to the available capacity information of the storage device so as to change the display color of one or more of the electrochromic devices; and the high and low positions output by the singlechip in the color change control module are set, and the color change control of the plurality of electrochromic devices is realized by matching with a data distributor so as to display related information of storage equipment such as proportional information or numerical value information and the like, thereby realizing the effect of displaying corresponding information or numerical value. By utilizing the electrochromic device, the display of the state information such as the available capacity of the storage equipment can be still maintained when the power is off, the use convenience and the working efficiency of users and related workers are improved, and compared with the case with the surface provided with the indicating lamp or the LED screen, the invention not only saves the requirements of hardware design volume, weight and circuit area, but also has the advantages of energy saving, environmental protection and cost reduction.
It will be appreciated that regardless of the type of storage product, which may not function properly due to one or more of many types of failures occurring simultaneously, there are a large number of storage products that must be scrapped or returned to the factory for repair each year. However, when the memory fails, the user is not actively informed or even the failure information is displayed, which brings inconvenience to the use, management and maintenance.
Based on this, the embodiment of the application provides a storage device, which actively displays the information characters corresponding to the fault when the fault occurs, so as to bring convenience to the use and management of a user; and even under the condition that no power supply is connected, the display of the text information can be kept, and higher efficiency is brought to further transportation and factory maintenance.
Referring to fig. 16, fig. 16 is a schematic structural diagram of another memory device according to an embodiment of the present application;
as shown in fig. 16, the storage device 100 includes: the display device comprises a main control module 110, a color-changing control module 120, a plurality of electrochromic devices 130, a dynamic storage module 140 and a plurality of flash memories 150, wherein the color-changing control module 120 is respectively connected to each electrochromic device 130 and is used for controlling the display of each electrochromic device 130.
It is understood that the overall structure of the storage device 100 mentioned in the embodiment of the present application is similar to that of the storage device 100 mentioned in the embodiment, and the description of the embodiment may be referred to for the same parts without repeated description.
It should be noted that the pixel units required for displaying the text information are far larger than the number display, and if the text is displayed by using the seven-segment display method in which each number corresponds to seven number components, that is, the number, in the above embodiment, at this time, a 51-bit single chip microcomputer with 8-bit output is used to control 18 electrochromic devices (corresponding to 18 pixel units) at most, and the display requirement of the text information cannot be met; if a singlechip with 16-bit or more 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 present application provides a new structure of an electrochromic device to realize text display.
Specifically, please refer to fig. 17, fig. 17 is a schematic structural diagram of an electrochromic device according to an embodiment of the present disclosure;
as shown in fig. 17, the electrochromic device includes:
the color-changing control module is used for controlling the electrifying voltage and/or the electrifying time of the transparent conducting layer so as to enable the electrochromic device to generate color change;
the electrochromic device further includes:
and 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.
Specifically, the electrochromic device has an eight-layer structure, wherein,
the transparent protective layer is a transparent insulating protective layer and is arranged on the uppermost layer or the outermost layer of the electrochromic device;
the transparent conducting layers are arranged below the transparent protective layer and above the substrate layer, one electrochromic device comprises two transparent conducting layers, one transparent conducting layer is grounded, and each transparent conducting layer at least has two characteristics, namely, a good electronic conductor and high light transmittance. Two common types of transparent conductive glasses, fluorine (F) -doped tin oxide (SnO)2) The transparent conducting layer used as the conducting glass is called FTO glass for short; tin doped indium oxide (In)2O3) The transparent conductive layer used as the conductive glass is called ITO glass for short;
and the electrochromic layer is arranged below the upper transparent conductive layer, wherein the electrochromic layer uses electrochromic materials such as transition metal oxides and organic conductive polymers. 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.
The electrolyte layer is arranged in the middle of the electrochromic device and used for providing a transmission channel of ions for electrochromic effect, the complex of the polyethylene oxide and the alkali metal salt has good ion conduction characteristic, 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. Releasing ions to be injected into the electrochromic layer under the action of an external electric field; when a reverse electric field is applied, ions released from the electrochromic layer are stored.
And 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 arranged at the lowest layer or the lowest layer of the electrochromic device, and the substrate layer can be a colored material or a transparent material, but a black material or a nearly black material is not adopted in the aspect of enhancing the contrast.
In the embodiment of the present application, the mask layer includes two design modes:
(1) the information hollow mode: in the display mode, the characters are the superposition of the color of the substrate layer and the light color of the electrochromic layer; in the non-display mode, the text color that the substrate layer can see through is covered by the dark color of the electrochromic layer. Such as: the substrate is blue and 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 text; in the non-display mode, the electrochromic layer also turns blue, coloring the mask and substrate layers.
(2) Background fretting mode: in the display mode, the characters are the superposition of the color of the mask layer and the light-state color of the electrochromic layer; in the non-display mode, the text color that the mask layer can transmit is covered by the dark color of the electrochromic layer. Such as: the substrate is blue and 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 white characters with blue background; in the non-display mode, the electrochromic layer also turns blue, coloring the mask and substrate layers.
It can be understood that the electrochromic layer and the ion storage layer are subjected to opposite oxidation or reduction processes under the action of an electric field, namely, the ion storage layer is subjected to reduction reaction while the electrochromic layer is subjected to oxidation reaction, so that after the display color of the shell of the storage device is changed, the singlechip can be powered off, and the display color of the shell can still be maintained after the storage device is powered off.
It can be understood that, in general, the storage device needs to display a plurality of faults, and therefore, the embodiment of the present application implements control over the power-on voltages and/or power-on times of a plurality of electrochromic devices by adding one single chip and one data distributor.
Specifically, please refer to fig. 18 again, fig. 18 is a schematic structural diagram of another color change control module provided in the embodiment of the present application;
as shown in fig. 18, the color-changing control module includes a single chip, a digital-to-analog converter, a level shifter and a data distributor, wherein an input end of the single chip is connected to the processor of the main control module, an output end of the single chip is connected to an input end of the data distributor, another output end of the single chip is connected to an input end of the digital-to-analog converter, an output end of the digital-to-analog converter is connected to an output end of the level shifter, another input end of the level shifter is connected to an external power source, an output end of the level shifter is connected to another input end of the data distributor, a plurality of output ends of the data distributor are respectively connected to the transparent conductive layers of the plurality of electrochromic devices, and one output end corresponds to one transparent conductive layer of one electrochromic device.
Wherein the data Distributor (DMUX) is 1: and an N data distributor (1: NDMUX), wherein N is the number of the electrochromic devices. Specifically, one output end of the data distributor is connected with one transparent conducting layer of the first electrochromic device, and the other transparent conducting layer is grounded; similarly, in this way, the nth output end of the data distributor is connected with one transparent conducting layer of the nth electrochromic device, and the other transparent conducting layer is grounded.
As shown in fig. 18, the single chip receives 8-bit binary information sent by the processor of the main control module as input, calculates and outputs an 8-bit binary result according to the pre-program: wherein a high t (0) is used<t<8, t is a positive integer) bits as the address input (0) of the data distributor (1: NDMUX)<N<2tN is a positive integer), and the selection of the N electrochromic devices as output terminals is controlled by an address selection signal, wherein the value of N is at most 2tA plurality of; use of lowThe 8-t bit realizes the control of voltage, and the voltage is converted into a voltage analog signal through a digital-to-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 adjusts the range of the output voltage to [ -v ] by an external negative power supplyout,vout](e.g., [ -5V, 5V)]) To achieve the voltage requirements of electrochromism and inverse transformation thereof.
In the embodiment of the application, the electrochromic device with the added mask layer is applied to the shell of the storage device, and the electrifying voltage and/or the electrifying time of the transparent electrifying layer in the electrochromic device are controlled by the color change control module, so that the display color of the electrochromic device is changed, and the display effect of character information is achieved; one or more electrochromic devices are used on the shell of the storage device, and the main control module of the storage device controls one or more of the electrochromic devices to change the color through the current running state and the fault information of the storage module and the color change control module so as to display the text information corresponding to the fault of the storage device;
meanwhile, due to the adoption of the electrochromic device, the visual display of the fault of the storage equipment can be still maintained during power-off, the working efficiency of a user and related workers in the aspects of monitoring, fault positioning, return repair screening and the like is improved, the probability of human errors is reduced, compared with fault recording modes such as log files and the like, the method and the device can realize automatic intervention-free, off-line reading, information loss prevention and non-standardization, and are more friendly to the user.
Referring to fig. 19, fig. 19 is a schematic flowchart illustrating a control method of a storage device according to an embodiment of the present disclosure;
the control method of the storage device is applied to the storage device in the embodiment.
As shown in fig. 19, the method for controlling a storage device includes:
step S1901: acquiring a control signal sent by a main control module;
specifically, the main control module monitors state information of the storage device, wherein the state information includes but is not limited to: fault information, usage status information, for example: available space information, available capacity information, health indicator information, last usage time information, bad block number information, when a storage device fails or a state associated with the electrochromic device changes, for example: the processor of the main control module sends a control signal to the color change control module according to the change of the available space, and the color change control unit of the color change control module, for example: and the singlechip acquires a control signal sent by the processor of the main control module.
Step S1902: and controlling the power-on voltage and/or power-on time of the one or more electrochromic devices according to the control signal so as to adjust the display color and/or the display content of the one or more electrochromic devices and adjust the display color and/or the display content of the shell of the storage device.
Specifically, the color change control unit of the color change control module, for example: the singlechip processes the control signal after receiving the control signal, and processes the signal through the digital-to-analog converter, the level shifter and the data distributor to control the power-on voltage and/or power-on time of one or more electrochromic devices so as to adjust the display color and/or the display content of one or more electrochromic devices and adjust the display color and/or the display content of the shell of the storage device.
Specifically, please refer to fig. 20 again, fig. 20 is a schematic flowchart illustrating another control method for a storage device according to an embodiment of the present disclosure;
as shown in fig. 20, the method for controlling a 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 that the state information related to the electrochromic device in the storage device 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 master 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: only one fault is defined, a bit of binary information 0 or 1 is used to indicate that a fault occurs, 0 is no fault, otherwise, a fault occurs. When a fault occurs, 8 'b 00000001 (8 bits are filled), indicating that a fault occurs, and 8' b01111111 is output.
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, and the signal conversion unit, for example: digital-to-analog converters, which convert digital signals into voltage signals, such as: converted to a +5V voltage.
Step S206: the level shift unit applies a voltage signal to a transparent conducting layer of the electrochromic device through the data distributor to enable the electrochromic device to generate color change;
specifically, the level shift unit applies a voltage signal to the transparent conductive layer of the one or more electrochromic devices through the data distributor to cause the one or more electrochromic devices to change color, thereby causing the housing of the memory device to change color.
Step S207: and the color change control unit of the color change control module enters a power-down mode.
Specifically, after the shell of the storage device is subjected to color change, the color change control unit of the color change control module enters a power-down mode through the setting register, 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 above embodiment, and the method includes: acquiring a control signal sent by a main control module; and controlling the power-on voltage and/or power-on time of the one or more electrochromic devices according to the control signal so as to adjust the display color and/or the display content of the one or more electrochromic devices and adjust the display color and/or the display content of the shell of the storage device.
By acquiring the control signal sent by the main control module, the display color and/or the display content of the shell of the storage device are/is adjusted, and the display of the state information of the storage device can be better realized.
Embodiments of the present application also provide a non-volatile computer storage medium, which stores computer-executable instructions, which are executed by one or more processors, for example, the one or more processors may execute the control method of the storage device in any of the above method embodiments, for example, execute the above described steps.
The above-described embodiments of the apparatus or device are merely illustrative, wherein the unit modules described as separate parts may or may not be physically separate, and the parts displayed as module units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or partially contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the present application as described above, which are not provided in detail 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A storage device, comprising: 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 used for monitoring state information generated in the storage device so as to send a control signal to the color change control module to wake up the color change control module;
the color-changing 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 the electrifying time of the electrochromic device;
the electrochromic device is arranged on the shell of the storage device, is connected with the color-changing control module, and is used for changing the display color of the electrochromic device according to the power-on voltage and/or power-on time so as to adjust the display color of the shell of the storage device.
2. The apparatus of claim 1, wherein the color change control module comprises:
the color change control unit is used for receiving the control signal sent by the main control module and generating a pulse signal;
and the signal conversion unit is connected with the color change control unit and used for receiving the pulse signal sent by the color change control unit, generating a voltage signal based on the pulse signal and sending the voltage signal to the electrochromic device.
3. The apparatus of claim 2, wherein the electrochromic device comprises: the electrochromic device comprises a transparent protection layer, a transparent conducting layer, an electrochromic layer, an electrolyte layer, an ion storage layer and a substrate layer, wherein the color change control module is used for controlling the electrifying voltage and/or the electrifying time of the transparent conducting layer so as to enable the electrochromic device to generate color change.
4. The device according to claim 3, wherein the signal conversion unit is connected to the transparent conductive layer, and the signal conversion unit is configured to control an energization voltage and/or an energization time of the transparent conductive layer so as to cause the electrochromic device to generate a color change.
5. The device of claim 3 or 4, wherein the storage device comprises at least two electrochromic devices, each electrochromic device comprising: transparent protective layer, transparent conducting layer, electrochromic layer, electrolyte layer, ion storage layer, wherein, at least two electrochromic wares are the stack structure.
6. The device of claim 2, wherein the master module comprises:
and the processor is connected with the color change control unit and used for sending a control signal to the color change control unit.
7. The apparatus according to any one of claims 2-6, wherein the color change control unit comprises a single chip, and the signal conversion unit comprises a digital-to-analog converter or an analog filter.
8. A method for controlling a storage device, applied to the storage device according to any one of claims 1 to 7, the method comprising:
monitoring status 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 power-on voltage and/or power-on time of the electrochromic device so as to adjust the display color of the shell of the storage device.
9. The method according to claim 8, wherein the color change control module comprises a color change control unit and a signal conversion unit, and the sending the control signal to the color change control module according to the state information comprises:
judging whether the state information belongs to predefined state information or not;
if yes, sending a control signal to the color change control unit to enable the color change control unit to generate a pulse signal, and generating a voltage signal by the signal conversion unit based on the pulse signal to control the power-on voltage and/or power-on time of the electrochromic device, wherein the control signal comprises a hardware reset signal and a digital signal corresponding to state information.
10. The method of claim 9, wherein the color change control unit is controlled to enter a power down mode after adjusting a display color of a housing of the storage device.
CN202111666951.9A 2021-12-31 2021-12-31 Memory device and control method thereof Active CN114300002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111666951.9A CN114300002B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111666951.9A CN114300002B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Publications (2)

Publication Number Publication Date
CN114300002A true CN114300002A (en) 2022-04-08
CN114300002B CN114300002B (en) 2023-10-24

Family

ID=80973833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111666951.9A Active CN114300002B (en) 2021-12-31 2021-12-31 Memory device and control method thereof

Country Status (1)

Country Link
CN (1) CN114300002B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030161A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Electronic device and method for controlling electronic device casing coloring
CN101577747A (en) * 2009-05-08 2009-11-11 中兴通讯股份有限公司 Electronic device and method for changing color of shell thereof
CN109144814A (en) * 2018-07-27 2019-01-04 Oppo广东移动通信有限公司 Information prompting method, device, storage medium and electronic equipment
CN110768318A (en) * 2018-07-27 2020-02-07 Oppo广东移动通信有限公司 Electronic device, charging prompting method, and storage medium
CN112885237A (en) * 2021-01-25 2021-06-01 维沃移动通信有限公司 Display panel, control method thereof, electronic device and readable storage medium
CN113345366A (en) * 2021-06-10 2021-09-03 成都辰显光电有限公司 Pixel driving circuit, driving method thereof and display panel
US20210397917A1 (en) * 2020-06-22 2021-12-23 Western Digital Technologies, Inc. Color changing storage device housing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030161A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Electronic device and method for controlling electronic device casing coloring
CN101577747A (en) * 2009-05-08 2009-11-11 中兴通讯股份有限公司 Electronic device and method for changing color of shell thereof
CN109144814A (en) * 2018-07-27 2019-01-04 Oppo广东移动通信有限公司 Information prompting method, device, storage medium and electronic equipment
CN110768318A (en) * 2018-07-27 2020-02-07 Oppo广东移动通信有限公司 Electronic device, charging prompting method, and storage medium
US20210397917A1 (en) * 2020-06-22 2021-12-23 Western Digital Technologies, Inc. Color changing storage device housing
CN112885237A (en) * 2021-01-25 2021-06-01 维沃移动通信有限公司 Display panel, control method thereof, electronic device and readable storage medium
CN113345366A (en) * 2021-06-10 2021-09-03 成都辰显光电有限公司 Pixel driving circuit, driving method thereof and display panel

Also Published As

Publication number Publication date
CN114300002B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
KR100947560B1 (en) Flat-panel display with hybrid imaging technology
US8339429B2 (en) Display monitor electric power consumption optimization
US11481593B2 (en) Color changing storage device housing
WO2020019802A1 (en) Device control method and apparatus, storage medium and electronic device
US20160351118A1 (en) Power control in an organic light emitting diode (oled) display device
CN102376243B (en) Active matrix organic light emitting diode display and control its display method
TWI406260B (en) Control circuit with voltage charge sharing function of display panel and control method of same
CN114300002B (en) Memory device and control method thereof
CN114265253B (en) Memory device and control method thereof
CN109001951A (en) Picture and text showing method, apparatus, electrochromic window assemblies and electronic equipment
US9093049B2 (en) Display with electrochromic films and having low power consumption
US11243591B2 (en) Uninterruptible power system and operation method thereof
CN105448246A (en) Terminal and electronic ink screen adjustment method and device of terminal
CN103123799A (en) Rate indication circuit, rigid disk backboard and electronic device
CN108054830A (en) A kind of LED box and LED display
CN2807318Y (en) DC power source remote control device
US11341905B2 (en) Level converter, data processing method, and display device
CN211857345U (en) Multifunctional all-autonomous controllable mainboard with power management surge-resistant filtering function
CN201163518Y (en) Nixie tube driving circuit for storing bus control mode of single chip microcomputer
CN209560230U (en) A kind of low-power consumption shuangping san structure being suitable for low temperature environment
CN109120143B (en) Method, main controller and system for controlling power on and power off
CN205608333U (en) Liquid crystal handwriting device
CN106125894B (en) A kind of control method and electronic equipment
CN214253164U (en) LCD display screen wireless keyboard capable of realizing high-efficiency power saving
TWI817636B (en) Electronic device and present method for status description information thereof

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