[go: up one dir, main page]

CN105022589A - Electronic device and operation method thereof - Google Patents

Electronic device and operation method thereof Download PDF

Info

Publication number
CN105022589A
CN105022589A CN201410177348.8A CN201410177348A CN105022589A CN 105022589 A CN105022589 A CN 105022589A CN 201410177348 A CN201410177348 A CN 201410177348A CN 105022589 A CN105022589 A CN 105022589A
Authority
CN
China
Prior art keywords
microcontroller
dynamic ram
electronic installation
read
instruction
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.)
Pending
Application number
CN201410177348.8A
Other languages
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.)
Lite On Technology Corp
Original Assignee
Lite On Technology Corp
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 Lite On Technology Corp filed Critical Lite On Technology Corp
Priority to CN201410177348.8A priority Critical patent/CN105022589A/en
Publication of CN105022589A publication Critical patent/CN105022589A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

An electronic device comprises a microcontroller, a nonvolatile memory, a dynamic random access memory, an image processing unit, a cache and an interface switching unit. The non-volatile memory is used for storing instructions used by the microcontroller. The dynamic random access memory is used for storing image data and loading the instruction of the microcontroller after the electronic device is started. The image processing unit is coupled to the DRAM for accessing image data. The cache is coupled to the microcontroller. The interface switching unit is coupled to the cache, the nonvolatile memory and the dynamic random access memory. When the microcontroller fails to successfully read instructions from the cache, the interface switching unit dynamically switches to cause the microcontroller to read instructions from the non-volatile memory or to read instructions from the dynamic random access memory.

Description

电子装置及其操作方法Electronic device and method of operation thereof

技术领域technical field

本发明是有关于一种电子装置,且特别是有关于一种图像处理的电子装置。The present invention relates to an electronic device, and in particular to an electronic device for image processing.

背景技术Background technique

随着科技发展以及可携式电子产品日新月异,图像处理已经是现在大部份电子产品中不可或缺的技术,不论是在平板计算机、移动电话或是投影装置中,皆需通过图像处理方式以显示图像。通过将图像数据储存于存储器中,并以读取和写入存储器的方式,以进行相关的图像处理。With the development of technology and the rapid development of portable electronic products, image processing has become an indispensable technology in most electronic products. Whether it is in a tablet computer, a mobile phone or a projection device, image processing is required to Display the image. The image data is stored in the memory, and related image processing is performed by reading and writing the memory.

然而,随着对于画面分辨率的要求提升,对存储器读取和写入的频率以及数据量逐渐增加。以720p且分辨率为60的图像为例,一秒钟有60张画面,每一张画面有1080x720个像素,每个像素有红绿蓝3个颜色的子像素,对存储器的存取量相当庞大。当对存储器存取图像数据时,若微控制器此时需从存储器读取数据,即可能造成存储器频宽不足以负荷的问题,会导致数据遗失,使用者将会观看到画面抖动或是发生破图的现象。However, as the requirements for picture resolution increase, the frequency of reading and writing to the memory and the amount of data gradually increase. Taking a 720p image with a resolution of 60 as an example, there are 60 pictures per second, each picture has 1080x720 pixels, each pixel has three sub-pixels of red, green and blue, and the amount of access to the memory is equivalent huge. When accessing image data to the memory, if the microcontroller needs to read data from the memory at this time, it may cause the problem that the bandwidth of the memory is not enough to load, which will lead to data loss, and the user will watch the screen jitter or occur. The phenomenon of breaking the picture.

因此,如何解决当存储器频宽不足时发生的画面抖动破图问题,乃目前业界所致力的课题之一。Therefore, how to solve the problem of image jitter and broken images when the bandwidth of the memory is insufficient is one of the topics that the industry is currently working on.

发明内容Contents of the invention

本发明是有关于一种电子装置及其操作方法。The invention relates to an electronic device and its operating method.

根据本发明的第一方面,提出一种电子装置,包括微控制器、非易失性存储器、动态随机存取存储器、图像处理单元、高速缓存、接口切换单元。非易失性存储器用以储存微控制器所使用的指令。动态随机存取存储器用以储存图像数据,并于电子装置启动后,从非易失性存储器加载微控制器的指令。图像处理单元耦接至动态随机存取存储器,用以存取图像数据。高速缓存耦接至微控制器。接口切换单元,耦接至高速缓存、非易失性存储器及动态随机存取存储器。当微控制器需读取指令时,微控制器优先从高速缓存读取指令,当微控制器无法成功地从高速缓存读取指令时,接口切换单元动态地切换,使微控制器从非易失性存储器读取指令或从动态随机存取存储器读取指令。微控制器从动态随机存取存储器读取过的指令是储存于高速缓存中。According to a first aspect of the present invention, an electronic device is provided, including a microcontroller, a non-volatile memory, a dynamic random access memory, an image processing unit, a cache, and an interface switching unit. Non-volatile memory is used to store instructions used by the microcontroller. The DRAM is used to store image data, and after the electronic device is started, the instructions of the microcontroller are loaded from the non-volatile memory. The image processing unit is coupled to the DRAM for accessing image data. A cache is coupled to the microcontroller. The interface switching unit is coupled to the cache, the non-volatile memory and the dynamic random access memory. When the microcontroller needs to read instructions, the microcontroller reads instructions from the cache first. When the microcontroller cannot successfully read instructions from the cache, the interface switching unit switches dynamically, so that the microcontroller is not easy to read. A volatile memory read instruction or a DRAM read instruction. The instructions read by the microcontroller from the DRAM are stored in the cache memory.

根据本发明的另一方面,提出一种电子装置的操作方法,包括:以非易失性存储器储存微控制器所使用的指令;以动态随机存取存储器储存图像数据,并于电子装置启动后从非易失性存储器加载微控制器的指令;以图像单元存取图像数据;以及当微控制器需读取指令时,微控制器优先从高速缓存读取指令,当微控制器无法成功地从高速缓存读取指令时,以接口切换单元动态地切换,使微控制器从非易失性存储器读取指令或从动态随机存取存储器读取指令;其中,微控制器从动态随机存取存储器读取过的指令是储存于高速缓存中。According to another aspect of the present invention, a method for operating an electronic device is proposed, including: storing instructions used by a microcontroller with a non-volatile memory; storing image data with a dynamic random access memory, and storing the image data after the electronic device is started Load the instruction of the microcontroller from the non-volatile memory; access the image data with the image unit; and when the microcontroller needs to read the instruction, the microcontroller preferentially reads the instruction from the cache, and when the microcontroller cannot succeed When reading instructions from the cache, use the interface switching unit to dynamically switch, so that the microcontroller reads instructions from the non-volatile memory or reads instructions from the dynamic random access memory; wherein, the microcontroller reads instructions from the dynamic random access memory Instructions that have been fetched from memory are stored in cache memory.

为了对本发明的上述及其它方面有更佳的了解,下文特举较佳实施例,并配合所附图式,作详细说明如下。In order to have a better understanding of the above and other aspects of the present invention, preferred embodiments will be described in detail below together with the accompanying drawings.

附图说明Description of drawings

图1绘示依照本发明实施例的电子装置的示意图。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention.

图2绘示依照本发明另一实施例的电子装置的示意图。FIG. 2 is a schematic diagram of an electronic device according to another embodiment of the present invention.

[标号说明][Description of labels]

10、12:电子装置        100:微控制器10, 12: Electronic device 100: Microcontroller

102:非易失性存储器     104:动态随机存取存储器102: Non-volatile memory 104: Dynamic random access memory

106:图像处理单元       108:高速缓存106: Image processing unit 108: Cache

110:接口切换单元       112:存储器控制单元110: Interface switching unit 112: Memory control unit

114:总线114: bus

具体实施方式Detailed ways

于图像处理装置中,动态随机存取存储器(Dynamic Random AccessMemory,DRAM)用以储存图像数据。例如在一个投影装置中,当图像数据输入时,会不断地将数据写入DRAM,而当输出图像数据时,则需不断地读取DRAM。In an image processing device, a dynamic random access memory (Dynamic Random Access Memory, DRAM) is used to store image data. For example, in a projection device, when image data is input, data is continuously written into the DRAM, and when image data is output, the DRAM needs to be continuously read.

然而,DRAM亦用以储存微控制器(microcontroller)执行所需的指令(instruction),因此于装置操作的过程中,微控制器亦需要对DRAM进行存取。由于图像数据的特性,对于DRAM是以连续性地址的方式进行存取,且图像接收以及图像播放经常有实时(real time)的需求。若是当DRAM正在进行大量图像数据的连续地址存取时,微控制器需从DRAM读取指令,即插入打断了原本的连续地址存取,使得必须跳至DRAM较远的地址,则可能导致DRAM频宽不足以负荷,DRAM的存取速度跟不上实时播放的需求,造成画面破图的现象。However, the DRAM is also used to store instructions required by a microcontroller (microcontroller), so the microcontroller also needs to access the DRAM during the operation of the device. Due to the characteristics of image data, DRAM is accessed in the form of continuous addresses, and image reception and image playback often have real-time (real time) requirements. If the microcontroller needs to read instructions from the DRAM when the DRAM is performing continuous address access of a large amount of image data, that is, the insertion interrupts the original continuous address access, making it necessary to jump to a farther address in the DRAM, which may cause The bandwidth of DRAM is not enough for the load, and the access speed of DRAM cannot keep up with the demand of real-time playback, resulting in broken images.

为解决上述问题,在微控制器以及DRAM之间,增加一个阶层的存储器,称作高速缓存(cache memory)。微控制器从DRAM读取过的指令,是储存于高速缓存中,即以高速缓存暂存微控制器经常使用的数据。当之后微控制器需要读取指令时,优先从高速缓存读取,若是已存在于高速缓存中,即可以成功读取(cache hit),而无需对DRAM进行存取的动作,不致打断图像数据的存取。To solve the above problems, a layer of memory, called cache memory, is added between the microcontroller and the DRAM. The instructions read by the microcontroller from the DRAM are stored in the cache, that is, the cache is used to temporarily store data frequently used by the microcontroller. When the microcontroller needs to read instructions later, it will read from the cache first. If it already exists in the cache, it can be successfully read (cache hit) without accessing the DRAM and will not interrupt the image. Data access.

然而就实际硬件考虑,高速缓存的空间有限,会存在无法成功从高速缓存读取指令的情况发生(cache miss),此时仍然需要从DRAM读取指令。因此,本发明提出一种通过使用高速缓存、非易失性存储器以及接口切换单元的方式,以减少系统对于DRAM频宽的需求,并且同时兼顾微控制器的效能。However, considering the actual hardware, the cache space is limited, and there may be a situation where instructions cannot be successfully read from the cache (cache miss). At this time, instructions still need to be read from DRAM. Therefore, the present invention proposes a method of using a cache memory, a non-volatile memory, and an interface switching unit to reduce the system's demand on DRAM bandwidth while taking into account the performance of the microcontroller.

图1绘示依照本发明实施例的电子装置的示意图。电子装置10包括微控制器100、非易失性存储器102、动态随机存取存储器104、图像处理单元106、高速缓存108以及接口切换单元110。兹将各元件功能详细说明如下。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device 10 includes a microcontroller 100 , a non-volatile memory 102 , a DRAM 104 , an image processing unit 106 , a cache 108 and an interface switching unit 110 . The functions of each component are described in detail as follows.

微控制器100控制电子装置10的运作,而非易失性存储器102用以储存微控制器100所使用的多个指令。由于非易失性存储器102即使在没有电源供应的情形下,依然能够储存数据,因此不论电子装置10的开关状态,非易失性存储器102皆能稳定地储存微控制器100使用的多个指令。非易失性存储器102例如是闪存(flash memory)。The microcontroller 100 controls the operation of the electronic device 10 , and the non-volatile memory 102 is used to store a plurality of instructions used by the microcontroller 100 . Since the nonvolatile memory 102 can still store data even when there is no power supply, the nonvolatile memory 102 can stably store a plurality of instructions used by the microcontroller 100 regardless of the switching state of the electronic device 10. . The nonvolatile memory 102 is, for example, flash memory.

相较于非易失性存储器102,动态随机存取存储器104的存取速度较快。因此当电子装置10启动后,动态随机存取存储器104从非易失性存储器102加载微控制器100所使用的多个指令,使得微控制器100可以从动态随机存取存储器104读取指令。此外,动态随机存取存储器104还用以储存图像处理使用的图像数据。动态随机存取存储器104例如是双倍数据率动态随机存取存储器(Double Data Rate Synchronous Dynamic Random Access Memory,DDR SDRAM)。Compared with the non-volatile memory 102, the access speed of the DRAM 104 is faster. Therefore, when the electronic device 10 starts up, the DRAM 104 loads a plurality of instructions used by the microcontroller 100 from the non-volatile memory 102 , so that the microcontroller 100 can read instructions from the DRAM 104 . In addition, the DRAM 104 is also used to store image data used in image processing. The DRAM 104 is, for example, a Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM).

图像处理单元106耦接至动态随机存取存储器104,用以存取图像数据,包括写入以及读取动态随机存取存储器104。图像处理单元106可以连接至提供投影图像来源者(例如外部的计算机),对动态随机存取存储器104写入图像数据。图像处理单元106也可以是播放图像的单元,对动态随机存取存储器104读取图像数据。The image processing unit 106 is coupled to the DRAM 104 for accessing image data, including writing and reading the DRAM 104 . The image processing unit 106 can be connected to a source of projected images (such as an external computer) to write image data into the DRAM 104 . The image processing unit 106 may also be a unit for playing images, and reads image data from the DRAM 104 .

高速缓存108耦接至微控制器100。微控制器100从动态随机存取存储器104读取过的指令是储存于高速缓存108中。当微控制器100需读取指令时,微控制器100优先从高速缓存108读取指令,如此能有较佳的效能,且能避免对动态随机存取存储器104进行存取。The cache 108 is coupled to the microcontroller 100 . The instructions read by the microcontroller 100 from the DRAM 104 are stored in the cache 108 . When the microcontroller 100 needs to read instructions, the microcontroller 100 preferentially reads instructions from the cache memory 108 , so as to have better performance and avoid accessing the DRAM 104 .

接口切换单元110耦接至高速缓存108、非易失性存储器102及动态随机存取存储器104。当微控制器100需读取指令时,微控制器100优先从高速缓存108读取指令,当微控制器100无法成功地从高速缓存108读取指令时,接口切换单元110动态地切换,使微控制器100从非易失性存储器102读取指令或从动态随机存取存储器104读取指令。The interface switching unit 110 is coupled to the cache memory 108 , the non-volatile memory 102 and the DRAM 104 . When the microcontroller 100 needs to read instructions, the microcontroller 100 preferentially reads the instructions from the cache 108, and when the microcontroller 100 cannot successfully read the instructions from the cache 108, the interface switching unit 110 dynamically switches to make Microcontroller 100 reads instructions from non-volatile memory 102 or from DRAM 104 .

详细而言,当微控制器100无法成功地从高速缓存108读取指令时,接口切换单元110动态地切换微控制器100读取指令的来源,系切换于非易失性存储器102以及动态随机存取存储器104之间。从动态随机存取存储器104读取指令速度较快,然而有可能影响到正在进行中的图像数据存取,因此导致显示的图像质量下降。为顾及图像质量,微控制器100可以从非易失性存储器102读取指令,然而读取速度较慢。In detail, when the microcontroller 100 cannot successfully read instructions from the cache memory 108, the interface switching unit 110 dynamically switches the source of the microcontroller 100 read instructions, which is switched between the non-volatile memory 102 and the DRAM. between access memory 104. Reading instructions from the DRAM 104 is faster, but may affect the ongoing image data access, thus resulting in the degradation of displayed image quality. In order to take image quality into consideration, the microcontroller 100 can read instructions from the non-volatile memory 102, but the reading speed is relatively slow.

接口切换单元110可以依据目前动态随机存取存储器104使用的状况来动态地切换,例如依据动态随机存取存储器104的使用率以及数据传输频宽。当图像处理单元106正对动态随机存取存储器104进行大量图像数据的存取时,使用的数据传输频宽较大,此时宜较佳地使微控制器100从非易失性存储器102读取指令,避免影响到图像数据的存取,即稍微降低一点微控制器100的效能,然而提高图像的稳定质量。The interface switching unit 110 can dynamically switch according to the current usage status of the DRAM 104 , for example, according to the usage rate of the DRAM 104 and the data transmission bandwidth. When the image processing unit 106 is accessing a large amount of image data to the dynamic random access memory 104, the data transmission bandwidth used is relatively large. Instructions avoid affecting the access of image data, that is, slightly reduce the performance of the microcontroller 100, but improve the stable quality of the image.

接口切换单元110也可以依据微控制器100的效能来动态地切换。例如当发现微控制器100效能不足需要提升时,即切换到读取动态随机存取存储器104,以提升读取的速度。The interface switching unit 110 can also be dynamically switched according to the performance of the microcontroller 100 . For example, when it is found that the performance of the microcontroller 100 is insufficient and needs to be improved, it switches to read the DRAM 104 to increase the read speed.

接口切换单元110也可以依据图像处理单元106从动态随机存取存储器104存取图像数据的状态来动态地切换。举例而言,一张画面有多个列(row)的像素,将图像数据进行逐列扫描播放时,扫描至列与列之间时会有空闲时间,暂时没有读取动态随机存取存储器104的动作。在扫描至一列图像最后的像素时,由于图像处理单元106没有对动态随机存取存储器104进行存取,接口切换单元110将微控制器100读取指令的来源切换到动态随机存取存储器104。而当开始扫描下一列图像时,则可以切换到从非易失性存储器102读取。The interface switching unit 110 can also be dynamically switched according to the status of the image processing unit 106 accessing image data from the DRAM 104 . For example, a frame has multiple rows of pixels. When the image data is scanned and played row by row, there will be idle time when scanning between rows, and the DRAM 104 is not read temporarily. Actions. When scanning to the last pixel of a row of images, since the image processing unit 106 does not access the DRAM 104 , the interface switching unit 110 switches the source of read commands from the microcontroller 100 to the DRAM 104 . And when scanning the next row of images, it can switch to read from the non-volatile memory 102 .

接口切换单元110也可以通过使用者手动操作来动态地切换。举例而言,当使用者从屏幕上看到实际显示的图像发生抖动或是破图时,使用者可以手动控制,例如通过控制一实体开关或是碰触屏幕画面上一按钮,使得接口切换单元110切换到从非易失性存储器102读取,以降低微控制器100从动态随机存取存储器104读取的频率。The interface switching unit 110 can also be dynamically switched through manual operation by the user. For example, when the user sees that the actual displayed image shakes or is broken on the screen, the user can manually control, for example, by controlling a physical switch or touching a button on the screen, so that the interface switching unit 110 switches to reading from non-volatile memory 102 to reduce the frequency of microcontroller 100 reading from DRAM 104 .

图2绘示依照本发明另一实施例的电子装置的示意图。此实施例中的电子装置12与前一实施例不同之处,在于电子装置12还包括存储器控制单元112,耦接于接口切换单元110及非易失性存储器102之间,存储器控制单元112用以控制存取非易失性存储器102。其中非易失性存储器102例如是使用序列式接口的序列接口闪存,存储器控制单元112例如是序列外围接口控制器(Serial Peripheral Interface controller,SPI controller)。使用序列式接口可以降低连线的数量,降低整体的成本。FIG. 2 is a schematic diagram of an electronic device according to another embodiment of the present invention. The difference between the electronic device 12 in this embodiment and the previous embodiment is that the electronic device 12 further includes a memory control unit 112, which is coupled between the interface switching unit 110 and the non-volatile memory 102, and the memory control unit 112 uses to control access to the non-volatile memory 102 . The non-volatile memory 102 is, for example, a serial interface flash memory using a serial interface, and the memory control unit 112 is, for example, a serial peripheral interface controller (Serial Peripheral Interface controller, SPI controller). Using a serial interface can reduce the number of connections and reduce the overall cost.

电子装置12还可以包括一总线114,微控制器100以及高速缓存108皆连接至总线114,微控制器100及高速缓存108之间通过总线114传递消息。总线114例如是进阶微控制器总线架构高效率总线(Advanced MicrocontrollerBus Architecture High-Performance Bus,AHB)。The electronic device 12 may further include a bus 114 , both the microcontroller 100 and the cache 108 are connected to the bus 114 , and messages are transmitted between the microcontroller 100 and the cache 108 through the bus 114 . The bus 114 is, for example, an Advanced Microcontroller Bus Architecture High-Performance Bus (AHB).

本发明中的电子装置例如是可持式电子装置,如手机及平板计算机等移动装置。在移动装置中,由于省电的考虑,无需使用到操作频率很高的动态随机存取存储器。在这样的移动装置中,当进行图像处理时容易产生存储器频宽不足以负荷的情形。使用本发明如上所述的电子装置,能够动态调整微控制器读取动态随机存取存储器的时机,使得当动态随机存取存储器正忙碌于存取图像数据时,微控制器能从非易失性存储器读取指令。此外,本发明中的电子装置又例如是具有投影功能的电子装置,例如是微型投影机或是具有投影功能的手机。The electronic devices in the present invention are, for example, portable electronic devices, such as mobile devices such as mobile phones and tablet computers. In the mobile device, due to the consideration of power saving, there is no need to use DRAM with high operating frequency. In such a mobile device, when image processing is performed, the bandwidth of the memory is likely to be insufficient to load. Using the above-mentioned electronic device of the present invention can dynamically adjust the timing when the microcontroller reads the DRAM, so that when the DRAM is busy accessing image data, the microcontroller can read from the nonvolatile memory. memory read instruction. In addition, the electronic device in the present invention is, for example, an electronic device with a projection function, such as a miniature projector or a mobile phone with a projection function.

本发明还提出一种电子装置的操作方法,包括:以非易失性存储器储存微控制器的指令;以动态随机存取存储器储存图像数据,并于电子装置启动后从非易失性存储器加载微控制器的指令;以图像单元存取图像数据;以及当微控制器需读取指令时,微控制器优先从高速缓存读取指令,当微控制器无法成功地从高速缓存读取指令时,以接口切换单元动态地切换,使微控制器从非易失性存储器读取指令或从动态随机存取存储器读取指令;其中,微控制器从动态随机存取存储器读取过的指令是储存于高速缓存中。The present invention also proposes a method for operating an electronic device, including: storing instructions of a microcontroller with a non-volatile memory; storing image data with a dynamic random access memory, and loading from the non-volatile memory after the electronic device is started Instructions from the microcontroller; accessing image data in image units; and when the microcontroller needs to read instructions, the microcontroller preferentially reads instructions from the cache, and when the microcontroller cannot successfully read instructions from the cache , using the interface switching unit to dynamically switch, so that the microcontroller reads instructions from the non-volatile memory or reads instructions from the dynamic random access memory; wherein, the instructions that the microcontroller has read from the dynamic random access memory are stored in the cache.

于本发明实施例上述的电子装置及其操作方法中,由于以接口切换单元切换微控制器读取指令的来源,可以有效避免动态随机存取存储器频宽不堪负荷的问题,其具体成效可反映在实际显示的图像中。相较于传统存取动态随机存取存储器的方式,频宽不堪负荷时的显示图像会有破图现象,使用如上述的电子装置,当因为大量的图像数据而导致动态随机存取存储器的使用率高时,可以切换使得微控制器从非易失性存储器读取指令,即在可容忍范围内稍微下降一点微控制器的效能,然而提高显示图像的质量,于实测中可以看到显示图像已经不会有破图,而能提供给使用者更佳的观影体验。In the above-mentioned electronic device and its operating method according to the embodiment of the present invention, since the source of the microcontroller read command is switched by the interface switching unit, the problem of the bandwidth of the dynamic random access memory being overwhelmed can be effectively avoided, and its specific effect can be reflected in the actual displayed image. Compared with the traditional way of accessing dynamic random access memory, when the bandwidth is overwhelmed, the display image will be broken. Using the above-mentioned electronic device, when the use of dynamic random access memory is caused by a large amount of image data When the rate is high, it can be switched so that the microcontroller reads instructions from the non-volatile memory, that is, the performance of the microcontroller is slightly reduced within the tolerable range, but the quality of the displayed image is improved, and the displayed image can be seen in the actual measurement There will be no broken pictures, but a better viewing experience for users.

除此之外,本发明中的接口切换单元系动态地切换,即可以依据实际使用需求而作调整,使用上具有更好的弹性。例如当微控制器效能不足时,切换到读取动态随机存取存储器,当动态随机存取存储器频宽不足时,切换到读取非易失性存储器。又例如可以依据图像数据的状态来动态地切换,或者可以由使用者自行决定切换的时机。因此,能够依据电子装置当时的情况作出较佳的对应调整方式,亦能够依据使用者的需求而设定,不仅维持良好的显示图像质量,在使用上也更具有弹性且操作简单。In addition, the interface switching unit in the present invention is dynamically switched, that is, it can be adjusted according to actual use requirements, and has better flexibility in use. For example, when the performance of the microcontroller is insufficient, it switches to read the DRAM, and when the bandwidth of the DRAM is insufficient, it switches to read the non-volatile memory. For another example, it can be dynamically switched according to the state of the image data, or the timing of switching can be determined by the user. Therefore, a better corresponding adjustment method can be made according to the current situation of the electronic device, and can also be set according to the user's needs, not only maintaining good display image quality, but also more flexible and easy to operate in use.

综上所述,虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视所附的权利要求范围所界定者为准。To sum up, although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art of the present invention can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be defined by the appended claims.

Claims (18)

1. an electronic installation, comprising:
One microcontroller;
One nonvolatile memory, in order to store multiple instructions that this microcontroller uses;
One dynamic RAM, in order to store a view data, and after this electronic installation starts, loads the plurality of instruction of this microcontroller from this nonvolatile memory;
One graphics processing unit, is coupled to this dynamic RAM, in order to access this view data;
One high-speed cache, is coupled to this microcontroller; And
One interface switch unit, is coupled to this high-speed cache, this nonvolatile memory and this dynamic RAM;
Wherein, when this microcontroller need read the plurality of instruction at least one of them time, this microcontroller preferentially from this high-speed cache read the plurality of instruction at least one of them, when this microcontroller cannot successfully from this high-speed cache read the plurality of instruction at least one of them time, this interface switch unit dynamically switches, make this microcontroller from this nonvolatile memory read the plurality of instruction at least one of them or from this dynamic RAM read the plurality of instruction at least one of them;
Wherein, this microcontroller is be stored in this high-speed cache from the finger that this dynamic RAM read.
2. electronic installation according to claim 1, wherein this interface switch unit dynamically switches according to the utilization rate of this dynamic RAM and data transmitting bandwidth.
3. electronic installation according to claim 1, wherein this interface switch unit dynamically switches according to the usefulness of this microcontroller.
4. electronic installation according to claim 1, the state that wherein this interface switch unit accesses this view data according to this graphics processing unit from this dynamic RAM dynamically switches.
5. electronic installation according to claim 1, wherein this interface switch unit is dynamically switched by user's manual operation.
6. electronic installation according to claim 1, wherein this nonvolatile memory is a flash memory, and this dynamic RAM is a double data rate dynamic RAM.
7. electronic installation according to claim 1, also comprises a memory control unit, is coupled between this interface switch unit and this nonvolatile memory, in order to control this nonvolatile memory of access.
8. electronic installation according to claim 7, wherein this memory control unit is a sequence Peripheral Interface Controller.
9. electronic installation according to claim 1, wherein this microcontroller and this high-speed cache are all connected to a bus.
10. electronic installation according to claim 9, wherein this bus is an advanced Microcontroller Bus Architecture high-level efficiency bus.
11. electronic installations according to claim 1, wherein formula electronic installation to be held by this electronic installation.
12. electronic installations according to claim 1, wherein this electronic installation is the electronic installation with projecting function.
The method of operating of 13. 1 kinds of electronic installations, this electronic installation comprises a microcontroller, a nonvolatile memory, a dynamic RAM, a graphics processing unit is coupled to this dynamic RAM, a high-speed cache is coupled to this microcontroller and an interface switch unit is coupled to this high-speed cache, this nonvolatile memory and this dynamic RAM, and this method of operating comprises:
With multiple instructions that this microcontroller of this non-volatile memory storage uses;
Store a view data with this dynamic RAM, and load the plurality of instruction of this microcontroller from this nonvolatile memory after this electronic installation starts;
This view data is accessed with this elementary area; And
When this microcontroller need read the plurality of instruction at least one of them time, this microcontroller preferentially from this high-speed cache read the plurality of instruction at least one of them, when this microcontroller cannot successfully from this high-speed cache read the plurality of instruction at least one of them time, dynamically switch with this interface switch unit, make this microcontroller from this nonvolatile memory read the plurality of instruction at least one of them or from this dynamic RAM read the plurality of instruction at least one of them;
Wherein, this microcontroller is be stored in this high-speed cache from the instruction that this dynamic RAM read.
14. methods of operating according to claim 11, also comprise and control this nonvolatile memory of access with a memory control unit, this memory control unit is coupled between this interface switch unit and this nonvolatile memory.
15. methods of operating according to claim 11, wherein this interface switch unit dynamically switches according to the utilization rate of this dynamic RAM and data transmitting bandwidth.
16. methods of operating according to claim 11, wherein this interface switch unit dynamically switches according to the usefulness of this microcontroller.
17. methods of operating according to claim 11, the state that wherein this interface switch unit accesses this view data according to this graphics processing unit from this dynamic RAM dynamically switches.
18. methods of operating according to claim 11, wherein this interface switch unit is dynamically switched by user's manual operation.
CN201410177348.8A 2014-04-29 2014-04-29 Electronic device and operation method thereof Pending CN105022589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410177348.8A CN105022589A (en) 2014-04-29 2014-04-29 Electronic device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410177348.8A CN105022589A (en) 2014-04-29 2014-04-29 Electronic device and operation method thereof

Publications (1)

Publication Number Publication Date
CN105022589A true CN105022589A (en) 2015-11-04

Family

ID=54412585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410177348.8A Pending CN105022589A (en) 2014-04-29 2014-04-29 Electronic device and operation method thereof

Country Status (1)

Country Link
CN (1) CN105022589A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025190A (en) * 2016-02-02 2017-08-08 爱思开海力士有限公司 System and its operating method
CN108228471A (en) * 2016-12-14 2018-06-29 旺宏电子股份有限公司 Method and system for managing entity information of memory unit in memory device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236526A (en) * 2007-01-30 2008-08-06 扬智科技股份有限公司 Computer system with cache system connected to non-volatile storage
US20090222653A1 (en) * 2008-02-29 2009-09-03 Ralf Findeisen Computer system comprising a secure boot mechanism
CN101986286A (en) * 2009-07-28 2011-03-16 联发科技股份有限公司 Embedded system and its management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236526A (en) * 2007-01-30 2008-08-06 扬智科技股份有限公司 Computer system with cache system connected to non-volatile storage
US20090222653A1 (en) * 2008-02-29 2009-09-03 Ralf Findeisen Computer system comprising a secure boot mechanism
CN101986286A (en) * 2009-07-28 2011-03-16 联发科技股份有限公司 Embedded system and its management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025190A (en) * 2016-02-02 2017-08-08 爱思开海力士有限公司 System and its operating method
CN107025190B (en) * 2016-02-02 2021-04-13 爱思开海力士有限公司 System and how to operate it
CN108228471A (en) * 2016-12-14 2018-06-29 旺宏电子股份有限公司 Method and system for managing entity information of memory unit in memory device

Similar Documents

Publication Publication Date Title
US8570335B2 (en) Mobile device and method for displaying thumbnails on the mobile device
TW201820883A (en) Method and system for managing buffers
WO2021136158A1 (en) Video window picture displaying method and apparatus
TW201032063A (en) Protocol extensions in a display port compatible interface
US9552186B2 (en) Data processing method and electronic device
KR20130040251A (en) Techniques to control display activity
WO2017058343A1 (en) Timestamp based display update mechanism
CN102016974A (en) Display control device and display control method
CN106062662A (en) System and method for providing power-saving static image display refresh in a DRAM memory system
CN115103208A (en) Line caching method, line reading method and processing system for video data
WO2023226845A1 (en) Image data transmission method and apparatus, and electronic device
US9652816B1 (en) Reduced frame refresh rate
CN105022589A (en) Electronic device and operation method thereof
CN114927084A (en) Display driver and display system
CN109214977B (en) Image processing apparatus and control method thereof
CN117692593A (en) Video frame processing method, device, equipment and medium based on pixel row stitching
CN113610699B (en) A hardware layer rendering scheduling method, device, equipment and storage medium
CN115826898A (en) Cross-screen display method, system, device, equipment and storage medium
CN111475665B (en) Picture playing method, device, terminal and storage medium
US11030976B2 (en) Image combination device and display system comprising the same
KR101719273B1 (en) Display controller and display device including the same
CN116132719A (en) Video processing method, device, electronic device and readable storage medium
CN103444189A (en) Panorama picture scrolling
TWI835567B (en) Method for reading and writing frame images with variable frame rates and system
US20130207986A1 (en) Method and device for accessing buffer of display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151104

WD01 Invention patent application deemed withdrawn after publication