Layer display method, system, equipment and medium
By monitoring the layer display events of the application layer and checking the layer resource consistency of the system layer, the repeated creation problem caused by inconsistent layer status is solved, and the display quality of the user interface is improved.
Patent Information
- Application Number
- CN202411530402.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-07
AI Technical Summary
During quick switching between applications, navigation widget movement, and application startup, due to incomplete synchronization of the operation of the application layer and the system layer, the state of the layer may be inconsistent, resulting in repeated creation of the layer, resulting in the application interface The display has problems with afterimage or layer overlay.
By monitoring the layer display events of the application layer, we can determine whether the target process has layer resources leaked in the system layer. If so, clear the layer resources corresponding to the system layer before displaying the layer; if not, display the layer directly.
It effectively avoids repeated creation of layers, eliminates the problem of afterimages or layer overlays on the application interface display, greatly improves the display quality of the user interface and provides users with a better user experience.
Smart Images

Figure CN119396657A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer software communication technology, and in particular to a layer display method, system, device and medium. Background Art
[0002] In modern operating systems, the display of user interfaces is a complex process that involves multiple levels of operations and component interactions. Taking the Android system as an example, its display process mainly includes elements such as application layer, system layer, window and layer.
[0003] At the application level, applications build their user interfaces by creating and manipulating user interface elements such as buttons, lists, and images. These user interface elements are organized into one or more activities, each of which corresponds to a user interface. When an activity becomes visible (for example, when the user starts an application or switches between applications), the activity creates a window to display its user interface.
[0004] At the system level, Android manages and combines all windows through a service called SurfaceFlinger to generate the image that is finally displayed on the screen. In SurfaceFlinger, each window corresponds to a layer. Each layer contains one or more surfaces, which are where the application draws its user interface. SurfaceFlinger is responsible for combining the surfaces of all layers into a single image, which is then displayed on the screen through the hardware display interface.
[0005] In this process, SurfaceControl is an important component, which provides an interface for applications to operate SurfaceFlinger's layers. Through SurfaceControl, applications can create, destroy, move, and resize layers.
[0006] However, this complex display process sometimes has problems. For example, when switching between applications quickly, moving navigation widgets, or when exceptions occur during application startup, the application layer and the system layer may not be fully synchronized, which may cause inconsistent layer states and duplicate layer creation. This may cause afterimages or layer overlaps in the application interface. Summary of the invention
[0007] In order to solve the above problems, the present invention provides a layer display method, system, device and medium.
[0008] The first aspect of the present invention discloses a layer display method, comprising:
[0009] Monitor the layer display events of the application layer;
[0010] When the layer display event is received, judging whether a target process corresponding to the layer display event has a layer resource leak in the system layer according to the layer data carried by the layer display event;
[0011] If there is a layer resource leak, the layer resource corresponding to the layer display event in the system layer is cleared, and then the layer corresponding to the layer display event is displayed; if there is no layer resource leak, the layer corresponding to the layer display event is directly displayed.
[0012] Furthermore, the step of monitoring the layer display event of the application layer includes:
[0013] Register a callback function with a layer management module of the application layer, and process the callback function called by the layer management module when the application layer displays the layer.
[0014] Furthermore, the step of judging whether there is a layer resource leak in the system layer in the target process corresponding to the layer display event according to the layer data carried by the layer display event includes:
[0015] According to the layer data carried by the layer display event, the consistency of the layer resources of the target process corresponding to the layer display event in the application layer and the system layer is determined:
[0016] If they are consistent, there is no layer resource leakage;
[0017] If they are inconsistent, there is a layer resource leak.
[0018] Furthermore, the step of determining the consistency of layer resources in the application layer and the system layer of the target process corresponding to the layer display event according to the layer data carried by the layer display event includes:
[0019] According to the layer data carried by the layer display event, the display data of the target process corresponding to the layer display event is obtained from the system;
[0020] The consistency of the layer resources of the target process in the application layer and the system layer is determined according to the display data of the target process.
[0021] Furthermore, the display data of the target process includes the number of windows of the target process in the application layer and the number of layers in the system layer;
[0022] The step of determining the consistency of the layer resources of the target process in the application layer and the system layer according to the display data of the target process includes:
[0023] Determine whether the number of windows of the target process in the application layer is equal to the number of layers of the target process in the system layer:
[0024] If they are equal, the layer resources of the target process in the application layer and the system layer are consistent;
[0025] If they are not equal, the layer resources of the target process in the application layer and the system layer are inconsistent.
[0026] Furthermore, the step of obtaining display data of a target process corresponding to the layer display event from the system according to the layer data carried by the layer display event includes:
[0027] According to the layer data carried by the layer display event, obtain the application identifier of the target process corresponding to the layer display event;
[0028] Get the display data of all application processes in the current system from the system;
[0029] The display data of all application processes are filtered according to the application identifier to obtain the display data of the target process.
[0030] Furthermore, the step of judging whether there is a layer resource leak in the system layer in the target process corresponding to the layer display event according to the layer data carried by the layer display event includes:
[0031] Get the terminal number in the layer data carried by the layer display event;
[0032] According to the terminal number, terminal display data corresponding to the terminal number of the target process corresponding to the layer display event is obtained from the system;
[0033] According to the terminal display data, it is determined whether there is a layer resource leak in the system layer of the target process.
[0034] The second aspect of the present invention discloses a layer display system, comprising:
[0035] Monitoring module, used to monitor layer display events of the application layer;
[0036] A judgment module, for, when receiving the layer display event, judging, based on the layer data carried by the layer display event, whether a target process corresponding to the layer display event has a layer resource leak in the system layer;
[0037] The display module is used to clear the layer resources corresponding to the layer display event in the system layer if there is a layer resource leakage, and then display the layer corresponding to the layer display event; if there is no layer resource leakage, directly display the layer corresponding to the layer display event.
[0038] The third aspect of the present invention discloses an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and is characterized in that when the processor executes the computer program, the steps of any layer display method disclosed in the first aspect of the present invention are implemented.
[0039] The fourth aspect of the present invention discloses a storage medium, which stores a computer program, characterized in that when the computer program is executed by a processor, the steps of any layer display method disclosed in the first aspect of the present invention are implemented.
[0040] The present invention monitors the layer display events of the application layer in real time, and checks the layer resources of the system layer before displaying. When layer resource leakage is found, the present invention first clears the layer resources corresponding to the system layer, and then displays the layer, thereby effectively avoiding repeated layer creation, and thus eliminating the problem of residual images or layer superposition in the application interface display caused by this; thereby greatly improving the display quality of the user interface and providing users with a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 It is a flowchart of a layer display method disclosed in an embodiment of the present invention;
[0043] Figure 2 It is a structural schematic diagram of a layer display system disclosed in an embodiment of the present invention.
[0044] Figure 3 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, or product end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0048] The image display principles on different platforms are roughly similar, mainly involving the collaborative work of the application layer and the system layer. At the application layer, the application builds the user interface by creating and operating user interface elements, which are organized into one or more layers. At the system layer, these layers are integrated to generate the image that is finally displayed on the screen. The present invention is specifically explained below using the Android system as an embodiment.
[0049] The steps of the layer display method provided by the present invention are as follows: Figure 1 As shown:
[0050] S101, monitoring layer display events of the application layer.
[0051] This embodiment uses a separate process to monitor the layer display events of the application layer to reduce the impact of the monitoring process on the application process and prevent errors or exceptions in the monitoring process from affecting the stability of the application process.
[0052] Layer display events refer to events notified by the application layer before calling the system layer interface to display a layer.
[0053] In an optional embodiment, the step of monitoring the layer display event of the application layer includes:
[0054] Register a callback function with a layer management module of the application layer, and process the callback function called by the layer management module when the application layer displays the layer.
[0055] The layer display events of the application layer can be monitored by polling, broadcasting events, etc. This embodiment uses the method of registering a callback function to monitor the layer display events of the application layer.
[0056] The layer management module of the application layer refers to the module in the application layer that manages all layer-related actions in the application process, including layer creation, display, hiding and destruction. This module provides an interface for registering and monitoring layer events. The parameters of this interface define the type of layer events that need to be monitored and the corresponding callback function. By implementing this interface, the callback function is registered with the module.
[0057] In addition to layer display events, you can also monitor layer hiding events, layer creation events, etc. by registering callback functions.
[0058] S102: When the layer display event is received, it is determined, based on the layer data carried by the layer display event, whether there is a layer resource leak in the system layer in the target process corresponding to the layer display event.
[0059] In an optional embodiment, the step of determining, based on the layer data carried by the layer display event, whether a target process corresponding to the layer display event has a layer resource leak in the system layer includes:
[0060] According to the layer data carried by the layer display event, the consistency of the layer resources of the target process corresponding to the layer display event in the application layer and the system layer is determined:
[0061] If they are consistent, there is no layer resource leakage;
[0062] If they are inconsistent, there is a layer resource leak.
[0063] In this optional embodiment, layer resource leakage refers to layer resources that are not correctly released due to error codes during the life cycle of the layer. Specifically, when a layer is no longer needed and its corresponding memory, graphics processor resources or other system resources are not correctly recycled, a layer resource leakage occurs. This leakage will lead to a waste of system resources, and in severe cases may even affect the performance and stability of the system.
[0064] It can be seen that this optional embodiment provides a more explicit and specific way to determine whether there is a layer resource leak, that is, by comparing the layer data carried by the layer display event, the consistency of the layer resources of the target process in the application layer and the system layer is determined. This method can more accurately identify and locate the problem of layer resource leakage, thereby helping to improve system stability and performance.
[0065] In a further optional embodiment, the step of determining the consistency of layer resources in the application layer and the system layer of the target process corresponding to the layer display event according to the layer data carried by the layer display event includes:
[0066] According to the layer data carried by the layer display event, the display data of the target process corresponding to the layer display event is obtained from the system;
[0067] The consistency of the layer resources of the target process in the application layer and the system layer is determined according to the display data of the target process.
[0068] In this optional embodiment, layer data refers to data related to the layer display event carried by the layer display event, which may include the package name corresponding to the layer display event, the ID of the application process corresponding to the layer display event, the layer identifier, the layer name, etc.
[0069] In this optional embodiment, the target process refers to the application process that generates the layer display event. The target process can be found in the system through the information about the target process included in the layer data (such as the ID or package name of the process).
[0070] It can be seen that this optional embodiment can more accurately determine whether layer resources are consistent, thereby more accurately identifying and preventing layer resource leakage, and improving system stability and performance.
[0071] In a further optional embodiment, the display data of the target process includes the number of windows of the target process in the application layer and the number of layers in the system layer;
[0072] The step of determining the consistency of the layer resources of the target process in the application layer and the system layer according to the display data of the target process includes:
[0073] Determine whether the number of windows of the target process in the application layer is equal to the number of layers of the target process in the system layer:
[0074] If they are equal, the layer resources of the target process in the application layer and the system layer are consistent;
[0075] If they are not equal, the layer resources of the target process in the application layer and the system layer are inconsistent.
[0076] In this optional embodiment, the window in the application layer is the window of the application layer in the Android system, and the layer in the system layer refers to the graphics resources used to manage and render the window content in the underlying graphics system. In the Android system, the content of each window will be drawn to a Surface, and each Surface will correspond to a layer. These layers are managed by the SurfaceFlinger service and are used to display the content of the window on the screen.
[0077] Under normal circumstances, each window corresponds to a layer, the content of the window will be drawn to the corresponding layer, and then the SurfaceFlinger service will display the layer content on the screen. Therefore, the number of windows and the number of layers should be equal.
[0078] It can be seen that this optional embodiment can intuitively determine whether the layer resources are consistent by comparing whether the number of windows in the application layer is equal to the number of layers in the system layer, thereby more effectively detecting and preventing layer resource leakage, improving the stability and performance of the system, and also simplifying the layer resource consistency judgment process.
[0079] In a further optional embodiment, the step of acquiring display data of a target process corresponding to the layer display event from the system according to the layer data carried by the layer display event includes:
[0080] According to the layer data carried by the layer display event, obtain the application identifier of the target process corresponding to the layer display event;
[0081] Get the display data of all application processes in the current system from the system;
[0082] The display data of all application processes are filtered according to the application identifier to obtain the display data of the target process.
[0083] Taking the Android system as an example, you can use the following commands to obtain the display data of all application processes:
[0084] Get application layer activity related data through adb shell dumpsys activity activities;
[0085] Get application layer window data through adb shell dumpsys window windows;
[0086] Get the system layer data through adb shell dumpsys SurfaceFlinger.
[0087] In most cases, there is a one-to-one correspondence between the number of activities and the number of windows, but creating a dialog box may result in more windows than activities, so the number of activities can be used as a reference.
[0088] In this embodiment, the application identifier of the target process may be a package name or a process ID, etc. The display data of the target process is obtained by filtering the display data of all application processes using the grep command according to the application identifier of the target process.
[0089] It can be seen that this optional embodiment filters the display data by specifying the application identifier, so that the consistency judgment of the layer resources can be more accurately performed for a specific application or process. This method can monitor and manage the layer resources of a specific application in the system, thereby more effectively detecting and preventing the leakage of the layer resources of a specific application, and improving the stability and performance of the system.
[0090] In an optional embodiment, the step of determining, based on the layer data carried by the layer display event, whether a target process corresponding to the layer display event has a layer resource leak in the system layer includes:
[0091] Get the terminal number in the layer data carried by the layer display event;
[0092] According to the terminal number, terminal display data corresponding to the terminal number of the target process corresponding to the layer display event is obtained from the system;
[0093] According to the terminal display data, it is determined whether there is a layer resource leak in the system layer of the target process.
[0094] It can be seen that this optional embodiment obtains display data for a specific terminal through the terminal number in the layer data, making the detection of resource leakage more accurate. Even in a multi-terminal environment, the present invention can accurately detect and handle layer resource leakage for a specific terminal. Moreover, by detecting layer resource leakage for a specific terminal, this embodiment can reduce the data processing volume of irrelevant terminals, thereby improving the efficiency of the system.
[0095] S103. If there is a layer resource leak, clear the layer resource corresponding to the layer display event in the system layer, and then display the layer corresponding to the layer display event; if there is no layer resource leak, directly display the layer corresponding to the layer display event.
[0096] In this optional embodiment, if there is a layer resource leak, relevant information of the layer, such as the layer ID, layer name, etc., is obtained from the layer display event. According to the relevant information, the corresponding layer resource is searched in the system layer and cleared, and then the layer corresponding to the layer display event is displayed. If there is no layer resource leak, the layer corresponding to the layer display event is directly displayed.
[0097] like Figure 2 As shown, the present invention provides a layer display system, characterized in that it includes:
[0098] Monitoring module 201, used for monitoring layer display events of the application layer;
[0099] The judgment module 202 is used to judge whether there is a layer resource leak in the system layer of the target process corresponding to the layer display event according to the layer data carried by the layer display event when the layer display event is received;
[0100] Display module 203 is used to clear the layer resources corresponding to the layer display event in the system layer if there is a layer resource leakage, and then display the layer corresponding to the layer display event; if there is no layer resource leakage, directly display the layer corresponding to the layer display event.
[0101] visible, Figure 2 The described layer display system monitors the layer display events of the application layer in real time and checks the layer resources of the system layer before displaying. When layer resource leakage is found, the corresponding layer resources of the system layer are cleared first, and then the layer is displayed, thereby effectively avoiding repeated layer creation and eliminating the problems of residual images or layer overlap in the application interface display caused by this. This greatly improves the display quality of the user interface and provides users with a better user experience.
[0102] For the specific definition of the layer display system, please refer to the definition of the layer display method above, which will not be repeated here. Each module in the above layer display system can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the electronic device in hardware format, or stored in the memory of the electronic device in software format, so that the processor can call the corresponding operations of each of the above modules.
[0103] It should be noted that, in order to highlight the innovative part of the present invention, the present embodiment does not introduce modules that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other modules in the present embodiment.
[0104] like Figure 3As described above, the electronic device 1 provided by the present invention may include a memory 12, a processor 13 and a bus, and may also include a computer program stored in the memory 12 and executable on the processor 13, such as a layer display program.
[0105] Among them, the memory 12 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 12 can be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 12 can also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 12 can also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 12 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code for layer display, etc., but also can be used to temporarily store data that has been output or is to be output.
[0106] In some embodiments, the processor 13 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 13 is the control core (Control Unit) of the electronic device 1, and uses various interfaces and lines to connect various components of the entire electronic device 1, and executes or executes programs or modules (such as layer display programs, etc.) stored in the memory 12, and calls data stored in the memory 12 to execute various functions of the electronic device 1 and process data.
[0107] The processor 13 executes the operating system and various installed applications of the electronic device 1. The processor 13 executes the applications to implement the steps in the above-mentioned layer display method.
[0108] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 12 and executed by the processor 13 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device 1. For example, the computer program may be divided into a monitoring module 201, a judgment module 202, and a display module 203.
[0109] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium, and the storage medium can be non-volatile or volatile. The above-mentioned software function module is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the layer display method described in each embodiment of the present application.
[0110] In one embodiment, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps implemented when the processor executes the computer program can also be implemented.
[0111] In summary, the layer display method, system, device and medium disclosed in the present invention effectively avoid repeated layer creation, thereby eliminating the problem of residual images or layer overlap in the application interface display caused by the repeated creation, thereby greatly improving the display quality of the user interface and providing users with a better user experience. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.
[0112] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A layer display method, characterized in that: The method comprises: Monitor the layer display events of the application layer; When the layer display event is received, judging whether a target process corresponding to the layer display event has a layer resource leak in the system layer according to the layer data carried by the layer display event; If there is a layer resource leak, the layer resource corresponding to the layer display event in the system layer is cleared, and then the layer corresponding to the layer display event is displayed; if there is no layer resource leak, the layer corresponding to the layer display event is directly displayed.
2. The layer display method according to claim 1, characterized in that: The step of monitoring the layer display event of the application layer comprises: Register a callback function with a layer management module of the application layer, and process the callback function called by the layer management module when the application layer displays the layer.
3. The layer display method according to claim 1, characterized in that: The step of judging whether a target process corresponding to the layer display event has a layer resource leak in the system layer according to the layer data carried by the layer display event comprises: According to the layer data carried by the layer display event, the consistency of the layer resources of the target process corresponding to the layer display event in the application layer and the system layer is determined: If they are consistent, there is no layer resource leakage; If they are inconsistent, there is a layer resource leak.
4. The layer display method according to claim 3, characterized in that: The step of determining the consistency of the layer resources of the target process corresponding to the layer display event in the application layer and the system layer according to the layer data carried by the layer display event includes: According to the layer data carried by the layer display event, the display data of the target process corresponding to the layer display event is obtained from the system; The consistency of the layer resources of the target process in the application layer and the system layer is determined according to the display data of the target process.
5. The layer display method according to claim 4, characterized in that: The display data of the target process includes the number of windows of the target process in the application layer and the number of layers in the system layer; The step of determining the consistency of the layer resources of the target process in the application layer and the system layer according to the display data of the target process includes: Determine whether the number of windows of the target process in the application layer is equal to the number of layers of the target process in the system layer: If they are equal, the layer resources of the target process in the application layer and the system layer are consistent; If they are not equal, the layer resources of the target process in the application layer and the system layer are inconsistent.
6. The layer display method according to claim 4, characterized in that: The step of obtaining display data of a target process corresponding to the layer display event from the system according to the layer data carried by the layer display event comprises: According to the layer data carried by the layer display event, obtain the application identifier of the target process corresponding to the layer display event; Get the display data of all application processes in the current system from the system; The display data of all application processes are filtered according to the application identifier to obtain the display data of the target process.
7. The layer display method according to claim 1, characterized in that: The step of judging whether a target process corresponding to the layer display event has a layer resource leak in the system layer according to the layer data carried by the layer display event comprises: Get the terminal number in the layer data carried by the layer display event; According to the terminal number, terminal display data corresponding to the terminal number of the target process corresponding to the layer display event is obtained from the system; According to the terminal display data, it is determined whether there is a layer resource leak in the system layer of the target process.
8. A layer display system, characterized in that: include: Monitoring module, used to monitor layer display events of the application layer; A judgment module, for, when receiving the layer display event, judging, based on the layer data carried by the layer display event, whether a target process corresponding to the layer display event has a layer resource leak in the system layer; A display module, for clearing the layer resources corresponding to the layer display event in the system layer if there is a layer resource leak, and then displaying the layer corresponding to the layer display event; If there is no layer resource leakage, the layer corresponding to the layer display event is directly displayed.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the layer display method according to any one of claims 1 to 7 are implemented.
10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the layer display method according to any one of claims 1 to 7 are implemented.