WO2018000471A1 - Data storage device, method for preventing data failure, and time sequence controller - Google Patents

Data storage device, method for preventing data failure, and time sequence controller Download PDF

Info

Publication number
WO2018000471A1
WO2018000471A1 PCT/CN2016/090398 CN2016090398W WO2018000471A1 WO 2018000471 A1 WO2018000471 A1 WO 2018000471A1 CN 2016090398 W CN2016090398 W CN 2016090398W WO 2018000471 A1 WO2018000471 A1 WO 2018000471A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
storage area
rewritable memory
control unit
storage device
Prior art date
Application number
PCT/CN2016/090398
Other languages
French (fr)
Chinese (zh)
Inventor
朱立伟
谢剑军
高剑
孙磊
Original Assignee
深圳市华星光电技术有限公司
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 深圳市华星光电技术有限公司 filed Critical 深圳市华星光电技术有限公司
Publication of WO2018000471A1 publication Critical patent/WO2018000471A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals

Definitions

  • the present invention relates to the field of data storage technologies, and in particular, to a data storage device and a method thereof for preventing data failure, in particular, a method for preventing data loss caused by accidental power failure when data is updated, and a data storage device. Timing controller.
  • TFT-LCD Liquid crystal display
  • LCD monitors are widely used in various types of electronics. Devices, such as mobile phones, tablets, etc.
  • the timing controller In the drive circuit of the liquid crystal display, the timing controller is a very important component.
  • the use of the timing control chip (TCON) 1 external EEPROM or FLASH memory 2 to store data has evolved into a fixed architecture, and a specific area needs to be planned in the memory 2 for data.
  • Storage as in the data storage area 2a in FIG.
  • the timing control chip 1 can read and write the memory 2 through the data bus 3, and is required to be able to save the function after writing.
  • the timing control chip 1 reads out the contents of the current data storage area 2a, erases it first, and then writes the new content to complete the update process.
  • the operating voltage When modifying the stored data, the operating voltage must be kept stable throughout the writing process.
  • the present invention provides a data storage device and a method for preventing data failure thereof, which can ensure the validity of data stored in the data storage device when an unexpected power failure occurs during data update, and ensure that the data is included.
  • the system of the data storage device can operate normally and stably.
  • a data storage device includes a data control unit and an rewritable memory, the data control unit writing data to the rewritable memory through a data bus, or reading data from the rewritable memory through a data bus
  • the rewritable memory is divided into a first storage area and a second storage area, and the data control unit is provided with a data check module; when the data is written, the data control unit will have the same data Writing the first storage area and the second storage area in sequence; when reading data, the data control unit sequentially reads data stored in the first storage area and the second storage area, the data is
  • the verification module respectively checks the data of the read first storage area and the data in the second storage area, and selects the data of the first storage area or the data of the second storage area that is successfully verified as the valid data.
  • the rewritable memory is an EEPROM or a FLASH memory.
  • the data storage device further includes a power supply circuit for providing operating power to the data control unit and the rewritable memory.
  • the data control unit is further connected with a peripheral interface.
  • a method of preventing data failure of a data storage device as described above, comprising:
  • the step of writing data when the system is powered on sequentially writing the same data to the first storage area and the second storage area of the rewritable memory;
  • the step of verifying the data by re-powering sequentially reading and verifying the data stored in the first storage area and the second storage area, and selecting valid data according to the verification result, including the following situations: (A) If the data of the first storage area is successfully verified, and the data of the second storage area is also successfully verified, the data of the first storage area or the data of the second storage area is selected as the valid data; (B) if the first storage If the data verification of the area is successful, and the data verification of the second storage area fails, the data of the first storage area is selected as the valid data; (C), if the data verification of the first storage area fails, the data of the second storage area If the verification is successful, the data of the second storage area is selected as the valid data.
  • the consistency between the data of the first storage area and the data of the second storage area is further verified. If the data of the first storage area is inconsistent with the data of the second storage area, the first storage is selected. The data of the area is used as valid data.
  • the same data is rewritten to the first data by using the data of the first storage area as a reference. Two storage areas.
  • the CRC data verification algorithm is used to verify data in the first storage area and the second storage area.
  • the present invention also provides a timing controller including a timing control chip, wherein the timing controller is provided with a data storage device as described above, wherein the timing control chip is used as the data storage device Data control unit.
  • the present invention also provides a liquid crystal display panel comprising: a display panel; a source driver for providing a data signal to the display panel; and a gate driver for providing a scan signal to the display panel; And a timing controller for providing a timing control signal to the source driver and the gate driver, and transmitting a data signal to be displayed to the source driver.
  • a data storage device and a method for preventing data failure thereof divide a memory into a first storage area and a second storage area, and the first storage area and the second storage area store the same data.
  • the system updates the data update the same data is sequentially written into the first storage area and the second storage area. If an unexpected power failure occurs during the update process, the data is verified after the power is turned on again, and the verification is performed.
  • the data of the successful first storage area or the data of the second storage area as valid data can ensure the validity of the data stored in the data storage device, and ensure that the system including the data storage device can operate normally and stably.
  • 1 is a schematic structural diagram of an external memory of a conventional timing control chip
  • FIG. 2 is a schematic structural diagram of a data storage device according to Embodiment 1 of the present invention.
  • Embodiment 3 is a schematic flow chart of a method for preventing data failure in Embodiment 1 of the present invention
  • FIG. 4 is a schematic structural diagram of a timing controller according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a liquid crystal display panel according to Embodiment 2 of the present invention.
  • the embodiment provides a data storage device.
  • the data storage device mainly includes a data control unit 10 and an rewritable memory 20, and the data control unit 10 and the rewritable memory 20 Between the data bus 30, the data control unit 10 writes data to the rewritable memory 20 via the data bus 30, or reads data from the rewritable memory 20 via the data bus 30.
  • the rewritable memory 20 can be an EEPROM or a FLASH memory.
  • the rewritable memory 20 is divided into a first storage area 21 and a second storage area 22, and the data control unit 10 is provided with a data verification module 11.
  • the first storage area 21 and the second storage area 22 are used to store the same data
  • the data verification module 11 is used to verify the data stored in the first storage area 21 and the second storage area 22.
  • the data control unit 10 sequentially writes the same data to the first storage area 21 and the second storage area 22.
  • the data control unit 10 sequentially reads the data stored in the first storage area 21 and the second storage area 22, and the data verification module 11 respectively reads the first storage read.
  • the data of the area 21 and the data in the second storage area 22 are checked, and the data of the first storage area 21 or the data of the second storage area 22 of the verification success is selected as the valid data.
  • the data storage device further includes a power supply circuit 40 and a peripheral interface 50.
  • the power circuit 40 is mainly used to provide operating power to the data control unit 10 and the rewritable memory 20.
  • the peripheral interface 50 is primarily used to connect peripheral devices to the data control unit 10 to extend the functionality of the data control unit 10.
  • the data storage device provided above is mainly for the purpose of ensuring the validity of the stored data when an unexpected power failure occurs during the data update, and ensuring that the system including the data storage device can operate normally and stably.
  • the method includes:
  • Step of writing data when the system is powered on the same data is sequentially written into the first storage area and the second storage area of the rewritable memory.
  • Step of verifying data by re-powering sequentially reading data stored in the first storage area and the second storage area and performing verification, and selecting valid data according to the verification result.
  • the results of data verification include the following situations:
  • the consistency of the data of the first storage area and the data of the second storage area is further verified, and if the data of the first storage area is inconsistent with the data of the second storage area, then the selection is made.
  • the data of the first storage area is taken as valid data.
  • the data of the first storage area is updated, which ensures that the system can work normally and ensures the real-time work. Further, in order to ensure that the data of the first storage area and the second storage area are the latest, if the first When the data of one storage area is inconsistent with the data of the second storage area, after the data of the first storage area is selected as the valid data, the same data is rewritten to the second storage area with the data of the first storage area as a reference. .
  • the data of the first storage area is used as a reference, and the same The data is rewritten to the second storage area.
  • the data verification module 11 performs verification on the data by using a CRC data verification algorithm.
  • the CRC check is the Cyclic Redundancy Check, which is the most commonly used error check code in the field of data communication.
  • the data storage device provided by the above embodiment and the method for preventing data failure thereof, divide the memory into the first storage area and the second storage area, and the first storage area and the second storage area store the same data, if the update process occurs In case of accidental power failure, the device can also ensure the validity of the stored data, and ensure that the system including the data storage device can operate normally and stably.
  • the timing controller 400 includes a timing control chip (TCON) 10a, and the timing controller 400 is provided with data storage as provided in Embodiment 1.
  • TCON timing control chip
  • the rewritable memory 20, the data bus 30, the power supply circuit 40, and the peripheral interface 50 in the data storage device as provided in Embodiment 1 are all set.
  • the data control unit 10 is replaced by the timing control chip 10a.
  • the timing control chip 10a includes at least the functions of the data control unit 10, and the data check module 11 is also disposed in the timing control chip 10a.
  • the power supply circuit 40 and the peripheral interface 50 may also be disposed in other unit modules than the timing controller.
  • the embodiment of the present invention further provides a liquid crystal display panel, as shown in FIG. 5, the liquid crystal display panel includes a display panel 100, a source driver 200, a gate driver 300, and timing control provided by the embodiment. 400.
  • the display panel 100 is provided with a criss-crossing data line and a plurality of pixel units (not shown in the drawing) between the data line and the scanning surface, and the source driver 200 passes through the data line.
  • the gate driver 300 supplies a scan signal to the display panel 100 through a scan line
  • the timing controller 400 is configured to the source driver 200 and the gate
  • the driver 300 provides a timing control signal and also transmits a data signal to be displayed to the source driver 200.
  • the display panel 100 in the embodiment of the present invention may be, for example, an electronic paper, a mobile phone, a tablet computer, a television, a display, a notebook computer, a digital photo frame, a navigator, or the like, or any product or component having a display function.
  • the data storage device provided by the embodiment of the present invention and the method for preventing data failure thereof divide the memory into the first storage area and the second storage area, and the first storage area and the second storage area store the same data. .
  • the system updates the data update the same data is sequentially written into the first storage area and the second storage area. If an unexpected power failure occurs during the update process, the data is verified after the power is turned on again, and the verification is performed.
  • the data of the successful first storage area or the data of the second storage area as valid data can ensure the validity of the data stored by the data storage device.
  • integrating the data storage device in a timing controller for driving the liquid crystal display device can ensure the validity of the drive data in the timing controller and ensure that the drive system of the liquid crystal display device can operate normally and stably.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Computer Hardware Design (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

Provided are a data storage device, a method of preventing data failure of a data storage device, and a time sequence controller (400) comprising the data storage device. The data storage device comprises a data control unit (10) and an erasable-writable memory (20). The control unit (10) writes or reads data to or from the erasable-writable memory (20). The erasable-writable memory (20) is divided into a first storage area (21) and a second storage area (22). A data verification module (11) is provided in the data control unit (10). When the data is writed, the data control unit (10) sequentially writes the same data into the first storage area (21) and the second storage area (22); and when the data is read, the data control unit (10) sequentially reads the data stored in the first storage area (21) and the second storage area (22) and performs a verification, and selects valid data in accordance with a verification result.

Description

数据存储装置及其防止数据失效的方法、时序控制器Data storage device and method thereof for preventing data failure, timing controller 技术领域Technical field
本发明涉及数据存储技术领域,特别涉及一种数据存储装置及其防止数据失效的方法,尤其是防止在数据进行更新时意外掉电而导致数据丢失的方法,还涉及包含所述数据存储装置的时序控制器。The present invention relates to the field of data storage technologies, and in particular, to a data storage device and a method thereof for preventing data failure, in particular, a method for preventing data loss caused by accidental power failure when data is updated, and a data storage device. Timing controller.
背景技术Background technique
液晶显示器(Liquid Crystal Display,TFT-LCD)具有体积小、功耗低、制造成本相对较低和无辐射等特点,在当前的平板显示器市场占据了主导地位,液晶显示器被广泛应用于各类电子设备,例如手机、平板电脑等。Liquid crystal display (TFT-LCD) has the characteristics of small size, low power consumption, relatively low manufacturing cost and no radiation. It is dominant in the current flat panel display market. LCD monitors are widely used in various types of electronics. Devices, such as mobile phones, tablets, etc.
液晶显示器的驱动电路中,时序控制器是非常重要的部件。在时序控制器中,如图1所示,采用时序控制芯片(TCON)1外接EEPROM或者FLASH存储器2来存储数据已经演变为一种固定架构,并且需要在存储器2中规划出特定区域用于数据存储,如图1中数据存储区2a。时序控制芯片1能够通过数据总线3对存储器2进行读写操作,并要求能够实现写入后即能保存功能。当需要进行更新时,时序控制芯片1会读出当前数据存储区2a中的内容,先擦除,然后再写入新的内容,完成更新的过程。在对存储数据进行修改时,必须在整个写入过程中保持工作电压的稳定,如果在数据更新的过程中发生意外掉电,有可能出现之前存储的数据已被擦除但是新的数据未被写入的情况,导致存储器中的数据丢失而失效,相应的***(例如驱动电路)无法正常工作。因此,针对在数据更新的过程中发生意外掉电时,如何防止数据失效是一个需要非常重视的问题。In the drive circuit of the liquid crystal display, the timing controller is a very important component. In the timing controller, as shown in FIG. 1, the use of the timing control chip (TCON) 1 external EEPROM or FLASH memory 2 to store data has evolved into a fixed architecture, and a specific area needs to be planned in the memory 2 for data. Storage, as in the data storage area 2a in FIG. The timing control chip 1 can read and write the memory 2 through the data bus 3, and is required to be able to save the function after writing. When an update is required, the timing control chip 1 reads out the contents of the current data storage area 2a, erases it first, and then writes the new content to complete the update process. When modifying the stored data, the operating voltage must be kept stable throughout the writing process. If an unexpected power failure occurs during the data update, it may happen that the previously stored data has been erased but the new data is not. In the case of writing, the data in the memory is lost and fails, and the corresponding system (such as the driving circuit) does not work properly. Therefore, how to prevent data failure is an issue that needs to be taken seriously when accidental power failure occurs during data update.
发明内容Summary of the invention
有鉴于此,本发明提供了一种数据存储装置及其防止数据失效的方法,针对在数据更新的过程中发生意外掉电时,可以确保数据存储装置所存储的数据的有效性,保证包含该数据存储装置的***能够正常、稳定地运行。In view of the above, the present invention provides a data storage device and a method for preventing data failure thereof, which can ensure the validity of data stored in the data storage device when an unexpected power failure occurs during data update, and ensure that the data is included. The system of the data storage device can operate normally and stably.
为了实现上述目的,本发明采用了如下的技术方案: In order to achieve the above object, the present invention adopts the following technical solutions:
一种数据存储装置,包括数据控制单元以及可擦写存储器,所述数据控制单元通过数据总线向所述可擦写存储器写入数据,或者是通过数据总线从所述可擦写存储器读取数据,其中,所述可擦写存储器被划分出第一存储区域和第二存储区域,所述数据控制单元中设置有数据校验模块;在写入数据时,所述数据控制单元将相同的数据依次写入所述第一存储区域和第二存储区域;在读取数据时,所述数据控制单元依次读取存储于所述第一存储区域和第二存储区域中的数据,所述数据校验模块分别对所读取的第一存储区域的数据和第二存储区域中的数据进行校验,选择校验成功的第一存储区域的数据或第二存储区域的数据作为有效数据。A data storage device includes a data control unit and an rewritable memory, the data control unit writing data to the rewritable memory through a data bus, or reading data from the rewritable memory through a data bus The rewritable memory is divided into a first storage area and a second storage area, and the data control unit is provided with a data check module; when the data is written, the data control unit will have the same data Writing the first storage area and the second storage area in sequence; when reading data, the data control unit sequentially reads data stored in the first storage area and the second storage area, the data is The verification module respectively checks the data of the read first storage area and the data in the second storage area, and selects the data of the first storage area or the data of the second storage area that is successfully verified as the valid data.
其中,所述可擦写存储器为EEPROM或FLASH存储器。The rewritable memory is an EEPROM or a FLASH memory.
其中,所述数据存储装置还包括电源电路,用于向所述数据控制单元和所述可擦写存储器提供工作电源。The data storage device further includes a power supply circuit for providing operating power to the data control unit and the rewritable memory.
其中,所述数据控制单元还连接有***接口。The data control unit is further connected with a peripheral interface.
如上所述的数据存储装置的防止数据失效的方法,其包括:A method of preventing data failure of a data storage device as described above, comprising:
***上电时写入数据的步骤:将相同的数据依次写入可擦写存储器的第一存储区域和第二存储区域;The step of writing data when the system is powered on: sequentially writing the same data to the first storage area and the second storage area of the rewritable memory;
重新上电对数据进行校验的步骤:依次读取存储于第一存储区域和第二存储区域中的数据并进行校验,根据校验结果选择有效数据,包括以下几种情形:(A)、若第一存储区域的数据校验成功,第二存储区域的数据也校验成功,则选择第一存储区域的数据或第二存储区域的数据作为有效数据;(B)、若第一存储区域的数据校验成功,第二存储区域的数据校验失败,则选择第一存储区域的数据作为有效数据;(C)、若第一存储区域的数据校验失败,第二存储区域的数据校验成功,则选择第二存储区域的数据作为有效数据。The step of verifying the data by re-powering: sequentially reading and verifying the data stored in the first storage area and the second storage area, and selecting valid data according to the verification result, including the following situations: (A) If the data of the first storage area is successfully verified, and the data of the second storage area is also successfully verified, the data of the first storage area or the data of the second storage area is selected as the valid data; (B) if the first storage If the data verification of the area is successful, and the data verification of the second storage area fails, the data of the first storage area is selected as the valid data; (C), if the data verification of the first storage area fails, the data of the second storage area If the verification is successful, the data of the second storage area is selected as the valid data.
其中,情形(A)中,还进一步校验第一存储区域的数据和第二存储区域的数据的一致性,若第一存储区域的数据与第二存储区域的数据不一致,则选择第一存储区域的数据作为有效数据。In the case (A), the consistency between the data of the first storage area and the data of the second storage area is further verified. If the data of the first storage area is inconsistent with the data of the second storage area, the first storage is selected. The data of the area is used as valid data.
其中,若第一存储区域的数据与第二存储区域的数据不一致,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域。 If the data of the first storage area does not match the data of the second storage area, after the data of the first storage area is selected as the valid data, the same data is rewritten to the first data by using the data of the first storage area as a reference. Two storage areas.
其中,情形(B)中,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域;情形(C)中,在选择第二存储区域的数据作为有效数据之后,以第二存储区域的数据作为参考,将相同的数据重新写入到第一存储区域。Wherein, in case (B), after the data of the first storage area is selected as the valid data, the same data is rewritten to the second storage area with the data of the first storage area as a reference; in case (C), After the data of the second storage area is selected as the valid data, the same data is rewritten to the first storage area with the data of the second storage area as a reference.
其中,采用CRC数据校验算法对第一存储区域和第二存储区域中的数据进行校验。The CRC data verification algorithm is used to verify data in the first storage area and the second storage area.
本发明还提供了一种时序控制器,包括时序控制芯片,所述时序控制器中设置有如前所述的数据存储装置,其中,所述时序控制芯片被用于作为所述数据存储装置中的数据控制单元。The present invention also provides a timing controller including a timing control chip, wherein the timing controller is provided with a data storage device as described above, wherein the timing control chip is used as the data storage device Data control unit.
本发明还提供了一种液晶显示面板,其包括:显示面板;源极驱动器,用于向所述显示面板提供数据信号;栅极驱动器,用于向所述显示面板提供扫描信号;如上所述的时序控制器,用于向所述源极驱动器和所述栅极驱动器提供时序控制信号,并且向所述源极驱动器发送待显示的数据信号。The present invention also provides a liquid crystal display panel comprising: a display panel; a source driver for providing a data signal to the display panel; and a gate driver for providing a scan signal to the display panel; And a timing controller for providing a timing control signal to the source driver and the gate driver, and transmitting a data signal to be displayed to the source driver.
本发明实施例提供的数据存储装置及其防止数据失效的方法,将存储器划分出第一存储区域和第二存储区域,并且第一存储区域和第二存储区域存储相同的数据。在***上电写入数据更新时,将相同的数据依次写入第一存储区域和第二存储区域,若更新过程中发生意外掉电,则重新上电后对数据进行校验,选择校验成功的第一存储区域的数据或第二存储区域的数据作为有效数据,可以确保数据存储装置所存储的数据的有效性,保证包含该数据存储装置的***能够正常、稳定地运行。A data storage device and a method for preventing data failure thereof according to an embodiment of the present invention divide a memory into a first storage area and a second storage area, and the first storage area and the second storage area store the same data. When the system updates the data update, the same data is sequentially written into the first storage area and the second storage area. If an unexpected power failure occurs during the update process, the data is verified after the power is turned on again, and the verification is performed. The data of the successful first storage area or the data of the second storage area as valid data can ensure the validity of the data stored in the data storage device, and ensure that the system including the data storage device can operate normally and stably.
附图说明DRAWINGS
图1是现有的时序控制芯片外接存储器的结构示意图;1 is a schematic structural diagram of an external memory of a conventional timing control chip;
图2是本发明实施例1提供的数据存储装置的结构示意图;2 is a schematic structural diagram of a data storage device according to Embodiment 1 of the present invention;
图3是本发明实施例1中的防止数据失效的方法的流程示意图;3 is a schematic flow chart of a method for preventing data failure in Embodiment 1 of the present invention;
图4是本发明实施例2提供的时序控制器的结构示意图;4 is a schematic structural diagram of a timing controller according to Embodiment 2 of the present invention;
图5是本发明实施例2提供的液晶显示面板的结构示意图。FIG. 5 is a schematic structural diagram of a liquid crystal display panel according to Embodiment 2 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明的 具体实施方式进行详细说明。这些优选实施方式的示例在附图中进行了例示。附图中所示和根据附图描述的本发明的实施方式仅仅是示例性的,并且本发明并不限于这些实施方式。In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be described below with reference to the accompanying drawings. The detailed description is described in detail. Examples of these preferred embodiments are illustrated in the drawings. The embodiments of the invention shown in the drawings and described in the drawings are merely exemplary, and the invention is not limited to the embodiments.
在此,还需要说明的是,为了避免因不必要的细节而模糊了本发明,在附图中仅仅示出了与根据本发明的方案密切相关的结构和/或处理步骤,而省略了与本发明关系不大的其他细节。In this context, it is also to be noted that in order to avoid obscuring the invention by unnecessary detail, only the structures and/or processing steps closely related to the solution according to the invention are shown in the drawings, and the Other details that are not relevant to the present invention.
实施例1Example 1
本实施例提供了一种数据存储装置,如图2所示,所述数据存储装置主要包括数据控制单元10以及可擦写存储器20,所述数据控制单元10和所述可擦写存储器20之间通过数据总线30连接,所述数据控制单元10通过数据总线30向所述可擦写存储器20写入数据,或者是通过数据总线30从所述可擦写存储器20读取数据。其中,所述可擦写存储器20可以是EEPROM或者是FLASH存储器。The embodiment provides a data storage device. As shown in FIG. 2, the data storage device mainly includes a data control unit 10 and an rewritable memory 20, and the data control unit 10 and the rewritable memory 20 Between the data bus 30, the data control unit 10 writes data to the rewritable memory 20 via the data bus 30, or reads data from the rewritable memory 20 via the data bus 30. The rewritable memory 20 can be an EEPROM or a FLASH memory.
在本实施例中,如图2所示,所述可擦写存储器20被划分出第一存储区域21和第二存储区域22,所述数据控制单元10中设置有数据校验模块11。其中,所述第一存储区域21和第二存储区域22用于存储相同的数据,数据校验模块11则是用于校验第一存储区域21和第二存储区域22所存储的数据。具体地,在写入数据时,所述数据控制单元10将相同的数据依次写入所述第一存储区域21和第二存储区域22。在读取数据时,所述数据控制单元10依次读取存储于所述第一存储区域21和第二存储区域22中的数据,所述数据校验模块11分别对所读取的第一存储区域21的数据和第二存储区域22中的数据进行校验,选择校验成功的第一存储区域21的数据或第二存储区域22的数据作为有效数据。In the present embodiment, as shown in FIG. 2, the rewritable memory 20 is divided into a first storage area 21 and a second storage area 22, and the data control unit 10 is provided with a data verification module 11. The first storage area 21 and the second storage area 22 are used to store the same data, and the data verification module 11 is used to verify the data stored in the first storage area 21 and the second storage area 22. Specifically, at the time of writing data, the data control unit 10 sequentially writes the same data to the first storage area 21 and the second storage area 22. When the data is read, the data control unit 10 sequentially reads the data stored in the first storage area 21 and the second storage area 22, and the data verification module 11 respectively reads the first storage read. The data of the area 21 and the data in the second storage area 22 are checked, and the data of the first storage area 21 or the data of the second storage area 22 of the verification success is selected as the valid data.
在本实施例中,如图2所示,所述数据存储装置还包括电源电路40和***接口50。所述电源电路40主要用于向所述数据控制单元10和所述可擦写存储器20提供工作电源。所述***接口50主要用于将***设备连接到所述数据控制单元10,以扩展所述数据控制单元10的功能。In the present embodiment, as shown in FIG. 2, the data storage device further includes a power supply circuit 40 and a peripheral interface 50. The power circuit 40 is mainly used to provide operating power to the data control unit 10 and the rewritable memory 20. The peripheral interface 50 is primarily used to connect peripheral devices to the data control unit 10 to extend the functionality of the data control unit 10.
如上所提供的数据存储装置,主要是针对在数据更新的过程中发生意外掉电时,该装置可以确保所存储的数据的有效性,保证包含该数据存储装置的***能够正常、稳定地运行。The data storage device provided above is mainly for the purpose of ensuring the validity of the stored data when an unexpected power failure occurs during the data update, and ensuring that the system including the data storage device can operate normally and stably.
下面详细介绍如上所提供的数据存储装置防止数据失效的方法。如图3的 流程图,该方法包括:The method of preventing data failure by the data storage device as provided above is described in detail below. As shown in Figure 3 Flow chart, the method includes:
S1、***上电时写入数据的步骤:将相同的数据依次写入可擦写存储器的第一存储区域和第二存储区域。S1: Step of writing data when the system is powered on: the same data is sequentially written into the first storage area and the second storage area of the rewritable memory.
S2、重新上电对数据进行校验的步骤:依次读取存储于第一存储区域和第二存储区域中的数据并进行校验,根据校验结果选择有效数据。其中,数据校验的结果包括以下几种情形:S2. Step of verifying data by re-powering: sequentially reading data stored in the first storage area and the second storage area and performing verification, and selecting valid data according to the verification result. Among them, the results of data verification include the following situations:
(A)、若第一存储区域的数据校验成功,第二存储区域的数据也校验成功,则选择第一存储区域的数据或第二存储区域的数据作为有效数据。(A). If the data verification of the first storage area is successful and the data of the second storage area is also verified successfully, the data of the first storage area or the data of the second storage area is selected as the valid data.
(B)、若第一存储区域的数据校验成功,第二存储区域的数据校验失败,则选择第一存储区域的数据作为有效数据。(B) If the data verification of the first storage area is successful and the data verification of the second storage area fails, the data of the first storage area is selected as the valid data.
(C)、若第一存储区域的数据校验失败,第二存储区域的数据校验成功,则选择第二存储区域的数据作为有效数据。(C) If the data verification of the first storage area fails and the data verification of the second storage area is successful, the data of the second storage area is selected as the valid data.
针对在数据更新的过程中发生意外掉电,存在以下几种可能性:There are several possibilities for accidental power loss during data update:
(1)、先后对第一存储区域和第二存储区域的数据更新完成后,***发生意外断电,此时第一存储区域和第二存储区域的数据是一致的,并且是更新之后的。该种情况对应于前述数据校验结果中的情形(A),由于第一存储区域和第二存储区域的数据都是更新后并且有效地,因此可以任意选择第一存储区域的数据或第二存储区域的数据作为有效数据,都可以保证***能够正常工作,并确保工作的实时性。(1) After the data update of the first storage area and the second storage area is completed, the system unexpectedly loses power, and the data of the first storage area and the second storage area are consistent and updated. This case corresponds to the situation (A) in the foregoing data check result. Since the data of the first storage area and the second storage area are both updated and effective, the data of the first storage area or the second can be arbitrarily selected. The data in the storage area is used as valid data to ensure that the system works properly and ensures real-time work.
(2)、对第一存储区域的数据更新完成后,在未开始对第二存储区域的数据进行更新时,***发生意外断电,此时第一存储区域的数据是更新后且有效地,第二存储区域的数据是更新之前但也是有效的。该种情况对应于前述数据校验结果中的情形(A),可以任意选择第一存储区域的数据或第二存储区域的数据作为有效数据。由于第二存储区域的数据是更新之前的,因此选择第二存储区域的数据作为有效数据可以保证***能够正常工作,但不具有实时性,并不是最优化的技术方案。因此,在前述的情形(A)中,还进一步校验第一存储区域的数据和第二存储区域的数据的一致性,若第一存储区域的数据与第二存储区域的数据不一致,则选择第一存储区域的数据作为有效数据。第一存储区域的数据是更新之后的,可以保证***能够正常工作,并确保工作的实时性。更进一步地,为了确保第一存储区域和第二存储区域的数据都是最新的,若第 一存储区域的数据与第二存储区域的数据不一致时,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域。(2) After the data update of the first storage area is completed, when the data of the second storage area is not updated, the system unexpectedly loses power, and the data of the first storage area is updated and valid. The data of the second storage area is before the update but is also valid. This case corresponds to the case (A) in the aforementioned data check result, and the data of the first storage area or the data of the second storage area can be arbitrarily selected as the valid data. Since the data of the second storage area is before the update, selecting the data of the second storage area as the effective data can ensure that the system can work normally, but does not have real-time performance, and is not an optimized technical solution. Therefore, in the foregoing case (A), the consistency of the data of the first storage area and the data of the second storage area is further verified, and if the data of the first storage area is inconsistent with the data of the second storage area, then the selection is made. The data of the first storage area is taken as valid data. The data of the first storage area is updated, which ensures that the system can work normally and ensures the real-time work. Further, in order to ensure that the data of the first storage area and the second storage area are the latest, if the first When the data of one storage area is inconsistent with the data of the second storage area, after the data of the first storage area is selected as the valid data, the same data is rewritten to the second storage area with the data of the first storage area as a reference. .
(3)、对第一存储区域的数据更新完成后,在对第二存储区域的数据进行更新时,***发生意外断电,此时第一存储区域的数据是更新后且有效地,第二存储区域的数据可能已经丢失并且无法恢复。该种情况对应于前述数据校验结果中的情形(B),第一存储区域的数据是更新后并且有效地,选择第一存储区域的数据作为有效数据,可以保证***能够正常工作,并确保工作的实时性。更进一步地,为了防止下次掉电时第一存储区域和第二存储区域的数据同时失效,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域。(3) After the data update of the first storage area is completed, when the data of the second storage area is updated, the system unexpectedly loses power, and the data of the first storage area is updated and effective, and second The data in the storage area may have been lost and cannot be recovered. This case corresponds to the situation (B) in the foregoing data verification result. The data of the first storage area is updated and effective, and the data of the first storage area is selected as the valid data, so that the system can work normally and ensure The real-time nature of the work. Further, in order to prevent data of the first storage area and the second storage area from simultaneously failing at the time of the next power failure, after selecting the data of the first storage area as the valid data, the data of the first storage area is used as a reference, and the same The data is rewritten to the second storage area.
(4)、在对第一存储区域的数据进行更新时,***发生意外断电,此时第一存储区域的数据可能已经丢失并且无法恢复;而第二存储区域的数据由于未开始更新,仍然得以保留上一阶段的数据。该种情况对应于前述数据校验结果中的情形(C),虽然第二存储区域的数据是更新之前的,不具有实时性,但至少保证***能够正常工作。更进一步地,为了防止下次掉电时第一存储区域和第二存储区域的数据同时失效,在选择第二存储区域的数据作为有效数据之后,以第二存储区域的数据作为参考,将相同的数据重新写入到第一存储区域。(4) When the data of the first storage area is updated, the system unexpectedly loses power, and the data of the first storage area may have been lost and cannot be recovered; and the data of the second storage area is still not updated. It is possible to retain the data of the previous stage. This case corresponds to the situation (C) in the foregoing data check result. Although the data of the second storage area is before the update and does not have real-time performance, at least the system can be guaranteed to work normally. Further, in order to prevent data of the first storage area and the second storage area from failing simultaneously at the next power failure, after selecting the data of the second storage area as the valid data, the data of the second storage area is used as a reference, and the same The data is rewritten to the first storage area.
在本实施例中,所述数据校验模块11采用CRC数据校验算法对数据进行校验。CRC校验即循环冗余校验码(Cyclic Redundancy Check),是数据通信领域中最常用的一种差错校验码。In this embodiment, the data verification module 11 performs verification on the data by using a CRC data verification algorithm. The CRC check is the Cyclic Redundancy Check, which is the most commonly used error check code in the field of data communication.
如上实施例提供的数据存储装置及其防止数据失效的方法,将存储器划分出第一存储区域和第二存储区域,并且第一存储区域和第二存储区域存储相同的数据,若更新过程中发生意外掉电,该装置也可以确保所存储的数据的有效性,保证包含该数据存储装置的***能够正常、稳定地运行。The data storage device provided by the above embodiment and the method for preventing data failure thereof, divide the memory into the first storage area and the second storage area, and the first storage area and the second storage area store the same data, if the update process occurs In case of accidental power failure, the device can also ensure the validity of the stored data, and ensure that the system including the data storage device can operate normally and stably.
实施例2Example 2
本实施例首先提供了一种时序控制器,如图4所示,所述时序控制器400包括时序控制芯片(TCON)10a,所述时序控制器400中设置有如实施例1所提供的数据存储装置。具体地,参阅图4,如实施例1所提供的数据存储装置中的可擦写存储器20、数据总线30、电源电路40以及***接口50都被设置在时 序控制器400中,而数据控制单元10则被时序控制芯片10a替代,时序控制芯片10a至少包含了数据控制单元10所具有的功能,数据校验模块11也是设置在时序控制芯片10a中。This embodiment first provides a timing controller. As shown in FIG. 4, the timing controller 400 includes a timing control chip (TCON) 10a, and the timing controller 400 is provided with data storage as provided in Embodiment 1. Device. Specifically, referring to FIG. 4, the rewritable memory 20, the data bus 30, the power supply circuit 40, and the peripheral interface 50 in the data storage device as provided in Embodiment 1 are all set. In the sequence controller 400, the data control unit 10 is replaced by the timing control chip 10a. The timing control chip 10a includes at least the functions of the data control unit 10, and the data check module 11 is also disposed in the timing control chip 10a.
当然在另外的一些实施例中,电源电路40以及***接口50也可以是设置在时序控制器之外的其他单元模块中。Of course, in some other embodiments, the power supply circuit 40 and the peripheral interface 50 may also be disposed in other unit modules than the timing controller.
进一步地,本发明实施例还提供了一种液晶显示面板,如图5所示,所述液晶显示面板包括显示面板100、源极驱动器200、栅极驱动器300以及本实施例所提供的时序控制器400。其中,所述显示面板100中设置有纵横交错的数据线和扫描先以及位于数据线和扫面之间的多个像素单元(附图中未示出),所述源极驱动器200通过数据线向所述显示面板100提供数据信号,所述栅极驱动器300通过扫描线向所述显示面板100提供扫描信号,所述时序控制器400则用于向所述源极驱动器200和所述栅极驱动器300提供时序控制信号,并且还向所述源极驱动器200发送待显示的数据信号。Further, the embodiment of the present invention further provides a liquid crystal display panel, as shown in FIG. 5, the liquid crystal display panel includes a display panel 100, a source driver 200, a gate driver 300, and timing control provided by the embodiment. 400. Wherein, the display panel 100 is provided with a criss-crossing data line and a plurality of pixel units (not shown in the drawing) between the data line and the scanning surface, and the source driver 200 passes through the data line. Providing a data signal to the display panel 100, the gate driver 300 supplies a scan signal to the display panel 100 through a scan line, and the timing controller 400 is configured to the source driver 200 and the gate The driver 300 provides a timing control signal and also transmits a data signal to be displayed to the source driver 200.
其中,本发明实施例中的显示面板100例如可以是:电子纸、手机、平板电脑、电视机、显示器、笔记本电脑、数码相框、导航仪等任何具有显示功能的产品或部件。The display panel 100 in the embodiment of the present invention may be, for example, an electronic paper, a mobile phone, a tablet computer, a television, a display, a notebook computer, a digital photo frame, a navigator, or the like, or any product or component having a display function.
综上所述,本发明实施例提供的数据存储装置及其防止数据失效的方法,将存储器划分出第一存储区域和第二存储区域,并且第一存储区域和第二存储区域存储相同的数据。在***上电写入数据更新时,将相同的数据依次写入第一存储区域和第二存储区域,若更新过程中发生意外掉电,则重新上电后对数据进行校验,选择校验成功的第一存储区域的数据或第二存储区域的数据作为有效数据,可以确保数据存储装置所存储的数据的有效性。例如,将所述数据存储装置集成在用于驱动液晶显示装置的时序控制器,可以确保时序控制器中的驱动数据的有效性,保证液晶显示装置的驱动***能够正常、稳定地运行。In summary, the data storage device provided by the embodiment of the present invention and the method for preventing data failure thereof divide the memory into the first storage area and the second storage area, and the first storage area and the second storage area store the same data. . When the system updates the data update, the same data is sequentially written into the first storage area and the second storage area. If an unexpected power failure occurs during the update process, the data is verified after the power is turned on again, and the verification is performed. The data of the successful first storage area or the data of the second storage area as valid data can ensure the validity of the data stored by the data storage device. For example, integrating the data storage device in a timing controller for driving the liquid crystal display device can ensure the validity of the drive data in the timing controller and ensure that the drive system of the liquid crystal display device can operate normally and stably.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要 素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. In the absence of more restrictions, the elements defined by the statement "including one..." are not excluded from including the There are other similar elements in the process, method, article or equipment.
以上所述仅是本申请的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。 The above description is only a specific embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. It should be considered as the scope of protection of this application.

Claims (16)

  1. 一种数据存储装置,包括数据控制单元以及可擦写存储器,所述数据控制单元通过数据总线向所述可擦写存储器写入数据,或者是通过数据总线从所述可擦写存储器读取数据,其中,所述可擦写存储器被划分出第一存储区域和第二存储区域,所述数据控制单元中设置有数据校验模块;A data storage device includes a data control unit and an rewritable memory, the data control unit writing data to the rewritable memory through a data bus, or reading data from the rewritable memory through a data bus The rewritable memory is divided into a first storage area and a second storage area, and the data control unit is provided with a data verification module;
    在写入数据时,所述数据控制单元将相同的数据依次写入所述第一存储区域和第二存储区域;When writing data, the data control unit sequentially writes the same data to the first storage area and the second storage area;
    在读取数据时,所述数据控制单元依次读取存储于所述第一存储区域和第二存储区域中的数据,所述数据校验模块分别对所读取的第一存储区域的数据和第二存储区域中的数据进行校验,选择校验成功的第一存储区域的数据或第二存储区域的数据作为有效数据。When the data is read, the data control unit sequentially reads the data stored in the first storage area and the second storage area, and the data verification module respectively compares the data of the read first storage area The data in the second storage area is checked, and the data of the first storage area or the data of the second storage area in which the verification is successful is selected as the valid data.
  2. 根据权利要求1所述的数据存储装置,其中,所述可擦写存储器为EEPROM或FLASH存储器。The data storage device of claim 1, wherein the rewritable memory is an EEPROM or FLASH memory.
  3. 根据权利要求1所述的数据存储装置,其中,所述数据存储装置还包括电源电路,用于向所述数据控制单元和所述可擦写存储器提供工作电源。The data storage device of claim 1, wherein said data storage device further comprises a power supply circuit for providing operating power to said data control unit and said rewritable memory.
  4. 根据权利要求1所述的数据存储装置,其中,所述数据控制单元还连接有***接口。The data storage device of claim 1, wherein said data control unit is further coupled to a peripheral interface.
  5. 一种数据存储装置的防止数据失效的方法,所述数据存储装置包括数据控制单元以及可擦写存储器,所述数据控制单元通过数据总线向所述可擦写存储器写入数据,或者是通过数据总线从所述可擦写存储器读取数据,其中,所述可擦写存储器被划分出第一存储区域和第二存储区域,所述数据控制单元中设置有数据校验模块;其中,所述方法包括:A method of preventing data failure of a data storage device, the data storage device comprising a data control unit and an rewritable memory, the data control unit writing data to the rewritable memory through a data bus, or passing data The bus reads data from the rewritable memory, wherein the rewritable memory is divided into a first storage area and a second storage area, and the data control unit is provided with a data verification module; wherein Methods include:
    ***上电时写入数据的步骤:Steps to write data when the system is powered on:
    将相同的数据依次写入可擦写存储器的第一存储区域和第二存储区域;Writing the same data sequentially to the first storage area and the second storage area of the rewritable memory;
    重新上电对数据进行校验的步骤:Steps to verify the data after power-on:
    依次读取存储于第一存储区域和第二存储区域中的数据并进行校验,根据校验结果选择有效数据,包括以下几种情形: The data stored in the first storage area and the second storage area are sequentially read and verified, and valid data is selected according to the verification result, including the following situations:
    (A)、若第一存储区域的数据校验成功,第二存储区域的数据也校验成功,则选择第一存储区域的数据或第二存储区域的数据作为有效数据;(A), if the data verification of the first storage area is successful, and the data of the second storage area is also verified successfully, the data of the first storage area or the data of the second storage area is selected as the valid data;
    (B)、若第一存储区域的数据校验成功,第二存储区域的数据校验失败,则选择第一存储区域的数据作为有效数据;(B), if the data verification of the first storage area is successful, and the data verification of the second storage area fails, the data of the first storage area is selected as the valid data;
    (C)、若第一存储区域的数据校验失败,第二存储区域的数据校验成功,则选择第二存储区域的数据作为有效数据。(C) If the data verification of the first storage area fails and the data verification of the second storage area is successful, the data of the second storage area is selected as the valid data.
  6. 根据权利要求5所述的防止数据失效的方法,其中,情形(A)中,还进一步校验第一存储区域的数据和第二存储区域的数据的一致性,若第一存储区域的数据与第二存储区域的数据不一致,则选择第一存储区域的数据作为有效数据。The method for preventing data invalidation according to claim 5, wherein, in case (A), the consistency of the data of the first storage area and the data of the second storage area is further verified, if the data of the first storage area is If the data of the second storage area is inconsistent, the data of the first storage area is selected as the valid data.
  7. 根据权利要求6所述的防止数据失效的方法,其中,若第一存储区域的数据与第二存储区域的数据不一致,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域。The method for preventing data invalidation according to claim 6, wherein if the data of the first storage area is inconsistent with the data of the second storage area, after the data of the first storage area is selected as the valid data, the first storage area is used. The data is used as a reference to rewrite the same data to the second storage area.
  8. 根据权利要求5所述的防止数据失效的方法,其中,A method of preventing data failure according to claim 5, wherein
    情形(B)中,在选择第一存储区域的数据作为有效数据之后,以第一存储区域的数据作为参考,将相同的数据重新写入到第二存储区域;In the case (B), after the data of the first storage area is selected as the valid data, the same data is rewritten to the second storage area with the data of the first storage area as a reference;
    情形(C)中,在选择第二存储区域的数据作为有效数据之后,以第二存储区域的数据作为参考,将相同的数据重新写入到第一存储区域。In the case (C), after the data of the second storage area is selected as the valid data, the same data is rewritten to the first storage area with the data of the second storage area as a reference.
  9. 根据权利要求5所述的防止数据失效的方法,其中,采用CRC数据校验算法对第一存储区域和第二存储区域中的数据进行校验。The method of preventing data invalidation according to claim 5, wherein the data in the first storage area and the second storage area is verified using a CRC data check algorithm.
  10. 根据权利要求5所述的数据存储装置的防止数据失效的方法,其中,所述可擦写存储器为EEPROM或FLASH存储器。A method of preventing data corruption of a data storage device according to claim 5, wherein said rewritable memory is an EEPROM or FLASH memory.
  11. 根据权利要求5所述的数据存储装置的防止数据失效的方法,其中,所述数据存储装置还包括电源电路,用于向所述数据控制单元和所述可擦写存储器提供工作电源。A method of preventing data failure of a data storage device according to claim 5, wherein said data storage device further comprises a power supply circuit for providing operating power to said data control unit and said rewritable memory.
  12. 根据权利要求5所述的数据存储装置的防止数据失效的方法,其中,所述数据控制单元还连接有***接口。 A method of preventing data failure of a data storage device according to claim 5, wherein said data control unit is further connected with a peripheral interface.
  13. 一种时序控制器,包括时序控制芯片以及可擦写存储器,所述时序控制芯片通过数据总线向所述可擦写存储器写入数据,或者是通过数据总线从所述可擦写存储器读取数据,其中,所述可擦写存储器被划分出第一存储区域和第二存储区域,所述时序控制芯片中设置有数据校验模块;A timing controller includes a timing control chip and an rewritable memory, the timing control chip writing data to the rewritable memory through a data bus, or reading data from the rewritable memory through a data bus The rewritable memory is divided into a first storage area and a second storage area, and the data control module is disposed in the timing control chip;
    在写入数据时,所述时序控制芯片将相同的数据依次写入所述第一存储区域和第二存储区域;When writing data, the timing control chip sequentially writes the same data to the first storage area and the second storage area;
    在读取数据时,所述时序控制芯片依次读取存储于所述第一存储区域和第二存储区域中的数据,所述数据校验模块分别对所读取的第一存储区域的数据和第二存储区域中的数据进行校验,选择校验成功的第一存储区域的数据或第二存储区域的数据作为有效数据。When reading data, the timing control chip sequentially reads data stored in the first storage area and the second storage area, and the data verification module respectively compares data of the read first storage area The data in the second storage area is checked, and the data of the first storage area or the data of the second storage area in which the verification is successful is selected as the valid data.
  14. 根据权利要求13所述的时序控制器,其中,所述可擦写存储器为EEPROM或FLASH存储器。The timing controller of claim 13 wherein said rewritable memory is an EEPROM or FLASH memory.
  15. 根据权利要求13所述的时序控制器,其中,所述数据存储装置还包括电源电路,用于向所述时序控制芯片和所述可擦写存储器提供工作电源。The timing controller of claim 13, wherein said data storage device further comprises a power supply circuit for providing operating power to said timing control chip and said rewritable memory.
  16. 根据权利要求13所述的时序控制器,其中,所述时序控制芯片还连接有***接口。 The timing controller of claim 13, wherein the timing control chip is further connected to a peripheral interface.
PCT/CN2016/090398 2016-07-01 2016-07-19 Data storage device, method for preventing data failure, and time sequence controller WO2018000471A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610518351.0 2016-07-01
CN201610518351.0A CN105975240B (en) 2016-07-01 2016-07-01 Data storage device and its prevent the method for data failure, sequence controller

Publications (1)

Publication Number Publication Date
WO2018000471A1 true WO2018000471A1 (en) 2018-01-04

Family

ID=56953866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090398 WO2018000471A1 (en) 2016-07-01 2016-07-19 Data storage device, method for preventing data failure, and time sequence controller

Country Status (2)

Country Link
CN (1) CN105975240B (en)
WO (1) WO2018000471A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415941A (en) * 2021-12-20 2022-04-29 深圳市联洲国际技术有限公司 Storage information processing method, storage system and storage device

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342065B (en) * 2017-08-31 2020-07-10 惠科股份有限公司 Display device driving method, driving device and display device
CN107908571B (en) * 2017-10-31 2021-04-20 成都华为技术有限公司 Data writing method, flash memory device and storage equipment
CN108664358A (en) * 2018-05-18 2018-10-16 广州视源电子科技股份有限公司 Microcontroller parameter processing method, system, readable storage medium storing program for executing and terminal device
CN108847172A (en) * 2018-08-27 2018-11-20 惠科股份有限公司 Driving device and driving method
CN109410870A (en) * 2018-12-11 2019-03-01 惠科股份有限公司 Sequential control circuit, method for reading data and display device
CN109410869A (en) * 2018-12-11 2019-03-01 惠科股份有限公司 A kind of read method of data, reading device and display device
CN109587557B (en) 2019-01-11 2022-03-08 京东方科技集团股份有限公司 Data transmission method and device and display device
CN109658898B (en) * 2019-02-27 2021-12-17 惠科股份有限公司 Circuit and method for preventing error of read data and display device
CN110164394B (en) * 2019-06-04 2021-08-06 Tcl华星光电技术有限公司 Time sequence controller and time sequence control board
US20200388242A1 (en) * 2019-06-05 2020-12-10 Novatek Microelectronics Corp. Timing controller device and data reading-writing method
CN110675794B (en) * 2019-09-12 2021-07-06 Tcl华星光电技术有限公司 Power management chip and driving method and driving system thereof
CN111540332A (en) * 2020-05-28 2020-08-14 Tcl华星光电技术有限公司 Time sequence control circuit and display panel
CN113883691B (en) * 2021-10-26 2023-02-17 Tcl空调器(中山)有限公司 Air conditioner parameter reading method and device, air conditioner and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080229169A1 (en) * 2007-03-14 2008-09-18 Fujitsu Limited Data recovery circuit
CN101452410A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Data backup system for embedded database, and data backup and recovery method
CN102103834A (en) * 2009-12-22 2011-06-22 上海天马微电子有限公司 Method and device for maintaining data of drive circuit
CN103440205A (en) * 2013-08-21 2013-12-11 深圳市九洲电器有限公司 Method and device for storing data of set top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080229169A1 (en) * 2007-03-14 2008-09-18 Fujitsu Limited Data recovery circuit
CN101452410A (en) * 2007-12-06 2009-06-10 中兴通讯股份有限公司 Data backup system for embedded database, and data backup and recovery method
CN102103834A (en) * 2009-12-22 2011-06-22 上海天马微电子有限公司 Method and device for maintaining data of drive circuit
CN103440205A (en) * 2013-08-21 2013-12-11 深圳市九洲电器有限公司 Method and device for storing data of set top box

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415941A (en) * 2021-12-20 2022-04-29 深圳市联洲国际技术有限公司 Storage information processing method, storage system and storage device

Also Published As

Publication number Publication date
CN105975240A (en) 2016-09-28
CN105975240B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
WO2018000471A1 (en) Data storage device, method for preventing data failure, and time sequence controller
US8745328B2 (en) Updating error correction codes for data blocks
CN110718197B (en) Display device
WO2019041396A1 (en) Method and system for protecting software data in display panel
WO2018000468A1 (en) Timing controller and data updating method thereof, and liquid crystal display panel
US20090219295A1 (en) Display System and Method for Reducing Power Consumption of Same
KR20100046265A (en) Error scanning in flash memory
TWI433157B (en) Method for accessing a flash memory and associated memory device
US10262742B2 (en) Memory protection circuit and liquid crystal display including same
US9165531B2 (en) System for detecting display driver error when failing to receive a synchronization signal and method thereof
CN109388345B (en) Data reading method of memory, display device and computer readable storage medium
KR20180128588A (en) Memory system and method thereof
KR20200088563A (en) Memory system and operation method thereof
KR102494241B1 (en) Memory system and operating method thereof
KR102415218B1 (en) Memory system and operation method thereof
US20190066632A1 (en) Method and system for protecting software data in display panel
CN111477154B (en) Communication structure of display panel and display panel
CN111724749A (en) Display driving method, display driving device and display device
US20180308416A1 (en) Display apparatus and control circuit and control method thereof
CN109446851B (en) Method for protecting data in display panel and display device thereof
TW201933091A (en) A system and a method for testing a data storage device
US9443604B2 (en) Electronic device and data-management method thereof
WO2023087454A1 (en) Power management chip data configuration method and configuration architecture, and display panel
US11217187B2 (en) Display driving method, display driving device and display apparatus
KR20230064043A (en) Data error detection method and display device including same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16906869

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906869

Country of ref document: EP

Kind code of ref document: A1