The present disclosure relates to the field of image processing, and in particular to a method and apparatus for storing and reading data, a non-volatile storage medium, and an image processing device.
In the related art, an image signal stream provided for a Light Emitting Diode (LED) display device needs to be processed in advance, starting from the acquisition of data from a video source, the whole data processing flow includes that: 1, an original video stream is acquired from the video source (a computer graphics card, etc.); 2, High Definition Multimedia Interface (HDMI) decoding is performed on the original video stream by a video access board; 3, the decoded video stream is provided to a signal distribution board, and the signal distribution board performs image cutting to obtain an image corresponding to a module control board of each module of a large display screen; 4, after obtaining the cut original video stream, the module control board performs data processing on the original video stream, generates a control constant current source driving signal and drives an LED; and 5, a constant current source drives an LED module to display a video.
In the above process, after data of an original image enters the module control board, since the module control board needs to firstly store the data of the original image in a memory for caching, and then take the data out of the memory for processing or send same to a lamp panel driver chip in the display module, and the lamp panel driver chip generates a drive current to light up a lamp bead in the lamp panel. However, in the related art, since the arrangement order of the lamp panels in each module and the arrangement manner of a string of lamp panel driver chips corresponding to each lamp panel are different, the module control board may only take a piece of pixel data of the original image from the memory every time until all the pixel data is taken out of the memory and completes processing, and then send same to the driver chip. The processing speed of the above processing flow is slow, resulting in the technical problems such as low performance and image delay in the module control board.
For the above problems, no effective solution has been proposed.
Embodiments of the present disclosure provide a method and apparatus for storing and reading data, a non-volatile storage medium, and an image processing device to solve the technical problem of relatively overall slow on storing and reading pixel data caused by storing and reading a piece of pixel data of an image in a memory every time.
According to an aspect of the embodiments of the present disclosure, a data access method is provided, which may include that: target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data are acquired, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels; according to a pixel address mapping relationship and the pixel parameter, adjacent addresses in a memory are allocated to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory; each piece of pixel data in the target pixel data is stored to the memory according to the memory location; and according to the pixel address mapping relationship, a set of adjacent pixel data is successively read out from the memory every time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data including pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
As at least one alternative embodiment, the operation of acquiring the pixel parameter corresponding to each piece of pixel data in the target pixel data may include that: lamp panel information corresponding to each piece of pixel data in the target pixel data and a location parameter of each piece of pixel data in a lamp panel are acquired, the pixel parameter including the lamp panel information and the location parameter, and the location parameter including a cascade number, a scan number and a channel number of a lamp panel driver chip corresponding to each piece of pixel data.
As at least one alternative embodiment, the operation of allocating, according to the pixel address mapping relationship and the pixel parameter, adjacent addresses in the memory to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine the memory location where each piece of pixel data in the target pixel data is stored in the memory may include that: according to the pixel address mapping relationship and the pixel parameter, the adjacent addresses in the memory are allocated to the pixel data corresponding to different lamp panels but having matched location parameters in the target pixel data, so as to determine the memory location where each piece of pixel data in the target pixel data is stored in the memory.
As at least one alternative embodiment, the operation of successively reading out, according to the pixel address mapping relationship, a set of adjacent pixel data from the memory at a time may include that: a set of memory locations in the memory is determined according to the pixel address mapping relationship, the set of memory locations including a plurality of adjacent addresses, and pixel data in the plurality of adjacent addresses respectively correspond to different lamp panels but have the matched location parameters; and the pixel data stored in the memory location in the memory is successively read out at once to obtain the set of adjacent pixel data.
As at least one alternative embodiment, the operation of acquiring the location parameter corresponding to each piece of pixel data in the target pixel data may include that: a pre-stored pixel address mapping table is read, the pixel address mapping table being configured to record a mapping relationship between a pixel and the cascade number and the channel number of the lamp panel driver chip; and a cascade number and a channel number corresponding to each piece of pixel data in the target pixel data are acquired from the pixel address mapping table.
As at least one alternative embodiment, the operation of acquiring the location parameter corresponding to each piece of pixel data in the target pixel data may include that: scanning information of the target pixel data is acquired from an image decoding device, the image decoding device being configured to send the target pixel data of the original image; and according to the scanning information, the scan number corresponding to each piece of pixel data in the target pixel data is determined.
As at least one alternative embodiment, the method may further include that: according to a reading order of the adjacent pixel data, data operation processing is successively performed on each set of adjacent pixel data until all the target pixel data is processed to obtain pixel data to be displayed; and the pixel data to be displayed is sent to the lamp panel driver chips of the plurality of lamp panels.
According to another aspect of the embodiments of the present disclosure, a data access apparatus is also provided, which may include: an acquisition module, configured to acquire target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels; a determination module, configured to allocate, according to a pixel address mapping relationship and the pixel parameter, adjacent addresses in a memory to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory; a storage module, configured to store the target pixel data to the memory according to the memory location; and a reading module, configured to successively read out, according to the pixel address mapping relationship, a set of adjacent pixel data from the memory every time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data includes pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
According to yet another aspect of the embodiments of the present disclosure, a non-volatile storage medium is also provided, which may include a stored program. The program, when running, controls a device where the non-volatile storage medium is located to perform any one of the above data access methods.
According to still yet another aspect of the embodiments of the present disclosure, a computer device is also provided, which may include a processor configured to run a program. The program, when running, performs any one of the above data access methods.
In the embodiments of the present disclosure, a manner of storing and reading the pixel data on the basis of the pixel address mapping relationship and the pixel parameter of the pixel data is adopted, and by storing the pixel data corresponding to different lamp panels as a set of adjacent pixel data in the adjacent addresses in the memory and reading same at the same time, the purpose of supporting reading a plurality of pieces of pixel data from the memory at a time for data processing is achieved, thereby achieving the technical effect of increasing the reading speed of the image pixel data in the memory, and further solving the technical problem of relatively overall slow on storing and reading the pixel data caused by accessing a piece of pixel data of the image from the memory every time.
The drawings described herein are used to provide a further understanding of the present disclosure, and constitute a part of the present disclosure, and the exemplary embodiments of the present disclosure and the description thereof are used to explain the present disclosure, but do not constitute improper limitations to the present disclosure. In the drawings:
In order to make the solutions of the present disclosure understood by those skilled in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in combination with the drawings in the embodiments of the present disclosure. It is apparent that the described embodiments are not all embodiments but only part of embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art on the basis of the embodiments in the present disclosure without creative work shall fall within the scope of protection of the present disclosure.
It is to be noted that terms “first”, “second” and the like in the description, claims and the above drawings of the present disclosure are used for distinguishing similar objects rather than describing a specific sequence or a precedence order. It should be understood that the data used in such a way may be exchanged where appropriate, in order that the embodiments of the present disclosure described here may be implemented in an order other than those illustrated or described herein. In addition, terms “include” and “have” and any variations thereof are intended to cover non-exclusive inclusions. For example, it is not limited for processes, methods, systems, products or devices containing a series of steps or units to clearly list those steps or units, and other steps or units which are not clearly listed or are inherent to these processes, methods, products or devices may be included instead.
An embodiment of the present disclosure provides an embodiment of a method for storing and reading data. It is to be noted that the steps shown in the flowchart of the drawings may be executed in a computer system, such as a set of computer-executable instructions, and although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than here.
The method embodiment provided by Embodiment 1 of the present disclosure may be implemented in a mobile terminal, a computer terminal or a similar computing device.
It is to be noted that one or more processors and/or other data processing circuits may be generally referred to herein as “data processing circuits”. The data processing circuit may be embodied in whole or in part as software, hardware, firmware, or any other combination. Further, the data processing circuit may be a single and stand-alone processing module, or combined in whole or in part in any of other elements of the computer terminal 10. As referred to in the embodiments of the present disclosure, the data processing circuit acts as a processor control (such as selection of a variable resistance terminal path connected to the interface).
The memory 104 may be configured to store a software program and a module of invention software, such as a program instruction/data storage apparatus corresponding to the data access method in the embodiments of the present disclosure, and the processor performs various functional inventions and data processing by running the computer program and the module stored in the memory 104, that is, implements the data assess method for the invention program. The memory 104 may include a high speed Random Access Memory (RAM) and may also include a non-volatile memory such as one or more magnetic storage apparatuses, a flash memory, or other non-volatile solid state memories. In some examples, the memory 104 may further include memories remotely located relative to the processor, which may be connected to the computer terminal 10 through a network. The examples of the above network include, but are not limited to, Internet, Intranet, local area networks, mobile communication networks, and combinations thereof.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that enables a user to interact with a user interface of the computer terminal 10.
In the related art, LED lamp beads in an LED display screen correspond to pixel points in a video image one by one, but each display module may include a plurality of lamp panels, the lamp panels corresponding to a plurality of cross-flow driver chips. The arrangement of the driver chips corresponding to the lamp panels may vary, and the number of the adopted driver chips may also vary. Therefore, the relationship between each pixel point and an output channel of the lamp panel driver chip may be different for different hardware circuits. Limited by this, after a module control board stores image data of a video to a memory, pixel data corresponding to a continuous channel in the same lamp panel driver chip is stored in different locations in the memory, and a physical mechanism of the memory makes it not support reading a plurality of pieces of data from discontinuous addresses at one time. Therefore, in the related art, only a piece of pixel data may be acquired from the memory at one time, and the pixel data is processed in combination with a correction coefficient or other types of parameters to obtain data output to the lamp panel driver chip and sent to the lamp panel driver chip. It is apparent that since the above process may only acquire a piece of pixel data from the memory at one time, the speed of reading all the image data from the memory is very slow, which affects the overall speed of the module control board in processing the image, and may further cause the module control board to be unable to process a frame of image within one frame time interval of the video and send same to the lamp panel driver chip. As a result, the input video image and the output video image in the module control board have to be separated by two frames, resulting in unnecessary time delay.
In order to implement the flexible design and convenient layout and wiring of the hardware circuit, the solution designs a method for storing and reading data which may be used in the module control board to solve the above problems.
At S202, target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data are acquired, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels.
It is to be noted that the original image may be a frame of image in an input video in a module control board, the module control board needs to cache the frame of image into a memory firstly, read from the memory to perform image processing, and then send the processed image data to a lamp panel driver chip, and the lamp panel driver chip generates a drive current to light up a lamp bead of the lamp panel. As an example embodiment, the lamp panel driver chip may be a constant current source driver chip. Each piece of pixel data in the target pixel data may correspond to a pixel point in the original image, and the complete original image, namely, the processed image, needs the plurality of lamp panels to be fully displayed. Therefore, the pixel parameter includes information about which lamp panel of the plurality of lamp panels each piece of pixel data in the target pixel data should correspond to. It is to be noted that each piece of pixel data in the target pixel data corresponds to only one lamp panel of the plurality of lamp panels.
At S204, according to a pixel address mapping relationship and the pixel parameter, adjacent addresses in a memory are allocated to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory.
It is to be noted that the adjacent addresses are the plurality of continuous addresses in the memory. The pixel data of different lamp panels are successively stored in the continuous adjacent addresses, so that the pixel data in the adjacent addresses may be read out at one time when the data is read, then batch processing is performed on the pixel data respectively corresponding to the plurality of lamp panels, and then the processed pixel data is respectively sent to the lamp panel driver chip of each lamp panel, thereby implementing synchronous batch processing of the pixel data.
At S206, The each piece of pixel data in the target pixel data is stored to the memory according to the memory location.
At S208, according to the pixel address mapping relationship, a set of adjacent pixel data is successively read out from the memory at one time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data including pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
In the above steps, a manner of storing and reading the pixel data on the basis of the pixel address mapping relationship and the pixel parameter of the pixel data is adopted, and by storing the pixel data corresponding to different lamp panels as a set of adjacent pixel data in the adjacent addresses in the memory and reading same at the same time, the purpose of supporting reading a plurality of pieces of pixel data from the memory at one time for data processing is achieved, thereby achieving the technical effect of increasing the reading speed of the image pixel data in the memory, and further solving the technical problem of relatively slow overall access to the pixel data caused by accessing a piece of pixel data of the image from the memory at a time.
As an optional embodiment, the pixel parameter corresponding to each piece of pixel data in the target pixel data may be acquired in the following manner: lamp panel information corresponding to each piece of pixel data in the target pixel data and a location parameter of each piece of pixel data in the lamp panel are acquired, the pixel parameter including the lamp panel information and the location parameter, and the location parameter including a cascade number, a scan number and a channel number of the lamp panel driver chip corresponding to each piece of pixel data.
As at least one alternative embodiment, the lamp panel information may be configured to represent which lamp panel in the display module each piece of pixel data corresponds to, that is. on which lamp panel the pixel point in the image corresponding to the pixel data should be displayed. The location parameter of the pixel data in the lamp panel may be configured to represent the specific location in the lamp panel where each piece of pixel data should be displayed, for example, the location of the lamp bead in the lamp panel corresponding to the pixel data. It is to be noted that, in order to drive the lamp bead in the lamp panel, the plurality of lamp panel driver chips may be used to provide a drive current for the lamp panel, the plurality of lamp panel driver chips may be connected in series to form a cascade structure, and the location of each lamp panel driver chip in a string of lamp panel driver chips in the lamp panel may be represented by the cascade number; the scan number of each piece of pixel data may also be determined corresponding to a scanning line of the image; and there are a plurality of channels in each lamp panel driver chip, and each channel transports the drive current to the lamp beads at different positions, so that the location of the lamp bead in the lamp panel driver chip also corresponds to one channel number. Therefore, the location of the lamp bead corresponding to each piece of pixel data may be determined by using the cascade number, the scan number and the channel number of the lamp panel driver chip, and the location of the lamp bead corresponding to the pixel data, and the time sequence order in which the pixel data in the module control board needs to be processed and sent to the lamp panel driver chip may be determined on the basis of the above information.
As an optional embodiment, the memory location where each piece of pixel data in the target pixel data is stored to the memory may be determined in the following manner: according to the pixel address mapping relationship and the pixel parameter, the adjacent addresses in the memory are allocated to the pixel data corresponding to different lamp panels but having matched location parameters in the target pixel data, so as to determine the memory location where each piece of pixel data in the target pixel data is stored in the memory.
In this optional embodiment, the adjacent addresses in the memory may store a set of pixel data as follows: in a case where there are four lamp panels in the module, each set of adjacent addresses includes four addresses in which four pieces of pixel data are respectively stored, the four pieces of pixel data respectively corresponding to the four lamp panels, and the cascade number, the scan number and the channel number of the four pieces of pixel data being the same. According to the above manner, all the data in the target pixel data is organized into the same arrangement mode and stored in the memory, which may ensure that the pixel data belonging to different lamp panels but having the same cascade number, scan number and channel number are stored adjacently in the memory, so as to facilitate subsequent rapid data readout.
As an optional embodiment, according to the pixel address mapping relationship, a set of adjacent pixel data may be successively read out from the memory at a time in the following manner: a set of memory locations in the memory is determined according to the pixel address mapping relationship, the set of memory locations including a plurality of adjacent addresses, and respective pixel data in the plurality of adjacent addresses respectively correspond to different lamp panels but have the matched location parameters; and the pixel data stored in the memory location in the memory is successively read out at once to obtain the set of adjacent pixel data.
According to the above manner, all the data in the target pixel data is organized into the arrangement mode in the above embodiment and stored in the memory, which may ensure that the pixel data belonging to different lamp panels but having the same cascade number, scans and channels are stored adjacently in the memory. Since the reading mechanism of the memory may read the data in the continuous memory addresses together, the above data storage manner facilitates subsequent reading of the pixel data corresponding to different lamp panels but having the matched location parameters together, which increases the data reading speed and improves the overall processing efficiency of the image data.
As an optional embodiment, the operation of acquiring a location parameter corresponding to each piece of pixel data in the target pixel data may include the following steps: a pre-stored pixel address mapping table is read, the pixel address mapping table being configured to record a mapping relationship between a pixel and the cascade number and the channel number of the lamp panel driver chip; and a cascade number and a channel number corresponding to each piece of pixel data in the target pixel data are acquired from the pixel address mapping table. For example, the pixel address mapping table may be pre-stored, and called according to the cache requirement of the target pixel data, so as to implement rapid matching between the pixel data and the memory location.
As an optional embodiment, the operation of acquiring a location parameter corresponding to each piece of pixel data in the target pixel data may further include the following steps: scanning information of the target pixel data is acquired from an image decoding device, the image decoding device being configured to send the target pixel data of the original image; and according to the scanning information, the scan number corresponding to each piece of pixel data in the target pixel data is determined.
As at least one alternative embodiment, the image decoding device may be an upstream device of the module control board, for example, an upstream FPGA. After processing the video, the FPGA obtains the original image and the scan number of each pixel in the original image, and then sends the target pixel data and the scan number to the module control board. The module control board may directly determine the scan number of each piece of pixel data in the target pixel data according to the scan number acquired from the FPGA. In this way, the scan number of the pixel data may not be stored in the pixel address mapping table so as to reduce a local storage pressure.
As an optional embodiment, the method may further include the following subsequent process: according to a reading order of the adjacent pixel data, data operation processing is successively performed on each set of adjacent pixel data until all the target pixel data is processed to obtain pixel data to be displayed; and the pixel data to be displayed is sent to the lamp panel driver chips of the plurality of lamp panels.
It is to be noted that the processing of the pixel data corresponding to a single lamp panel needs to be performed successively according to the cascade number, the scan number and the channel number of the lamp panel driver chip in the lamp panel, so as to complete the processing of the pixel data corresponding to one lamp panel. Therefore, by using the method provided in the above embodiment, the pixel data matched with the cascade numbers, the scan numbers and the channel numbers of the plurality of lamp panels may be simultaneously taken out of the memory and processed as data of the same batch uniformly, then the processed data may be distributed to the lamp panel driver chip in each lamp panel. At the same time, next set of adjacent pixel data is acquired from the memory, the pixel data in the next set of adjacent pixel data still respectively corresponds to the plurality of lamp panels, and has the matched cascade number, the scan number and the channel number, but the cascade number, the scan number and the channel number may change compared with the previous set of adjacent pixel data. The above process is repeatedly executed, and in a case where the cascade number and the scan number are unchanged, the pixel data corresponding to different numbers of channels in each lamp panel is successively read out and processed. Then, the scan number is updated, and the pixel data corresponding to different channel numbers in the next scan is processed. When the pixel data of an object of one lamp panel driver chip is processed, the cascade number is updated, and the pixel data corresponding to the next lamp panel driver chip is read out from the memory and processed until the target pixel data is read out and processed, that is, the image processing process of the original image is completed.
Based on the above method of the present disclosure, a map address distribution technology may be provided. The map address distribution technology may pre-store the above pixel address mapping table in the module control board, and the cascade number and the scan number corresponding to the lamp panel driver chip for each pixel in the image, and which channel in the lamp drive chip may be determined on the basis of the pixel address mapping table. For example, the scan number may be calculated in the upstream FPGA, and the cascade number and the channel number are stored in the pixel address mapping table and determined by looking up information in the pixel address mapping table. After having these pieces of information, the received pixel data may be cached into the corresponding location of the memory according to the address corresponding relationship of the cascade number, the scan number and the channel number, and then during the time of the next frame, these pieces of data are successively read out from the memory according to the time sequence requirements to perform correction operation, gamma operation, gamut operation or brightness operation, and finally the operation result is sent to the lamp panel driver chip to be finally displayed on the display screen.
It is to be noted that, for simple description, each of the above method embodiments is expressed as a combination of a series of operations, but those skilled in the art should know that the present disclosure is not limited to the described operation sequence because some steps may be executed in other sequences or at the same time according to the present disclosure. Second, those skilled in the art should also know that all the embodiments described in the specification are optional embodiments and involved operations and modules are not always required by the present disclosure.
Through the description of the above implementation modes, those skilled in the art may clearly understand that the data access method according to the above embodiment may be implemented by means of software and a necessary general hardware platform, and of course, may also be implemented through hardware, but in many cases, the former is a better implementation mode. Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the conventional art, may be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a Read-Only Memory (ROM)/RAM, a magnetic disk and an optical disc), including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present disclosure.
According to the embodiments of the present disclosure, an apparatus for storing and reading data for implementing the above method for storing and reading data is also provided.
The acquisition module 42 is configured to acquire target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels.
The determination module 44 is connected to the above acquisition module 42, and is configured to allocate, according to a pixel address mapping relationship and the pixel parameter, adjacent addresses in a memory to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory.
The storage module 46 is connected to the determination module 44, and is configured to store each piece of pixel data in the target pixel data to the memory according to the memory location.
The reading module 48 is connected to the storage module 46, and is configured to successively read out, according to the pixel address mapping relationship, a set of adjacent pixel data from the memory at one time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data including pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
It is to be noted herein that the above acquisition module 42, the determination module 44, the storage module 46 and the reading module 48 correspond to S202 to S208 in the embodiment, and a plurality of modules are the same as the examples and invention scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above embodiment. It is to be noted that the above modules may run in the computer terminal 10 provided in the embodiment as part of the apparatus.
The embodiments of the present disclosure may provide an image processing device. For example, the image processing device may be located in at least one of a plurality of network devices of a computer network in this embodiment. The image processing device includes a memory and a processor.
Herein, the memory may be configured to store a software program and a module, such as a program instruction/module corresponding to the data access method and apparatus in the embodiment of the present disclosure, and the processor performs various functional inventions and data processing by running the software program and the module stored in the memory, that is, implements the above data assess method. The memory may include a high speed RAM and may also include a non-volatile memory such as one or more magnetic storage apparatuses, a flash memory, or other non-volatile solid state memories. In some examples, the memory may further include memories remotely located relative to the processor, which may be connected to the computer terminal through a network. The examples of the above network include, but are not limited to, Internet, Intranet, local area networks, mobile communication networks, and combinations thereof.
The processor may call the information and the invention program stored in the memory through a transmission device so as to execute the following steps: target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data are acquired, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels; according to a pixel address mapping relationship and the pixel parameter, adjacent addresses in a memory are allocated to the pixel data respectively corresponding to different lamp panels in the target pixel data, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory; the target pixel data is stored to the memory according to the memory location; and according to the pixel address mapping relationship, a set of adjacent pixel data is successively read out from the memory at a time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data including pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
Those of ordinary skill in the art should know that all or part of the steps in various methods of the above embodiment may be implemented by terminal device related hardware instructed through a program, the program may be stored in a non-volatile storage medium, and the storage program includes: a flash disk, an ROM, an RAM, a magnetic disk or a compact disc.
The embodiments of the present disclosure also provide a non-volatile storage medium. Optionally, in the embodiment, the above non-volatile storage medium may be configured to store program codes executed by the data access method provided in the above embodiment.
As at least one alternative embodiment, in the embodiment, the non-volatile storage medium may be located in any one computer terminal in a computer terminal in a computer network set in a computer network or in any one mobile terminal in a mobile terminal set.
As at least one alternative embodiment, in the embodiment, the non-volatile storage medium is arranged to store program codes for performing the following steps: target pixel data of an original image and a pixel parameter corresponding to each piece of pixel data in the target pixel data are acquired, the original image being an image for display in a plurality of lamp panels, and the pixel parameter including a corresponding relationship between each piece of pixel data in the target pixel data and the plurality of lamp panels; according to a pixel address mapping relationship and the pixel parameter, adjacent addresses are allocated to the pixel data respectively corresponding to different lamp panels in the target pixel data in a memory, so as to determine a memory location where each piece of pixel data in the target pixel data is stored in the memory; the target pixel data is stored in the memory according to the memory location; and according to the pixel address mapping relationship, a set of adjacent pixel data is successively read out from the memory at a time until all the target pixel data is read out from the memory, the target pixel data including the adjacent pixel data, and the set of adjacent pixel data including pixel data having adjacent addresses in the memory and respectively corresponding to different lamp panels in the plurality of lamp panels.
The sequence numbers of the embodiments of the present disclosure are adopted not to represent superiority-inferiority of the embodiments but only for description.
In the above embodiments of the present disclosure, the description of the embodiments has its own focus. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present disclosure, it should be understood that, the disclosed technical content may be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of the units may be a logical function division, and there may be other divisions in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be in electrical or other forms.
The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, the components may be located in one place, or may be distributed on the plurality of units. Part or all of the units may be selected according to actual requirements to achieve the purposes of the solutions of this embodiment.
In addition, the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more than two units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software functional unit.
If the integrated unit is implemented in the form of the software functional unit and sold or used as an independent product, it may be stored in the computer readable storage medium. Based on this understanding, the technical solutions of the present disclosure essentially or the parts that contribute to the conventional art, or all or part of the technical solutions may be embodied in the form of a software product. The computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, and the like) to execute all or part of the steps of the method described in the various embodiments of the present disclosure. The foregoing storage medium includes a USB flash disk, an ROM, an RAM, and various media that may store program codes, such as a mobile hard disk, a magnetic disk, or an optical disk.
The above description is merely preferred implementation modes of the present disclosure, and it is to be noted that those of ordinary skill in the art may also make several improvements and refinements without departing from the principle of the present disclosure, and it should be considered that these improvements and refinements shall all fall within the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202210727104.7 | Jun 2022 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20020130876 | Champion | Sep 2002 | A1 |
20080055328 | Shin et al. | Mar 2008 | A1 |
20090147130 | Kim | Jun 2009 | A1 |
20100309100 | Cok | Dec 2010 | A1 |
20170010845 | Noguchi | Jan 2017 | A1 |
20190027089 | Moribe | Jan 2019 | A1 |
20190295457 | Li | Sep 2019 | A1 |
20210142767 | Mo | May 2021 | A1 |
20210233462 | Ding | Jul 2021 | A1 |
20210407441 | Gu | Dec 2021 | A1 |
20220066543 | Rhyu | Mar 2022 | A1 |
20240046891 | Li | Feb 2024 | A1 |
20240062708 | Gu | Feb 2024 | A1 |
Entry |
---|
The extended European search report of the corresponding EP patent application No. 23178490.1, mail date Nov. 14, 2023. |
Number | Date | Country | |
---|---|---|---|
20230419876 A1 | Dec 2023 | US |