CN115497432A - Data processing method and device, electronic equipment, display equipment and storage medium - Google Patents
Data processing method and device, electronic equipment, display equipment and storage medium Download PDFInfo
- Publication number
- CN115497432A CN115497432A CN202211170485.XA CN202211170485A CN115497432A CN 115497432 A CN115497432 A CN 115497432A CN 202211170485 A CN202211170485 A CN 202211170485A CN 115497432 A CN115497432 A CN 115497432A
- Authority
- CN
- China
- Prior art keywords
- data
- screen
- image
- different data
- buffer area
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 claims description 45
- 238000004891 communication Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
- G09G5/39—Control of the bit-mapped memory
- G09G5/393—Arrangements for updating the contents of the bit-mapped memory
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Digital Computer Display Output (AREA)
Abstract
According to the data processing method, the data processing device, the electronic equipment, the display equipment and the storage medium, the refreshing coordinates of the image to be refreshed in the screen are determined; determining target buffer data corresponding to the refresh coordinates in a first buffer area; determining whether different data exists based on the target buffer data and the image to be refreshed; under the condition that different data exist, the different data are stored in a second buffer area, so that the screen obtains the different data from the second buffer area and refreshes according to the different data, the screen only obtains the different data, the pixel lamp data corresponding to the different data only needs to be updated, the data at all positions do not need to be traversed, and the data processing efficiency and the screen refreshing efficiency are improved.
Description
Technical Field
The present application relates to the field of image display technologies, and in particular, to a data processing method and apparatus, an electronic device, a display device, and a storage medium.
Background
The screen used by the air purifier in the current market is slow, the color screen replaces a digital tube, and with the wide application of the color screen, the technologies in the aspects of storage, data drawing mode, data interaction and the like need to be optimized and improved rapidly. With the increase of the screen data requirement and complexity of real-time display, the interaction between a Micro Controller Unit (MCU) and a color screen is more frequent, and there are abnormal factors such as slow data processing and interaction, long screen refresh period, and the like.
Disclosure of Invention
In order to solve the above problems, the present application provides a data processing method, an apparatus, an electronic device, a display device, and a storage medium, which can improve the refresh efficiency of a screen.
The application provides a data processing method, which comprises the following steps:
under the condition of acquiring an image to be refreshed, determining a refreshing coordinate of the image to be refreshed in a screen;
determining target buffer data corresponding to the refresh coordinates in a first buffer area, wherein the first buffer area is used for storing image data of a displayed image at the latest time;
determining whether different data exists based on the target buffer data and the image to be refreshed;
and under the condition that different data exist, storing the different data into a second buffer area so that the screen acquires the different data from the second buffer area and refreshes the different data according to the different data, wherein the second buffer area is used for storing data interacted with the screen.
In some embodiments, the method further comprises:
replacing buffered data corresponding to the different data in the first buffer with the different data.
In some embodiments, the method further comprises:
and under the condition that the screen is determined to acquire the different data from a second buffer area, emptying the second buffer area.
In some embodiments, determining the refresh coordinates of the image to be refreshed in the screen comprises:
determining the refreshing position and the image size of the image to be refreshed in the screen;
and determining the refreshing coordinate of the image to be refreshed in the screen based on the refreshing position and the image size.
In some embodiments, said storing said different data into a second buffer comprises:
determining coordinates corresponding to the different data;
determining the corresponding address of the coordinate in the second buffer area;
the different data is filled into the address.
In some embodiments, the method further comprises:
acquiring the size of the screen;
and determining the size of a first buffer area and the size of a second buffer area based on the size of the screen, wherein each coordinate of the screen has a corresponding relation with each address in the first buffer area, and each coordinate in the screen has a mapping relation with each address in the second buffer area.
In some embodiments, in the case of acquiring an image to be refreshed, before the step of determining the refresh coordinates of the image to be refreshed in the screen, the method further comprises:
and emptying the second buffer area.
An embodiment of the present application provides a data processing apparatus, including:
the first determining module is used for determining the refreshing coordinates of the image to be refreshed in the screen under the condition of acquiring the image to be refreshed;
a second determining module, configured to determine target buffer data corresponding to the refresh coordinate in a first buffer, where the first buffer is used to store image data of a last displayed image;
a third determining module, configured to determine whether different data exists based on the target buffer data and the image to be refreshed;
and the storage module is used for storing different data into a second buffer area under the condition that the different data exist, so that the screen acquires the different data from the second buffer area and displays the different data, wherein the second buffer area is used for storing data interacted with the screen.
An embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the electronic device executes a data processing method according to any one of claims 1 to 7.
The embodiment of the application provides a display device, which comprises a screen and an electronic device, wherein the screen is in communication connection with the electronic device, and the screen is refreshed according to different data under the condition of acquiring the different data.
According to the data processing method, the data processing device, the electronic equipment, the display device and the storage medium, the refreshing coordinates of the image to be refreshed in the screen are determined; determining target buffer data corresponding to the refresh coordinates in a first buffer area; determining whether different data exists based on the target buffer data and the image to be refreshed; under the condition that different data exist, the different data are stored in a second buffer area, so that the screen obtains the different data from the second buffer area and refreshes according to the different data, the screen only obtains the different data, only the pixel lamp data corresponding to the different data need to be updated, the data at all positions do not need to be traversed, and the data processing efficiency and the screen refreshing efficiency are improved.
Drawings
The present application will be described in more detail below on the basis of embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart illustrating an implementation of a data processing method provided in the related art;
fig. 2 is a schematic flow chart illustrating an implementation of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of determining refresh coordinates for a refresh position and an image size according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating how to process buffer data according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a component of an electronic device according to an embodiment of the present application.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
The following description will be added if a similar description of "first \ second \ third" appears in the application file, and in the following description, the terms "first \ second \ third" merely distinguish similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under certain circumstances in a specific order or sequence, so that the embodiments of the application described herein can be implemented in an order other than that shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before describing the embodiments of the present application, a brief description will be given of a data processing method provided in the related art. Fig. 1 is a schematic flow chart of an implementation of a data processing method provided in the related art, as shown in fig. 1, including:
step S101, initializing the MCU.
Step S102, color screen initialization.
Step S103, emptying a buffer area interacting with the screen.
And step S104, filling the address of the buffer area with data and transmitting the data to the color screen.
Step S105, the color screen receives the corresponding data, and according to the corresponding pixel point data, the color screen judges one by one and lights the corresponding pixel, and the like, thereby completing the display.
And step S106, displaying whether the data needs to be replaced.
In the related art, if yes, step S103 is performed. If not, the process is ended.
In the related art, when data needs to be updated, the buffer area needs to be cleared again, all the data are filled into the buffer area one by one and transmitted to the color screen, and the color screen needs to be lighted up by one judgment.
Based on the problems in the related art, the embodiments of the present application provide a data processing method, the method is applied to an electronic device, the electronic device may be an MCU, the electronic device may be installed on an intelligent device, a server, a display device, the display device may be a furniture device, a mobile terminal, etc., the home equipment may be an air conditioner, an intelligent door lock, an electric cooker, a refrigerator, an air purifier, etc., the mobile terminal may be a mobile phone, a tablet computer, etc., the functions implemented by the data processing method provided by the embodiments of the present application may be implemented by a processor of the electronic device calling a program code, where the program code may be stored in a computer storage medium.
Example one
An embodiment of the present application provides a data processing method, and fig. 2 is a schematic flow chart illustrating an implementation of the data processing method provided in the embodiment of the present application, and as shown in fig. 2, the data processing method includes:
step S201, under the condition that the image to be refreshed is obtained, determining the refreshing coordinate of the image to be refreshed in the screen.
In the embodiment of the application, the electronic device can generate the image to be refreshed through the operation of a user. The image to be refreshed may be used for refreshing an image of at least a partial area of the entire screen.
In the embodiment of the application, the electronic device can determine the refresh coordinates of the image to be refreshed in the screen based on the attribute information of the image to be refreshed. The attribute information may include a refresh position and an image size. The electronic device can determine a refresh position and an image size of the image to be refreshed in the screen based on the attributes of the image, and then determine refresh coordinates of the image to be refreshed in the screen based on the refresh position and the image size. Fig. 3 is a schematic diagram of determining refresh coordinates by a refresh position and an image size according to an embodiment of the present application, as shown in fig. 3, where the refresh position is determined as a and B, the image size is determined as a and B, and the refresh coordinates are determined based on a, B, a and B.
In the embodiment of the application, each refreshing coordinate may correspond to a pixel region formed by one pixel point or a plurality of pixel points.
In the embodiment of the application, the screen can be a color screen, and the electronic device can be in communication connection with the screen.
Step S202, determining target buffer data corresponding to the refresh coordinates in a first buffer area, wherein the first buffer area is used for storing image data of a displayed image at the latest time.
In this embodiment of the application, the corresponding address in the first buffer area may be determined based on the refresh coordinate, so as to determine the buffer data stored at the corresponding address in the first buffer area, where the buffer data stored at the corresponding address in the first buffer area is the target buffer data. In the embodiment of the present application, the first buffer is used for storing image data of a last displayed image.
Step S203, whether different data exists is determined based on the target buffer data and the image to be refreshed.
In this embodiment, the target buffer data and the image to be refreshed may be compared to determine whether different data exists.
In the embodiment of the present application, if the target buffer data is the same as the image to be refreshed, the image to be refreshed is the same as the image displayed last time, so that it is not necessary to refresh the screen, and the process may be ended at this time.
In the embodiment of the present application, if there is different data between the target buffer data and the image to be refreshed, step S204 is executed.
Step S204, storing the different data into a second buffer area so as to enable the screen to obtain the different data from the second buffer area, and refreshing according to the different data, wherein the second buffer area is used for storing data interacted with the screen.
In the embodiment of the application, the screen can acquire data from the second buffer area in real time, so that when the second buffer area has data, the screen acquires the data from the second buffer area to refresh and display the data. In the embodiment of the application, when the screen is refreshed, the pixel lamps of the coordinates except the coordinates corresponding to different data in the screen are kept unchanged, and the pixel lamps of the coordinates corresponding to different data only need to be switched according to the transmitted different data to finish displaying. In the embodiment of the application, the screen can determine the refreshing coordinates according to the storage addresses of different data in the second cache region, and then the pixel lamps are switched based on the data corresponding to the refreshing coordinates, so that the refreshing of partial images corresponding to different data is completed.
In the embodiment of the application, the corresponding coordinates of different data in the screen can be determined, then the corresponding addresses of the coordinates in the second buffer area can be determined, and then the different data are filled into the addresses.
The data processing method comprises the steps of determining a refreshing coordinate of an image to be refreshed in a screen; determining target buffer data corresponding to the refresh coordinates in a first buffer area; determining whether different data exists based on the target buffer data and the image to be refreshed; under the condition that different data exist, the different data are stored in a second buffer area, so that the screen obtains the different data from the second buffer area and refreshes according to the different data, the screen only obtains the different data, only the pixel lamp data corresponding to the different data need to be updated, the rest pixels and the like do not need to be updated, the data of all positions corresponding to the screen do not need to be traversed, and therefore the data processing efficiency and the screen refreshing efficiency are improved.
In some embodiments, concurrently with or after step S204, the method further comprises:
step S205, replacing the buffered data corresponding to the different data in the first buffer with the different data.
In the embodiment of the present application, since the screen performs the refresh display by acquiring different data, the displayed image data needs to be stored in the first buffer area, and in order to improve the efficiency of data processing, at this time, only the different data may be used to replace the buffer data corresponding to the different data in the first buffer area.
In some embodiments, after step S204, the method further comprises:
step S206, under the condition that the screen is determined to acquire the different data from the second buffer area, the second buffer area is emptied.
In the embodiment of the application, by emptying the second buffer area, new different data are filled into the second buffer area under the condition that the new different data are obtained, so that the next refreshing is completed.
Before step S201, the method further includes:
and S1, acquiring the size of the screen.
In the embodiment of the application, the electronic equipment can be in communication connection with the screen, and the size of the screen is acquired from the screen. In some embodiments, the size of the screen may also be obtained by user input.
And S2, determining the size of a first buffer area and the size of a second buffer area based on the size of the screen, wherein each coordinate of the screen has a corresponding relation with each address in the first buffer area, and each coordinate in the screen has a mapping relation with each address in the second buffer area.
In some embodiments, before step S201, the method further comprises:
step S2011, the second buffer is emptied.
The data processing method provided by the embodiment of the application can improve the refreshing efficiency of the screen, so that the image refreshing is more reasonable.
Example two
Based on the foregoing embodiments, an embodiment of the present application further provides a data processing method, where the method is applied to a display device, and the display device includes: MCU and color screen. In this embodiment of the present application, fig. 4 is a schematic flowchart of a data processing method provided in this embodiment of the present application, and as shown in fig. 4, the method includes:
in step S301, the MCU is initialized.
Step S302, color screen initialization.
Step S303, determining the structure and the size of a buffer area according to the size of the screen.
And step S304, clearing the buffer area interacted with the color screen.
In step S305, the address changed correspondingly to the buffer (the second buffer in the above embodiment) is filled with data and transferred to the color screen.
And S306, refreshing the screen by the color screen according to the transmitted data needing to be changed, and lighting the corresponding pixel lamp to finish displaying.
Step S307, display whether the data needs to be replaced.
In the embodiment of the present application, if yes, step S308 is executed, and if no, the process ends.
In step S308, data alternation processing is performed.
Step S309, point location data needing to be updated is transmitted to the color screen.
In the embodiment of the application, the structure and the size of the buffer area are determined according to the screen, after a picture is brushed, if the data needs to be updated, the MCU only stores the data different from the last data into the buffer area and transmits the data to the color screen, and the color screen only needs to update the pixel lamp data corresponding to the data for the current different data, so that the data in all positions do not need to be traversed, and the efficiency and the running speed of data processing of the two sides are improved.
Fig. 5 is a schematic flowchart of how to process buffer data according to an embodiment of the present application, as shown in fig. 5, including:
step S401, backup the last group of data, and analyze the size and coordinates of the corresponding modified picture.
In step S402, the location where the pixel data is stored in the buffer (the same first buffer as in the above-described embodiment) is determined based on the size and the coordinates.
And step S403, comparing the data one by one to determine whether the two groups of data are the same or not.
In the embodiment of the present application, if they are the same, step S404 is executed, and if they are different, step S405 is executed.
Step S404, whether the comparison is completed.
In this embodiment of the present application, if the comparison is not completed, step S403 is executed, and if the comparison is completed, the ending process is executed.
Step S405 replaces the bit data.
After step S405 is executed, step S404 is continuously executed.
In the embodiment of the application, after the first picture is refreshed, the data corresponding to the second buffer area is stored in the same first buffer area, and then the second buffer area is cleared. After the picture needs to be updated, firstly, the corresponding coordinates in the screen are determined according to the size and the refreshing position of the picture needing to be refreshed, the MCU traversal range is narrowed, and then two groups of data of the position are determined bit by bit, wherein the two groups of data comprise: data in the first buffer area corresponding to the coordinates and current picture data to be refreshed are analyzed and judged, whether comparison is the same or not is conducted, if the comparison is the same, processing is not conducted, if the comparison is not the same, the data in the second buffer area corresponding to the coordinates are written into, the data in the first buffer area corresponding to the coordinates are updated synchronously, after comparison processing is completed, the corresponding data are transmitted to a color screen, the color screen only needs to conduct pixel lamp switching according to the transmitted difference data, and then display is completed.
The data processing method provided by the embodiment of the application can be applied to all products with pictures, and particularly for some large-screen products, the improvement rate is more obvious.
EXAMPLE III
Based on the foregoing embodiments, an embodiment of the present application provides a data processing apparatus, where each module included in the apparatus and each unit included in each module may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 6 is a schematic structural diagram of a data processing apparatus provided in an embodiment of the present application, and as shown in fig. 6, a data processing apparatus 600 includes:
a first determining module 601, configured to determine a refresh coordinate of an image to be refreshed in a screen when the image to be refreshed is acquired;
a second determining module 602, configured to determine target buffer data corresponding to the refresh coordinate in a first buffer, where the first buffer is used to store image data of a last displayed image;
a third determining module 603, configured to determine whether different data exists based on the target buffer data and the image to be refreshed;
the storage module 604 is configured to store different data into a second buffer area when it is determined that the different data exists, so that the screen obtains the different data from the second buffer area and displays the different data, where the second buffer area is used to store data interacting with the screen.
In some embodiments, the data processing apparatus 600 is further configured to:
replacing buffered data corresponding to the different data in the first buffer with the different data.
In some embodiments, the data processing apparatus 600 is further configured to:
and under the condition that the screen is determined to acquire the different data from a second buffer area, emptying the second buffer area.
In some embodiments, determining the refresh coordinates of the image to be refreshed in the screen comprises:
determining the refreshing position and the image size of the image to be refreshed in the screen;
and determining the refreshing coordinate of the image to be refreshed in the screen based on the refreshing position and the image size.
In some embodiments, said storing said different data into a second buffer comprises:
determining coordinates corresponding to the different data;
determining the corresponding address of the coordinate in the second buffer area;
the different data is filled into the address.
In some embodiments, the data processing apparatus 600 is further configured to:
acquiring the size of the screen;
and determining the size of a first buffer area and the size of a second buffer area based on the size of the screen, wherein each coordinate of the screen has a corresponding relation with each address in the first buffer area, and each coordinate in the screen has a mapping relation with each address in the second buffer area.
In some embodiments, in the case of acquiring an image to be refreshed, before the step of determining the refresh coordinates of the image to be refreshed in the screen, the data processing apparatus 600 is further configured to:
and emptying the second buffer area.
It should be noted that, in the embodiment of the present application, if the data processing method is implemented in the form of a software functional module and sold or used as a standalone product, the data processing method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is implemented to implement the steps in the data processing method provided in the above embodiment when executed by a processor.
Example four
The embodiment of the application provides an electronic device; fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, a memory 705. Wherein the communication bus 702 is configured to enable connective communication between these components. The user interface 703 may include a display screen, and the external communication interface 704 may include standard wired and wireless interfaces, among others. The processor 701 is configured to execute a program of a data processing method stored in the memory to implement the steps in the data processing method provided in the above-described embodiments.
The above description of the electronic device and storage medium embodiments, similar to the description of the method embodiments above, has similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the computer device and the storage medium of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a controller to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media that can store program code, such as removable storage devices, ROMs, magnetic or optical disks, etc.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A method of data processing, comprising:
under the condition of acquiring an image to be refreshed, determining a refreshing coordinate of the image to be refreshed in a screen;
determining target buffer data corresponding to the refresh coordinates in a first buffer area, wherein the first buffer area is used for storing image data of a displayed image at the latest time;
determining whether different data exists based on the target buffer data and the image to be refreshed;
and under the condition that different data exist, storing the different data into a second buffer area so that the screen acquires the different data from the second buffer area and refreshes the different data according to the different data, wherein the second buffer area is used for storing data interacted with the screen.
2. The method of claim 1, further comprising:
replacing buffered data corresponding to the different data in the first buffer with the different data.
3. The method of claim 1, further comprising:
and under the condition that the screen is determined to acquire the different data from a second buffer area, emptying the second buffer area.
4. The method of claim 1, wherein determining refresh coordinates of the image to be refreshed in a screen comprises:
determining the refreshing position and the image size of the image to be refreshed in the screen;
and determining the refreshing coordinate of the image to be refreshed in the screen based on the refreshing position and the image size.
5. The method of claim 1, wherein storing the different data into a second buffer comprises:
determining coordinates corresponding to the different data;
determining the address of the coordinate corresponding to the second buffer area;
and filling the different data into the address.
6. The method of claim 5, further comprising:
acquiring the size of the screen;
and determining the size of a first buffer area and the size of a second buffer area based on the size of the screen, wherein each coordinate of the screen has a corresponding relation with each address in the first buffer area, and each coordinate in the screen has a mapping relation with each address in the second buffer area.
7. The method according to claim 1, wherein, in the case of acquiring an image to be refreshed, before the step of determining the refresh coordinates of the image to be refreshed in the screen, the method further comprises:
and emptying the second buffer area.
8. A data processing apparatus, characterized by comprising:
the first determining module is used for determining the refreshing coordinate of the image to be refreshed in the screen under the condition of acquiring the image to be refreshed;
a second determining module, configured to determine target buffer data corresponding to the refresh coordinate in a first buffer, where the first buffer is used to store image data of a last displayed image;
a third determining module, configured to determine whether different data exists based on the target buffer data and the image to be refreshed;
and the storage module is used for storing the different data into a second buffer area under the condition that the different data exist, so that the screen acquires the different data from the second buffer area and displays the different data, wherein the second buffer area is used for storing data interacted with the screen.
9. An electronic device, comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs a data processing method according to any one of claims 1 to 7.
10. A display device, comprising a screen and the electronic device according to claim 9, wherein the screen is in communication connection with the electronic device, and wherein the screen is refreshed according to different data when the different data is acquired.
11. A storage medium storing a computer program executable by one or more processors and operable to implement a data processing method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211170485.XA CN115497432A (en) | 2022-09-23 | 2022-09-23 | Data processing method and device, electronic equipment, display equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211170485.XA CN115497432A (en) | 2022-09-23 | 2022-09-23 | Data processing method and device, electronic equipment, display equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115497432A true CN115497432A (en) | 2022-12-20 |
Family
ID=84469688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211170485.XA Pending CN115497432A (en) | 2022-09-23 | 2022-09-23 | Data processing method and device, electronic equipment, display equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115497432A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117975912A (en) * | 2024-03-28 | 2024-05-03 | 深圳市善之能科技有限公司 | Image refreshing method and system for display screen in equipment |
WO2024175002A1 (en) * | 2023-02-21 | 2024-08-29 | 维沃移动通信有限公司 | Screen updating method and apparatus, electronic device, and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937029A (en) * | 2005-09-22 | 2007-03-28 | 索尼株式会社 | Display control apparatus and display control method |
CN103455292A (en) * | 2012-05-28 | 2013-12-18 | 展讯通信(上海)有限公司 | Business data display and processing method and device and user equipment |
CN105390090A (en) * | 2014-09-01 | 2016-03-09 | 三星电子株式会社 | Semiconductor device |
CN106960412A (en) * | 2016-01-12 | 2017-07-18 | 三星电子株式会社 | The method of memory devices and driving memory including multiple buffering area |
CN109214977A (en) * | 2017-07-05 | 2019-01-15 | 三星电子株式会社 | Image processing apparatus and its control method |
CN111542872A (en) * | 2018-01-04 | 2020-08-14 | 高通股份有限公司 | Arbitrary block rendering and display frame reconstruction |
CN113840174A (en) * | 2021-09-23 | 2021-12-24 | 京东方科技集团股份有限公司 | Image display method, system and storage medium |
-
2022
- 2022-09-23 CN CN202211170485.XA patent/CN115497432A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937029A (en) * | 2005-09-22 | 2007-03-28 | 索尼株式会社 | Display control apparatus and display control method |
CN103455292A (en) * | 2012-05-28 | 2013-12-18 | 展讯通信(上海)有限公司 | Business data display and processing method and device and user equipment |
CN105390090A (en) * | 2014-09-01 | 2016-03-09 | 三星电子株式会社 | Semiconductor device |
CN106960412A (en) * | 2016-01-12 | 2017-07-18 | 三星电子株式会社 | The method of memory devices and driving memory including multiple buffering area |
CN109214977A (en) * | 2017-07-05 | 2019-01-15 | 三星电子株式会社 | Image processing apparatus and its control method |
CN111542872A (en) * | 2018-01-04 | 2020-08-14 | 高通股份有限公司 | Arbitrary block rendering and display frame reconstruction |
CN113840174A (en) * | 2021-09-23 | 2021-12-24 | 京东方科技集团股份有限公司 | Image display method, system and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024175002A1 (en) * | 2023-02-21 | 2024-08-29 | 维沃移动通信有限公司 | Screen updating method and apparatus, electronic device, and readable storage medium |
CN117975912A (en) * | 2024-03-28 | 2024-05-03 | 深圳市善之能科技有限公司 | Image refreshing method and system for display screen in equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115497432A (en) | Data processing method and device, electronic equipment, display equipment and storage medium | |
US9990692B2 (en) | Systems and methods of partial frame buffer updating | |
US6911983B2 (en) | Double-buffering of pixel data using copy-on-write semantics | |
RU2661763C2 (en) | Exploiting frame to frame coherency in architecture of image construction with primitives sorting at intermediate stage | |
KR101563070B1 (en) | Data storage address assignment for graphics processing | |
CN110211218B (en) | Picture rendering method and device, storage medium and electronic device | |
US9129581B2 (en) | Method and apparatus for displaying images | |
CN102047612A (en) | Image-based remote access system | |
CN106575442A (en) | Bandwidth reduction using texture lookup by adaptive shading | |
CN111752504B (en) | Multi-screen display method and system for electronic equipment, electronic equipment and computer readable medium | |
CN110619554A (en) | House resource display method, device, equipment and storage medium | |
CN109697739B (en) | Reverse color display method of handwriting reading equipment and handwriting reading equipment | |
US9324299B2 (en) | Atlasing and virtual surfaces | |
CN111381925A (en) | GUI (graphical user interface) fragment type rendering method and device based on dirty rectangle mechanism | |
CN110799969B (en) | Semantic vector tablet | |
CN112130948A (en) | Display control method and device, computer readable medium and electronic device | |
CN108024116B (en) | Data caching method and device | |
US7382376B2 (en) | System and method for effectively utilizing a memory device in a compressed domain | |
CN117496023A (en) | Gaze point rendering method, device, medium, and program | |
US20160063667A1 (en) | Graphic Remoting System With Masked DMA And Graphic Processing Method | |
CN106547505B (en) | Method and system for real-time sliding display of scanned image | |
KR20220123883A (en) | Computing system and method of operating computing system | |
CN110618771B (en) | Content display method, device, terminal and storage medium | |
CN108255568B (en) | Terminal interface display method and device, terminal and storage medium | |
CN112367295A (en) | Plug-in display method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221220 |