Image processing method, device and electronic equipment

By adding merging identification information to the layer data and adaptively selecting the data to participate in the layer merging process, it solves the problems of high computational complexity and slow response speed of image processing in cloud application scenarios, and improves the performance and user experience of terminal devices. .

CN113778575BActive Publication Date: 2024-09-10ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010518144.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-09
Publication Date
2024-09-10
Estimated Expiration
2040-06-09

AI Technical Summary

Technical Problem

Existing technologies have high computational complexity and slow response speed when processing images in cloud application scenarios, resulting in reduced terminal device performance and poor user experience.

Method used

By adding merging identification information to layer data, data that participates in layer merging processing can be adaptively selected to reduce computational complexity and improve response speed.

Benefits of technology

It effectively reduces the computational complexity of image processing, improves the response speed of the terminal device, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778575B
    Figure CN113778575B
Patent Text Reader

Abstract

The present disclosure discloses an image processing method, device and electronic device, the method comprising: obtaining a display control message set to be processed; obtaining layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information for indicating whether the corresponding layer data participates in layer merge processing; according to the merge identification information, merging and rendering the layer data corresponding to the display control message set to obtain target image data for display by a terminal device. The method can reduce the computational complexity in the image processing process and improve the response speed of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and more specifically, to an image processing method, device and electronic device. The present application also relates to an image display method. Background Art

[0002] With the continuous development of communication technology, in order to reduce the hardware pressure of terminal devices and improve the response speed of applications, more and more applications are deployed in servers and provide services to users in the form of cloud applications.

[0003] Taking the Android cloud application in the Android system (AndroidSystem) as an example, the current image processing method for Android cloud applications is based on Android's traditional layer processing method, that is, the SurfaceFlinger service in the Android system converts the received display control messages corresponding to different applications and used to control the changes in interface images into corresponding layer data, and merges and renders the layer data when the layer merging processing conditions are met to obtain an interface image for display on the terminal device.

[0004] The above method is not essentially different from the image processing method for Android local applications. However, in cloud application scenarios, users usually only pay attention to the interface changes of the target application running in the terminal device; however, when processing the interface image, the above image processing method will still process other applications other than the target application, such as the interface image changes of the desktop, status bar or notification bar in the desktop (Launcher), which will increase the number of layer data to be processed during image processing, thereby increasing the computational complexity and reducing the response speed of the terminal device.

[0005] The above is an example of the high computational complexity and slow response speed of the existing image processing methods using the Android cloud application in the Android system. It should be noted that the image processing methods for cloud applications in other operating systems, such as Apple system (iOS, iPhone Operation System) or Windows system, also have the above problems. Summary of the invention

[0006] One purpose of the embodiments of the present disclosure is to provide a new technical solution for image processing.

[0007] According to a first aspect of the present disclosure, there is provided an image processing method, the method comprising:

[0008] Get the display control message set to be processed;

[0009] Acquire layer data corresponding to the display control message in the display control message set, wherein the layer data includes merging identification information for indicating whether the corresponding layer data participates in layer merging processing;

[0010] According to the merge identification information, the layer data corresponding to the display control message set is merged and rendered to obtain target image data for display on the terminal device.

[0011] Optionally, the acquiring the layer data corresponding to the display control message in the display control message set includes:

[0012] Obtaining an object identifier corresponding to the display control message;

[0013] According to the object identifier, merge identification information of the layer data is determined.

[0014] Optionally, determining the merge identification information of the layer data according to the object identification includes:

[0015] In the case where the object identifier is the set target object identifier, the layer data is determined to be the layer data corresponding to the target object, and the merge identification information of the layer data is set to the first merge identification information indicating participation in layer merge processing.

[0016] Optionally, the determining, according to the object identifier, the merge identification information of the to-be-processed layer data further includes:

[0017] When the object identifier is not the set target object identifier, the layer data is determined to be layer data corresponding to other objects, and the merge identification information of the layer data is set to second merge identification information indicating not participating in layer merge processing.

[0018] Optionally, the merging and rendering the layer data corresponding to the display control message set according to the merging identification information to obtain target image data for display by the terminal device includes:

[0019] According to the merge identification information, filter the layer data corresponding to the display control message set to obtain the target layer data corresponding to the target object;

[0020] The target layer data is merged and rendered to obtain the target image data.

[0021] Optionally, filtering the layer data corresponding to the display control message set according to the merge identification information to obtain the target layer data corresponding to the target object includes:

[0022] When the merge identification information of the layer data is the first merge identification information, it is determined that the layer data is the target layer data.

[0023] Optionally, the method further comprises:

[0024] receiving a data request message for acquiring the target image data;

[0025] According to the data request message, the step of merging and rendering the layer data corresponding to the display control message set according to the merge identification information is executed to obtain the target image data for display by the terminal device.

[0026] Optionally, the method further comprises:

[0027] receiving a display control message, and storing the display control message in a buffer;

[0028] After obtaining the target image data, clearing the buffer;

[0029] The obtaining of a display control message set to be processed includes:

[0030] The display control message stored in the buffer is acquired to form the display control message set.

[0031] Optionally, the method is applied to a server running an Android system.

[0032] Optionally, the method further comprises:

[0033] The target image data is provided to the terminal device.

[0034] Optionally, providing the target image data to the terminal device includes:

[0035] The target image data is provided to the terminal device in the form of a video stream.

[0036] According to a second aspect of the present disclosure, there is also provided an image display method, which is applied to a terminal device and includes:

[0037] Sending a display control message to be processed to a server for image processing, wherein the image processing includes: obtaining a display control message set to be processed; obtaining layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information indicating whether the corresponding layer data participates in layer merge processing; and, according to the merge identification information, merging and rendering the layer data corresponding to the display control message set to obtain target image data;

[0038] Acquiring the target image data provided by the server after performing the image processing;

[0039] The target image data is displayed.

[0040] Optionally, the terminal device includes at least one of the following computing devices: a mobile terminal device, a smart home device.

[0041] According to a third aspect of the present disclosure, another image display method is also provided, which is applied to a terminal device, comprising:

[0042] Acquiring image change information, wherein the image change information includes image change information of a target object and other objects other than the target object;

[0043] generating a display control message corresponding to the image change information;

[0044] Sending the display control message to a server;

[0045] Acquire target image data corresponding to the target object returned by the server;

[0046] The target image data is displayed.

[0047] Optionally, the image change information of the target object includes change information of an image frame.

[0048] Optionally, obtaining image change information includes:

[0049] Receiving a trigger operation for the target object;

[0050] In response to the trigger operation, image change information corresponding to the target object is generated.

[0051] Optionally, obtaining image change information includes:

[0052] Obtaining status change information of the other objects;

[0053] Image change information corresponding to the other object is generated based on the state change information.

[0054] Optionally, the target object includes at least one of the following applications: a game application, a video application, and a live broadcast application.

[0055] According to a fourth aspect of the present disclosure, there is also provided an image processing device, comprising:

[0056] A control message set acquisition module, used to acquire a display control message set to be processed;

[0057] A layer data acquisition module, used to acquire layer data corresponding to the display control message in the display control message set, wherein the layer data includes merging identification information for indicating whether the corresponding layer data participates in the layer merging process;

[0058] The image data acquisition module is used to merge and render the layer data corresponding to the display control message set according to the merge identification information to obtain the target image data for display by the terminal device.

[0059] According to a fifth aspect of the present disclosure, an electronic device is further provided, comprising the apparatus according to the fourth aspect of the present disclosure; or comprising:

[0060] A memory for storing executable instructions;

[0061] The processor is used to operate the electronic device to execute the method according to the first aspect, the second aspect or the third aspect of the present disclosure under the control of the executable instructions.

[0062] According to the sixth aspect of the present disclosure, a computer-readable storage medium is also provided, which stores a computer program that can be read and executed by a computer, and the computer program is used to execute the method according to the first aspect, the second aspect or the third aspect of the present disclosure when read and executed by the computer.

[0063] According to an embodiment of the present disclosure, after obtaining the layer data corresponding to the display control message in the display control message set to be processed, it is not necessary to merge and render all the layer data corresponding to the display control message set. Instead, suitable layer data is adaptively selected for merging and rendering based on the merge identification information in the layer data, which can reduce the computational complexity and improve the response speed of the terminal device.

[0064] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0066] Figure 1a It is a processing schematic diagram illustrating an existing image processing method provided by an embodiment of the present disclosure.

[0067] Figure 1b It is a schematic diagram of an application scenario illustrating the effects of an embodiment of the present disclosure.

[0068] Figure 1cIt is a hardware configuration structure diagram of an optional data processing system that can be used to implement the image processing method of the embodiment of the present disclosure.

[0069] Figure 2 It is a flowchart of an image processing method according to an embodiment of the present disclosure.

[0070] Figure 3 It is a processing schematic diagram of the image processing method according to an embodiment of the present disclosure.

[0071] Figure 4 It is a flowchart of an image display method according to another embodiment of the present disclosure.

[0072] Figure 5 It is a flowchart of an image display method according to another embodiment of the present disclosure.

[0073] Figure 6 It is a schematic principle block diagram of an image processing device according to an embodiment of the present disclosure.

[0074] Figure 7a is a schematic principle block diagram of an electronic device according to an embodiment of the present disclosure.

[0075] Figure 7b is a schematic principle block diagram of an electronic device according to another embodiment of the present disclosure. DETAILED DESCRIPTION

[0076] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0077] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0078] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0079] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0080] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0081] With the continuous development of communication technology, in order to reduce the hardware pressure of terminal devices and improve the response speed of applications, the way of providing services to users by installing cloud applications on the terminal devices 1200 is becoming more and more popular. Among them, cloud applications refer to applications that are deployed and run on servers and send corresponding interface image data to terminal devices for display through the network. Figure 1a , which is a processing schematic diagram of an existing image processing method provided by an embodiment of the present disclosure. Figure 1a As shown, currently for cloud applications, for example, an image processing method for Android cloud applications is that the terminal device 1200 sends a display control message corresponding to the cloud application, for example, a display control message for starting the cloud application to the server 1100, and after receiving the display control message sent by the terminal device 1200, the server 1100 creates an Activity component corresponding to the cloud application, and creates an interface (Surface) component for it for carrying interface image data; thereafter, the server 1100 creates different layer data (Layer) for different display control messages through the SurfaceFlinger service built into the Android system for the display control message, and after obtaining the vertical synchronization (VSync, VerticalSynchronization) signal or other similar synchronization display signal sent by the terminal device 1200, the server 1100 merges the received layer data corresponding to different applications, that is, merges and renders multiple layer data according to the predetermined display area through the doComposition method to obtain display image data, and sends the display image data to the terminal device 1200 through the postComposition method. It should be noted that, since there are detailed descriptions of relevant method functions in the SurfaceFlinger service in the prior art, they will not be repeated here.

[0082] However, it should be noted that when users actually use cloud applications, they usually only pay attention to the interface image of the target application they open. In the above-mentioned image processing method, the server 1100 may also receive other applications while waiting for the VSync signal to merge the layer data corresponding to the target application. For example, it may also receive layer data corresponding to the desktop (Launcher) screen message, which will increase the number and levels of layer data that the server 1100 needs to process, thereby increasing the computational complexity of merging the layer data and reducing the response speed of the terminal device. In addition, when the target application is an application such as a game, video, or live broadcast that requires full-screen display, when the server 1100 performs layer merging, if there is layer data of other applications, then while performing the layer merging process, the server 1100 also needs to additionally calculate the visible areas corresponding to different applications to avoid the interface images of other applications blocking the interface image of the target application, which will further increase the computational complexity of the layer merging process. In addition, since users in cloud application scenarios generally only pay attention to changes in the interface images of the target application they open, if they also view other applications sent by the server while using the target application, such as the desktop, status bar, or control bar and other application-related interface images, this will inevitably reduce the user experience.

[0083] In view of the problems of high computational complexity, slow response speed and poor user experience in the above-mentioned image processing methods, the image processing method provided in the embodiments of the present disclosure obtains a display control message set to be processed on the server 1100, and when obtaining the layer data corresponding to the display control message in the display control message set, merge identification information is added to the layer data to indicate whether the corresponding layer data participates in the layer merging process. When the server 1100 performs the layer data merging process, it can adaptively select the layer data to be merged and rendered according to the merge identification information in the layer data, thereby reducing the computational complexity, quickly obtaining the target image data for display on the terminal device 1200, and improving the user experience.

[0084] like Figure 1bAs shown, it is a schematic diagram of an application scenario illustrating the effect of the image processing method provided by an embodiment of the present disclosure. After the terminal device 1200 sends a display control message to the server 1100 to start the "cloud application 1", when the server 1100 obtains the layer data corresponding to the display control message, it will add merge identification information for indicating that the layer data participates in the layer merging process to the layer data. In the process of waiting for the synchronous display signal sent by the terminal device 1200, the server 1100 will set the merge identification information in the layer data corresponding to other applications sent by the terminal device 1200, such as the power information and time information in the status bar, to the merge identification information that does not participate in the layer merging process, so that the server 1100 can only perform layer merging and rendering processing on the layer data corresponding to the "cloud application 1" to obtain the target image data corresponding only to the "cloud application 1". After that, the server 1100 provides the target image data to the terminal device 1200; the terminal device 1200 can quickly display the interface image data corresponding to the "cloud application 1".

[0085] <Hardware Configuration>

[0086] Figure 1c The figure is a schematic diagram of the composition structure of a data processing system to which the image processing method according to the embodiment of the present disclosure can be applied.

[0087] like Figure 1c As shown, the data processing system 1000 of this embodiment includes a server 1100 , a terminal device 1200 , and a network 1300 .

[0088] The server 1100 may be, for example, a blade server, a rack-mounted server, etc. The server 1100 may also be a server cluster deployed in the cloud, which is not limited here.

[0089] like Figure 1c As shown, the server 1100 may include a processor 1110, a memory 1120, an interface device 1130, a communication device 1140, a display device 1150, and an input device 1160. The processor 1110 may be, for example, a central processing unit CPU, etc. The memory 1120 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1130 may include, for example, a USB interface, a serial interface, etc. The communication device 1140 may be capable of wired or wireless communication, for example. The display device 1150 may be, for example, a liquid crystal display screen. The input device 1160 may include, for example, a touch screen, a keyboard, etc.

[0090] In this embodiment, the server 1100 may be used to participate in implementing the image processing method according to any embodiment of the present disclosure.

[0091] As used in the embodiments of the present disclosure, the memory 1120 of the server 1100 is used to store instructions, and the instructions are used to control the processor 1110 to operate to support the image processing method according to any embodiment of the present disclosure. A technician can design instructions according to the scheme disclosed in the present disclosure. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0092] It should be understood by those skilled in the art that although Figure 1c , multiple devices of the server 1100 are shown; however, the server 1100 of the embodiment of the present disclosure may only involve some of the devices, for example, only the processor 1110 and the memory 1120.

[0093] like Figure 1c As shown, the terminal device 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, an audio output device 1270, an audio input device 1280, and the like. Among them, the processor 1210 may be a central processing unit CPU, a microprocessor MCU, and the like. The memory 1220 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, and the like. The interface device 1230 may include, for example, a USB interface, an earphone interface, and the like. The communication device 1240 may, for example, be capable of wired or wireless communication. The display device 1250 may, for example, be a liquid crystal display screen, a touch display screen, and the like. The input device 1260 may, for example, include a touch screen, a keyboard, and the like. The terminal device 1200 may output audio information through an audio output device 1270, and the audio output device 1270 may, for example, include a speaker. The terminal device 1200 may pick up voice information input by a user through an audio pickup device 1280, and the audio pickup device 1280 may, for example, include a microphone. Both cloud applications and local applications can be installed in the terminal device 1200 .

[0094] The terminal device 1200 can be a smart phone, a portable computer, a desktop computer, a tablet computer, a wearable device, a smart speaker, a set-top box, a smart TV, etc., wherein the terminal device 1200 can have an audio output device 1270 for playing media files, and can also be connected to the audio output device 1270 for playing media files.

[0095] In this embodiment, the terminal device 1200 may be used to participate in implementing the image processing method according to any embodiment of the present disclosure.

[0096] In the embodiments of the present disclosure, the memory 1220 of the terminal device 1200 is used to store instructions, and the instructions are used to control the processor 1210 to operate to support the image processing method according to any embodiment of the present disclosure. The technician can design instructions according to the scheme disclosed in the present disclosure. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0097] It should be understood by those skilled in the art that although Figure 1c Multiple devices of the terminal device 1200 are shown in the figure, but the terminal device 1200 of the embodiment of the present disclosure may only involve some of the devices, for example, only the processor 1210, the memory 1220, etc.

[0098] The communication network 1300 may be a wireless network or a wired network, a local area network or a wide area network. The terminal device 1200 may communicate with the server 1100 via the communication network 1300 .

[0099] Figure 1c The data processing system 1000 shown is illustrative only and is in no way intended to limit the present disclosure, its application, or uses. Figure 1c Only one server 1100 and one terminal device 1200 are shown, but this does not mean to limit the respective numbers. The data processing system 1000 may include multiple servers 1100 and / or multiple terminal devices 1200.

[0100] It should be noted that the image processing method provided in any embodiment of the present disclosure is applied in a cloud application scenario, that is, in an interaction scenario between a terminal device 1200 and a server 1100. Therefore, the method can be applied to the server 1100. Of course, according to specific needs, the method can also be applied to the terminal device 1200, and no special limitation is made here.

[0101] <Method Example 1>

[0102] Figure 2 It is a flowchart of an image processing method according to an embodiment of the present disclosure.

[0103] according to Figure 2 As shown, the processing method of this embodiment may include the following steps S2100 to S2300.

[0104] Step S2100, obtaining a set of display control messages to be processed.

[0105] In this embodiment, the display controller message set may be a set including at least one display control message. In a specific implementation, the set may be a data structure such as a queue or a data table, and no special limitation is made here.

[0106] A display control message is a message used to control changes in the interface image of an application, where the application includes a target application and other applications other than the target application; the target application may be an application such as a game, video, or live broadcast application that requires full-screen display; other applications may be applications such as the desktop, status bar, or control bar.

[0107] For example, in a cloud application scenario, when the user clicks on the target application in the terminal device, such as the application icon corresponding to "Cloud Application 1", in response to the click operation, the terminal device will generate image change information corresponding to "Cloud Application 1", and based on the image change information, generate a corresponding display control message "Start Cloud Application 1". After that, the terminal device sends the display control message to the server. After receiving the display control message, the server will obtain the image data that needs to be displayed after "Cloud Application 1" is started according to the display control message.

[0108] For another example, in a cloud application scenario, when the cloud application currently played by the terminal device is a target application such as a game, video, or live broadcast, since this type of application will play the corresponding image frames as time changes, when the image frame of the target application changes, the terminal device can generate a corresponding display control message "Play the next image frame" based on the change information of the image frame, and send the display control message to the server to obtain the corresponding image data.

[0109] Of course, the display control message can also be a display control message corresponding to other applications other than the target application in the terminal device. For example, in a cloud application scenario, when the user uses the terminal device, when the terminal device obtains the status change information of other applications, for example, the change information of the battery image in the status bar, or receives a system push message, for example, when receiving a short message, the terminal device will generate image change information corresponding to the status bar based on the status change information, and generate a corresponding display control message based on the image change information, and send the display control message to the server to obtain the corresponding image data.

[0110] In a specific implementation, the image processing method provided by this embodiment further includes: receiving a display control message, and storing the display control message in a buffer; after obtaining the target image data for display by the terminal device, clearing the buffer, wherein obtaining the set of display control messages to be processed may be: obtaining the display control messages stored in the above-mentioned buffer to constitute the display control message set.

[0111] That is, after obtaining at least one display control message corresponding to different application programs sent by the terminal device, the server may first store these display control messages in a buffer and process these display control messages according to certain access rules.

[0112] For example, for Android cloud applications, the terminal device can send a display control message of "low battery" to the server at the same time as sending a display control message of "start cloud application 1" to the server; after receiving the above display control message sent by the terminal device, the server can store the above display control messages in the form of a queue in the order of receipt, and obtain the display control messages to be processed from the queue in turn to create layer data corresponding to the display control message.

[0113] It should be noted that, in this embodiment, taking the server as a server running the Android system and the terminal device as a terminal device running an Android cloud application as an example, the image processing method in the cloud application scenario provided by this embodiment is explained, wherein the server running the Android system can specifically be an Android virtual machine or an Android container (Container) running the Android system in the server; of course, in the specific implementation, the method can also be applied to other operating systems, and no special limitation is made here.

[0114] Step S2200: Acquire layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information for indicating whether the corresponding layer data participates in layer merge processing.

[0115] In this embodiment, layer data (Layer) is a data structure corresponding to a display control message and used to depict an interface image corresponding to an object to be processed in the display control message, wherein the object to be processed may be an application to be processed, that is, an application program for which an interface image is to be obtained.

[0116] For example, in the Android cloud application scenario, for a display control message, you can generally use the createLayer(constString8&name,constsp <client>&client,uint32_tw,uint32_th,PixelFormatformat,uint32_tflags,sp <ibinder>*handle,sp <igraphicbufferproducer>*gbp) interface to create the layer data corresponding to the display control message, wherein the detailed description of the createLayer interface function is not repeated here because it is described in detail in the prior art.

[0117] Please see Figure 3 , which is a processing schematic diagram of the image processing method according to an embodiment of the present disclosure. Figure 3 As shown, in order to reduce the computational complexity of layer merging processing and improve the response speed of the terminal device, after the server obtains at least one display control message sent by the terminal device and corresponding to the target application and other applications, that is, a display control message set, when the server creates corresponding layer data for different display control messages, it will add merging identification information for indicating whether the layer data participates in the layer merging processing in the layer data, for example, it can be Figure 3 The doComposition identifier shown in .

[0118] For example, in the Android cloud application scenario, in order to filter out layer data that is not related to the target application that the user is interested in, the merge identification information can be added when creating the layer data, that is, by creating a polymorphic function corresponding to createLayer or encapsulating createLayer to add the merge identification information, which can be specifically createdLayer(constString8&name,constsp <client>&client,uint32_tw,uint32_th,PixelFormatformat,uint32_tflags,sp <ibinder>*handle,sp <igraphicbufferproducer>*gbp,booldoComposition), that is, when creating layer data, add a Boolean doComposition parameter to indicate whether the layer data participates in the layer merging process.

[0119] In a specific implementation, the obtaining of the layer data corresponding to the display control message in the display control message set includes: obtaining an object identifier corresponding to the display control message; and determining merge identification information of the layer data according to the object identifier.

[0120] In this embodiment, the object identifier is an identifier used to uniquely identify the object to be processed. Specifically, for different applications, when the terminal device sends a display control message to the server, it usually records the identification information of the application corresponding to the display control message in the display control message. For example, the display control message corresponding to "start cloud application 1" can be in the form of ["cloud application 1", "startapp"...].

[0121] In a specific implementation, the merging identification information of the layer data is determined based on the object identifier, including: when the object identifier is a set target object identifier, determining that the layer data is the layer data corresponding to the target object, and setting the merging identification information of the layer data to the first merging identification information indicating participation in layer merging processing, wherein the target object identifier is used to identify the target object.

[0122] In this embodiment, the target object can be a target application that the user is interested in, and specifically can be an application pre-set in the server. Furthermore, the application can specifically be an application that needs to be displayed in full screen during operation to provide the user with a better experience. For example, the target object can be at least one of the following applications: a game application, a video application, and a live broadcast application. Of course, for the convenience of setting, the target application can also be an application set by the user in the setting menu provided by the terminal device, and no special limitation is made here.

[0123] For example, when a user is using a terminal device, watching a video, live broadcast, or using a cloud application such as a game, he or she generally hopes that the cloud application can be displayed in full screen and will not be disturbed by the interface images of other irrelevant applications during the display process. Therefore, the server can set the application as the target application in advance; after the server receives the display control message corresponding to the application sent by the terminal device, the server determines that the layer data corresponding to the display control message needs to be merged according to the application identifier obtained from the display control message. When creating the layer data, the server can set the merge identification information in the layer data to "True", that is, to the first merge identification information. It should be noted that the first merge identification information is "True" for example. In specific implementation, the first merge identification information can also be in other forms, for example, it can also be represented in the form of "1" or "Yes", which will not be repeated here.

[0124] Correspondingly, determining the merge identification information of the layer data to be processed based on the object identifier also includes: when the object identifier is not the set target object identifier, determining that the layer data is layer data corresponding to other objects, and setting the merge identification information of the layer data to second merge identification information indicating not participating in the layer merging processing.

[0125] For example, when the application identifier in the display control message is an application identifier other than the target application such as the desktop, status bar or control bar application, the server can determine that the layer data corresponding to the display control message does not need to be merged according to the application identifier, and then the merge identification information in the layer data can be set to False, that is, set to the second merge identification information. It should be noted that the second merge identification information is "True" for example. In specific implementation, corresponding to the first merge identification information, the second merge identification information can also be in other forms. For example, the second merge identification information can also be represented in the form of "0" or "No", which will not be repeated here.

[0126] The above describes in detail how the image processing method provided in this embodiment sets the merge identification information in the corresponding layer data when acquiring the layer data corresponding to the display control message in the display control message set. After the server creates the corresponding layer data for the display control message in the display control message set, the layer data corresponding to the display control message set can be merged and rendered.

[0127] After step S2200, step S2300 is executed to merge and render the layer data corresponding to the display control message set according to the merge identification information to obtain target image data for display on the terminal device.

[0128] That is, after obtaining the layer data corresponding to the display control message set in step S2200, the layer data can be merged and rendered according to the merge identification information in the layer data to obtain the target image data for display on the terminal device.

[0129] It should be noted that, in practice, when the terminal device displays the interface image, in order to avoid the image tearing problem caused by the inconsistency between the frame rate of the system rendering image and the refresh rate of the display device, a signal for synchronous display, such as a VSync signal, is usually generated by the hardware to solve the problem. That is, before executing step S2300, the method provided in this embodiment also includes: receiving a data request message for obtaining the target image data; and executing step S2300 according to the data request message.

[0130] For example, in the Android system, before performing layer merging processing, the SurfaceFlinger service usually converts the hardware VSync signal into a software VSync signal after the Android system receives the hardware VSync signal. After receiving the software VSync signal, the SurfaceFlinger service can perform layer merging processing on the obtained layer data corresponding to different applications, and hand over the merged layer data to the graphics processor (GPU, Graphics Processing Unit) or rendering software for rendering to obtain the target image data.

[0131] Please see Figure 3 , corresponding to step S2200, in order to reduce the amount of layer data to be processed and to reduce the computational complexity, the layer processing method provided in this embodiment also includes a layer filtering module, i.e., a LayerHandler module, when performing layer merging processing, to filter the layer data to be processed according to the merging identification information in the layer data.

[0132] Specifically, the layer data corresponding to the display control message set is merged and rendered according to the merge identification information to obtain the target image data for display on the terminal device, including: filtering the layer data corresponding to the display control message set according to the merge identification information to obtain the target layer data corresponding to the target object; merging and rendering the target layer data to obtain the target image data.

[0133] Among them, according to the merge identification information, the layer data corresponding to the display control message set is filtered and processed to obtain the target layer data corresponding to the target object, including: when the merge identification information of the layer data is the first merge identification information, determining that the layer data is the target layer data.

[0134] For example, for the layer data to be processed, the doComposition parameter in the layer data can be obtained, and when doComposition is "True", the layer data can be determined as the target layer data corresponding to the target application and requiring layer merging processing; when doComposition is "False", the layer data can be determined as the layer data corresponding to other applications and not requiring layer merging processing, and the layer data can be ignored to reduce calculation complexity.

[0135] After the target layer data to be layer-merged is determined by the layer filtering module, the layer merging module in the SurfaceFlinger service can be used to merge the target layer data, and the merged layer data can be rendered to obtain target image data corresponding only to the target application for display on the terminal device. Since there are detailed descriptions in the prior art on how to render the merged layer data, they will not be repeated here.

[0136] In specific implementation, after obtaining the target image data through the above steps, the image processing method provided in this embodiment further includes: providing the target image data to the terminal device. More specifically, because the terminal device does not need to perform image processing but is only used to display image data, the server can also provide the target image data to the terminal device in the form of a video stream, which will not be described in detail here.

[0137] It should be noted that, after the implementation of the image processing method, only the target image data corresponding to the target application will be displayed in the terminal device, and other applications, such as the desktop, status bar, control bar and other application interface images corresponding to the application will not be displayed. Therefore, in the specific implementation, the control operation for enabling or disabling the method can also be pre-set in the terminal device, and the processing priority corresponding to the control operation is set to the first priority to avoid being ignored by the server; after the server obtains the control operation, in response to the control operation, the server will enable or stop the implementation of the image processing method, and clear the display control message to be processed in the buffer and the layer data to be processed by layer merging, so that the terminal device can display the image data corresponding to the target application that the user is concerned about while also synchronously displaying the image data corresponding to other applications. Alternatively, when the terminal device starts the target application, the server starts the image processing method to improve the user experience, and when the terminal device exits the target application, the server can stop the image processing method and continue to use the existing image processing method for image processing. Of course, in the specific implementation, the image processing method can also be enabled or stopped by other means, which will not be repeated here.

[0138] In summary, after obtaining the layer data corresponding to the display control message in the display control message set to be processed, the image processing method provided in this embodiment does not need to merge and render all the layer data corresponding to the display control message set, but adaptively selects suitable layer data for merging and rendering based on the merge identification information in the layer data, which can reduce the calculation complexity and improve the response speed of the terminal device.

[0139] <Method Example 2>

[0140] Corresponding to the image processing method in method embodiment 1, this embodiment also provides an image display method, please refer to Figure 4 , which is a flow chart of the image display method according to this embodiment. The method can be implemented by a terminal device, specifically a terminal device running a cloud application, for example, it can be implemented by the terminal device 1200 in Figure 1.

[0141] like Figure 4 As shown, the method of this embodiment is applied to a terminal device, and may specifically include steps S4100 to S4300.

[0142] Step S4100, sending the display control message to be processed to the server for image processing, wherein the image processing includes: obtaining a set of display control messages to be processed; obtaining layer data corresponding to the display control messages in the display control message set, wherein the layer data includes merge identification information indicating whether the corresponding layer data participates in layer merging processing; and, based on the merge identification information, merging and rendering the layer data corresponding to the display control message set to obtain target image data.

[0143] Step S4200, obtaining the target image data provided by the server after performing the image processing.

[0144] Step S4300: display the target image data.

[0145] In this embodiment, the terminal device can be a mobile terminal device such as a smart phone, a laptop computer, a desktop computer, a tablet computer, a wearable device, or a smart home device such as a smart speaker, a set-top box, a smart TV, etc., without any special limitation here.

[0146] According to the image display method of this embodiment, when displaying the image data of the target application that the user is interested in, the terminal device will only display the image data corresponding to the target application, and will not display the image data corresponding to other applications. This can prevent the image data corresponding to other applications from blocking or interfering with the display of the image data corresponding to the target application, thereby improving the response speed of the terminal device and improving the user experience.

[0147] <Method Example 3>

[0148] Corresponding to the image processing method in method embodiment 1, this embodiment also provides another image display method, please refer to Figure 5 , which is a flow chart of the image display method according to this embodiment. The method can be implemented by a terminal device, specifically a terminal device running a cloud application, for example, it can be implemented by the terminal device 1200 in Figure 1.

[0149] like Figure 5 As shown, the method of this embodiment can be applied to a terminal device, and specifically can include steps S5100 to S5500.

[0150] Step S5100: acquiring image change information, wherein the image change information includes image change information of a target object and other objects other than the target object.

[0151] In this embodiment, the target object may be a target application that the user is interested in, specifically a cloud application pre-set in the server, and further, the target application may be a cloud application that needs to be displayed in full screen during operation to provide a better experience for the user. For example, the target object may be at least one of the following applications: a game application, a video application, and a live broadcast application.

[0152] The image change information is instruction information for instructing an object to change a currently presented image to another image.

[0153] For the target object in the terminal device, the image change information may be change information of the image frame.

[0154] For example, the target object is a video application in a terminal device. When a video application plays a video, the image frame, that is, the video frame, will change as the video playback time changes. Therefore, when a user uses the video application in the terminal device to watch a video, the image change information can be the information of the next video frame to be played.

[0155] In a specific implementation, the acquiring of the image change information may also include: receiving a trigger operation for the target object; and generating the image change information corresponding to the target object in response to the trigger operation.

[0156] For example, when a terminal device is running a video application to play a video, a user can watch the video at a specific time by dragging a progress bar; therefore, in response to the user's dragging operation, the terminal device can generate image change information corresponding to the video application.

[0157] It should be noted that the above method of obtaining image change information takes the target object as a video application as an example. In specific implementation, when the target object is other applications, such as a game application or a live broadcast application, the method of obtaining image change information is basically the same as the above method, and will not be repeated here.

[0158] In addition, in a specific implementation, the image change information may also be the image change information of other objects other than the target object. For example, when the power of the terminal device changes to low power, a low power prompt pop-up window such as "Current power is less than 10%" will usually be displayed on the desktop of the terminal device. For another example, when the terminal device receives a short message or a push message pushed by other applications, the status bar will have corresponding prompt information. Therefore, in this embodiment, the acquisition of image change information also includes: acquiring the status change information of the other objects; generating image change information corresponding to the other objects according to the status change information.

[0159] Step S5200: Generate a display control message corresponding to the image change information.

[0160] Step S5300: Send the display control message to the server.

[0161] Step S5400: Acquire target image data corresponding to the target object returned by the server.

[0162] In a specific implementation, the target image data may be image data corresponding only to the target object obtained by the server using any image processing method in the above method embodiment 1 to process the acquired display control message, which will not be described in detail here.

[0163] Step S5500, displaying the target image data.

[0164] In this embodiment, the terminal device can be a mobile terminal device such as a smart phone, a laptop computer, a desktop computer, a tablet computer, a wearable device, or a smart home device such as a smart speaker, a set-top box, a smart TV, etc., without any special limitation here.

[0165] <Device Example>

[0166] Corresponding to the above embodiment, this embodiment also provides an image processing device, such as Figure 6 As shown, it is a schematic principle block diagram of an image processing device according to an embodiment of the present disclosure.

[0167] according to Figure 6 As shown, the image processing device 6000 of this embodiment includes a control message set acquisition module 6100, a layer data acquisition module 6200 and an image data acquisition module 6300.

[0168] The message set acquisition module 6100 is used to acquire a display control message set to be processed.

[0169] In one embodiment, the apparatus further comprises:

[0170] A receiving module, used for receiving a display control message and storing the display control message in a buffer;

[0171] A clearing module, used for clearing the buffer after obtaining the target image data;

[0172] When acquiring the display control message set to be processed, the message set acquisition module 6100 can be used to acquire the display control messages stored in the buffer to form the display control message set.

[0173] The layer data acquisition module 6200 is used to acquire the layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information indicating whether the corresponding layer data participates in the layer merge processing.

[0174] In one embodiment, when acquiring the layer data corresponding to the display control message in the display control message set, the layer data acquisition module 6200 can be used to: acquire the object identifier corresponding to the display control message; and determine the merge identification information of the layer data based on the object identifier.

[0175] In one embodiment, when the layer data acquisition module 6200 determines the merge identification information of the layer data based on the object identifier, it can be used to: when the object identifier is a set target object identifier, determine that the layer data is the layer data corresponding to the target object, and set the merge identification information of the layer data to the first merge identification information indicating participation in the layer merging process.

[0176] In one embodiment, when the layer data acquisition module 6200 determines the merge identification information of the layer data based on the object identifier, it can also be used to: when the object identifier is not the set target object identifier, determine that the layer data is layer data corresponding to other objects, and set the merge identification information of the layer data to the second merge identification information indicating that it does not participate in the layer merging process.

[0177] The image data acquisition module 6300 is used to merge and render the layer data corresponding to the display control message set according to the merge identification information to obtain the target image data for display on the terminal device.

[0178] In one embodiment, when the image data acquisition module 6300 merges and renders the layer data corresponding to the display control message set according to the merge identification information to obtain the target image data for display on the terminal device, it can be used to: filter the layer data corresponding to the display control message set according to the merge identification information to obtain the target layer data corresponding to the target object; merge and render the target layer data to obtain the target image data.

[0179] In one embodiment, when the image data acquisition module 6300 filters the layer data corresponding to the display control message set according to the merge identification information to obtain the target layer data corresponding to the target object, it can be used to: when the merge identification information of the layer data is the first merge identification information, determine that the layer data is the target layer data.

[0180] <Equipment Embodiment>

[0181] Corresponding to the above method embodiment, this embodiment provides an electronic device, such as Figure 7a As shown, the electronic device 100 includes an image processing device 6000 according to any embodiment of the present disclosure.

[0182] In another embodiment, Figure 7b As shown, the electronic device 100 may include a memory 110 and a processor 120, wherein the memory 110 is used to store executable instructions; and the processor 120 is used to execute a method as in any method embodiment of the present disclosure under the control of the executable instructions.

[0183] In this embodiment, the electronic device 100 can be a server when used for image processing, such as the server 1100 in Figure 1; and can be a terminal device when used for image display, such as the terminal device 1200 in Figure 1, which is not limited here.

[0184] <Medium Example>

[0185] Corresponding to the above method embodiments, in this embodiment, a computer-readable storage medium is also provided, which stores a computer program that can be read and executed by a computer, and the computer program is used to execute the method described in any of the above embodiments of the present disclosure when read and executed by the computer.

[0186] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0187] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0188] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0189] The computer program instructions for performing the disclosed operation may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0190] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0191] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so as to produce a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device for implementing the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions make the computer, programmable data processing device, and / or other equipment work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0192] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0193] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0194] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.< / igraphicbufferproducer> < / ibinder> < / client> < / igraphicbufferproducer> < / ibinder> < / client>

Claims

1. An image processing method, comprising: Get the display control message set to be processed; Acquire layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information for indicating whether the corresponding layer data participates in layer merge processing, the merge identification information is determined according to the object identification corresponding to the display control message, and when the object identification is a set target object identification, the merge identification information is first merge identification information indicating participation in layer merge processing, and when the object identification is not a set target object identification, the merge identification information is second merge identification information indicating not participation in layer merge processing; According to the merge identification information, the layer data corresponding to the display control message set is merged and rendered to obtain target image data for display on the terminal device.

2. According to the method of claim 1, determining the merge identification information of the layer data according to the object identification comprises: In the case where the object identifier is the set target object identifier, the layer data is determined to be the layer data corresponding to the target object, and the merge identification information of the layer data is set to the first merge identification information indicating participation in layer merge processing.

3. The method according to claim 2, wherein determining the merge identification information of the to-be-processed layer data according to the object identification further comprises: When the object identifier is not the set target object identifier, the layer data is determined to be layer data corresponding to other objects, and the merge identification information of the layer data is set to second merge identification information indicating not participating in layer merge processing.

4. The method according to claim 3, wherein the step of merging and rendering the layer data corresponding to the display control message set according to the merging identification information to obtain the target image data for display by the terminal device comprises: According to the merge identification information, filter the layer data corresponding to the display control message set to obtain the target layer data corresponding to the target object; The target layer data is merged and rendered to obtain the target image data.

5. The method according to claim 4, wherein filtering the layer data corresponding to the display control message set according to the merge identification information to obtain the target layer data corresponding to the target object comprises: When the merge identification information of the layer data is the first merge identification information, it is determined that the layer data is the target layer data.

6. The method according to claim 1, wherein: The method further comprises: receiving a data request message for acquiring the target image data; According to the data request message, the step of merging and rendering the layer data corresponding to the display control message set according to the merge identification information is executed to obtain the target image data for display by the terminal device.

7. The method according to claim 1, wherein: The method further comprises: receiving a display control message, and storing the display control message in a buffer; After obtaining the target image data, clearing the buffer; The obtaining of a display control message set to be processed includes: The display control message stored in the buffer is acquired to form the display control message set.

8. The method according to claim 1 is applied to a server running an Android system.

9. The method according to claim 8, wherein: The method further comprises: The target image data is provided to the terminal device.

10. The method according to claim 9, wherein providing the target image data to the terminal device comprises: The target image data is provided to the terminal device in the form of a video stream.

11. An image display method, applied to a terminal device, comprising: Sending a display control message to be processed to a server for image processing, wherein the image processing comprises: obtaining a display control message set to be processed; obtaining layer data corresponding to the display control message in the display control message set, wherein the layer data comprises merge identification information for indicating whether the corresponding layer data participates in layer merging processing, wherein the merge identification information is determined according to an object identifier corresponding to the display control message, and when the object identifier is a set target object identifier, the merge identification information is first merge identification information indicating participation in layer merging processing, and when the object identifier is not a set target object identifier, the merge identification information is second merge identification information indicating non-participation in layer merging processing; and, according to the merge identification information, merging and rendering processing are performed on the layer data corresponding to the display control message set to obtain target image data; Acquiring the target image data provided by the server after performing the image processing; The target image data is displayed.

12. The method according to claim 11, wherein the terminal device comprises at least one of the following computing devices: a mobile terminal device, a smart home device.

13. An image display method, applied to a terminal device, comprising: Acquiring image change information, wherein the image change information includes image change information of a target object and other objects other than the target object; generating a display control message corresponding to the image change information; The display control message is sent to a server; wherein the server is used to obtain a display control message set to be processed, and obtain layer data corresponding to the display control message in the display control message set, wherein the layer data includes merge identification information for indicating whether the corresponding layer data participates in layer merging processing, and the merge identification information is determined according to the object identifier corresponding to the display control message, and when the object identifier is a set target object identifier, the merge identification information is first merge identification information indicating participation in layer merging processing, and when the object identifier is not a set target object identifier, the merge identification information is second merge identification information indicating non-participation in layer merging processing, and, according to the merge identification information, the layer data corresponding to the display control message set is merged and rendered to obtain target image data; Acquire target image data corresponding to the target object returned by the server; The target image data is displayed. The method according to claim 13 , wherein the image change information of the target object comprises change information of an image frame.

15. The method according to claim 13, wherein obtaining image change information comprises: Receiving a trigger operation for the target object; In response to the trigger operation, image change information corresponding to the target object is generated.

16. The method according to claim 13, wherein obtaining image change information comprises: Obtaining status change information of the other objects; Image change information corresponding to the other object is generated based on the state change information.

17. The method according to claim 13, wherein the target object comprises at least one of the following applications: a game application, a video application, and a live broadcast application.

18. An image processing device, comprising: A control message set acquisition module, used to acquire a display control message set to be processed; A layer data acquisition module, used for acquiring layer data corresponding to a display control message in the display control message set, wherein the layer data includes merge identification information for indicating whether the corresponding layer data participates in layer merge processing, the merge identification information is determined according to an object identification corresponding to the display control message, and when the object identification is a set target object identification, the merge identification information is first merge identification information indicating participation in layer merge processing, and when the object identification is not a set target object identification, the merge identification information is second merge identification information indicating not participation in layer merge processing; The image data acquisition module is used to merge and render the layer data corresponding to the display control message set according to the merge identification information to obtain the target image data for display by the terminal device.

19. An electronic device, comprising the apparatus according to claim 18; or comprising: A memory for storing executable instructions; A processor is used to operate the electronic device to execute the method according to any one of claims 1-17 under the control of the executable instructions.

20. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program that can be read and executed by a computer, and the computer program is used to execute the method according to any one of claims 1 to 17 when being read and executed by the computer.