The application claims priority to Chinese Patent Application No. 202011562777.9, filed on Dec. 25, 2020, the contents of which are incorporated herein by reference in its entirety.
The disclosure relates to the technical field of display, in particular to a data display method and device, and a readable storage medium.
At present, mini light emitting diodes (mini LEDs), mainly applied to the fields of direct backlight and RGB display, are developing vigorously and have become an irresistible tread in the display industry because of their technical advantages of high dynamic contrast, high resolution, and high-brightness display. ARM micro-controllers have been widely used on account of their advantages of low power consumption, low cost, high performance, flexible operation, and the like.
The embodiments of the disclosure provide a data display method and device, and a readable storage medium.
The embodiments of the disclosure provide a data display method based on an ARM micro-controller, being applied to a mini-LED display device, and comprising:
receiving data signals of a display image, and storing the data signals;
extending the stored data signals into multiple data signal sets in a preset sequence, and synchronously caching the multiple data signal sets in a rising edge and a falling edge of a clock signal; and
controlling the multiple data signal sets to be respectively output to multiple output ports to control a display unit to display the image.
In some embodiments, the data display method further comprising acquiring a chip select signal.
In some embodiments, wherein the step of extending the stored data signals into multiple data signal sets in a preset sequence, and synchronously caching the multiple data signal sets in a rising edge and a falling edge of a clock signal comprises:
controlling, when the chip select signal is pulled down and the clock signal outputs a signal at a preset clock time, the data signals in the multiple data signal sets to be cached in the rising edge and the falling edge of the clock signal.
In some embodiments, wherein the multiple output ports correspond to multiple display blocks of the display unit, and the step of controlling the multiple data signal sets to be respectively output to multiple output ports to control a display unit to display the image comprises:
correspondingly transmitting the multiple data signal sets to the multiple display blocks.
In some embodiments, wherein the step of controlling the multiple data signal sets to be respectively output to multiple output ports to control a display unit to display the image comprises:
starting a timer of the clock signal, and setting an initial value in the timer;
repeating, wherein the data signal has not been transmitted, performing the following steps:
outputting, when it is determined that count values of the timer are greater than or equal to half of the initial value, four high bits in one byte of a data signal in a buffer;
controlling, when the timer is interrupted, a level of the clock signal to be inverted, and resetting the initial value of the timer;
outputting, when it is determined that count values of the timer are greater than or equal to half of the initial value, four low bits in one byte of the data signal in the buffer;
controlling, when the timer is interrupted, the level of the clock signal to be inverted, and resetting the initial value of the timer; and
end repeating, turning off the timer of the clock signal when the data signal has been transmitted.
In some embodiments, wherein a timing frequency of the timer depends on the initial value.
In some embodiments, the data display method further comprising:
transmitting the multiple data signal sets by means of an image interface protocol to control the display unit to display the image, wherein the image interface protocol includes a control data protocol and an image data protocol.
In some embodiments, the data display method further comprising:
controlling at least one of the resolutions, refresh rate and display brightness of the display unit according to the control data protocol.
In some embodiments, the data display method further comprising controlling the image to be displayed according to the image data protocol.
In some embodiments, the data display method further comprising:
controlling the image to be displayed according to the image data protocol.
In some embodiments, the control data protocol may include address, functional instruction, instruction parameter and check bit, the image data protocol may include address, image data and check bit.
The embodiments of the disclosure also provide a data display device based on an ARM micro-controller, comprising: an ARM system unit and a display unit, wherein the ARM system unit comprises a data receiving unit, a processing system unit, a data cache unit, a data storage unit and a data transmission unit;
the processing system unit is used for:
controlling the data receiving unit to receive data signals of a display image, and controlling the data storage unit to store the data signals;
controlling the data cache unit to extend the stored data signals into multiple data signal sets in a preset sequence and synchronously cache the multiple data signal sets in a rising edge and a falling edge of a clock signal; and
controlling the data transmission unit to output the multiple data signal sets to multiple output ports respectively to control the display unit to display the image.
In some embodiments, wherein the display unit comprises a drive unit and an LED display panel.
In some embodiments, the drive unit is used for driving the display unit to start to receive data signals and display an image according to the data signals, the LED display panel is used for displaying the image.
In some embodiments, the data display device further comprising display device ports respectively corresponding to multiple display blocks, and the multiple display blocks are used for displaying the image according to the multiple data signal sets.
In some embodiments, the data display device further comprising a field debugging unit and a remote-control unit, wherein the field debugging unit is used for debugging a configuration of the display device; and
the remote-control unit is used for wirelessly controlling remote on-off and function switching of the ARM system unit and the display unit.
The disclosure also provides an electronic device, wherein the electronic device comprises:
a memory configured for storing a computer instruction executable by the processor; and
one or more processors, wherein the processors are configured for executing the computer instruction, to implement the above data display method.
The disclosure also provides a computer program product with the computer readable code, wherein when an instruction in the computer program product is executed by a processor of an electronic device, the instruction enables the electronic device to implement the above data display method.
The disclosure also provides a non-transient computer storage medium, wherein when an instruction in the storage medium is executed by a processor of an electronic device, the instruction enables the electronic device to implement the above data display method.
Other aspects and advantages of the disclosure will be given in the following description, and part of these aspects and advantages of the disclosure will become obvious in the following description, or be known in the practice of the disclosure.
To more clearly explain the technical solutions of the embodiments of the disclosure or related arts, drawings required for describing the embodiments of the disclosure or the related arts will be briefly introduced below. Obviously, the drawings in the following description only illustrate some embodiments of the invention, and those ordinarily skilled in the art can obtain other drawings according to the following ones without creative labor.
The embodiments of the disclosure will be described below in conjunction with the following drawings to make the above and/or other aspects and advantages of the disclosure obvious and easily understood. Wherein:
To gain a better understanding of the above purposes, features and advantages of the disclosure, the disclosure will be described in further detail below in conjunction with the accompanying drawings and specific implementations. Obviously, the embodiments in the following description are merely illustrative ones, and are not all possible ones of the disclosure. All other embodiments obtained by those ordinarily skilled in the art based on the following ones without creative labor should also fall within the protection scope of the disclosure.
The embodiments of the disclosure will be described in detail below, and examples of the embodiments are illustrated by the accompanying drawings, in which identical or similar reference signs represent identical or similar elements, or elements with identical or similar functions throughout the specification. The embodiments described below with reference to the accompanying drawings are illustrative ones merely for explaining the disclosure, and should not be construed as limitations of the disclosure.
It should be understood that terms such as “central”, “lengthwise”, “crosswise”, “length”, “width”, “thickness”, “upper”, “lower”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, “outer”, “clockwise” and “anticlockwise” in the description of the invention are used to indicate directional or positional relations based on the accompanying drawings merely for the purpose of facilitating and simplifying the description of the disclosure, do not indicate or imply that devices or elements referred to must be in a specific direction, or be configured and operated in a specific direction, and thus, should not be construed as limitations of the disclosure. In addition, terms “first” and “second” are merely for the purpose of description, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features referred to. So, a feature defined by “first” or “second” may explicitly or implicitly indicate the inclusion of one or more said feature. Unless otherwise specifically defined, “multiple” in the description of the disclosure refers to two or more.
It should be noted that, unless otherwise clearly specified and defined, terms such as “install”, “connect” and “connection” in the description of the invention should be broadly understood. For example, “connection” may refer to fixed connection, detachable connection or integrated connection, or mechanical connection, electrical connection or mutual communication, or direct connection or indirect connection via an intermediate medium, or internal communication or interaction of two elements. Those ordinarily skilled in the art may appreciate the specific meanings of these terms in the disclosure as the case may be.
In the disclosure, unless otherwise clearly specified and defined, if a first feature is located “over” or “under” a second feature, the first feature directly contacts with the second feature, or the first feature contacts with the second feature by means of another feature between the first feature and the second feature rather than directly contacting with the second feature. In addition, when the first feature is located “above” the second feature, the first feature may be located exactly above the second feature or be located above the second feature obliquely, or the level of the first feature is greater than that of the second feature. When the feature is located “below” the second feature, the first feature may be located exactly below the second feature or be located below the second feature obliquely, or the level of the first feature is smaller than that of the second feature.
Many different embodiments or examples are provided below to implement different structures of the disclosure. To simplify the description of the disclosure, components and settings of specific examples are described below merely for illustration, and are not intended to limit the disclosure. In addition, reference figures and/or letters are repeated in different examples of the disclosure for the purpose of simplification and clarity, and do not indicate any relation between different embodiments and/or setting discussed. Besides, the disclosure provides examples of different specific processes and materials are provided, but those ordinarily skilled in the art would appreciate that other processes may be applied and/or other materials may be used.
At present, mini LEDs, mainly applied to the fields of direct backlight and RGB display, are developing vigorously and have become an irresistible tread in the display industry because of their technical advantages of high dynamic contrast, high resolution, high-brightness display. The direct backlight has a large spacing, a small number of partitions, and simple drive control. RGB display has a small spacing and a high resolution, but it has higher requirements for high-speed data transmission. To meet system drive control requirements, most systems adopt an FGPA solution, which is high in cost and power consumption and thus unable to meet the requirements of portable display devices. ARM micro-controllers have been widely used on account of their advantages of low power consumption, low cost, high performance, flexible operation, and the like. However, standard peripheral ports of the ARM micro-controllers, such as SPI ports and USART ports, are unable to meet the requirements for data sizes in the display industry, and high-speed ports of the ARM micro-controllers, such as TLI ports, are complicated in disclosure and difficult to operate.
In view of this, referring to
S10: receiving data signals of a display image, and storing the data signals;
S20: extending the stored data signals into multiple data signal sets in a preset sequence, and synchronously caching the multiple data signal sets in a rising edge and a falling edge of a clock signal; and
S30: controlling the multiple data signal sets to be respectively output to multiple output ports to control a display unit to display the image.
Specifically, the data signals (SDA) refer to signals representing data information of the display image, wherein the data information of the display image includes pixels, brightness and color temperature of the image. The clock signal (CLK), as a term in computer science and relevant fields, is generally used in a synchronous circuit to serve as a timer to guarantee synchronous operation of relevant electronic components. The clock signal CLK is mapped to a port with a pulse width modulation (PWM) output multiplexing function of the timer.
First of all, a data receiving unit 10 in an ARM system unit 100 receives data signals (SDA) of a display image from a field debugging unit 300. Then, the stored data signals are extended into multiple data signal sets in a preset sequence and are synchronously cached in a rising edge and a falling edge of a clock signal (CKL), so that the size of cached data is increased twice in the same cache time, thus greatly increasing the data cache rate. Wherein, the rising edge of the clock signal (CLK) refers to a rising process of from a low level to a high level, as shown in
Specifically, referring to
Referring to
It may be understood that TATA is cached data, which is recoded to adapt to data operations of PORT of the ARM micro-controller, in a data cache unit, and the size of the cached data is M*4 bytes.
The multiple output ports refer to output ports PORTx.n, corresponding to the multiple data signal sets SDAn (n is a natural number less than 16), of the ARM micro-controller, wherein x may be A, B, C, D, or the like, and n is a natural number less than 16. Specifically, according to the data display method provided by the disclosure, bytes are controlled by a program to be written into PORTx to output multiple data signals SDAn (n is a natural number less than 16), and the data signal SDAn (n is a natural number less than 16) is correspondingly output to PORTx.n (x is a natural number less than 8, and n is a natural number less than 16).
It may be understood that the data signals SDA correspond to the output ports PORTx of the ARM micro-controller, and bytes are written into PORTx by software to output the data signals, wherein x may be A, B, C, D, or the like, and the data signals SDAn are correspondingly output to the output ports PORTx.n, namely ports PORTx.
In some embodiments, the data display method further comprises acquiring a chip select signal CS, wherein the chip select signal CS is mapped to a common hardware port.
In some embodiments, more specifically, the step of extending the stored data signals into multiple data signal sets in a preset sequence, and synchronously caching the multiple data signal sets in a rising edge and a falling edge of a clock signal (S20) comprises: controlling the data signals in the multiple data signal sets SDAn to be cached in the rising edge and the falling edge of the clock signal CLK when the chip select signal CS is pulled down and the clock signal CLK outputs a signal at a preset clock time. In this way, the cache is accelerated, and the cache efficiency is improved.
Specifically, in a specific embodiment, a display unit enters a data receiving state when the chip select signal CS is pulled down; then, a clock timer CLK1 in the clock signal CLK is started, an initial value K is set in the clock timer CLK1, and by changing the parameter value of K, the clock frequency of the clock signal CLK may be adjusted, and the clock time of the clock time may also be adjusted. The initial value K is the preset clock time. For example, the initial value K may by 1 μs, 2 μs, 3 μs, 4 μs, 5 μs, or the like, and the disclosure has no limitation in this aspect. The initial value K may be set to different values according to cache rates required by users. It may be understood that when a high cache rate is required by users, the initial value K may be set to a high value such as 5 μs; and when a low cache rate is required by users, the initial value K may be set to a low value such as 1 μs. The disclosure has no limitation in this aspect.
When the chip select signal CS is pulled down and the clock signal CLK outputs a signal at the preset clock time, the data signals in the multiple data signal sets are controlled by a program, pre-written by users, to be cached synchronously in the rising edge and the falling edge of the clock signal CLK, so that the cache is accelerated, and the cache efficiency is improved.
In some embodiments, the multiple output ports PORTx.n correspond to multiple display blocks Block (n+1) of the display unit, wherein n is a natural number less than 16. Referring to
S31: correspondingly transmitting the multiple data signal sets SDAn to the multiple display blocks Block (n+1).
It may be understood that, as shown in
Specifically, the multiple data signal sets SDAn are correspondingly transmitted to the multiple display blocks Block (n+1). For example, when n is equal to 3 (as shown in
More specifically, referring to
S301: starting the timer CLK1 of the clock signal CLK, and setting the initial value K in the timer CLK1;
Repeating, wherein the data signal has not been transmitted, performing the following steps:
S302: outputting, when it is determined that count values of the timer CLK1 are greater than or equal to half of the initial value K, four high bits of one byte in a data signal in a buffer;
S303: when the timer CLK1 is interrupted, controlling the level of the clock signal CLK to be inverted, and resetting the initial value K of the timer CLK1;
S304: outputting, when it is determined that the count values of the timer CLK1 are greater than or equal to half of the initial value K, four low bits in one byte in the data signal in the buffer;
S305: when the timer CLK1 is interrupted, controlling the level of the clock signal CLK to be inverted, and resetting the initial value K of the timer CLK1;
S306: turning off the timer CLK1 of the clock signal CLK when the data signals SDA are transmitted.
Specifically, referring to
The other 500 count values represent data transmitted to the next 0.5 μs, and such data may be data in a low-level area corresponding to the clock signal. When the timer CLK1 is interrupted, the level of the clock signal CLK is inverted, and the initial value K of the timer is reset; when it is determined that the count values of the timer CLK1 are greater than or equal to K/2, four low bits of one byte of data in the buffer are output, such as Data5, Data6, Data7 and Data8. In this way, the transmission of one byte in the buffer is completed. Then, the level of the clock signal CLK is inverted again when the timer CLK1 is interrupted, the initial value K of the timer is reset again. By analogue, the data transmission process is repeated until all the data signals are transmitted, and the image data in the buffer is periodically transmitted, that is, the data signal transmission process is performed periodically. Finally, the timer CLK1 of the clock signal CLK is turned off when all the image data is transmitted, and the chip select signal CS is pulled up.
In some embodiments, the timing frequency of the timer depends on the initial value K. Wherein, the timing frequency T=1/K. It can be understood that the initial value K is a preset clock time, the reciprocal of time is frequency, so the timing frequency of the timer may be determined by the initial value K. For example, when K is 1 μs, the timing frequency is 1/1 μs=1000000 Hz=1 MHz.
In some embodiments, the data display method further comprises transmitting the multiple data signal sets by means of an image interface protocol to control the display unit to display the image, wherein the image interface protocol includes a control data protocol and an image data protocol. Specifically, referring to
Referring to
S10 may be implemented by the data receiving unit 10, the data storage unit 20 and the processing system unit 50, S20 may be implemented by the data cache unit 30 and the processing system unit 50, and S30 may be implemented by the data transmission unit 40 and the processing system unit 50. That is, the processing system unit 50 is used for controlling the data receiving unit 10 to receive data signals of a display image, controlling the data storage unit 20 to store the data signals, controlling the data cache unit 30 to extend the stored data signals into multiple data signal sets in a preset sequence and synchronously cache the multiple data signal sets in a rising edge and a falling edge of a clock signal, controlling the data transmission unit 40 to output the multiple data signal sets to multiple output ports respectively to control the display unit 200 to display the image. In this embodiment of the disclosure, the processing system unit 50 is an ARM micro-controller.
Specifically, referring to
The display unit 200 comprises a drive unit 210 and an LED display panel 220. The drive unit 210 is used for driving the display unit 200 to start to receive data signals (Data) and display an image according to the data signals. The LED display panel is used for displaying the image.
In some embodiments, the data display device 1000 further comprises display device ports respectively corresponding to multiple display blocks (Block (n+1)), and the multiple display blocks (Block (n+1)) are used for displaying an image according to multiple corresponding data signal sets.
Referring to
The above-described device embodiments are merely illustrative, wherein the units that are described as separate components may or may not be physically separate, and the components that are displayed as units may or may not be physical units; in other words, they may be located at the same one location, and may also be distributed to a plurality of network units. Part or all of the modules may be selected according to the actual demands to realize the purposes of the solutions of the embodiments. A person skilled in the art can understand and implement the technical solutions without paying creative work.
Each component embodiment of the present disclosure may be implemented by hardware, or by software modules that are operated on one or more processors, or by a combination thereof. A person skilled in the art should understand that some or all of the functions of some or all of the components of the electronic device according to the embodiments of the present disclosure may be implemented by using a microprocessor or a digital signal processor (DSP) in practice. The present disclosure may also be implemented as apparatus or device programs (for example, computer programs and computer program products) for implementing part of or the whole of the method described herein. Such programs for implementing the present disclosure may be stored in a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other forms.
Referring to
When the computer program 61 is executed by one or more processors 62, the steps of the data display method in any one embodiment mentioned above are performed.
For example, when the program is executed by the processor 62, the following steps of the method are performed:
S10: receiving data signals of a display image, and storing the data signals;
S20: extending the stored data signals into multiple data signal sets in a preset sequence, and synchronously caching the multiple data signal sets in a rising edge and a falling edge of a clock signal; and
S30: controlling the multiple data signal sets to be respectively output to multiple output ports to control a display unit to display the image.
The non-volatile computer readable storage medium 60 may be disposed in the processor 62 or a data source reader, and in this case, the processor 62 or the data source reader is able to communicate with a cloud server to obtain the corresponding computer program 61.
It can be understood that the computer program 61 comprises a computer program code.
The computer program code may be in the form of a source code, an object code or an executable file or some intermediate forms. The computer readable storage medium may comprise: any entities or devices capable of carrying the computer program code, a record medium, a USB flash disk, a mobile hard disk, a diskette, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), a software distribution medium, or the like.
For example,
In the description of this specification, the statement of reference terms such as “one embodiment”, “some embodiments”, “illustrative embodiment”, “example”, “specific example”, is intended to indicate that specific features, structures, materials or characteristics described in conjunction with said embodiment or example are included in at least one embodiment or example of the disclosure. In this specification, illustrative statements of these terms do not definitely direct at the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in any appropriate manners.
Although the embodiments of the disclosure have been illustrated and described above, those ordinarily skilled in the art would appreciate that different variations, modifications, substations and transformations can be made to these embodiments without departing from the principle and concept of the disclosure, and the scope of the disclosure should be defined by the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
202011562777.9 | Dec 2020 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20080030453 | Chen | Feb 2008 | A1 |
20130300773 | Kim | Nov 2013 | A1 |
20160042718 | Su | Feb 2016 | A1 |
20170300195 | Kim | Oct 2017 | A1 |
20190303314 | Li et al. | Oct 2019 | A1 |
20200312228 | Lee | Oct 2020 | A1 |
20210035518 | Yabuki | Feb 2021 | A1 |
Number | Date | Country |
---|---|---|
101404135 | Apr 2009 | CN |
202694758 | Jan 2013 | CN |
103310735 | Sep 2013 | CN |
104505018 | Apr 2015 | CN |
105301368 | Feb 2016 | CN |
108228493 | Jun 2018 | CN |
Entry |
---|
First Office Action in the Chinese Patent Application No. 202011562777.9 dated Sep. 24, 2021; English translation attached. |
Number | Date | Country | |
---|---|---|---|
20220208077 A1 | Jun 2022 | US |