[go: up one dir, main page]

WO2020062554A1 - Data reading method for memory, display apparatus, and computer readable storage medium - Google Patents

Data reading method for memory, display apparatus, and computer readable storage medium Download PDF

Info

Publication number
WO2020062554A1
WO2020062554A1 PCT/CN2018/119148 CN2018119148W WO2020062554A1 WO 2020062554 A1 WO2020062554 A1 WO 2020062554A1 CN 2018119148 W CN2018119148 W CN 2018119148W WO 2020062554 A1 WO2020062554 A1 WO 2020062554A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage area
data
storage
checksum
timing controller
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.)
Ceased
Application number
PCT/CN2018/119148
Other languages
French (fr)
Chinese (zh)
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.)
HKC Co Ltd
Chongqing HKC Optoelectronics Technology Co Ltd
Original Assignee
HKC Co Ltd
Chongqing HKC Optoelectronics Technology 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 HKC Co Ltd, Chongqing HKC Optoelectronics Technology Co Ltd filed Critical HKC Co Ltd
Publication of WO2020062554A1 publication Critical patent/WO2020062554A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Definitions

  • the present application relates to the field of memory technology, and in particular, to a method for reading data from a memory, a display device, and a computer-readable storage medium.
  • the static read only memory in the timing controller TCON IC static read only Data in memory (SROM) cannot be saved after power-off, but Erasable Memory (Electrically Erasable Programmable read only
  • SROM static read only Data in memory
  • Erasable Memory Electrical Erasable Programmable read only
  • the data stored in the flash memory can be saved even after power off, so the control program of the timing controller will be stored in the erasable memory or flash memory.
  • the timing controller After power-on, the timing controller will initialize and read timing control data from the external memory through the bus. The data in the memory cannot be modified during the normal operation of the display device. Once modified, it will cause the timing controller to read the timing control data incorrectly, and the display device will display abnormally.
  • the main purpose of the present application is to provide a method for reading data from a memory, a display device, and a computer-readable storage medium. occur.
  • the present application proposes a method for reading data from a memory, which is applied to a display device, where the display device includes:
  • a memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area is electrically connected to the timing controller, wherein data in the memory is read
  • the extraction method includes the following steps:
  • the second storage area is assigned to the storage data of the first storage area.
  • the step of comparing the stored data of the first storage area with preset stored data specifically includes:
  • the method further includes:
  • a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller.
  • the second storage area is assigned to the storage data of the first storage area.
  • the method for reading data from the memory further includes:
  • a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area.
  • the present application also proposes a display device, which includes:
  • the timing controller is configured to send a logical address when the display device is powered on.
  • a memory configured to store data or signals, the memory including:
  • the first storage area and the second storage area store the same storage data, and the first storage area is communicatively connected with the book sequence controller; and,
  • An inspector configured to set preset storage data according to storage data stored in the first storage area and the second storage area;
  • triggering the second storage area to assign the stored data to the first storage area triggering the timing controller and the The first storage area is communicatively connected for the timing controller to read the storage data assigned to the first storage area by the second storage area.
  • the checker is specifically configured to:
  • the checker is further configured as:
  • a read instruction is output, and the timing controller is triggered to communicate with the first storage area for the timing controller to read the
  • the second storage area is assigned to the storage data of the first storage area.
  • the display device further includes a connector and a serial communication bus
  • the memory is communicatively connected with the timing controller through the serial communication bus
  • the memory is further connected through the connector and serial communication
  • the bus is connected to the upper computer.
  • serial communication bus is an I2C (Inter-Integrated Circuit) communication bus.
  • I2C Inter-Integrated Circuit
  • the connector is a bilateral connector.
  • the memory is an erasable memory or a flash memory.
  • the display device further includes a display panel, and a source driver, a gate driver, and a driving power source driving the display panel;
  • the timing controller is connected to the gate driver, the source driver, and the driving power source, respectively.
  • the timing controller is configured to read the control signal and the setting signal stored in the memory when the display device is powered on to perform initialization, and receive the data signal, the control signal output from the external circuit module, and The clock signal is converted into a data signal, a control signal, and a clock signal suitable for the gate driver and the source driver, thereby realizing the image display of the liquid crystal panel.
  • control signals output by the timing controller include a gate control signal and a source control signal.
  • the present application also proposes a computer-readable storage medium on which a data reading program of a memory is stored, wherein the data reading program of the memory implements a data reading method of the memory when executed by a processor; the data of the memory
  • the reading method is applied to a display device, which includes:
  • a memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area being electrically connected to a timing controller, and a data reading method of the memory It includes the following steps:
  • the second storage area is assigned to the storage data of the first storage area.
  • the step of comparing the stored data of the first storage area with the preset stored data specifically includes:
  • the method further includes:
  • a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller.
  • the second storage area is assigned to the storage data of the first storage area.
  • the method for reading data from the memory further includes:
  • a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area.
  • the data reading method of the memory of the present application sets preset storage data according to the storage data stored in the first storage area and the second storage area; and obtains a logical address sent by a timing controller; When the logical address is the same as the stored logical address, the storage data of the first storage area is compared with the first storage data, and when the storage data of the first storage area is not consistent with the preset storage data, the second storage area is stored The stored data is assigned to the first storage area, and the timing controller is triggered to read the stored data after the second storage area is assigned to the first storage area.
  • This application is beneficial to avoid that the timing control data stored in the memory is rewritten by interference signals, or when the memory is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory to be lost, and the timing control data read by the timing controller being wrong , Causing the phenomenon that the display screen of the display panel cannot be driven normally.
  • FIG. 1 is a schematic flowchart of an embodiment of a data method for a memory of this application
  • FIG. 2 is a detailed flowchart of step S200 in the data reading method of the memory of the present application shown in FIG. 1;
  • FIG. 3 is a schematic flowchart of another embodiment of a data method for a memory
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a display device of the present application.
  • FIG. 5 is a schematic diagram of functional modules of another embodiment of the display device of the present application shown in FIG. 4;
  • FIG. 6 is a schematic structural diagram of a data reading device in a memory of a hardware operating environment according to an embodiment of the present application.
  • the directivity indication is only set to be interpreted in a specific posture (as shown in the accompanying drawings). (Shown) the relative positional relationship, movement, etc. of the various components, if the specific posture changes, the directional indicator will change accordingly.
  • This application proposes a method for reading data from a memory, which is applied to a display device.
  • the display device is provided with a timing controller and a memory.
  • the display device may be a display device such as a mobile phone, a computer, a television, a tablet computer, or a projector.
  • Both memory and timing controller can be set in timing control (Timing Controller (TCON) PCB, because the data in the internal static read-only memory SROM of the timing controller cannot be saved after power-down, the erasable memory (Electrically Erasable Programmable read only data stored in memory (EEPROM) or flash memory can be saved even after power failure, so the control program of the timing controller is stored in erasable memory EEPROM or flash memory flash.
  • TCON Timing Controller
  • the timing controller will initialize and read the timing control signals and other setting data from the external memory through the communication bus to perform initial settings. That is, the memory may store a control signal configured to drive the gate driving integrated circuit and the source driving integrated circuit in the display device to work, and communicate with the timing controller through a serial communication bus.
  • the timing controller When the display device is powered on, the timing controller reads the control signals in the memory and performs other initial settings to generate the corresponding timing control signals to drive the source driver integrated circuit of the display panel in the display device. And gate drive integrated circuits.
  • the data in the memory cannot be modified during the normal operation of the display device. Once modified, the initialization or error of the timing controller will cause the display device to display abnormally.
  • most of the memory is provided with a write-protect pin (WP pin), and when the input is high, you can control the memory to write data, and at the low level, you cannot write data. At this time, the memory is only for the timing controller to read data.
  • WP pin write-protect pin
  • the data reading method of the memory includes the following steps:
  • Step S100 Set preset storage data according to the storage data stored in the first storage area and the second storage area.
  • the memory includes a first storage area and a second storage area that respectively store the first storage data, and the first storage area is communicatively connected to the timing controller, that is, the storage area of the memory is divided in this embodiment. In the case of two or more, two can be selected in this embodiment, and they are respectively a first storage area and a second storage area.
  • the first storage area and the second storage area are respectively The same stored data is stored.
  • the written stored data is defined as the first stored data.
  • the first stored data is also a control signal and other setting data for initialization by the timing controller.
  • the stored data is written by the host computer.
  • the preset storage data may be set as the first storage data, that is, the storage data written to the first storage area and the second storage area by a host computer.
  • Step S200 Obtain a logical address sent by the timing controller.
  • the timing controller is equivalent to the master device, and the memory and other functional circuits are equivalent to the slave devices.
  • Each slave device passes the communication bus, such as I2C (Inter-Integrated Circuit)
  • the communication bus is in communication with the timing controller.
  • the timing controller reads the stored data in the memory
  • the timing controller will send a logical address.
  • the memory obtains the logical address and matches the logical address stored in the memory
  • the timing controller communicates with the memory and reads Fetch the data stored in the memory.
  • Step S300 When the obtained logical address sent by the timing controller is the same as the stored logical address, compare the stored data of the first storage area with the preset stored data;
  • the timing controller is communicatively connected to a register in the first storage area of the memory, and is configured to read only the data in the first storage area, but not the data in the second storage area.
  • This setting can prevent Accidental power loss loses data in both storage areas.
  • the register in the first storage area of the control memory is communicatively connected with the timing controller, and the current storage data of the first storage area is now connected. Compare with the preset storage data to prevent the stored data in the first storage area from entering the first storage area due to the parasitic capacitance and impedance generated by the impedance on the I2C bus of the timing controller.
  • the storage data of a storage area is rewritten, and the timing controller reads the rewritten storage data, so that the timing controller cannot normally drive the display panel display screen.
  • Step S400 When the storage data in the first storage area is inconsistent with the preset storage data, assign the first storage data stored in the second storage area to the first storage area, and trigger the timing The controller reads the storage data assigned to the first storage area by the second storage area.
  • the first storage area is connected to the timing controller through a communication bus, and the second storage area is only communicatively connected to the first storage area. Therefore, after the storage data of the first storage area is rewritten, the first storage area is rewritten.
  • the storage data of the second storage area may be assigned to the first storage area.
  • the data read by the timing controller is the first storage data after the second storage area is assigned to the first storage area, that is, the control signals stored in the memory and other setting data are initially set to generate the corresponding Timing control signals to drive the source driving integrated circuit and the gate driving integrated circuit of the display panel in the display device to work.
  • the data reading method of the present application sets preset storage data according to the storage data stored in the first storage area and the second storage area; and obtains a logical address sent by a timing controller; When the sent logical address is the same as the stored logical address, the stored data of the first storage area is compared with the first stored data, and when the stored data of the first storage area is not consistent with the preset storage data, the second storage area is The stored first storage data is assigned to the first storage area, and the timing controller is triggered to read the first storage data after the second storage area is assigned to the first storage area.
  • This application is beneficial to avoid that the timing control data stored in the memory is rewritten by interference signals, or when the memory is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory to be lost, and the timing control data read by the timing controller being wrong. , Causing the phenomenon that the display screen of the display panel cannot be driven normally.
  • comparing the stored data in the first storage area with the first storage includes:
  • Step S210 Set a preset checksum according to the storage data stored in the first storage area and the second storage area.
  • Step S220 Calculate a checksum of the first storage area and record the checksum as a first detection checksum
  • Step S230 Compare the first checksum with a preset checksum.
  • Step S240 When the first checksum is inconsistent with the preset checksum, determine that the storage data in the first storage area is inconsistent with the preset storage data.
  • the preset checksum may be a communication connection between the memory and the upper computer, and the checksum obtained after the first computer writes the first stored data, that is, the preset checksum, may be specifically written by Add the value to the first storage area register or the second storage area and add the last six digits as the value of the preset checksum.
  • the preset checksum in this embodiment is in the form of a hexadecimal number system. .
  • the values in the first storage area register may be added and the last six digits taken as the checksum value, that is, the first detection Checksum.
  • the checksum of the data currently stored in the first storage area that is, the first detection checksum is inconsistent with the preset checksum
  • the method further includes:
  • Step S410 Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum
  • Step S420 Compare the second detection checksum with a preset checksum.
  • Step S430 When the second checksum is consistent with the preset checksum, output a read instruction to trigger the timing controller to communicate with the first storage area for reading by the timing controller. Fetch the storage data assigned to the first storage area by the second storage area.
  • the value currently stored in the first storage area register may be added and the last six digits taken as the value of the checksum, that is, the second Check the checksum.
  • the checksum preset checksum of the data currently stored in the first storage area is consistent, it means that the value assigned to the first storage area by the second storage area is successful, that is, the current value of the first storage area is currently
  • the stored data is the first stored data that has not been rewritten.
  • the data read by the timing controller is the stored data after the second storage area is assigned to the first storage area, that is, the control signals stored in the memory and other setting data are initially set to generate the corresponding timing.
  • the control signal drives the source driving integrated circuit and the gate driving integrated circuit of the display panel in the display device to operate.
  • the method for reading data from the memory further includes:
  • a read instruction is output to trigger the timing controller to communicate with the first storage area and read by the timing controller. Stored data in the first storage area.
  • the value of the first storage area register can be added and calculated, and the last six digits can be used as the value of the checksum.
  • the first detection checksum is preset as the checksum of the data currently stored in the first storage area. When the checksums are consistent, it can be determined that the currently stored storage data in the first storage area is consistent with the first storage data, and the data currently stored in the first storage area has not been rewritten.
  • the timing controller can read the storage data of the first storage area, that is, the control signals stored in the memory, and other setting data to perform initial settings to generate corresponding timing control signals, thereby driving the display in the display device.
  • the source driver IC and the gate driver IC of the panel work.
  • the present application also proposes a display device.
  • the display device includes:
  • the timing controller 100 is configured to send a logical address when the display device is powered on.
  • the display device further includes a display panel 200, a source driver 300, a gate driver 400, and a driving power source 500 that drive the display panel 200 to work.
  • the timing controller 100 is connected to the gate driver 400 and the source driver 300, respectively.
  • the driving power supply 500 is connected, and the timing controller 100 is configured to read the control signals and setting signals stored in the memory 600 when the display device is powered on to perform initialization, and receive data signals and control signals output by external circuit modules
  • the signal and the clock signal are converted into data signals, control signals, and clock signals suitable for the gate driver 400 and the source driver 300 to realize the image display of the liquid crystal panel.
  • the control signals output by the timing controller 100 include a gate control signal and a source control signal.
  • the memory 600 is configured to store data or signals.
  • the memory 600 includes:
  • the first storage area 610 and the second storage area 620 respectively store first storage data, and the first storage area 610 is communicatively connected with the book sequence controller; and,
  • the checker 630 is configured to set preset storage data according to the storage data stored in the first storage area and the second storage area; and obtain the logical address sent by the timing controller 100 and the obtained logical address.
  • the logical address stored in the memory 600 is the same, comparing the stored data of the first storage area 610 with preset storage data;
  • the memory 600 may be an electrically erasable memory (Electrically Erasable Programmable read only memory, EEPROM) or flash memory.
  • the data stored in the memory can be saved even after power failure, so the control program of the timing controller is stored in the erasable memory or flash memory.
  • the storage area of the memory 600 may be divided into two or more. In this embodiment, two storage areas may be selected, and they are a first storage area 610 and a second storage area 620, respectively.
  • the first storage area 610 and the second storage area 620 may be implemented by using a circuit module such as a register. When the data is written to the memory 600, the same storage data is stored in the first storage area 610 and the second storage area 620.
  • This embodiment defines the written storage data as the first storage data.
  • a stored data is a control signal and other setting data for initialization of the timing controller 100.
  • the first stored data is written by a host computer. After writing, the first storage data needs to be write-protected to ensure that the data in the memory 600 cannot be rewritten in the case of non-program update.
  • the preset storage data may be set as the first storage data, that is, the same storage data stored in the first storage area and the second storage area by the upper computer.
  • the timing controller 100 is communicatively connected to a register in the first storage area 610 of the memory 600, and is configured to read only the data of the first storage area 610, but not the data of the second storage area 620. This setting prevents Accidental power loss loses data in both storage areas.
  • the register in the first storage area 610 of the control memory 600 is communicatively connected with the timing controller 100, and the first storage area is now connected.
  • the current stored data of 610 is compared with the first stored data to prevent the stored data of the first storage area 610 from being disturbed by interference signals generated by the parasitic capacitance and impedance on the I2C bus of the memory 600 and the timing controller 100.
  • the first storage area 610 causes the stored data in the first storage area 610 to be rewritten, and the timing controller 100 reads the rewritten storage data, so that the timing controller 100 cannot normally drive the display panel 200 to display a screen.
  • the checker 630 detects whether the data in the first storage area 610 is rewritten. If the data stored in the first storage area 610 is rewritten, the stored data in the first storage area 610 and the preset storage data are caused. When they are not consistent, the second storage area 620 may be controlled to assign the stored storage data to the first storage area 610. If it is not rewritten, the timing controller 100 may be triggered to read the first storage data after the first storage area 610, that is, the control signals stored in the memory 600 and other setting data are initially set to generate corresponding The timing control signals drive the source driving integrated circuit and the gate driving integrated circuit of the display panel 200 in the display device to operate.
  • the display device of the present application sets a checker 630 in the memory 600 to set preset storage data according to the storage data stored in the first storage area and the second storage area, and obtain a logical address sent by the timing controller 100 ;
  • the obtained logical address sent by the timing controller 100 is the same as the stored logical address, compare the stored data of the first storage area 610 with the preset storage data, and store the stored data in the first storage area 610 with the first
  • the timing controller 100 is triggered to read the storage data after the second storage area 620 is assigned to the first storage area 610.
  • This application is beneficial to avoid that the timing control data stored in the memory 600 is rewritten by interference signals, or when the memory 600 is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory 600 to be lost, and the timing read by the timing controller 100.
  • the control data is incorrect, which causes the phenomenon that the display screen of the display panel 200 cannot be driven normally.
  • the checker 630 is specifically configured to:
  • the checker 630 can obtain the checksum after the first computer writes the first stored data, that is, the preset checksum, which can be specifically written to the first storage area register or the second storage area.
  • the numerical values of are added and calculated, and the last six digits are taken as the value of the preset checksum.
  • the preset checksum in this embodiment is in the form of a hexadecimal number system.
  • the stored data of the first storage area and the preset can be determined.
  • the stored data is inconsistent, that is, the data currently stored in the first storage area has been rewritten.
  • the checker 630 is further configured to:
  • the second storage area 620 is assigned to the storage data of the first storage area 610.
  • the checker 630 may perform addition calculation on the values currently stored in the first storage area 610 register and take the last six digits as the checksum. Value of the first storage area 610 when the checksum preset checksum of the data currently stored in the first storage area 610 is the same Success, that is, the data currently stored in the first storage area 610 is the first stored data that has not been rewritten.
  • the display device further includes a connector (not shown) and I2C (Inter-Integrated Circuit) communication bus
  • the memory is communicatively connected to the timing controller through the I2C communication bus
  • the memory is also connected to a host computer through the connector and the I2C communication bus.
  • the connector may be a bilateral connector.
  • the communication connection between the memory and the timing controller and the upper computer can be realized.
  • the timing controller and an external controller such as a display device
  • the main controller on the main control board and other communication connections to receive corresponding control signals and data signals, thereby driving the display panel to display the corresponding screen.
  • the present application also proposes a computer-readable storage medium on which a data reading program of a memory is stored.
  • the data reading program of the memory is executed by a processor, the data reading method of the memory as described above is implemented.
  • FIG. 5 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of the embodiment of the present application, that is, a data reading device of a memory.
  • the terminal may be a server, a PC, or a smart phone, a tablet computer, an e-book reader, or MP3 (Moving Picture Experts Group Audio Layer III, standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 3) Mobile terminal devices with display functions such as players, portable computers.
  • MP3 Moving Picture Experts Group Audio Layer III, standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 3
  • Mobile terminal devices with display functions such as players, portable computers.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is configured to implement connection and communication between these components.
  • the user interface 1003 may include a display, an input unit such as a keyboard, and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data reading program of the memory.
  • the network interface 1004 is mainly configured to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly configured to connect to the client (user) and perform data communication with the client;
  • the processor 1001 may be configured to call a data reading program of a memory stored in the memory 1005 and execute the method steps of the embodiments of data reading of the memory as described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

Disclosed in the present application are a data reading method for a memory, a display apparatus, and a computer readable storage medium, the method comprising the following steps: according to storage data stored in a first storage region and second storage region, configuring preset storage data; acquiring a logic address sent by a timing controller; when the logic address sent by the timing controller and a stored logic address are the same, comparing the storage data of the first storage region with the preset storage data; and when the storage data is not the same, assigning the storage data of the second storage region to the first storage region, and triggering the timing controller to read the storage data of the first storage region.

Description

存储器的数据读取方法、显示装置及计算机可读存储介质 Data reading method for memory, display device and computer-readable storage medium Ranch

相关专利Related patents

本申请要求2018年09月30日,申请号为201811165376.2,申请名称为“存储器的数据读取方法、显示装置及计算机可读存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of a Chinese patent application dated September 30, 2018, with application number 201811165376.2, and entitled "Data reading method for memory, display device, and computer-readable storage medium", which is hereby incorporated in its entirety as reference.

技术领域 Technical field

本申请涉及存储器技术领域,特别涉及一种存储器的数据读取方法、显示装置及计算机可读存储介质。The present application relates to the field of memory technology, and in particular, to a method for reading data from a memory, a display device, and a computer-readable storage medium.

背景技术Background technique

显示装置中,时序控制器TCON IC内部静态只读存储器(static read only memory,SROM)里的数据一般在掉电之后不能保存,而可擦除存储器(Electrically Erasable Programmable read only memory,EEPROM)或闪存器Flash里存储的数据即使掉电之后也能保存,所以会将时序控制器的控制程序储存在可擦除存储器或闪存器中。上电之后,时序控制器会进行初始化,通过总线从外部存储器中读取时序控制数据。存储器的数据在显示装置正常工作时是不能被修改的,一旦被修改,将导致时序控制器读取时序控制数据出错,而出现显示装置显示异常的现象。In the display device, the static read only memory in the timing controller TCON IC (static read only Data in memory (SROM) cannot be saved after power-off, but Erasable Memory (Electrically Erasable Programmable read only The data stored in the flash memory can be saved even after power off, so the control program of the timing controller will be stored in the erasable memory or flash memory. After power-on, the timing controller will initialize and read timing control data from the external memory through the bus. The data in the memory cannot be modified during the normal operation of the display device. Once modified, it will cause the timing controller to read the timing control data incorrectly, and the display device will display abnormally.

申请内容Application content

本申请的主要目的是提出一种存储器的数据读取方法、显示装置及计算机可读存储介质,旨在解决存储器存储的时序控制数据被干扰信号被改写,导致无法正常驱动显示面板显示画面的现象发生。The main purpose of the present application is to provide a method for reading data from a memory, a display device, and a computer-readable storage medium. occur.

为实现上述目的,本申请提出一种存储器的数据读取方法,应用于显示装置中,所述显示装置包括:To achieve the above object, the present application proposes a method for reading data from a memory, which is applied to a display device, where the display device includes:

时序控制器;Timing controller

存储器,设置为存储数据或信号,所述存储器包括存储有相同存储数据的第一存储区域及第二存储区域,所述第一存储区域与时序控制器电连接,其中,所述存储器的数据读取方法包括以下步骤:A memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area is electrically connected to the timing controller, wherein data in the memory is read The extraction method includes the following steps:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;Setting preset storage data according to storage data stored in the first storage area and the second storage area;

获取时序控制器发送的逻辑地址;Get the logical address sent by the timing controller;

在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与所述预设存储数据进行比较;以及,Comparing the stored data in the first storage area with the preset storage data when the obtained logical address sent by the timing controller is the same as the stored logical address; and,

在所述第一存储区域的存储数据与所述预设存储数据不一致时,将所述第二存储区域存储的存储数据赋值给所述第一存储区域,并触发所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the storage data in the first storage area is inconsistent with the preset storage data, assigning the storage data stored in the second storage area to the first storage area, and triggering the timing controller to read all data The second storage area is assigned to the storage data of the first storage area.

可选地,所述在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将所述第一存储区域的存储数据与预设存储数据进行比较的步骤具体包括:Optionally, when the obtained logical address sent by the timing controller is the same as the stored logical address, the step of comparing the stored data of the first storage area with preset stored data specifically includes:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area;

计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum;

将所述第一检测校验和与所述预设校验和进行比较;以及Comparing the first checksum with the preset checksum; and

在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data.

可选地,在所述将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域的步骤之后还包括:Optionally, after the step of assigning the first storage data stored in the second storage area to the first storage area, the method further includes:

重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum;

将所述第二检测校验和与预设校验和进行比较;以及Comparing the second detection checksum with a preset checksum; and

在所述第二检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller. The second storage area is assigned to the storage data of the first storage area.

可选地,所述存储器的数据读取方法还包括:Optionally, the method for reading data from the memory further includes:

在所述第一检测校验和与所述预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接时,并供所述时序控制器读取所述第一存储区域的存储数据。When the first checksum is consistent with the preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area.

本申请还提出一种显示装置,所述显示装置包括:The present application also proposes a display device, which includes:

时序控制器,被配置为在显示装置上电工作时,发送逻辑地址;The timing controller is configured to send a logical address when the display device is powered on.

存储器,设置为存储数据或信号,所述存储器包括:A memory configured to store data or signals, the memory including:

第一存储区域及第二存储区域,存储有相同的存储数据,所述第一存储区域与所述书序控制器通讯连接;以及,The first storage area and the second storage area store the same storage data, and the first storage area is communicatively connected with the book sequence controller; and,

检查器,被配置为根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;An inspector configured to set preset storage data according to storage data stored in the first storage area and the second storage area;

在获取到的所述时序控制器发送的逻辑地址与所述存储器存储的逻辑地址相同时,将所述第一存储区域的存储数据与所述预设存储数据进行比较;以及,Comparing the stored data in the first storage area with the preset storage data when the obtained logical address sent by the timing controller is the same as the logical address stored in the memory; and,

在所述第一存储区域的存储数据与所述预设存储数据不一致时,触发所述第二存储区域将存储的数据赋值给所述第一存储区域,并触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the storage data of the first storage area is inconsistent with the preset storage data, triggering the second storage area to assign the stored data to the first storage area, and triggering the timing controller and the The first storage area is communicatively connected for the timing controller to read the storage data assigned to the first storage area by the second storage area.

可选地,所述检查器具体被配置为:Optionally, the checker is specifically configured to:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area;

计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum;

将所述第一检测校验和与所述预设校验和进行比较;以及Comparing the first checksum with the preset checksum; and

在所述第一检测校验和与所述预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data.

可选地,在所述检查器还被配置为:Optionally, the checker is further configured as:

重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum;

将所述第二检测校验和与预设校验和进行比较;以及,Comparing the second detection checksum with a preset checksum; and,

在所述第二检测校验和与预设校验和一致时,输出读取指令,并触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output, and the timing controller is triggered to communicate with the first storage area for the timing controller to read the The second storage area is assigned to the storage data of the first storage area.

可选地,所述显示装置还包括连接器及串行通讯总线,所述存储器通过所述串行通讯总线与所述时序控制器通讯连接,所述存储器还通过所述连接器及串行通讯总线与上位机连接。Optionally, the display device further includes a connector and a serial communication bus, the memory is communicatively connected with the timing controller through the serial communication bus, and the memory is further connected through the connector and serial communication The bus is connected to the upper computer.

可选地,所述串行通讯总线为I2C(Inter-Integrated Circuit)通讯总线。Optionally, the serial communication bus is an I2C (Inter-Integrated Circuit) communication bus.

可选地,所述连接器为双边连接器。Optionally, the connector is a bilateral connector.

可选地,所述存储器为可擦除存储器或者闪存器。Optionally, the memory is an erasable memory or a flash memory.

可选地,所述显示装置还包括显示面板,以及驱动所述显示面板工作的源极驱动器、栅极驱动器及驱动电源;Optionally, the display device further includes a display panel, and a source driver, a gate driver, and a driving power source driving the display panel;

所述时序控制器分别与所述栅极驱动器、所述源极驱动器以及所述驱动电源连接。The timing controller is connected to the gate driver, the source driver, and the driving power source, respectively.

可选地,所述时序控制器,设置为在显示装置上电工作时,读取存储器内存储的控制信号及设定信号,以实现初始化,并接收外部电路模块输出的数据信号、控制信号以及时钟信号,转换成适合于所述栅极驱动器、所述源极驱动器的数据信号、控制信号以及时钟信号,实现液晶面板的图像显示。Optionally, the timing controller is configured to read the control signal and the setting signal stored in the memory when the display device is powered on to perform initialization, and receive the data signal, the control signal output from the external circuit module, and The clock signal is converted into a data signal, a control signal, and a clock signal suitable for the gate driver and the source driver, thereby realizing the image display of the liquid crystal panel.

可选地,所述时序控制器输出的控制信号包括栅极控制信号和源极控制信号。Optionally, the control signals output by the timing controller include a gate control signal and a source control signal.

本申请还提出一种计算机可读存储介质,其上存储有存储器的数据读取程序,其中,该存储器的数据读取程序被处理器执行时实现存储器的数据读取方法;所述存储器的数据读取方法应用于显示装置中,所述显示装置包括:The present application also proposes a computer-readable storage medium on which a data reading program of a memory is stored, wherein the data reading program of the memory implements a data reading method of the memory when executed by a processor; the data of the memory The reading method is applied to a display device, which includes:

时序控制器;Timing controller

存储器,设置为存储数据或信号,所述存储器包括存储有相同存储数据的第一存储区域及第二存储区域,所述第一存储区域与时序控制器电连接,所述存储器的数据读取方法包括以下步骤:A memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area being electrically connected to a timing controller, and a data reading method of the memory It includes the following steps:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;Setting preset storage data according to storage data stored in the first storage area and the second storage area;

获取时序控制器发送的逻辑地址;Get the logical address sent by the timing controller;

在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与所述预设存储数据进行比较;以及,Comparing the stored data in the first storage area with the preset storage data when the obtained logical address sent by the timing controller is the same as the stored logical address; and,

在所述第一存储区域的存储数据与所述预设存储数据不一致时,将所述第二存储区域存储的存储数据赋值给所述第一存储区域,并触发所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the storage data in the first storage area is inconsistent with the preset storage data, assigning the storage data stored in the second storage area to the first storage area, and triggering the timing controller to read all data The second storage area is assigned to the storage data of the first storage area.

可选地,所述在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将所述第一存储区域的存储数据与预设存储数据进行比较的步骤具体包括:Optionally, when the obtained logical address sent by the timing controller is the same as the stored logical address, the step of comparing the stored data of the first storage area with the preset stored data specifically includes:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area;

计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum;

将所述第一检测校验和与所述预设校验和进行比较;Comparing the first checksum with the preset checksum;

在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data.

可选地,在所述将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域的步骤之后还包括:Optionally, after the step of assigning the first storage data stored in the second storage area to the first storage area, the method further includes:

重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum;

将所述第二检测校验和与预设校验和进行比较;以及Comparing the second detection checksum with a preset checksum; and

在所述第二检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller. The second storage area is assigned to the storage data of the first storage area.

可选地,所述存储器的数据读取方法还包括:Optionally, the method for reading data from the memory further includes:

在所述第一检测校验和与所述预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接时,并供所述时序控制器读取所述第一存储区域的存储数据。When the first checksum is consistent with the preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area.

本申请存储器的数据读取方法根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;并获取时序控制器发送的逻辑地址;在获取的时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与第一存储数据进行比较,并在第一存储区域的存储数据与预设存储数据不一致时,将第二存储区域存储的存储数据赋值给第一存储区域,并触发时序控制器读取第二存储区域赋值给第一存储区域后的存储数据。本申请有利于避免存储器存储的时序控制数据被干扰信号被改写,或者在存储器进行读写操作时,发生意外掉电,使得存储器内部数据丢失,而使时序控制器读取的时序控制数据有误,导致无法正常驱动显示面板显示画面的现象发生。The data reading method of the memory of the present application sets preset storage data according to the storage data stored in the first storage area and the second storage area; and obtains a logical address sent by a timing controller; When the logical address is the same as the stored logical address, the storage data of the first storage area is compared with the first storage data, and when the storage data of the first storage area is not consistent with the preset storage data, the second storage area is stored The stored data is assigned to the first storage area, and the timing controller is triggered to read the stored data after the second storage area is assigned to the first storage area. This application is beneficial to avoid that the timing control data stored in the memory is rewritten by interference signals, or when the memory is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory to be lost, and the timing control data read by the timing controller being wrong , Causing the phenomenon that the display screen of the display panel cannot be driven normally.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the structure shown in the drawings without paying creative labor.

图1为本申请存储器的数据方法一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a data method for a memory of this application;

图2为图1本申请存储器的数据读取方法中步骤步骤S200的细化流程示意图;FIG. 2 is a detailed flowchart of step S200 in the data reading method of the memory of the present application shown in FIG. 1;

图3为本申请存储器的数据方法另一实施例的流程示意图;FIG. 3 is a schematic flowchart of another embodiment of a data method for a memory;

图4为本申请显示装置一实施例的功能模块示意图;4 is a schematic diagram of functional modules of an embodiment of a display device of the present application;

图5为本图4本申请显示装置另一一实施例的功能模块示意图;5 is a schematic diagram of functional modules of another embodiment of the display device of the present application shown in FIG. 4;

图6是本申请实施例方案涉及的硬件运行环境的存储器的数据读取装置的结构示意图。FIG. 6 is a schematic structural diagram of a data reading device in a memory of a hardware operating environment according to an embodiment of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

需要说明,若本申请实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅设置为解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that if there is a directivity indication (such as up, down, left, right, front, back, etc.) in the embodiment of the present application, the directivity indication is only set to be interpreted in a specific posture (as shown in the accompanying drawings). (Shown) the relative positional relationship, movement, etc. of the various components, if the specific posture changes, the directional indicator will change accordingly.

另外,若本申请实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅设置为描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, if there are descriptions related to "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only set for description purposes, and cannot be understood as instructions or hints Its relative importance or implicitly indicates the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on those that can be realized by a person of ordinary skill in the art. When the combination of technical solutions conflicts or cannot be achieved, it should be considered that such a combination of technical solutions does not exist. Is not within the scope of protection claimed in this application.

本申请提出一种存储器的数据读取方法,应用于显示装置中,显示装置中设置有时序控制器及存储器,该显示装置可以是手机、电脑、电视、平板电脑、投影仪等显示装置。This application proposes a method for reading data from a memory, which is applied to a display device. The display device is provided with a timing controller and a memory. The display device may be a display device such as a mobile phone, a computer, a television, a tablet computer, or a projector.

存储器和时序控制器均可以设置于时序控制(Timing Controller,TCON)PCB板上,由于时序控制器内部静态只读存储器SROM里的数据在掉电之后不能保存,可擦除存储器(Electrically Erasable Programmable read only memory,EEPROM)或闪存器Flash里存储的数据即使掉电之后也能保存,所以会将时序控制器的控制程序储存在可擦除存储器EEPROM或闪存器Flash中。并在显示装置上电之后,时序控制器会进行初始化,通过通讯总线从外部存储器中读取时序控制信号及其他设定数据进行初始设置。也即,存储器可以存储设置为驱动显示装置中的栅极驱动集成电路和源极驱动集成电路工作的控制信号,并通过串行通讯总线与时序控制器通讯连接。在显示装置上电工作时,时序控制器读取存储器里的控制信号,及其他设定数据进行初始设置,以产生对应的时序控制信号,从而驱动显示装置中的显示面板的源极驱动集成电路及栅极驱动集成电路工作。存储器的数据在显示装置正常工作时是不能被修改的,一旦被修改,使得时序控制器初始化出错或者失败,将导致显示装置显示异常。通常,存储器大多设置写保护引脚(WP pin),并在输入高电平时,可以控制存储器写入数据,而在低电平时,不能写入数据,此时存储器仅供时序控制器读取数据。Both memory and timing controller can be set in timing control (Timing Controller (TCON) PCB, because the data in the internal static read-only memory SROM of the timing controller cannot be saved after power-down, the erasable memory (Electrically Erasable Programmable read only data stored in memory (EEPROM) or flash memory can be saved even after power failure, so the control program of the timing controller is stored in erasable memory EEPROM or flash memory flash. After the display device is powered on, the timing controller will initialize and read the timing control signals and other setting data from the external memory through the communication bus to perform initial settings. That is, the memory may store a control signal configured to drive the gate driving integrated circuit and the source driving integrated circuit in the display device to work, and communicate with the timing controller through a serial communication bus. When the display device is powered on, the timing controller reads the control signals in the memory and performs other initial settings to generate the corresponding timing control signals to drive the source driver integrated circuit of the display panel in the display device. And gate drive integrated circuits. The data in the memory cannot be modified during the normal operation of the display device. Once modified, the initialization or error of the timing controller will cause the display device to display abnormally. Generally, most of the memory is provided with a write-protect pin (WP pin), and when the input is high, you can control the memory to write data, and at the low level, you cannot write data. At this time, the memory is only for the timing controller to read data.

然而,在供存储器与时序控制器通讯的通讯总线,或者其他路径往往会有杂讯干扰信号,该干扰信号将导致存储器误动作,而写入该干扰信号的数据,使得存储器存储的软体数据code被改写,最终导致显示装置显示异常。或者在擦除存储器EEPROM或闪存器Flash进行读写操作时,发生意外掉电,则导致内部数据丢失,将导致时序控制器读取的时序控制数据有误,而使时序控制器无法正常驱动显示面板显示画面。However, in the communication bus for communication between the memory and the timing controller, or other paths, there will often be noise interference signals. This interference signal will cause the memory to malfunction, and the data written into the interference signal will cause the software data code stored in the memory. When it is rewritten, the display device displays abnormally. Or when the memory EEPROM or flash memory is erased for read and write operations, an accidental power failure will result in the loss of internal data, which will cause the timing control data read by the timing controller to be incorrect, and the timing controller will not be able to properly drive the display Panel display screen.

为了解决上述现象,参照图1,在本申请一实施例中,该存储器的数据读取方法包括以下步骤:In order to solve the above phenomenon, referring to FIG. 1, in an embodiment of the present application, the data reading method of the memory includes the following steps:

步骤S100、根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;Step S100: Set preset storage data according to the storage data stored in the first storage area and the second storage area.

本实施例中,存储器包括分别存储有第一存储数据的第一存储区域及第二存储区域,所述第一存储区域与时序控制器通讯连接,也即本实施例将存储器的存储区域分设成两个或者两个以上,本实施例可选为两个,且分别为第一存储区域和第二存储区域,在对存储器进行数据写入时,在第一存储区域和第二存储区域分别存储有相同的存储数据,本实施例将该写入的存储数据定义为第一存储数据,该第一存储数据也即为供时序控制器进行初始化的控制信号及其他设定数据,该第一存储数据通过上位机写入。在写入后,需要对第一存储数据进行写保护,以保证在非程序更新的情况下,存储器内的数据不被改写。本实施例中,该预设存储数据可以设置为第一存储数据,也即通过上位机写入至第一存储区域和第二存储区域的存储数据。In this embodiment, the memory includes a first storage area and a second storage area that respectively store the first storage data, and the first storage area is communicatively connected to the timing controller, that is, the storage area of the memory is divided in this embodiment. In the case of two or more, two can be selected in this embodiment, and they are respectively a first storage area and a second storage area. When data is written to the memory, the first storage area and the second storage area are respectively The same stored data is stored. In this embodiment, the written stored data is defined as the first stored data. The first stored data is also a control signal and other setting data for initialization by the timing controller. The stored data is written by the host computer. After writing, the first storage data needs to be write-protected to ensure that the data in the memory will not be rewritten in the case of non-program updates. In this embodiment, the preset storage data may be set as the first storage data, that is, the storage data written to the first storage area and the second storage area by a host computer.

步骤S200、获取时序控制器发送的逻辑地址;Step S200: Obtain a logical address sent by the timing controller.

本实施例中,时序控制器相当于主机设备,而存储器及其他功能电路相当于从机设备,各从机设备通过通讯总线,例如I2C(Inter-Integrated Circuit)通讯总线与时序控制器通讯连接。在时序控制器读取存储器的存储数据时,时序控制器将发送一个逻辑地址,存储器在获取到该逻辑地址,并与存储器存储的逻辑地址匹配时,时序控制器则与存储器通讯连接,并读取存储器存储的数据。In this embodiment, the timing controller is equivalent to the master device, and the memory and other functional circuits are equivalent to the slave devices. Each slave device passes the communication bus, such as I2C (Inter-Integrated Circuit) The communication bus is in communication with the timing controller. When the timing controller reads the stored data in the memory, the timing controller will send a logical address. When the memory obtains the logical address and matches the logical address stored in the memory, the timing controller communicates with the memory and reads Fetch the data stored in the memory.

步骤S300、在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与预设存储数据进行比较;Step S300: When the obtained logical address sent by the timing controller is the same as the stored logical address, compare the stored data of the first storage area with the preset stored data;

本实施例中,时序控制器与存储器的第一存储区域内的寄存器通讯连接,且配置为仅读取第一存储区域的数据,而不读取第二存储区域的数据,如此设置,可以防止意外掉电丢失两个存储区域的数据。在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同或者匹配时,控制存储器的第一存储区域内的寄存器与时序控制器通讯连接,此时将第一存储区域当前的存储数据与预设存储数据进行比对,以防止第一存储区域的存储数据可能因为存储器与时序控制器的I2C总线上的寄生电容、阻抗产生的干扰信号窜入至的第一存储区域,而导致第一存储区域的存储数据被改写,时序控制器读取被改写的存储数据,而使时序控制器无法正常驱动显示面板显示画面。In this embodiment, the timing controller is communicatively connected to a register in the first storage area of the memory, and is configured to read only the data in the first storage area, but not the data in the second storage area. This setting can prevent Accidental power loss loses data in both storage areas. When the obtained logical address sent by the timing controller is the same as or matches the stored logical address, the register in the first storage area of the control memory is communicatively connected with the timing controller, and the current storage data of the first storage area is now connected. Compare with the preset storage data to prevent the stored data in the first storage area from entering the first storage area due to the parasitic capacitance and impedance generated by the impedance on the I2C bus of the timing controller. The storage data of a storage area is rewritten, and the timing controller reads the rewritten storage data, so that the timing controller cannot normally drive the display panel display screen.

步骤S400、在所述第一存储区域的存储数据与所述预设存储数据不一致时,将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域,并触发所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。Step S400: When the storage data in the first storage area is inconsistent with the preset storage data, assign the first storage data stored in the second storage area to the first storage area, and trigger the timing The controller reads the storage data assigned to the first storage area by the second storage area.

本实施例中,第一存储区域是与时序控制器通过通讯总线连接的,而第二存储区域仅与第一存储区域通讯连接,因此在第一存储区域的存储数据被改写后,而导致第一存储区域的存储数据与所述第一存储数据不一致时,可以将第二存储区域的存储数据赋值给第一存储区域。此时时序控制器读取的数据即为第二存储区域赋值给第一存储区域后的第一存储数据,也即存储在存储器内的控制信号,及其他设定数据进行初始设置,以产生对应的时序控制信号,从而驱动显示装置中的显示面板的源极驱动集成电路及栅极驱动集成电路工作。In this embodiment, the first storage area is connected to the timing controller through a communication bus, and the second storage area is only communicatively connected to the first storage area. Therefore, after the storage data of the first storage area is rewritten, the first storage area is rewritten. When the storage data of one storage area is inconsistent with the first storage data, the storage data of the second storage area may be assigned to the first storage area. At this time, the data read by the timing controller is the first storage data after the second storage area is assigned to the first storage area, that is, the control signals stored in the memory and other setting data are initially set to generate the corresponding Timing control signals to drive the source driving integrated circuit and the gate driving integrated circuit of the display panel in the display device to work.

本申请存储器的数据读取方法通过根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;并获取时序控制器发送的逻辑地址;在获取的时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与第一存储数据进行比较,并在第一存储区域的存储数据与预设存储数据不一致时,将第二存储区域存储的第一存储数据赋值给第一存储区域,并触发时序控制器读取第二存储区域赋值给第一存储区域后的第一存储数据。本申请有利于避免存储器存储的时序控制数据被干扰信号被改写,或者在存储器进行读写操作时,发生意外掉电,使得存储器内部数据丢失,而使时序控制器读取的时序控制数据有误,导致无法正常驱动显示面板显示画面的现象发生。The data reading method of the present application sets preset storage data according to the storage data stored in the first storage area and the second storage area; and obtains a logical address sent by a timing controller; When the sent logical address is the same as the stored logical address, the stored data of the first storage area is compared with the first stored data, and when the stored data of the first storage area is not consistent with the preset storage data, the second storage area is The stored first storage data is assigned to the first storage area, and the timing controller is triggered to read the first storage data after the second storage area is assigned to the first storage area. This application is beneficial to avoid that the timing control data stored in the memory is rewritten by interference signals, or when the memory is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory to be lost, and the timing control data read by the timing controller being wrong. , Causing the phenomenon that the display screen of the display panel cannot be driven normally.

参照图2,在一可选实施例中,所述在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将所述第一存储区域的存储数据与所述第一存储数据进行比较的步骤具体包括:Referring to FIG. 2, in an optional embodiment, when the obtained logical address sent by the timing controller is the same as the stored logical address, comparing the stored data in the first storage area with the first storage The steps to compare the data include:

步骤S210、根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Step S210: Set a preset checksum according to the storage data stored in the first storage area and the second storage area.

步骤S220、计算所述第一存储区域的校验和,并记为第一检测校验和;Step S220: Calculate a checksum of the first storage area and record the checksum as a first detection checksum;

步骤S230、将所述第一检测校验和与预设校验和进行比较;Step S230: Compare the first checksum with a preset checksum.

步骤S240、在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。Step S240: When the first checksum is inconsistent with the preset checksum, determine that the storage data in the first storage area is inconsistent with the preset storage data.

本实施例中,预设校验和可以是存储器与上位机通讯连接,并通过上位机写入第一存储数据后的获得校验和,也即预设校验和,具体可通过对写入至第一存储区域寄存器或第二存储区域的数值进行加法计算,并取后六位作为预设校验和的值,本实施例的预设校验和以十六进制为数制表示的形式。在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,可以对第一存储区域寄存器的数值进行加法计算,并取后六位作为校验和的值,也即第一检测校验和,当第一存储区域当前存储的数据的校验和,也即第一检测校验和与预设校验不一致时,则可确定第一存储区域的存储数据与第一存储数据不一致,也即第一存储区域当前存储的数据已被改写。In this embodiment, the preset checksum may be a communication connection between the memory and the upper computer, and the checksum obtained after the first computer writes the first stored data, that is, the preset checksum, may be specifically written by Add the value to the first storage area register or the second storage area and add the last six digits as the value of the preset checksum. The preset checksum in this embodiment is in the form of a hexadecimal number system. . When the obtained logical address sent by the timing controller is the same as the stored logical address, the values in the first storage area register may be added and the last six digits taken as the checksum value, that is, the first detection Checksum. When the checksum of the data currently stored in the first storage area, that is, the first detection checksum is inconsistent with the preset checksum, it can be determined that the storage data in the first storage area is inconsistent with the first storage data. That is, the data currently stored in the first storage area has been rewritten.

在一可选实施例中,在所述将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域的步骤之后还包括:In an optional embodiment, after the step of assigning the first storage data stored in the second storage area to the first storage area, the method further includes:

步骤S410、重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Step S410: Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum;

步骤S420、将所述第二检测校验和与预设校验和进行比较;Step S420: Compare the second detection checksum with a preset checksum.

步骤S430、在所述第二检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。Step S430: When the second checksum is consistent with the preset checksum, output a read instruction to trigger the timing controller to communicate with the first storage area for reading by the timing controller. Fetch the storage data assigned to the first storage area by the second storage area.

本实施例中,在第二存储区域赋值给第一存储区域后,可以对第一存储区域寄存器当前所存储的数值进行加法计算,并取后六位作为校验和的值,也即第二检测校验和,当第一存储区域当前存储的数据的校验和预设校验和一致时,则表示第二存储区域赋值给第一存储区域的数值成功,也即当前第一存储区域当前存储的数据为未被改写的第一存储数据。此时时序控制器读取的数据即为第二存储区域赋值给第一存储区域后的存储数据,也即存储在存储器内的控制信号,及其他设定数据进行初始设置,以产生对应的时序控制信号,从而驱动显示装置中的显示面板的源极驱动集成电路及栅极驱动集成电路工作。In this embodiment, after the second storage area is assigned to the first storage area, the value currently stored in the first storage area register may be added and the last six digits taken as the value of the checksum, that is, the second Check the checksum. When the checksum preset checksum of the data currently stored in the first storage area is consistent, it means that the value assigned to the first storage area by the second storage area is successful, that is, the current value of the first storage area is currently The stored data is the first stored data that has not been rewritten. At this time, the data read by the timing controller is the stored data after the second storage area is assigned to the first storage area, that is, the control signals stored in the memory and other setting data are initially set to generate the corresponding timing. The control signal drives the source driving integrated circuit and the gate driving integrated circuit of the display panel in the display device to operate.

在一可选实施例中,所述存储器的数据读取方法还包括:In an optional embodiment, the method for reading data from the memory further includes:

在所述第一检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接时,并供所述时序控制器读取所述第一存储区域的存储数据。When the first checksum is consistent with a preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area and read by the timing controller. Stored data in the first storage area.

本实施例可以对第一存储区域寄存器的数值进行加法计算,并取后六位作为校验和的值,第一检测校验和,当第一存储区域当前存储的数据的校验和预设校验和一致时,则可确定第一存储区域当前存储的存储数据与第一存储数据一致,也第一存储区域当前存储的数据未被改写。此时时序控制器可以读取第一存储区域的存储数据,也即存储在存储器内的控制信号,及其他设定数据进行初始设置,以产生对应的时序控制信号,从而驱动显示装置中的显示面板的源极驱动集成电路及栅极驱动集成电路工作。In this embodiment, the value of the first storage area register can be added and calculated, and the last six digits can be used as the value of the checksum. The first detection checksum is preset as the checksum of the data currently stored in the first storage area. When the checksums are consistent, it can be determined that the currently stored storage data in the first storage area is consistent with the first storage data, and the data currently stored in the first storage area has not been rewritten. At this time, the timing controller can read the storage data of the first storage area, that is, the control signals stored in the memory, and other setting data to perform initial settings to generate corresponding timing control signals, thereby driving the display in the display device. The source driver IC and the gate driver IC of the panel work.

本申请还提出一种显示装置。The present application also proposes a display device.

参照图3和图4,在本申请一实施例中,所述显示装置包括:3 and 4, in an embodiment of the present application, the display device includes:

时序控制器100,被配置为在显示装置上电工作时,发送逻辑地址;The timing controller 100 is configured to send a logical address when the display device is powered on.

本实施例中,显示装置还包括显示面板200,以及驱动显示面板200工作的源极驱动器300、栅极驱动器400,以及驱动电源500,时序控制器100分别与栅极驱动器400、源极驱动器300以及驱动电源500连接,时序控制器100设置为,在显示装置上电工作时,读取存储器600内存储的控制信号及设定信号,以实现初始化,并接收外部电路模块输出的数据信号、控制信号以及时钟信号,转换成适合于栅极驱动器400、源极驱动器300的数据信号、控制信号以及时钟信号,实现液晶面板的图像显示。时序控制器100输出的控制信号包括栅极控制信号和源极控制信号。In this embodiment, the display device further includes a display panel 200, a source driver 300, a gate driver 400, and a driving power source 500 that drive the display panel 200 to work. The timing controller 100 is connected to the gate driver 400 and the source driver 300, respectively. And the driving power supply 500 is connected, and the timing controller 100 is configured to read the control signals and setting signals stored in the memory 600 when the display device is powered on to perform initialization, and receive data signals and control signals output by external circuit modules The signal and the clock signal are converted into data signals, control signals, and clock signals suitable for the gate driver 400 and the source driver 300 to realize the image display of the liquid crystal panel. The control signals output by the timing controller 100 include a gate control signal and a source control signal.

存储器600,设置为存储数据或者信号,该存储器600包括:The memory 600 is configured to store data or signals. The memory 600 includes:

第一存储区域610及第二存储区域620,分别存储有第一存储数据,所述第一存储区域610与所述书序控制器通讯连接;以及,The first storage area 610 and the second storage area 620 respectively store first storage data, and the first storage area 610 is communicatively connected with the book sequence controller; and,

检查器630,被配置为根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;并在获取到的所述时序控制器100发送的逻辑地址与所述存储器600存储的逻辑地址相同时,将所述第一存储区域610的存储数据与预设存储数据进行比较;The checker 630 is configured to set preset storage data according to the storage data stored in the first storage area and the second storage area; and obtain the logical address sent by the timing controller 100 and the obtained logical address. When the logical address stored in the memory 600 is the same, comparing the stored data of the first storage area 610 with preset storage data;

在所述第一存储区域610的存储数据与所述预设存储数据不一致时,触发所述第二存储区域620将存储数据赋值给所述第一存储区域610,并触发所述时序控制器100与所述第一存储区域610通讯连接,供所述时序控制器100读取所述第二存储区域620赋值给所述第一存储区域610的存储数据。When the storage data of the first storage area 610 is inconsistent with the preset storage data, trigger the second storage area 620 to assign the storage data to the first storage area 610 and trigger the timing controller 100 Communicate with the first storage area 610 for the timing controller 100 to read the storage data assigned to the first storage area 610 by the second storage area 620.

本实施例中,存储器600可以是可擦除存储器(Electrically Erasable Programmable read only memory,EEPROM)或闪存器Flash,存储器里存储的数据即使掉电之后也能保存,所以会将时序控制器的控制程序储存在可擦除存储器或闪存器中。存储器600的存储区域可以分设成两个或者两个以上,本实施例可选为两个,且分别为第一存储区域610和第二存储区域620。第一存储区域610和第二存储区域620可以采用寄存器等电路模块来实现。有相同的在对存储器600进行数据写入时,在第一存储区域610和第二存储区域620有相同的存储数据,本实施例将该写入的存储数据定义为第一存储数据,该第一存储数据也即为供时序控制器100进行初始化的控制信号及其他设定数据,该第一存储数据通过上位机写入。在写入后,需要对第一存储数据进行写保护,以保证在非程序更新的情况下,存储器600内的数据不被改写。本实施例中,该预设存储数据可以设置为第一存储数据,也即通过上位机写入至第一存储区域和第二存储区域存储的相同存储数据。时序控制器100与存储器600的第一存储区域610内的寄存器通讯连接,且配置为仅读取第一存储区域610的数据,而不读取第二存储区域620的数据,如此设置,可以防止意外掉电丢失两个存储区域的数据。In this embodiment, the memory 600 may be an electrically erasable memory (Electrically Erasable Programmable read only memory, EEPROM) or flash memory. The data stored in the memory can be saved even after power failure, so the control program of the timing controller is stored in the erasable memory or flash memory. The storage area of the memory 600 may be divided into two or more. In this embodiment, two storage areas may be selected, and they are a first storage area 610 and a second storage area 620, respectively. The first storage area 610 and the second storage area 620 may be implemented by using a circuit module such as a register. When the data is written to the memory 600, the same storage data is stored in the first storage area 610 and the second storage area 620. This embodiment defines the written storage data as the first storage data. A stored data is a control signal and other setting data for initialization of the timing controller 100. The first stored data is written by a host computer. After writing, the first storage data needs to be write-protected to ensure that the data in the memory 600 cannot be rewritten in the case of non-program update. In this embodiment, the preset storage data may be set as the first storage data, that is, the same storage data stored in the first storage area and the second storage area by the upper computer. The timing controller 100 is communicatively connected to a register in the first storage area 610 of the memory 600, and is configured to read only the data of the first storage area 610, but not the data of the second storage area 620. This setting prevents Accidental power loss loses data in both storage areas.

在获取的所述时序控制器100发送的逻辑地址与存储的逻辑地址相同或者匹配时,控制存储器600的第一存储区域610内的寄存器与时序控制器100通讯连接,此时将第一存储区域610当前的存储数据与第一存储数据进行比对,以防止第一存储区域610的存储数据可能因为存储器600与时序控制器100的I2C总线上的寄生电容、阻抗产生的干扰信号窜入至的第一存储区域610,而导致第一存储区域610的存储数据被改写,时序控制器100读取被改写的存储数据,而使时序控制器100无法正常驱动显示面板200显示画面。When the obtained logical address sent by the timing controller 100 is the same as or matches the stored logical address, the register in the first storage area 610 of the control memory 600 is communicatively connected with the timing controller 100, and the first storage area is now connected. The current stored data of 610 is compared with the first stored data to prevent the stored data of the first storage area 610 from being disturbed by interference signals generated by the parasitic capacitance and impedance on the I2C bus of the memory 600 and the timing controller 100. The first storage area 610 causes the stored data in the first storage area 610 to be rewritten, and the timing controller 100 reads the rewritten storage data, so that the timing controller 100 cannot normally drive the display panel 200 to display a screen.

本实施例中,检查器630检测第一存储区域610的数据是否被改写,若在第一存储区域610的存储数据被改写,而导致第一存储区域610的存储数据与所述预设存储数据不一致时,可以控制第二存储区域620将存储的存储数据赋值给第一存储区域610。若未被改写,则可以触发时序控制器100读取第一存储区域610后的第一存储数据,也即存储在存储器600内的控制信号,及其他设定数据进行初始设置,以产生对应的时序控制信号,从而驱动显示装置中的显示面板200的源极驱动集成电路及栅极驱动集成电路工作。In this embodiment, the checker 630 detects whether the data in the first storage area 610 is rewritten. If the data stored in the first storage area 610 is rewritten, the stored data in the first storage area 610 and the preset storage data are caused. When they are not consistent, the second storage area 620 may be controlled to assign the stored storage data to the first storage area 610. If it is not rewritten, the timing controller 100 may be triggered to read the first storage data after the first storage area 610, that is, the control signals stored in the memory 600 and other setting data are initially set to generate corresponding The timing control signals drive the source driving integrated circuit and the gate driving integrated circuit of the display panel 200 in the display device to operate.

本申请显示装置通过在存储器600内设置检查器630,以根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据,并获取时序控制器100发送的逻辑地址;在获取的时序控制器100发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域610的存储数据与预设存储数据进行比较,并在第一存储区域610的存储数据与第一存储数据不一致时,将第二存储区域620存储的第一存储数据赋值给第一存储区域610,并触发时序控制器100读取第二存储区域620赋值给第一存储区域610后的存储数据。本申请有利于避免存储器600存储的时序控制数据被干扰信号被改写,或者在存储器600进行读写操作时,发生意外掉电,使得存储器600内部数据丢失,而使时序控制器100读取的时序控制数据有误,导致无法正常驱动显示面板200显示画面的现象发生。The display device of the present application sets a checker 630 in the memory 600 to set preset storage data according to the storage data stored in the first storage area and the second storage area, and obtain a logical address sent by the timing controller 100 ; When the obtained logical address sent by the timing controller 100 is the same as the stored logical address, compare the stored data of the first storage area 610 with the preset storage data, and store the stored data in the first storage area 610 with the first When the stored data is inconsistent, the first storage data stored in the second storage area 620 is assigned to the first storage area 610, and the timing controller 100 is triggered to read the storage data after the second storage area 620 is assigned to the first storage area 610. This application is beneficial to avoid that the timing control data stored in the memory 600 is rewritten by interference signals, or when the memory 600 is performing read and write operations, an unexpected power failure occurs, causing the internal data of the memory 600 to be lost, and the timing read by the timing controller 100. The control data is incorrect, which causes the phenomenon that the display screen of the display panel 200 cannot be driven normally.

参照图3和图4,在一可选实施例中,所述检查器630具体被配置为:Referring to FIG. 3 and FIG. 4, in an optional embodiment, the checker 630 is specifically configured to:

根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area;

计算所述第一存储区域610的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area 610 and recording the checksum as a first detection checksum;

将所述第一检测校验和与预设校验和进行比较;以及,Comparing the first detection checksum with a preset checksum; and,

在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域610的存储数据与所述预设存储数据不一致。When the first checksum is inconsistent with the preset checksum, it is determined that the stored data in the first storage area 610 is inconsistent with the preset stored data.

本实施例中,检查器630可以通过上位机写入第一存储数据后的获得校验和,也即预设校验和,具体可通过对写入至第一存储区域寄存器或第二存储区域的数值进行加法计算,并取后六位作为预设校验和的值,本实施例的预设校验和以十六进制为数制表示的形式。在获取的所述时序控制器100发送的逻辑地址与存储的逻辑地址相同时,可以对第一存储区域610寄存器的数值进行加法计算,并取后六位作为校验和的值,也即第一检测校验和,当第一存储区域610当前存储的数据的校验和,也即第一检测校验和与预设校验不一致时,则可确定第一存储区域的存储数据与预设存储数据不一致,也即第一存储区域当前存储的数据已被改写。In this embodiment, the checker 630 can obtain the checksum after the first computer writes the first stored data, that is, the preset checksum, which can be specifically written to the first storage area register or the second storage area. The numerical values of are added and calculated, and the last six digits are taken as the value of the preset checksum. The preset checksum in this embodiment is in the form of a hexadecimal number system. When the obtained logical address sent by the timing controller 100 is the same as the stored logical address, the values in the first storage area 610 register may be added and the last six digits taken as the checksum value, that is, the first A detection checksum. When the checksum of the data currently stored in the first storage area 610, that is, the first detection checksum is inconsistent with the preset check, the stored data of the first storage area and the preset can be determined. The stored data is inconsistent, that is, the data currently stored in the first storage area has been rewritten.

参照图3和图4,在一可选实施例中,在所述检查器630还被配置为:Referring to FIG. 3 and FIG. 4, in an optional embodiment, the checker 630 is further configured to:

重新计算所述第一存储区域610赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area 610 is assigned, and record it as the second detection checksum;

将所述第二检测校验和与预设校验和进行比较;以及Comparing the second detection checksum with a preset checksum; and

在所述第二检测校验和与预设校验和一致时,输出读取指令,并触发所述时序控制器与所述第一存储区域610通讯连接,供所述时序控制器读取所述第二存储区域620赋值给所述第一存储区域610的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output, and the timing controller is triggered to communicate with the first storage area 610 for communication, so that the timing controller can read all The second storage area 620 is assigned to the storage data of the first storage area 610.

本实施例中,检查器630可以在第二存储区域620赋值给第一存储区域610后,可以对第一存储区域610寄存器当前所存储的数值进行加法计算,并取后六位作为校验和的值,也即第二检测校验和,当第一存储区域610当前存储的数据的校验和预设校验和一致时,则表示第二存储区域620赋值给第一存储区域610的数值成功,也即当前第一存储区域610当前存储的数据为未被改写的第一存储数据。In this embodiment, after the checker 630 is assigned to the first storage area 610 in the second storage area 620, the checker 630 may perform addition calculation on the values currently stored in the first storage area 610 register and take the last six digits as the checksum. Value of the first storage area 610 when the checksum preset checksum of the data currently stored in the first storage area 610 is the same Success, that is, the data currently stored in the first storage area 610 is the first stored data that has not been rewritten.

参照图3和图4,在一可选实施例中,所述显示装置还包括连接器(图未示出)及I2C(Inter-Integrated Circuit)通讯总线,所述存储器通过所述I2C通讯总线与所述时序控制器通讯连接,所述存储器还通过所述连接器及I2C通讯总线与上位机连接。Referring to FIG. 3 and FIG. 4, in an optional embodiment, the display device further includes a connector (not shown) and I2C (Inter-Integrated Circuit) communication bus, the memory is communicatively connected to the timing controller through the I2C communication bus, and the memory is also connected to a host computer through the connector and the I2C communication bus.

本实施例中,连接器可以是双边连接器,通过连接器及I2C通讯总线可以实现存储器与时序控制器、上位机的通讯连接,同时还可以实现时序控制器与外部控制器,例如显示装置的主控板上的主控制器等通讯连接,以接收相应的控制信号及数据信号,从而驱动显示面板的显示相应的画面。In this embodiment, the connector may be a bilateral connector. Through the connector and the I2C communication bus, the communication connection between the memory and the timing controller and the upper computer can be realized. At the same time, the timing controller and an external controller such as a display device The main controller on the main control board and other communication connections to receive corresponding control signals and data signals, thereby driving the display panel to display the corresponding screen.

本申请还提出一种计算机可读存储介质,其上存储有存储器的数据读取程序,该存储器的数据读取程序被处理器执行时实现如上所述的存储器的数据读取方法。The present application also proposes a computer-readable storage medium on which a data reading program of a memory is stored. When the data reading program of the memory is executed by a processor, the data reading method of the memory as described above is implemented.

如图5所示,图5是本申请实施例方案涉及的硬件运行环境的终端,即存储器的数据读取装置的结构示意图。As shown in FIG. 5, FIG. 5 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of the embodiment of the present application, that is, a data reading device of a memory.

本申请实施例终端可以是服务器、PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。In the embodiment of the present application, the terminal may be a server, a PC, or a smart phone, a tablet computer, an e-book reader, or MP3 (Moving Picture Experts Group Audio Layer III, standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 3) Mobile terminal devices with display functions such as players, portable computers.

如图5所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002设置为实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 5, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is configured to implement connection and communication between these components. The user interface 1003 may include a display, an input unit such as a keyboard, and the optional user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage. The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.

本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.

参照图5,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及存储器的数据读取程序。Referring to FIG. 5, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data reading program of the memory.

在图5所示的终端中,网络接口1004主要设置为连接后台服务器,与后台服务器进行数据通信;用户接口1003主要设置为连接客户端(用户端),与客户端进行数据通信;而处理器1001可以设置为调用存储器1005中存储的存储器的数据读取程序,并执行如上所述的存储器的数据读取的各实施例的方法步骤。In the terminal shown in FIG. 5, the network interface 1004 is mainly configured to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly configured to connect to the client (user) and perform data communication with the client; and the processor 1001 may be configured to call a data reading program of a memory stored in the memory 1005 and execute the method steps of the embodiments of data reading of the memory as described above.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,显示装置或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM) as described above. , Magnetic disk, optical disc), including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a display device, or a network device, etc.) to execute the methods described in the embodiments of the present application.

以上所述仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是在本申请的申请构思下,利用本申请说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本申请的专利保护范围内。The above description is only an optional embodiment of the present application, and thus does not limit the patent scope of the present application. Any equivalent structural transformation made by using the specification and drawings of the present application under the concept of the application of the present application, or direct / indirect Applications in other related technical fields are covered by the patent protection scope of this application.

Claims (18)

一种存储器的数据读取方法,应用于显示装置中,所述显示装置包括:A method for reading data from a memory is applied to a display device. The display device includes: 时序控制器;Timing controller 存储器,设置为存储数据或信号,所述存储器包括存储有相同存储数据的第一存储区域及第二存储区域,所述第一存储区域与时序控制器电连接,其中,所述存储器的数据读取方法包括以下步骤:A memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area is electrically connected to the timing controller, wherein data in the memory is read The extraction method includes the following steps: 根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;Setting preset storage data according to storage data stored in the first storage area and the second storage area; 获取时序控制器发送的逻辑地址;Get the logical address sent by the timing controller; 在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与所述预设存储数据进行比较;以及Comparing the stored data in the first storage area with the preset storage data when the obtained logical address sent by the timing controller is the same as the stored logical address; and 在所述第一存储区域的存储数据与所述预设存储数据不一致时,将所述第二存储区域存储的存储数据赋值给所述第一存储区域,并触发所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the storage data in the first storage area is inconsistent with the preset storage data, assigning the storage data stored in the second storage area to the first storage area, and triggering the timing controller to read all data The second storage area is assigned to the storage data of the first storage area. 如权利要求1所述的存储器的数据读取方法,其中,所述在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将所述第一存储区域的存储数据与预设存储数据进行比较的步骤具体包括:The method for reading data from a memory according to claim 1, wherein, when the obtained logical address sent by the timing controller is the same as the stored logical address, the stored data in the first storage area is The steps for comparing stored data include: 根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area; 计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum; 将所述第一检测校验和与所述预设校验和进行比较;以及Comparing the first checksum with the preset checksum; and 在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data. 如权利要求2所述的存储器的数据读取方法,其中,在所述将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域的步骤之后还包括:The method for reading data from a memory according to claim 2, wherein after the step of assigning the first storage data stored in the second storage area to the first storage area, further comprising: 重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum; 将所述第二检测校验和与预设校验和进行比较;以及Comparing the second detection checksum with a preset checksum; and 在所述第二检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller. The second storage area is assigned to the storage data of the first storage area. 如权利要求2所述的存储器的数据读取方法,其中,所述存储器的数据读取方法还包括:The method for reading data from a memory according to claim 2, wherein the method for reading data from the memory further comprises: 在所述第一检测校验和与所述预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接时,并供所述时序控制器读取所述第一存储区域的存储数据。When the first checksum is consistent with the preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area. 一种显示装置,其中,所述显示装置包括:A display device, wherein the display device includes: 时序控制器,被配置为在显示装置上电工作时,发送逻辑地址;The timing controller is configured to send a logical address when the display device is powered on. 存储器,设置为存储数据或信号,所述存储器包括:A memory configured to store data or signals, the memory including: 第一存储区域及第二存储区域,存储有相同的存储数据,所述第一存储区域与所述书序控制器通讯连接;以及,The first storage area and the second storage area store the same storage data, and the first storage area is communicatively connected with the book sequence controller; and, 检查器,被配置为根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;An inspector configured to set preset storage data according to storage data stored in the first storage area and the second storage area; 在获取到的所述时序控制器发送的逻辑地址与所述存储器存储的逻辑地址相同时,将所述第一存储区域的存储数据与所述预设存储数据进行比较;在所述第一存储区域的存储数据与所述预设存储数据不一致时,触发所述第二存储区域将存储的数据赋值给所述第一存储区域,并触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the obtained logical address sent by the timing controller is the same as the logical address stored in the memory, comparing the stored data in the first storage area with the preset storage data; in the first storage, When the stored data in the area is inconsistent with the preset stored data, triggering the second storage area to assign the stored data to the first storage area, and triggering the timing controller to communicate with the first storage area for communication For the timing controller to read the storage data assigned by the second storage area to the first storage area. 如权利要求5所述的显示装置,其中,所述检查器具体被配置为:The display device according to claim 5, wherein the inspector is specifically configured to: 根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area; 计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum; 将所述第一检测校验和与所述预设校验和进行比较;以及Comparing the first checksum with the preset checksum; and 在所述第一检测校验和与所述预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data. 如权利要求5所述的显示装置,其中,在所述检查器还被配置为:The display device according to claim 5, wherein the inspector is further configured to: 重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum; 将所述第二检测校验和与预设校验和进行比较;以及,Comparing the second detection checksum with a preset checksum; and, 在所述第二检测校验和与预设校验和一致时,输出读取指令,并触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output, and the timing controller is triggered to communicate with the first storage area for the timing controller to read the The second storage area is assigned to the storage data of the first storage area. 如权利要求5所述的显示装置,其中,所述显示装置还包括连接器及串行通讯总线,所述存储器通过所述串行通讯总线与所述时序控制器通讯连接,所述存储器还通过所述连接器及串行通讯总线与上位机连接。The display device according to claim 5, wherein the display device further comprises a connector and a serial communication bus, the memory is communicatively connected to the timing controller through the serial communication bus, and the memory is further connected through The connector and the serial communication bus are connected to a host computer. 如权利要求8所述的显示装置,其中,所述串行通讯总线为I2C通讯总线。The display device according to claim 8, wherein the serial communication bus is an I2C communication bus. 如权利要求8所述的显示装置,其中,所述连接器为双边连接器。The display device according to claim 8, wherein the connector is a double-sided connector. 如权利要求5所述的显示装置,其中,所述存储器为可擦除存储器或者闪存器。The display device according to claim 5, wherein the memory is an erasable memory or a flash memory. 如权利要求5所述的显示装置,其中,所述显示装置还包括显示面板,以及驱动所述显示面板工作的源极驱动器、栅极驱动器及驱动电源;The display device according to claim 5, wherein the display device further comprises a display panel, and a source driver, a gate driver, and a driving power source for driving the display panel to work; 所述时序控制器分别与所述栅极驱动器、所述源极驱动器以及所述驱动电源连接。The timing controller is connected to the gate driver, the source driver, and the driving power source, respectively. 如权利要求12所述的显示装置,其中,所述时序控制器,设置为在显示装置上电工作时,读取存储器内存储的控制信号及设定信号,以实现初始化,并接收外部电路模块输出的数据信号、控制信号以及时钟信号,转换成适合于所述栅极驱动器、所述源极驱动器的数据信号、控制信号以及时钟信号,实现液晶面板的图像显示。The display device according to claim 12, wherein the timing controller is configured to read a control signal and a setting signal stored in the memory when the display device is powered on to perform initialization and receive an external circuit module The output data signal, control signal, and clock signal are converted into data signals, control signals, and clock signals suitable for the gate driver and the source driver, thereby realizing the image display of the liquid crystal panel. 如权利要求13所述的显示装置,其中,所述时序控制器输出的控制信号包括栅极控制信号和源极控制信号。The display device according to claim 13, wherein the control signals output by the timing controller include a gate control signal and a source control signal. 一种计算机可读存储介质,存储有存储器的数据读取程序,其中,该存储器的数据读取程序被处理器执行时实现所述存储器的数据读取方法;所述存储器的数据读取方法应用于显示装置中,所述显示装置包括:A computer-readable storage medium storing a data reading program of a memory, wherein when the data reading program of the memory is executed by a processor, the data reading method of the memory is implemented; the data reading method of the memory is applied In the display device, the display device includes: 时序控制器;Timing controller 存储器,设置为存储数据或信号,所述存储器包括存储有相同存储数据的第一存储区域及第二存储区域,所述第一存储区域与时序控制器电连接,所述存储器的数据读取方法包括以下步骤:A memory configured to store data or signals, the memory including a first storage area and a second storage area storing the same storage data, the first storage area being electrically connected to a timing controller, and a data reading method of the memory It includes the following steps: 根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设存储数据;Setting preset storage data according to storage data stored in the first storage area and the second storage area; 获取时序控制器发送的逻辑地址;Get the logical address sent by the timing controller; 在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将第一存储区域的存储数据与所述预设存储数据进行比较;以及Comparing the stored data in the first storage area with the preset storage data when the obtained logical address sent by the timing controller is the same as the stored logical address; and 在所述第一存储区域的存储数据与所述预设存储数据不一致时,将所述第二存储区域存储的存储数据赋值给所述第一存储区域,并触发所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the storage data in the first storage area is inconsistent with the preset storage data, assigning the storage data stored in the second storage area to the first storage area, and triggering the timing controller to read all data The second storage area is assigned to the storage data of the first storage area. 如权利要求15所述的计算机可读存储介质,其中,所述在获取的所述时序控制器发送的逻辑地址与存储的逻辑地址相同时,将所述第一存储区域的存储数据与预设存储数据进行比较的步骤具体包括:The computer-readable storage medium according to claim 15, wherein, when the obtained logical address sent by the timing controller is the same as the stored logical address, the stored data in the first storage area is preset with the preset data. The steps of storing data for comparison include: 根据存储在所述第一存储区域和所述第二存储区域的存储数据设置预设校验和;Setting a preset checksum according to the stored data stored in the first storage area and the second storage area; 计算所述第一存储区域的校验和,并记为第一检测校验和;Calculating a checksum of the first storage area, and recording the checksum as a first detection checksum; 将所述第一检测校验和与所述预设校验和进行比较;Comparing the first checksum with the preset checksum; 在所述第一检测校验和与预设校验和不一致时,则确定所述第一存储区域的存储数据与所述预设存储数据不一致。When the first detection checksum is inconsistent with the preset checksum, it is determined that the storage data of the first storage area is inconsistent with the preset storage data. 如权利要求15所述的计算机可读存储介质,其中,在所述将所述第二存储区域存储的第一存储数据赋值给所述第一存储区域的步骤之后还包括:The computer-readable storage medium of claim 15, wherein after the step of assigning the first storage data stored in the second storage area to the first storage area, further comprising: 重新计算所述第一存储区域赋值后的存储数据,并记为第二检测校验和;Recalculate the stored data after the first storage area is assigned, and record it as the second detection checksum; 将所述第二检测校验和与预设校验和进行比较;以及Comparing the second detection checksum with a preset checksum; and 在所述第二检测校验和与预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接,供所述时序控制器读取所述第二存储区域赋值给所述第一存储区域的存储数据。When the second checksum is consistent with a preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area for reading by the timing controller. The second storage area is assigned to the storage data of the first storage area. 如权利要求15所述的计算机可读存储介质,其中,所述存储器的数据读取方法还包括:The computer-readable storage medium of claim 15, wherein the data reading method of the memory further comprises: 在所述第一检测校验和与所述预设校验和一致时,输出读取指令,以触发所述时序控制器与所述第一存储区域通讯连接时,并供所述时序控制器读取所述第一存储区域的存储数据。When the first checksum is consistent with the preset checksum, a read instruction is output to trigger the timing controller to communicate with the first storage area and provide the timing controller with Reading the stored data of the first storage area.
PCT/CN2018/119148 2018-09-30 2018-12-04 Data reading method for memory, display apparatus, and computer readable storage medium Ceased WO2020062554A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811165376.2 2018-09-30
CN201811165376.2A CN109388345B (en) 2018-09-30 2018-09-30 Data reading method of memory, display device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2020062554A1 true WO2020062554A1 (en) 2020-04-02

Family

ID=65419301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/119148 Ceased WO2020062554A1 (en) 2018-09-30 2018-12-04 Data reading method for memory, display apparatus, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109388345B (en)
WO (1) WO2020062554A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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, its driving method, and driving system
CN111913883A (en) 2020-07-28 2020-11-10 惠科股份有限公司 Display panel, code reading method, and computer-readable storage medium
CN113098490A (en) * 2021-03-12 2021-07-09 山东英信计算机技术有限公司 System, method and server for dynamically modifying power supply time sequence
TWI774272B (en) * 2021-03-15 2022-08-11 瑞昱半導體股份有限公司 Image display system, image processor circuit, and panel driving method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667393A (en) * 2008-09-01 2010-03-10 元太科技工业股份有限公司 Display method applied to electrophoretic display device and electrophoretic display device
CN101930713A (en) * 2009-06-18 2010-12-29 联咏科技股份有限公司 Memory architecture of display device and reading method thereof
CN102129828A (en) * 2010-01-18 2011-07-20 冠捷科技(北京)有限公司 Display device identification data recording method
CN103345434A (en) * 2013-06-26 2013-10-09 京东方科技集团股份有限公司 Data backup method and device of display device
US20160358591A1 (en) * 2015-06-03 2016-12-08 Au Optronics Corp. Timing controller of display apparatus and operation method thereof
CN107342065A (en) * 2017-08-31 2017-11-10 惠科股份有限公司 Display device driving method, driving device and display device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950248A (en) * 2010-10-12 2011-01-19 冠捷显示科技(厦门)有限公司 Method for improving display software data storage structure and structure thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667393A (en) * 2008-09-01 2010-03-10 元太科技工业股份有限公司 Display method applied to electrophoretic display device and electrophoretic display device
CN101930713A (en) * 2009-06-18 2010-12-29 联咏科技股份有限公司 Memory architecture of display device and reading method thereof
CN102129828A (en) * 2010-01-18 2011-07-20 冠捷科技(北京)有限公司 Display device identification data recording method
CN103345434A (en) * 2013-06-26 2013-10-09 京东方科技集团股份有限公司 Data backup method and device of display device
US20160358591A1 (en) * 2015-06-03 2016-12-08 Au Optronics Corp. Timing controller of display apparatus and operation method thereof
CN107342065A (en) * 2017-08-31 2017-11-10 惠科股份有限公司 Display device driving method, driving device and display device

Also Published As

Publication number Publication date
CN109388345B (en) 2022-04-01
CN109388345A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
WO2020062554A1 (en) Data reading method for memory, display apparatus, and computer readable storage medium
WO2020062551A1 (en) Display-panel driving circuit and display device
WO2014189275A1 (en) Apparatus and method of recognizing external device in a communication system
WO2015102440A1 (en) Charging method and charging apparatus for electronic device
WO2018151505A1 (en) Electronic device and method for displaying screen thereof
WO2017164585A1 (en) Electronic device and control method thereof
WO2014204047A1 (en) Foldable display device and method of controlling therefor
WO2019050235A1 (en) Electronic device including inactive area
WO2018076865A1 (en) Data sharing method, device, storage medium, and electronic device
WO2020190028A1 (en) Electronic device, method, and computer-readable medium for displaying screen in deformable display panel
WO2019059671A1 (en) Electronic device and control method thereof
WO2019039851A1 (en) Method for establishing connection to external device via usb interface, and electronic device therefor
WO2019124908A1 (en) Electronic device and method for controlling touch sensor controller on basis of image synchronization signal
WO2019039739A1 (en) Display apparatus and control method thereof
WO2020251192A1 (en) Electronic device and method of utilizing storage space thereof
WO2019160347A1 (en) Touch input processing method and electronic device supporting same
WO2013002547A2 (en) Portable terminal capable of docking with an external device and method for controlling same
WO2021118206A1 (en) Foldable electronic device for detecting defective region and method thereof
WO2018026164A1 (en) Method of processing touch events and electronic device adapted thereto
EP3698352A1 (en) Display device and method for controlling independently by a group of pixels
WO2021162286A1 (en) Electronic device and method for recognizing audio output device connected to usb type-c connector
WO2014092310A1 (en) Electronic apparatus, and method of controlling the same
WO2020093529A1 (en) Protection circuit for memory in display panel and display panel
WO2019103450A1 (en) Electronic device and method for managing data input into input field
WO2020091530A1 (en) Method and device for determining compensation for touch data on basis of operating mode of display

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: 18935075

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: 18935075

Country of ref document: EP

Kind code of ref document: A1