WO2018161586A1 - Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device - Google Patents

Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device Download PDF

Info

Publication number
WO2018161586A1
WO2018161586A1 PCT/CN2017/106942 CN2017106942W WO2018161586A1 WO 2018161586 A1 WO2018161586 A1 WO 2018161586A1 CN 2017106942 W CN2017106942 W CN 2017106942W WO 2018161586 A1 WO2018161586 A1 WO 2018161586A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
display
touch
mobile terminal
target
Prior art date
Application number
PCT/CN2017/106942
Other languages
French (fr)
Chinese (zh)
Inventor
彭德良
苟生俊
易永鹏
袁晓日
甘高亭
郑志勇
杨海
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018161586A1 publication Critical patent/WO2018161586A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • Embodiments of the present invention relate to the field of display technologies, and in particular, to a display scene identification method, apparatus, storage medium, and electronic device for a mobile terminal.
  • the display screen size of the mobile terminal is getting larger and larger, the loaded application and the functions that can be implemented are more and more abundant, and the user spends a lot of time every day to use the mobile terminal, so the display efficiency and consumption of the mobile terminal are Electrical conditions have become an important indicator to consider the performance of mobile terminals.
  • the content displayed by the mobile terminal during the running process is ever-changing, and there are many corresponding display scenes.
  • the embodiment of the invention provides a display scene recognition method and device for a mobile terminal, a storage medium and an electronic device, which can identify a display scene of the mobile terminal.
  • an embodiment of the present invention provides a display scene identification method for a mobile terminal, including:
  • an embodiment of the present invention provides a display scene recognition apparatus for a mobile terminal, including:
  • a process identifier obtaining module configured to acquire a process identifier of an application running in the mobile terminal
  • a layer attribute obtaining module configured to acquire a layer attribute of each layer in the layer set drawn by the application
  • displaying a scene recognition module configured to identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  • an embodiment of the present invention provides a storage medium on which a computer program is stored, and when the computer program is executed on a computer, the computer is configured to perform a display scene identification method of the mobile terminal provided by the embodiment of the present invention.
  • an embodiment of the present invention provides an electronic device, including a memory, and a processor, by using a computer program stored in the memory, to perform steps:
  • the embodiment of the invention provides a display scene recognition method and device for a mobile terminal, a storage medium and an electronic device, which can identify a display scene of the mobile terminal.
  • FIG. 1 is a first schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 2 is a second schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a display process according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a Vsync display refresh mechanism according to an embodiment of the present invention.
  • FIG. 5 is a third schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 6 is a structural block diagram of a display scene recognition apparatus for a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the content displayed by the mobile terminal during the running process is ever-changing, and there are many corresponding display scenarios.
  • the display scene needs to be identified.
  • the embodiment of the invention provides a display scene recognition method for a mobile terminal, which includes the following steps:
  • the method for identifying a display scene of the mobile terminal may further include the following steps: acquiring touch data;
  • the identifying the display scenario of the mobile terminal according to the process identifier and the layer attribute may include: identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
  • the method for identifying a display scene of the mobile terminal may further include the following steps: acquiring sensing data by using a preset type of sensor;
  • the identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: determining, according to the process identifier, the layer attribute, the touch data, and the The sense data identifies the display scene of the mobile terminal.
  • the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
  • the attribute of the visible area may include at least one of: whether the visible area is empty, the number, shape, size, and location of the visible area;
  • the attribute of the transparent area may include at least one of the following: the number, shape, size, position of the transparent area, and the relative position of the visible area of the other layer;
  • the attribute of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area;
  • the image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  • the method may further include the following steps:
  • the display scene determines at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution; and the frame rate, the target composite frame rate, and the target refresh rate are drawn according to the determined target.
  • At least one of the target display brightness and the target resolution performs at least one of a corresponding layer drawing, a layer composition, a display picture refresh, and a display brightness adjustment.
  • the method further includes the following steps: performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, where the touch data includes at least a touch Position, touch area, and touch duration, the touch event includes at least no event, a click event, a leaving event, a slow sliding event, and a fast sliding event;
  • the identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: identifying, according to the process identifier, the layer attribute, and the touch event, the mobile terminal Show the scene.
  • FIG. 1 is a first schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present invention.
  • the method can be performed by a display scene recognition device of the mobile terminal, wherein the device can be implemented by software and/or hardware, and can generally be integrated in the mobile terminal.
  • the method includes:
  • Step 101 Obtain a process identifier of an application running in the mobile terminal.
  • the mobile terminal in the embodiment of the present invention may be a device including a display screen such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, and a digital multimedia player.
  • the embodiment of the present invention does not limit the operating system loaded in the mobile terminal, and may be an Android (Android) system or a mobile phone window (Windows). Phone, WP) operating system, Linux and IOS systems, etc. In some embodiments, for ease of explanation, embodiments of the present invention are described in the following with a common Android system.
  • the package name is a concept in the Android system. Other operating systems may not have this concept, but if you use the same concept as the package name, such as the name of the application, the same problem will exist.
  • a function in the application may be implemented by one or more processes, and the process identifier (such as the process name) can identify which function the application is currently implementing, that is, can identify This function corresponds to the display scene. Therefore, in this step, the process identifier of the application running in the mobile terminal is obtained, and is used for subsequent display scene identification.
  • the process identifier such as the process name
  • Step 102 Acquire a layer attribute of each layer in the layer set drawn by the application.
  • the layer attributes include a layer identifier (such as a layer name or number), whether the cached data is empty, a horizontal or vertical screen mode, an attribute of the visible area, an attribute of the transparent area, whether an update area exists, Update at least one of the attributes of the area and the image information.
  • a layer identifier such as a layer name or number
  • the corresponding cache data is stored in its corresponding cache area. If the cache data is all 0s, it means that the cache data is empty. In this case, the layer can be understood as one. Blank layer.
  • the application draws at a certain drawing frame rate. For the current layer received, the current layer and the previously drawn layer (the layer received within the preset duration) A comparison is made (for example, whether the gray value corresponding to each coordinate position is changed) to determine whether the current layer has an update area.
  • the specific value of the preset duration is not limited in the embodiment of the present invention.
  • the attribute of the visible area includes at least one of the following: whether the visible area is empty (after the application draws a layer, the corresponding cached data of the layer includes the visible area in the layer) Coordinate information, generally the visible area is a rectangle.
  • the visible area is considered to be empty, the number, shape, size and position of the visible area;
  • the attributes of the transparent area include At least one of the following: the number, shape, size, location, and relative position of the transparent area relative to the visible area of the other layer;
  • the attributes of the updated area include at least one of the following: the number, location, shape, size, and size of the updated area
  • the image information includes at least one of the following: whether the image is a solid color (including color data is all 0), color gradation, grayscale, hue, contrast, brightness, saturation, transparency, and blur. At least one of them.
  • layer attributes are listed above, and when used to identify a display scene, it can be used to identify a display scene according to any one or more of them. Of course, there are other layer properties that can be combined with the items listed above.
  • Step 103 Identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  • the corresponding layer scene category may be determined according to the set of layer attributes, and then the display scene of the mobile terminal is identified according to the process identifier and the layer scene category.
  • different process identifiers and different layer scene categories may be arranged and combined in advance to obtain different scene description sets, and corresponding relationship between different scene description items and different display scenes is established in advance, and preset scene correspondings are obtained. relationship.
  • the current scene description item is determined according to the process identifier and the layer scene type, and the preset scene correspondence relationship is queried according to the current scene description item, thereby obtaining the current display scene of the mobile terminal, so as to achieve the purpose of identifying the display scene of the mobile terminal.
  • the application is a video playback application, which generally includes three layers: a layer for displaying video content, which can be defined as U1; two layers of SurfaceView type, and one for displaying a barrage Content can be defined as U2 and the other is used to display the user interface (User Interface, UI) controls (such as playback progress bar, volume control bar, and various control buttons) and advertisements can be defined as U3.
  • the layer identifiers are U1, U2, and U3 described above. When the layer set includes U1 and U2, it corresponds to the first layer scene, and when the layer set includes U1 and U3, it corresponds to the second layer scene.
  • more layer attributes may be introduced, such as U1 and U3 in the layer set, and only a single rectangular update area in U3, corresponding to the third Layer scene.
  • the display scene identification scheme of the mobile terminal acquires the process identifier of the application running in the mobile terminal, and acquires the layer attribute of each layer in the layer set drawn by the application, according to the process identifier and the layer.
  • the attribute identifies the display scene of the mobile terminal.
  • the display scene recognition method of the mobile terminal may further include: acquiring touch data.
  • the identifying the display scenario of the mobile terminal according to the process identifier and the layer attribute may include: identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
  • the touch data may include data such as a touch location, a touch area, and a touch duration.
  • the touch data may be statistically analyzed, the corresponding touch event is determined according to the statistical analysis result, and the display scene of the mobile terminal is identified according to the process identifier, the layer attribute, and the touch event.
  • the touch event may include no event (eg, no touch screen is detected to be touched within a preset time period), a click event, a leaving event (eg, from a touch to a release touch), a slow sliding event, a fast sliding event, and the like.
  • the method further includes the following steps:
  • the touch data includes at least a touch position, a touch area, and a touch duration
  • the touch event includes at least an eventless, a click event, a leaving event, and a slow sliding event. And fast sliding events;
  • the step of identifying the display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: identifying a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
  • the recognition of the display scene is performed according to three factors: process identification, layer attributes, and touch data, which can further improve the accuracy of display scene recognition.
  • the display scene recognition method of the mobile terminal may further include: acquiring the sensing data by using a preset type of sensor.
  • the identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data including: according to the process identifier, the layer attribute, the touch data, and the The sense data identifies the display scene of the mobile terminal.
  • the preset type of sensor includes: a distance sensor, a light sensor, a magnetic field sensor, a weight sensor, an acceleration sensor, a direction sensor, a gyro sensor, a rotation vector sensor, a barometric pressure sensor, a temperature sensor, and a humidity sensor. At least one of them.
  • the preset type of sensor comprises at least two of the above sensors. The specific sensor type may be determined according to the type of the sensor integrated by the mobile terminal, and the number of the same type of sensor is not limited in the embodiment of the present invention.
  • the selection strategy of the sensor may be preset, or may be determined according to a preset correspondence between the sensor and the application, and the running application is used to query the preset correspondence to obtain a corresponding sensor type.
  • the acquired sensing data may be the sensing data of the current time, or may be the sensing data in the preset time period before the current time, which is not limited in the embodiment of the present invention.
  • the sensor data may be statistically analyzed, the corresponding sensor event is determined according to the statistical analysis result, and the display scene of the mobile terminal is identified according to the process identifier, the layer attribute, the touch time, and the sensor event.
  • statistical analysis of the sensing data corresponding to the acceleration sensor can be performed to obtain that the mobile terminal is currently in a stationary state (first sensor event) and a slow forward state (second sensor event). Still a fast forward state (a third sensor event. Assuming that the determined sensor event is a second sensor event, the second sensor event is combined with the currently acquired process identifier, layer attributes, and touch events to obtain a current scene description item, Further, the display scene of the mobile terminal is identified.
  • the process name, the sensing data, the touch data, and the layer attribute may be used as the identification elements of the display scene, and the order of obtaining the elements is not limited in the embodiment of the present invention, and the types of the elements are identified. The more the displayed display scene, the more accurate it is.
  • a whitelist may be pre-established.
  • the display scene is identified. Otherwise, the display scene is not required to be identified.
  • the “displaying the display scenario of the mobile terminal according to the process identifier and the layer attribute” may be: determining whether the process identifier is in a preset process whitelist. If yes, the display scenario of the mobile terminal is identified according to the process identifier and the layer attribute. For the same reason, other steps can be similarly optimized. The advantage of optimization here is that the display scene can be selectively identified and the system resources consumed by unnecessary scene recognition can be reduced.
  • the identification element includes a process name, a layer attribute, and touch data
  • the touch data corresponding to the touch data is in the preset touch event white list
  • the display scene is determined according to the process name, the layer attribute, and the touch data.
  • the touch data corresponding to the touch data is not in the preset touch event white list
  • the display scene is determined according to the process name and the layer attribute, and the two methods are equivalent to the relationship between the local variable and the global variable, and the local variable is preferentially used when the local variable exists.
  • Display scene recognition otherwise use global variables to display scene recognition.
  • FIG. 2 is a second schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
  • Step 201 Obtain a process identifier of an application running in the mobile terminal.
  • Step 202 Obtain a layer attribute of each layer in the layer set drawn by the application.
  • Step 203 Identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  • Step 204 Determine at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene.
  • FIG. 3 is a schematic diagram of a display process according to an embodiment of the present invention.
  • each application (hereinafter referred to as an application or APP) contains one or more layers, and each application APP1, APP2...APPN is designed according to its own application (generally by the corresponding installation package APK) Decided to perform a layer rendering operation (that is, drawing an image on the layer), and after the drawing operation is completed, each application sends all the layers drawn to the layer composition that performs the layer composition operation.
  • Module Surface Flinger
  • the layer composition module selects the visible layer from ListAll to form a visible layer list, which is defined as DisplayList.
  • the layer synthesis module from the system three recyclable frame buffers (Frame Buffer, referred to as BF or buffer, finds an idle FB, and on the free FB, according to the application configuration information, for example, which layer should be bottomed, which layer should be topped, which area is visible, and which The area is a transparent area, etc., and the layers contained in the DisplayList are superimposed by a Compose operation to obtain a final picture to be displayed.
  • BF recyclable frame buffer
  • the picture to be displayed can be transferred to the display hardware (including the display controller and display) so that the picture to be displayed is finally displayed on the display.
  • the type of the display screen is not limited, and may be, for example, a liquid crystal display (Liquid). Crystal Display, LCD).
  • FIG. 4 is a schematic diagram of a Vsync display refresh mechanism according to an embodiment of the present invention.
  • the Vsync refresh mechanism actually inserts a "heartbeat" or system synchronization (Vsync) signal in the entire display process, and is sent by the display controller to the CPU for generating a Vsync interrupt to control each layer drawing operation and graph.
  • Layer synthesis operations need to be done in accordance with the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync.
  • the frequency of the Vsync signal is currently commonly 60 Hz. As shown in FIG.
  • the CPU forwards the second Vsync signal Vsync2 to the layer synthesizing module, and the layer synthesizing module starts performing a layer synthesizing operation, and synthesizes the multiple layers drawn by each application to generate The screen to be displayed.
  • the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh and finally displays the to-be-displayed screen on the display.
  • the frequency of the Vsync signal received by the application, the layer synthesis module, and the display screen is consistent, and is a fixed value set in advance.
  • the drawing frame rate In the process of drawing, synthesizing, and refreshing the display of the mobile terminal layer, there are three kinds of frame rates: the drawing frame rate, the composite frame rate, and the refresh rate.
  • the drawing frame rate is a frame rate that triggers the layer synthesis module to perform layer composition after the drawing of the layer is completed, and can be understood as the number of layer frames drawn per unit time (for example, 1 second).
  • the drawing frame rate includes a drawing frame rate of the application and a drawing frame rate of the layer.
  • the video player application in the above example generally includes three layers U1, U2, and U3.
  • the drawing frame rate of the application is the number of times the drawing operation is performed in the application unit time, and one or more layers may be drawn when performing a drawing operation.
  • the drawing frame rate of the layer is the number of times the layer is triggered to be drawn in the unit time of the same number or name (such as U1, U2, or U3 in the previous section).
  • the composite frame rate is a frame rate in which the layers drawn by each application are combined into one picture to be displayed, which can be understood as the number of picture frames synthesized per unit time.
  • the refresh rate is the frame rate at which the display screen of the mobile terminal is refreshed. Typically, the display will refresh at a 60Hz refresh rate.
  • the target rendering frame rate, the target composite frame rate, the target refresh rate, the target display luminance, and the target resolution are collectively referred to as target parameter values.
  • Step 205 Perform corresponding layer drawing, layer composition, display screen refresh, and display according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. At least one of brightness adjustments.
  • the target drawing frame rate may be the maximum drawing frame rate when the application draws the layer.
  • Performing a layer drawing operation according to the target drawing frame rate may be changing the frequency of the reference signal (such as the Vsync signal sent to the application described above) sent to the application to the target drawing frame rate, or changing the drawing of the application.
  • the layer rendering operation responds to the reference signal to limit the maximum rendering frame rate when the application draws the layer to within the target rendering frame rate. For example, the received 2n+1th signal response, the received 2nth signal does not respond; for example, a set of n (such as 5) signals, the first type of preset number in each group ( For signals such as 1, 2, 4, 5), the signal of the second type of preset number (such as 4) does not respond.
  • the target composite frame rate may be a layer synthesis module (such as Surface) Flinger)
  • the maximum composite frame rate when synthesizing layers may change the frequency of the reference signal (such as the Vsync signal) sent to the layer synthesis module to the target composite frame rate, or change the layer synthesis operation of the layer synthesis module to the reference.
  • the response mechanism of the signal is to limit the maximum rendering frame rate when the application draws the layer to within the target rendering frame rate (as in the example above).
  • Performing a display refresh operation according to the target refresh rate can adjust the frequency of the reference signal (such as the Vsync signal) sent to the display screen to the target refresh rate, and can also change the response mechanism of the display screen refresh operation of the display screen to the reference signal to achieve The frequency of picture refresh is equal to the target refresh rate (as in the above example).
  • the reference signal such as the Vsync signal
  • the frequencies of the Vsync signals received by the application, the layer synthesizing module and the display screen in the embodiment of the present invention are independent, and may be the same or different.
  • the advantage of the setting is that according to different display scenarios. Select a combination of different signal frequencies to optimize display control.
  • Performing the display brightness adjustment according to the target display brightness can be to adjust the display brightness to the value corresponding to the target display brightness, including setting the brightness value of the display to the lowest (extinguished screen) or highest.
  • the target resolution may include a target resolution of the layer and a target resolution of the display screen.
  • Performing a layer drawing operation based on the target resolution of the layer can be performed by the application to draw the corresponding layer based on the target resolution of the layer.
  • Performing the layer compositing operation according to the target resolution of the display screen may be performed by the layer compositing module to adjust the resolution of each layer to the target resolution of the display screen before the composite layer according to the target resolution of the display screen;
  • the resolution of the picture to be displayed is adjusted by the layer synthesis module to the target resolution of the display picture during the execution of the layer composition operation.
  • the adjustment of the resolution can be achieved by means of image processing related means.
  • the method for identifying a display scene of a mobile terminal determines a corresponding target parameter value according to the identified display scene after identifying the current display scene, and then performs a corresponding operation according to the target parameter value, which may be moved.
  • the display of the terminal is more reasonably controlled.
  • more operations can be performed according to the identified display scene.
  • this can be achieved by adding marker bits, with different values on the marker bits corresponding to different operations.
  • FIG. 5 is a third schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
  • Step 501 Obtain a process identifier of an application running in the mobile terminal.
  • Step 502 Acquire a layer attribute of each layer in the layer set drawn by the application, and determine a layer scene category according to the layer attribute.
  • Step 503 Acquire sensor data by using a preset type of sensor, and determine a sensor event according to the sensor data.
  • Step 504 Acquire touch data, and determine a touch event according to the touch data.
  • Step 505 Identify a display scenario of the mobile terminal according to the process identifier, the layer scene category, the sensor event, and the touch event.
  • a correspondence between a process identification, a layer scene category, a sensor event, and a touch event and a display scene is given in Table 1 below.
  • the sensor uses an acceleration sensor as an example, and the layer attribute is used in a video playback application.
  • the three layer identifiers (U1, U2, and U3):
  • Step 506 Determine a corresponding target drawing frame rate, a target composite frame rate, and a target refresh rate according to the identified display scene.
  • the target drawing frame rate in the embodiment of the present invention is described by taking the target drawing frame rate of the application as an example, and the target drawing frame rate can also be detailed to the target drawing frame rate of the layer.
  • the correspondence between the display scene and the target rendering frame rate, the target composite frame rate, and the target refresh rate is given in Table 2 below:
  • Table 2 shows the correspondence between the scene and the target drawing frame rate, the target composite frame rate, and the target refresh rate.
  • Step 507 Perform corresponding layer drawing, layer composition, and display screen refresh operation according to the determined target drawing frame rate, the target composite frame rate, and the target refresh rate.
  • the display scene recognition method of the mobile terminal identifies the display scene of the mobile terminal according to the process identifier, the layer scene category, the sensor event, and the touch event, and then performs personalized layer drawing and layer synthesis according to the display scene. And the display screen refresh operation can more reasonably control the display of the mobile terminal.
  • the target drawing frame rate, the target composite frame rate, and the target refresh rate are lower than the normal frequency, the effect of reducing the system power consumption can also be achieved.
  • the embodiment of the invention provides a display scene recognition device for a mobile terminal, which may include:
  • a process identifier obtaining module configured to acquire a process identifier of an application running in the mobile terminal
  • a layer attribute obtaining module configured to acquire a layer attribute of each layer in the layer set drawn by the application
  • displaying a scene recognition module configured to identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  • the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
  • Touch data acquisition module for acquiring touch data.
  • the display scene recognition module is configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
  • the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
  • the sensing data acquisition module is configured to acquire sensing data by using a preset type of sensor.
  • the display scene recognition module is configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data.
  • the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
  • the attribute of the visible area may include at least one of: whether the visible area is empty, the number, shape, size, and location of the visible area;
  • the attribute of the transparent area may include at least one of the following: the number, shape, size, position of the transparent area, and the relative position of the visible area of the other layer;
  • the attribute of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area;
  • the image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  • the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
  • the target parameter value determining module is configured to determine at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene.
  • the operation execution module is configured to perform corresponding layer drawing, layer composition, and display screen refresh according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. And at least one of the display brightness adjustments.
  • the touch data acquiring module may be further configured to: perform statistical analysis on the touch data, and determine a corresponding touch event according to a statistical analysis result, where the touch data includes at least a touch position, a touch area, and The touch duration includes at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event.
  • the display scene recognition module may be configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
  • FIG. 6 is a structural block diagram of a display scene recognizing apparatus of a mobile terminal according to an embodiment of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform a display scene recognizing method of the mobile terminal. Perform display scene recognition.
  • the device includes:
  • a process identifier obtaining module 601, configured to acquire a process identifier of an application running in the mobile terminal;
  • a layer attribute obtaining module 602 configured to acquire a layer attribute of each layer in the layer set drawn by the application
  • the display scene identification module 603 is configured to identify a display scene of the mobile terminal according to the process identifier and the layer attribute.
  • the display scene recognizing device of the mobile terminal provided by the embodiment of the present invention can accurately identify the display scenario of the mobile terminal according to the process identifier and the layer attribute of the application running by the mobile terminal.
  • the device further comprises:
  • Touch data acquisition module for acquiring touch data.
  • the display scene recognition module is configured to:
  • the device further comprises:
  • the sensing data acquisition module is configured to acquire sensing data by using a preset type of sensor.
  • the display scene recognition module is configured to:
  • the layer attribute includes whether the cache data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and an image information. at least one.
  • the attribute of the visible area comprises at least one of the following:
  • the visible area is empty, the number, shape, size and position of the visible area.
  • the attributes of the transparent area include at least one of the following:
  • the attributes of the update area include at least one of the following:
  • the image information includes at least one of the following:
  • the image is at least one of a solid color, a color scale, a gray scale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  • the device further comprises:
  • a target parameter value determining module configured to determine a corresponding target according to the identified display scene after identifying a display scene of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data At least one of a frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution is drawn.
  • the operation execution module is configured to perform corresponding layer drawing, layer composition, and display screen refresh according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. And at least one of the display brightness adjustments.
  • the touch data acquiring module may be further configured to: perform statistical analysis on the touch data, and determine a corresponding touch event according to a statistical analysis result, where the touch data includes at least a touch position, a touch area, and The touch duration includes at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event.
  • the display scene identification module may be configured to: identify a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
  • the embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is configured to perform display scene recognition of the mobile terminal provided by the embodiment of the present invention.
  • the steps in the method are described in detail below.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may include: a casing (not shown), a memory 701, and a central processing unit (Central). Processing Unit, CPU) 702 (also referred to as a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power supply circuit (not shown).
  • CPU central processing unit
  • the circuit board is disposed inside a space enclosed by the casing; the CPU 702 and the memory 701 are disposed on the circuit board; and the power circuit is configured to supply power to each circuit or device of the mobile terminal
  • the memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps:
  • the mobile terminal further includes: a peripheral interface 703, RF (Radio) Frequency, RF circuit 705, audio circuit 706, speaker 711, power management chip 708, input/output (I/O) subsystem 709, touch screen 712, other input/control devices 710, and external port 704, these components are passed through one or A plurality of communication buses or signal lines 707 are in communication.
  • RF Radio
  • the illustrated mobile terminal 700 is merely one example of a mobile terminal, and that the mobile terminal 700 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile terminal for displaying scene recognition provided in this embodiment is described in detail below.
  • the mobile terminal takes a mobile phone as an example.
  • the memory 701 can be accessed by the CPU 702, the peripheral interface 703, etc., and the memory 701 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a non-volatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 703, which can connect the input and output peripherals of the device to CPU 702 and memory 701.
  • the I/O subsystem 709 can connect input and output peripherals on the device, such as touch screen 712 and other input/control devices 710, to peripheral interface 703.
  • the I/O subsystem 709 can include a display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710.
  • one or more input controllers 7092 receive electrical signals from other input/control devices 710 or transmit electrical signals to other input/control devices 710, and other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 7092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 712 is an input interface and an output interface between the user mobile terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 7091 in I/O subsystem 709 receives an electrical signal from touch screen 712 or an electrical signal to touch screen 712.
  • Touch screen 712 detects contact on the touch screen, display controller 7091 converts the detected contact into interaction with a user interface object displayed on touch screen 712, ie, implements human-computer interaction, and the user interface object displayed on touch screen 712 can be operational
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 705 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 705 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 705 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
  • CODEC COder-DECoder, codec
  • the audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.
  • the speaker 711 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.
  • the power management chip 708 is used for power supply and power management of the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
  • the mobile terminal provided by the embodiment of the present invention can accurately identify the display scenario of the mobile terminal according to the process identifier and the layer attribute of the application running by the mobile terminal.
  • the display scene recognizing device and the mobile terminal of the mobile terminal provided in the above embodiments may perform the display scene recognizing method of the mobile terminal provided by any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method.
  • a display scene identification method for a mobile terminal provided by any embodiment of the present invention may be performed.
  • An embodiment of the present invention provides an electronic device, including a memory, and a processor, by using a computer program stored in the memory, to perform a step in a display scene identification method of a mobile terminal provided by an embodiment of the present invention. step.
  • the electronic device can be a mobile terminal device such as a smartphone or tablet.
  • FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device 800 can include components such as a memory 801, a processor 802, and a sensor 803.
  • Memory 801 can be used to store applications and data.
  • the application stored in the memory 801 contains executable code.
  • Applications can form various functional modules.
  • the processor 802 executes various functional applications and data processing by running an application stored in the memory 801.
  • the processor 802 is a control center of the electronic device, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or executing an application stored in the memory 801, and calling data stored in the memory 801. The various functions and processing of data to provide overall monitoring of the electronic device.
  • the electronic device can include sensors 803 such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the electronic device moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • Other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors that can be configured in electronic devices are not described here.
  • the processor 802 in the electronic device loads the executable code corresponding to the process of one or more applications into the memory 801 according to the following instructions, and is executed by the processor 802 to be stored in the memory.
  • the application in 801 thus implementing the steps:
  • the processor 802 can also be used to perform the step of acquiring touch data by calling a computer program stored in the memory.
  • the processor 802 when performing the step of identifying a display scenario of the electronic device according to the process identifier and the layer attribute, may include: identifying an electronic according to the process identifier, the layer attribute, and the touch data The display scene of the device.
  • the processor 802 can also be configured to perform the step of acquiring sensor data by a preset type of sensor by calling a computer program stored in the memory.
  • the processor 802 when performing the step of identifying a display scenario of the electronic device according to the process identifier, the layer attribute, and the touch data, may include: determining, according to the process identifier, the layer attribute, The touch data and the sensor data identify a display scene of the electronic device.
  • the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
  • the attributes of the visible region may include at least one of the following: whether the visible region is empty, the number, shape, size, and location of the visible regions.
  • the properties of the transparent region may include at least one of the following: the number, shape, size, location, and relative position of the transparent regions to the visible regions of the other layers.
  • the attributes of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area.
  • the image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  • the processor 802 may further be configured to perform the steps:
  • Performing corresponding layer drawing, layer composition, display picture refresh, and display brightness adjustment according to at least one of the determined target drawing frame rate, target composite frame rate, target refresh rate, target display brightness, and target resolution At least one operation.
  • the processor 802 may further be configured to perform the steps:
  • the touch data includes at least a touch position, a touch area, and a touch duration
  • the touch event includes at least no event, a click event, a leaving event, Slow swipe events and fast swipe events.
  • the processor 802 when performing the step of identifying a display scenario of the electronic device according to the process identifier, the layer attribute, and the touch data, may include: according to the process identifier, the layer attribute, and the The touch event identifies a display scene of the electronic device.
  • the electronic device structure illustrated in FIG. 8 does not constitute a limitation to the electronic device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the electronic device 800 may further include an input unit 804, an output unit 805, and the like.
  • the input unit 804 can be configured to receive input digits, character information, or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls.
  • input unit 804 can include a touch-sensitive surface as well as other input devices. Touch-sensitive surfaces, also known as touch screens or trackpads.
  • the output unit 805 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the output unit 805 can be a display panel.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory

Abstract

A method and apparatus for recognizing a display scenario of a mobile terminal, a storage medium, an electronic device. The method comprises: obtaining a process identifier of an application running in a mobile terminal (101); obtaining layer attributes of each layer in a layer set drawn by the application (102); and recognizing a display scenario of the mobile terminal according to the process identifier and the layer attributes (103). According to the method, a display scenario of a mobile terminal can be accurately recognized according to a process identifier of a run application and layer attributes.

Description

移动终端的显示场景识别方法、装置、存储介质及电子设备 Display scene recognition method, device, storage medium and electronic device of mobile terminal
本申请要求于2017年03月10日提交中国专利局、申请号为201710142061.5、发明名称为“一种移动终端的显示场景识别方法、装置及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on March 10, 2017, the Chinese Patent Office, the application number is 201710142061.5, and the invention name is "a display scene identification method, device and mobile terminal for a mobile terminal". This is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及显示技术领域,尤其涉及一种移动终端的显示场景识别方法、装置、存储介质及电子设备。Embodiments of the present invention relate to the field of display technologies, and in particular, to a display scene identification method, apparatus, storage medium, and electronic device for a mobile terminal.
背景技术Background technique
目前,移动终端的显示屏幕尺寸越来越大,所装载的应用程序以及所能够实现的功能也越来越丰富,用户每天会花费大量的时间来使用移动终端,所以移动终端的显示效率以及耗电情况等成为考量移动终端工作性能的重要指标。At present, the display screen size of the mobile terminal is getting larger and larger, the loaded application and the functions that can be implemented are more and more abundant, and the user spends a lot of time every day to use the mobile terminal, so the display efficiency and consumption of the mobile terminal are Electrical conditions have become an important indicator to consider the performance of mobile terminals.
移动终端在运行过程中所显示的内容千变万化,所对应的显示场景也有很多种。The content displayed by the mobile terminal during the running process is ever-changing, and there are many corresponding display scenes.
技术问题technical problem
本发明实施例提供一种移动终端的显示场景识别方法、装置、存储介质及电子设备,可以识别出移动终端的显示场景。The embodiment of the invention provides a display scene recognition method and device for a mobile terminal, a storage medium and an electronic device, which can identify a display scene of the mobile terminal.
技术解决方案Technical solution
第一方面,本发明实施例提供了一种移动终端的显示场景识别方法,包括:In a first aspect, an embodiment of the present invention provides a display scene identification method for a mobile terminal, including:
获取移动终端中运行的应用程序的进程标识;Obtaining a process identifier of an application running in the mobile terminal;
获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
根据所述进程标识和所述图层属性识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier and the layer attribute.
第二方面,本发明实施例提供了一种移动终端的显示场景识别装置,包括:In a second aspect, an embodiment of the present invention provides a display scene recognition apparatus for a mobile terminal, including:
进程标识获取模块,用于获取移动终端中运行的应用程序的进程标识;a process identifier obtaining module, configured to acquire a process identifier of an application running in the mobile terminal;
图层属性获取模块,用于获取所述应用程序绘制的图层集合中每个图层的图层属性;a layer attribute obtaining module, configured to acquire a layer attribute of each layer in the layer set drawn by the application;
显示场景识别模块,用于根据所述进程标识和所述图层属性识别移动终端的显示场景。And displaying a scene recognition module, configured to identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
第三方面,本发明实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本发明实施例提供的移动终端的显示场景识别方法。In a third aspect, an embodiment of the present invention provides a storage medium on which a computer program is stored, and when the computer program is executed on a computer, the computer is configured to perform a display scene identification method of the mobile terminal provided by the embodiment of the present invention. .
第四方面,本发明实施例提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory, and a processor, by using a computer program stored in the memory, to perform steps:
获取电子设备中运行的应用程序的进程标识;Obtaining the process ID of the application running in the electronic device;
获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
根据所述进程标识和所述图层属性识别所述电子设备的显示场景。And identifying a display scenario of the electronic device according to the process identifier and the layer attribute.
有益效果 Beneficial effect
本发明实施例提供一种移动终端的显示场景识别方法、装置、存储介质及电子设备,可以识别出移动终端的显示场景。The embodiment of the invention provides a display scene recognition method and device for a mobile terminal, a storage medium and an electronic device, which can identify a display scene of the mobile terminal.
附图说明DRAWINGS
图1为本发明实施例提供的移动终端的显示场景识别方法的第一种流程示意图;FIG. 1 is a first schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure;
图2为本发明实施例提供的移动终端的显示场景识别方法的第二种流程示意图;2 is a second schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure;
图3为本发明实施例提供的一种显示过程示意图;FIG. 3 is a schematic diagram of a display process according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的Vsync显示刷新机制的示意图;4 is a schematic diagram of a Vsync display refresh mechanism according to an embodiment of the present invention;
图5为本发明实施例提供的移动终端的显示场景识别方法的第三种流程示意图;FIG. 5 is a third schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种移动终端的显示场景识别装置的结构框图;FIG. 6 is a structural block diagram of a display scene recognition apparatus for a mobile terminal according to an embodiment of the present invention;
图7为本发明实施例提供的一种移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
图8为本发明实施例提供的电子设备的一种结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
图9为本发明实施例提供的电子设备的另一种结构示意图。FIG. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe the various steps as a sequential process, many of the steps can be implemented in parallel, concurrently, or concurrently. In addition, the order of the steps can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
在实际应用过程中,移动终端在运行过程中所显示的内容千变万化,所对应的显示场景也有很多种,为了方便对移动终端进行改进,需要对显示场景进行识别。In the actual application process, the content displayed by the mobile terminal during the running process is ever-changing, and there are many corresponding display scenarios. In order to facilitate the improvement of the mobile terminal, the display scene needs to be identified.
本发明实施例提供一种移动终端的显示场景识别方法,包括如下步骤:The embodiment of the invention provides a display scene recognition method for a mobile terminal, which includes the following steps:
获取移动终端中运行的应用程序的进程标识;Obtaining a process identifier of an application running in the mobile terminal;
获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
根据所述进程标识和所述图层属性识别所述移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier and the layer attribute.
在一种实施方式中,本发明实施例提供的移动终端的显示场景识别方法,还可以包括如下步骤:获取触摸数据;In an embodiment, the method for identifying a display scene of the mobile terminal provided by the embodiment of the present invention may further include the following steps: acquiring touch data;
那么,所述根据所述进程标识和所述图层属性识别移动终端的显示场景,可以包括:根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。Then, the identifying the display scenario of the mobile terminal according to the process identifier and the layer attribute may include: identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
在一种实施方式中,本发明实施例提供的移动终端的显示场景识别方法,还可以包括如下步骤:通过预设类型的传感器获取传感数据;In an embodiment, the method for identifying a display scene of the mobile terminal provided by the embodiment of the present invention may further include the following steps: acquiring sensing data by using a preset type of sensor;
那么,所述根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景,可以包括:根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。Then, the identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: determining, according to the process identifier, the layer attribute, the touch data, and the The sense data identifies the display scene of the mobile terminal.
在一种实施方式中,所述图层属性可以包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。In an embodiment, the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
在一种实施方式中,所述可见区域的属性可以包括以下至少一项:可见区域是否为空,可见区域的数量、形状、尺寸和位置;In an embodiment, the attribute of the visible area may include at least one of: whether the visible area is empty, the number, shape, size, and location of the visible area;
所述透明区域的属性可以包括以下至少一项:透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;The attribute of the transparent area may include at least one of the following: the number, shape, size, position of the transparent area, and the relative position of the visible area of the other layer;
所述更新区域的属性可以包括以下至少一项:更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;The attribute of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area;
所述图像信息可以包括以下至少一项:图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。The image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
在一种实施方式中,在根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景的步骤之后,还可以包括如下步骤:根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种;根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。In an embodiment, after the step of identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data, the method may further include the following steps: The display scene determines at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution; and the frame rate, the target composite frame rate, and the target refresh rate are drawn according to the determined target. At least one of the target display brightness and the target resolution performs at least one of a corresponding layer drawing, a layer composition, a display picture refresh, and a display brightness adjustment.
在一种实施方式中,在所述获取触摸数据的步骤之后,还可以包括如下步骤:对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件;In an embodiment, after the step of acquiring the touch data, the method further includes the following steps: performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, where the touch data includes at least a touch Position, touch area, and touch duration, the touch event includes at least no event, a click event, a leaving event, a slow sliding event, and a fast sliding event;
那么,所述根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景,可以包括:根据所述进程标识、所述图层属性和所述触摸事件识别移动终端的显示场景。Then, the identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: identifying, according to the process identifier, the layer attribute, and the touch event, the mobile terminal Show the scene.
图1为本发明实施例提供的移动终端的显示场景识别方法的第一种流程示意图。该方法可以由移动终端的显示场景识别装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a first schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present invention. The method can be performed by a display scene recognition device of the mobile terminal, wherein the device can be implemented by software and/or hardware, and can generally be integrated in the mobile terminal. As shown in Figure 1, the method includes:
步骤101、获取移动终端中运行的应用程序的进程标识。Step 101: Obtain a process identifier of an application running in the mobile terminal.
在一些实施方式中,本发明实施例中的移动终端可为手机、智能手表、平板电脑、游戏机、个人数字助理和数字多媒体播放器等包含显示屏的设备。In some embodiments, the mobile terminal in the embodiment of the present invention may be a device including a display screen such as a mobile phone, a smart watch, a tablet computer, a game machine, a personal digital assistant, and a digital multimedia player.
本发明实施例对移动终端中装载的操作系统不做限定,可以是安卓(Android)系统、手机窗口(Windows Phone,WP)操作系统、Linux及IOS系统等等。在一些实施方式中,为了便于说明,本发明实施例以常见的Android系统进行后续的说明。The embodiment of the present invention does not limit the operating system loaded in the mobile terminal, and may be an Android (Android) system or a mobile phone window (Windows). Phone, WP) operating system, Linux and IOS systems, etc. In some embodiments, for ease of explanation, embodiments of the present invention are described in the following with a common Android system.
移动终端中通常会装载很多应用程序(APP),正在运行的应用程序,尤其是在前台运行的应用程序是用于区分显示场景的重要因素。可以选用应用程序的名称或者包名等标识来识别显示场景,但这样做会存在一些问题。以Android系统为例,虽然每个应用程序都有一个唯一的包名作为标识,但其不能够反映具体的显示场景,识别结果不够准确。因为一个应用程序中往往需要实现多个功能,这些功能的实现可能是相互独立的,例如微信中有聊天、相册、视频通话和公众号等多个功能,每个功能可被视为一个独立的应用程序来实现的,因此不同的功能应该对应不同的显示场景,若仅以包名来标识当前运行的应用程序则无法准确确定具体的显示场景。包名是Android系统中的概念,其他操作系统可能无此概念,但若使用与包名等同的概念,如应用程序的名称,同样会存在上述问题。Many applications (APPs) are usually loaded in mobile terminals, and running applications, especially those running in the foreground, are important factors for distinguishing display scenarios. You can use the name of the application or the name of the package to identify the display scene, but there are some problems with this. Take the Android system as an example. Although each application has a unique package name as the identifier, it cannot reflect the specific display scene, and the recognition result is not accurate enough. Because an application often needs to implement multiple functions, the implementation of these functions may be independent of each other. For example, WeChat has multiple functions such as chat, photo album, video call and public number, each function can be regarded as an independent function. The application is implemented, so different functions should correspond to different display scenarios. If the currently running application is only identified by the package name, the specific display scenario cannot be accurately determined. The package name is a concept in the Android system. Other operating systems may not have this concept, but if you use the same concept as the package name, such as the name of the application, the same problem will exist.
在一些实施方式中,应用程序中的某个功能可能是由一个或多个进程来实现的,通过进程标识(如进程名)可识别出应用程序当前在实现具体哪个功能,也即能够识别出该功能对应的显示场景。因此,本步骤中获取移动终端中运行的应用程序的进程标识,用于后续的显示场景识别。In some embodiments, a function in the application may be implemented by one or more processes, and the process identifier (such as the process name) can identify which function the application is currently implementing, that is, can identify This function corresponds to the display scene. Therefore, in this step, the process identifier of the application running in the mobile terminal is obtained, and is used for subsequent display scene identification.
步骤102、获取应用程序绘制的图层集合中每个图层的图层属性。Step 102: Acquire a layer attribute of each layer in the layer set drawn by the application.
在一些实施方式中,图层属性包括图层标识(如图层名称或编号)、缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。In some embodiments, the layer attributes include a layer identifier (such as a layer name or number), whether the cached data is empty, a horizontal or vertical screen mode, an attribute of the visible area, an attribute of the transparent area, whether an update area exists, Update at least one of the attributes of the area and the image information.
在一些实施方式中,对于一个图层来说,其对应的缓存数据存储在其对应的缓存区域内,若缓存数据为全0,则表示缓存数据为空,此时该图层可理解为一个空白的图层。对于同一名称或编号的图层,应用程序会以一定的绘制帧率进行绘制,对于接收到的当前图层,可将当前图层与之前绘制的图层(预设时长内接收到的图层)进行比较(例如比较各个坐标位置对应的灰度值是否发生变化)来判断当前图层是否存在更新区域。本发明实施例对预设时长的具体数值不做限定。In some embodiments, for a layer, its corresponding cache data is stored in its corresponding cache area. If the cache data is all 0s, it means that the cache data is empty. In this case, the layer can be understood as one. Blank layer. For a layer with the same name or number, the application draws at a certain drawing frame rate. For the current layer received, the current layer and the previously drawn layer (the layer received within the preset duration) A comparison is made (for example, whether the gray value corresponding to each coordinate position is changed) to determine whether the current layer has an update area. The specific value of the preset duration is not limited in the embodiment of the present invention.
在一些实施方式中,所述可见区域的属性包括以下至少一项:可见区域是否为空(应用程序在绘制完一个图层后,该图层对应的缓存数据中包括图层中的可见区域的坐标信息,一般可见区域为一个矩形,当这个矩形的四个顶点的坐标均相同时,则可认为可见区域为空),可见区域的数量、形状、尺寸和位置;所述透明区域的属性包括以下至少一项:透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;所述更新区域的属性包括以下至少一项:更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;所述图像信息包括以下至少一项:图像是否为纯色(包括颜色数据为全0)、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。In some embodiments, the attribute of the visible area includes at least one of the following: whether the visible area is empty (after the application draws a layer, the corresponding cached data of the layer includes the visible area in the layer) Coordinate information, generally the visible area is a rectangle. When the coordinates of the four vertices of the rectangle are the same, the visible area is considered to be empty, the number, shape, size and position of the visible area; the attributes of the transparent area include At least one of the following: the number, shape, size, location, and relative position of the transparent area relative to the visible area of the other layer; the attributes of the updated area include at least one of the following: the number, location, shape, size, and size of the updated area The ratio of the area to the screen area; the image information includes at least one of the following: whether the image is a solid color (including color data is all 0), color gradation, grayscale, hue, contrast, brightness, saturation, transparency, and blur. At least one of them.
以上列举了很多种图层属性,在用于识别显示场景时,可根据其中的任意一种或多种的组合来用于识别显示场景。当然,还可以有其他图层属性与上述列举的项目进行组合。A variety of layer attributes are listed above, and when used to identify a display scene, it can be used to identify a display scene according to any one or more of them. Of course, there are other layer properties that can be combined with the items listed above.
步骤103、根据进程标识和图层属性识别移动终端的显示场景。Step 103: Identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
在一些实施方式中,当需要获取多种图层属性时,可根据图层属性的集合确定相应的图层场景类别,再根据进程标识和图层场景类别识别移动终端的显示场景。In some embodiments, when multiple layer attributes need to be acquired, the corresponding layer scene category may be determined according to the set of layer attributes, and then the display scene of the mobile terminal is identified according to the process identifier and the layer scene category.
在一些实施方式中,可事先将不同进程标识和不同图层场景类别进行排列组合,得到不同的场景描述集合,预先建立不同的场景描述项与不同的显示场景的对应关系,得到预设场景对应关系。在本步骤中,根据进程标识和图层场景类别确定当前场景描述项,根据当前场景描述项查询预设场景对应关系,进而得到移动终端的当前显示场景,达到识别移动终端的显示场景的目的。In some embodiments, different process identifiers and different layer scene categories may be arranged and combined in advance to obtain different scene description sets, and corresponding relationship between different scene description items and different display scenes is established in advance, and preset scene correspondings are obtained. relationship. In this step, the current scene description item is determined according to the process identifier and the layer scene type, and the preset scene correspondence relationship is queried according to the current scene description item, thereby obtaining the current display scene of the mobile terminal, so as to achieve the purpose of identifying the display scene of the mobile terminal.
在一些实施方式中,以应用程序为视频播放应用为例,一般包括三个图层:一个显示视频内容的图层,可定义为U1;两个SurfaceView类型的图层,一个用于显示弹幕内容,可定义为U2,另一个用于显示用户界面(User Interface,UI)控件(如播放进度条、音量控制条以及各种控制按钮等)和广告,可定义为U3。图层标识即上述的U1、U2和U3。当图层集合中包含U1和U2时对应第一图层场景、当图层集合中包含U1和U3时对应第二图层场景。在一些实施方式中,为了更加精确地确定图层场景,可引入更多的图层属性,如图层集合中包含U1和U3,且U3中仅包含单一的矩形的更新区域时,对应第三图层场景。In some embodiments, the application is a video playback application, which generally includes three layers: a layer for displaying video content, which can be defined as U1; two layers of SurfaceView type, and one for displaying a barrage Content can be defined as U2 and the other is used to display the user interface (User Interface, UI) controls (such as playback progress bar, volume control bar, and various control buttons) and advertisements can be defined as U3. The layer identifiers are U1, U2, and U3 described above. When the layer set includes U1 and U2, it corresponds to the first layer scene, and when the layer set includes U1 and U3, it corresponds to the second layer scene. In some embodiments, in order to determine the layer scene more accurately, more layer attributes may be introduced, such as U1 and U3 in the layer set, and only a single rectangular update area in U3, corresponding to the third Layer scene.
本发明实施例提供的移动终端的显示场景识别方案,获取移动终端中运行的应用程序的进程标识,获取应用程序绘制的图层集合中每个图层的图层属性,根据进程标识和图层属性识别移动终端的显示场景。通过采用上述技术方案,可根据移动终端运行的应用程序的进程标识和图层属性准确地识别出移动终端的显示场景。The display scene identification scheme of the mobile terminal provided by the embodiment of the present invention acquires the process identifier of the application running in the mobile terminal, and acquires the layer attribute of each layer in the layer set drawn by the application, according to the process identifier and the layer. The attribute identifies the display scene of the mobile terminal. By adopting the above technical solution, the display scenario of the mobile terminal can be accurately identified according to the process identifier and the layer attribute of the application running by the mobile terminal.
在上述技术方案的基础上,本发明实施例提供的移动终端的显示场景识别方法还可包括:获取触摸数据。相应的,根据所述进程标识和所述图层属性识别移动终端的显示场景可包括:根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。On the basis of the foregoing technical solutions, the display scene recognition method of the mobile terminal provided by the embodiment of the present invention may further include: acquiring touch data. Correspondingly, the identifying the display scenario of the mobile terminal according to the process identifier and the layer attribute may include: identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
在一些实施方式中,触摸数据可包括触摸位置、触摸面积及触摸时长等数据。在一种实施方式中,可对触摸数据进行统计分析,根据统计分析结果确定相应的触摸事件,再根据进程标识、图层属性和触摸事件识别移动终端的显示场景。例如,触摸事件可包括无事件(如预设时段内未检测到触摸屏被触摸)、点击事件、离开事件(如由触摸变为释放触摸)、慢速滑动事件和快速滑动事件等。In some embodiments, the touch data may include data such as a touch location, a touch area, and a touch duration. In an embodiment, the touch data may be statistically analyzed, the corresponding touch event is determined according to the statistical analysis result, and the display scene of the mobile terminal is identified according to the process identifier, the layer attribute, and the touch event. For example, the touch event may include no event (eg, no touch screen is detected to be touched within a preset time period), a click event, a leaving event (eg, from a touch to a release touch), a slow sliding event, a fast sliding event, and the like.
在一种实施方式中,在上述获取触摸数据的步骤之后,还可以包括如下步骤:In an embodiment, after the step of acquiring the touch data, the method further includes the following steps:
对触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,该触摸数据至少包括触摸位置、触摸面积及触摸时长,该触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件;Performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, the touch data includes at least a touch position, a touch area, and a touch duration, and the touch event includes at least an eventless, a click event, a leaving event, and a slow sliding event. And fast sliding events;
那么,根据进程标识、图层属性和触摸数据识别移动终端的显示场景的步骤可以包括:根据进程标识、图层属性和触摸事件识别移动终端的显示场景。Then, the step of identifying the display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch data may include: identifying a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
根据进程标识、图层属性和触摸数据三类因素来进行显示场景的识别,可进一步提高显示场景识别的准确度。The recognition of the display scene is performed according to three factors: process identification, layer attributes, and touch data, which can further improve the accuracy of display scene recognition.
在上述技术方案的基础上,本发明实施例提供的移动终端的显示场景识别方法还可包括:通过预设类型的传感器获取传感数据。相应的,所述根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景,包括:根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。On the basis of the foregoing technical solutions, the display scene recognition method of the mobile terminal provided by the embodiment of the present invention may further include: acquiring the sensing data by using a preset type of sensor. Correspondingly, the identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data, including: according to the process identifier, the layer attribute, the touch data, and the The sense data identifies the display scene of the mobile terminal.
在一些实施方式中,所述预设类型的传感器包括:距离传感器、光线传感器、磁场传感器、重量传感器、加速度传感器、方向传感器、陀螺仪传感器、旋转向量传感器、气压传感器、温度传感器和湿度传感器中的至少一种。在一些实施方式中,所述预设类型的传感器包括以上至少两种传感器。具体的传感器类型可根据移动终端所集成的传感器的类型来确定,且本发明实施例对同一类型的传感器的数量不做限定。In some embodiments, the preset type of sensor includes: a distance sensor, a light sensor, a magnetic field sensor, a weight sensor, an acceleration sensor, a direction sensor, a gyro sensor, a rotation vector sensor, a barometric pressure sensor, a temperature sensor, and a humidity sensor. At least one of them. In some embodiments, the preset type of sensor comprises at least two of the above sensors. The specific sensor type may be determined according to the type of the sensor integrated by the mobile terminal, and the number of the same type of sensor is not limited in the embodiment of the present invention.
在一些实施方式中,可检测当前处于运行状态的传感器有哪些,可从中选择部分或全部传感器,用于通过所选择的传感器获取传感数据。传感器的选择策略可预先设置,也可根据传感器与应用程序的预设对应关系来确定,利用所述运行的应用程序查询该预设对应关系,得到相应的传感器的类型。In some embodiments, it is possible to detect which sensors are currently in operation, from which some or all of the sensors can be selected for acquiring sensory data through the selected sensors. The selection strategy of the sensor may be preset, or may be determined according to a preset correspondence between the sensor and the application, and the running application is used to query the preset correspondence to obtain a corresponding sensor type.
在一些实施方式中,所获取的传感数据可以是当前时刻的传感数据,也可以是当前时刻之前的预设时间段内的传感数据,本发明实施例不做限定。In some embodiments, the acquired sensing data may be the sensing data of the current time, or may be the sensing data in the preset time period before the current time, which is not limited in the embodiment of the present invention.
在一些实施方式中,可对传感数据进行统计分析,根据统计分析结果确定相应的传感器事件,再根据进程标识、图层属性、触摸时间以及传感器事件识别移动终端的显示场景。在一些实施方式中,以加速度传感器为例,可通过对加速度传感器对应的传感数据进行统计分析,得到移动终端当前处于静止状态(第一传感器事件)、慢速前进状态(第二传感器事件)还是快速前进状态(第三传感器事件。假设确定的传感器事件为第二传感器事件,将第二传感器事件与当前获取到的进程标识、图层属性以及触摸事件进行组合,得到当前的场景描述项,进而识别移动终端的显示场景。In some embodiments, the sensor data may be statistically analyzed, the corresponding sensor event is determined according to the statistical analysis result, and the display scene of the mobile terminal is identified according to the process identifier, the layer attribute, the touch time, and the sensor event. In some embodiments, taking the acceleration sensor as an example, statistical analysis of the sensing data corresponding to the acceleration sensor can be performed to obtain that the mobile terminal is currently in a stationary state (first sensor event) and a slow forward state (second sensor event). Still a fast forward state (a third sensor event. Assuming that the determined sensor event is a second sensor event, the second sensor event is combined with the currently acquired process identifier, layer attributes, and touch events to obtain a current scene description item, Further, the display scene of the mobile terminal is identified.
需要说明的是,本发明实施例中可将进程名、传感数据、触摸数据和图层属性作为显示场景的识别元素,各元素的获取顺序本发明实施例不做限定,且识别元素的种类越多识别出来的显示场景越精确。It should be noted that, in the embodiment of the present invention, the process name, the sensing data, the touch data, and the layer attribute may be used as the identification elements of the display scene, and the order of obtaining the elements is not limited in the embodiment of the present invention, and the types of the elements are identified. The more the displayed display scene, the more accurate it is.
在上述技术方案的基础上,可预先设立白名单,当所获取的识别元素部分或全部或指定识别元素处于预设白名单时,则进行显示场景的识别,否则,不需要进行显示场景的识别。在一些实施方式中,“根据所述进程标识和所述图层属性识别所述移动终端的显示场景”可以为:判断所述进程标识是否处于预设进程白名单中。若是,则根据所述进程标识和所述图层属性识别所述移动终端的显示场景。同理,其他步骤也可进行类似的优化。此处优化的好处在于,可有选择性的进行显示场景的识别,减少不必要的场景识别所消耗的系统资源。在一些实施方式中,假设识别元素包括进程名、图层属性和触摸数据,当触摸数据对应的触摸数据处于预设触摸事件白名单中时,根据进程名、图层属性和触摸数据确定显示场景。当触摸数据对应的触摸数据未处于预设触摸事件白名单中时,根据进程名和图层属性确定显示场景,两种方式相当于局部变量和全局变量的关系,当局部变量存在时优先使用局部变量进行显示场景识别,否则使用全局变量进行显示场景识别。On the basis of the foregoing technical solution, a whitelist may be pre-established. When part or all of the acquired identification elements or the designated identification elements are in the preset whitelist, the display scene is identified. Otherwise, the display scene is not required to be identified. In some embodiments, the “displaying the display scenario of the mobile terminal according to the process identifier and the layer attribute” may be: determining whether the process identifier is in a preset process whitelist. If yes, the display scenario of the mobile terminal is identified according to the process identifier and the layer attribute. For the same reason, other steps can be similarly optimized. The advantage of optimization here is that the display scene can be selectively identified and the system resources consumed by unnecessary scene recognition can be reduced. In some embodiments, it is assumed that the identification element includes a process name, a layer attribute, and touch data, and when the touch data corresponding to the touch data is in the preset touch event white list, the display scene is determined according to the process name, the layer attribute, and the touch data. . When the touch data corresponding to the touch data is not in the preset touch event white list, the display scene is determined according to the process name and the layer attribute, and the two methods are equivalent to the relationship between the local variable and the global variable, and the local variable is preferentially used when the local variable exists. Display scene recognition, otherwise use global variables to display scene recognition.
图2为本发明实施例提供的移动终端的显示场景识别方法的第二种流程示意图,该方法包括如下步骤:2 is a second schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present disclosure, where the method includes the following steps:
步骤201、获取移动终端中运行的应用程序的进程标识。Step 201: Obtain a process identifier of an application running in the mobile terminal.
步骤202、获取所述应用程序绘制的图层集合中每个图层的图层属性。Step 202: Obtain a layer attribute of each layer in the layer set drawn by the application.
步骤203、根据所述进程标识和所述图层属性识别移动终端的显示场景。Step 203: Identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
步骤204、根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种。Step 204: Determine at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene.
为了便于理解,下面以Android系统为例,对Android系统中显示画面从生成到显示的过程进行简单的说明。图3为本发明实施例提供的一种显示过程示意图。In order to facilitate understanding, the Android system is taken as an example to briefly describe the process from the generation to the display of the display screen in the Android system. FIG. 3 is a schematic diagram of a display process according to an embodiment of the present invention.
首先,在应用(Application)层,每个应用程序(以下简称应用或APP)包含1个或多个图层,各个应用APP1、APP2…APPN按照自己的应用设计情况(一般由对应的安装包APK决定)各自单独执行图层绘制(Render)操作(即绘制图层上的图像),并在绘制操作处理完成后,各应用将所绘制的所有图层发送给执行图层合成操作的图层合成模块(Surface flinger)。First, in the Application layer, each application (hereinafter referred to as an application or APP) contains one or more layers, and each application APP1, APP2...APPN is designed according to its own application (generally by the corresponding installation package APK) Decided to perform a layer rendering operation (that is, drawing an image on the layer), and after the drawing operation is completed, each application sends all the layers drawn to the layer composition that performs the layer composition operation. Module (Surface Flinger).
然后,在应用框架(Framework)层,所有图层(包括可见图层和不可见图层)组成一个图层列表,定义为ListAll。图层合成模块从ListAll中挑选出可见图层组成可见图层列表,定义为DisplayList。随后,图层合成模块从系统中三个可循环使用的帧缓冲器(Frame Buffer,简称BF或buffer)中,找出一个空闲的FB,并在该空闲的FB上,根据应用配置信息,例如哪个图层应该置底、哪个图层应该置顶、哪个区域为可见区以及哪个区域为透明区等等,通过合成(Compose)操作,将DisplayList中包含的图层叠加在一起,得到最终的待显示画面。Then, in the Framework layer, all layers (including visible and invisible layers) form a list of layers, defined as ListAll. The layer composition module selects the visible layer from ListAll to form a visible layer list, which is defined as DisplayList. Subsequently, the layer synthesis module from the system three recyclable frame buffers (Frame Buffer, referred to as BF or buffer, finds an idle FB, and on the free FB, according to the application configuration information, for example, which layer should be bottomed, which layer should be topped, which area is visible, and which The area is a transparent area, etc., and the layers contained in the DisplayList are superimposed by a Compose operation to obtain a final picture to be displayed.
最后,在内核(Kernel)层,可以将待显示画面传输给显示硬件(包括显示控制器和显示屏),使待显示画面最终显示在显示屏上。这里对显示屏的类型不做限定,例如可以是液晶显示器(Liquid Crystal Display, LCD)。Finally, at the Kernel layer, the picture to be displayed can be transferred to the display hardware (including the display controller and display) so that the picture to be displayed is finally displayed on the display. Here, the type of the display screen is not limited, and may be, for example, a liquid crystal display (Liquid). Crystal Display, LCD).
另外,Android系统在显示刷新的过程中引入了同步(Vsync)刷新机制。图4为本发明实施例提供的Vsync显示刷新机制的示意图。具体地,Vsync刷新机制其实就是在整个显示流程中,插入“心跳”即系统同步(Vsync)信号,由显示控制器发送给CPU,用于产生Vsync中断,以控制每次图层绘制操作和图层合成操作都需要按照心跳来完成,从而将整个显示过程中的关键步骤都纳入到Vsync的统一管理机制。Vsync信号的频率目前常见为60Hz。如图4所示,假设Vsync信号周期为T,不考虑信号的传输延迟,第一个Vsync信号Vsync1到达CPU后,CPU向各应用转发该第一个Vsync信号Vsync1,各应用响应用户在显示屏上的触摸滑动等操作,开始执行绘制操作;在各应用完成绘制操作后,得到各应用所绘制的多个图层。第二个Vsync信号Vsync2到达CPU后,CPU向图层合成模块转发该第二个Vsync信号Vsync2,图层合成模块开始执行图层合成操作,将各应用所绘制的多个图层进行合成,生成待显示画面。第三个Vsync信号Vsync3到达CPU后,系统开始执行显示刷新,并将该待显示画面最终显示在显示屏上。由上述描述可知,应用程序、图层合成模块和显示屏接收到的Vsync信号的频率是一致的,且是预先设置好的固定值。In addition, the Android system introduced a synchronization (Vsync) refresh mechanism during the display refresh process. FIG. 4 is a schematic diagram of a Vsync display refresh mechanism according to an embodiment of the present invention. Specifically, the Vsync refresh mechanism actually inserts a "heartbeat" or system synchronization (Vsync) signal in the entire display process, and is sent by the display controller to the CPU for generating a Vsync interrupt to control each layer drawing operation and graph. Layer synthesis operations need to be done in accordance with the heartbeat, so that the key steps in the entire display process are incorporated into the unified management mechanism of Vsync. The frequency of the Vsync signal is currently commonly 60 Hz. As shown in FIG. 4, assuming that the Vsync signal period is T, regardless of the signal transmission delay, after the first Vsync signal Vsync1 reaches the CPU, the CPU forwards the first Vsync signal Vsync1 to each application, and each application responds to the user on the display screen. On the touch and other operations, the drawing operation is started; after each application completes the drawing operation, multiple layers drawn by each application are obtained. After the second Vsync signal Vsync2 reaches the CPU, the CPU forwards the second Vsync signal Vsync2 to the layer synthesizing module, and the layer synthesizing module starts performing a layer synthesizing operation, and synthesizes the multiple layers drawn by each application to generate The screen to be displayed. After the third Vsync signal Vsync3 reaches the CPU, the system starts to perform display refresh and finally displays the to-be-displayed screen on the display. As can be seen from the above description, the frequency of the Vsync signal received by the application, the layer synthesis module, and the display screen is consistent, and is a fixed value set in advance.
在移动终端图层绘制、合成和刷新显示的流程中,存在3种帧率:绘制帧率、合成帧率和刷新率。In the process of drawing, synthesizing, and refreshing the display of the mobile terminal layer, there are three kinds of frame rates: the drawing frame rate, the composite frame rate, and the refresh rate.
其中,绘制帧率为图层绘制完成后,触发图层合成模块进行图层合成的帧率,可以理解为单位时间(例如,1秒钟)绘制的图层帧数。所述绘制帧率包括应用程序的绘制帧率和图层的绘制帧率。系统中运行的应用程序可能有多个,每个应用程序可能包括多个图层,例如,上述举例中视频播放器应用程序一般包括三个图层U1、U2和U3。所述应用程序的绘制帧率为应用程序单位时间内执行绘制操作的次数,其中,执行一次绘制操作时可能绘制了一个或者多个图层。所述图层的绘制帧率为同一编号或名称(如前面的U1、U2或U3)的图层单位时间内被触发绘制的次数。The drawing frame rate is a frame rate that triggers the layer synthesis module to perform layer composition after the drawing of the layer is completed, and can be understood as the number of layer frames drawn per unit time (for example, 1 second). The drawing frame rate includes a drawing frame rate of the application and a drawing frame rate of the layer. There may be multiple applications running in the system, and each application may include multiple layers. For example, the video player application in the above example generally includes three layers U1, U2, and U3. The drawing frame rate of the application is the number of times the drawing operation is performed in the application unit time, and one or more layers may be drawn when performing a drawing operation. The drawing frame rate of the layer is the number of times the layer is triggered to be drawn in the unit time of the same number or name (such as U1, U2, or U3 in the previous section).
合成帧率为把各个应用程序绘制的图层合成为一个待显示画面的帧率,可以理解为单位时间合成的画面帧数。The composite frame rate is a frame rate in which the layers drawn by each application are combined into one picture to be displayed, which can be understood as the number of picture frames synthesized per unit time.
刷新率为移动终端显示屏画面刷新的帧率。一般,显示屏会以60Hz的刷新率刷新。The refresh rate is the frame rate at which the display screen of the mobile terminal is refreshed. Typically, the display will refresh at a 60Hz refresh rate.
在一些实施方式中,为了便于说明,将目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率统称为目标参数值。In some embodiments, for ease of illustration, the target rendering frame rate, the target composite frame rate, the target refresh rate, the target display luminance, and the target resolution are collectively referred to as target parameter values.
步骤205、根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。Step 205: Perform corresponding layer drawing, layer composition, display screen refresh, and display according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. At least one of brightness adjustments.
其中,目标绘制帧率可以是应用程序绘制图层时的最大绘制帧率。根据目标绘制帧率执行图层绘制操作可以是将发送至应用程序的参考信号(如上文所述的发送给应用程序的Vsync信号)的频率更改为目标绘制帧率,也可变更应用程序的图层绘制操作对参考信号的响应机制来将应用程序绘制图层时的最大绘制帧率限制在目标绘制帧率以内。例如,接收到的第2n+1个信号响应,接收到的第2n个信号不响应;又如,以n个(如5个)信号为一组,每组中的第一类预设编号(如1,2,4,5)的信号响应,第二类预设编号(如4)的信号不响应。The target drawing frame rate may be the maximum drawing frame rate when the application draws the layer. Performing a layer drawing operation according to the target drawing frame rate may be changing the frequency of the reference signal (such as the Vsync signal sent to the application described above) sent to the application to the target drawing frame rate, or changing the drawing of the application. The layer rendering operation responds to the reference signal to limit the maximum rendering frame rate when the application draws the layer to within the target rendering frame rate. For example, the received 2n+1th signal response, the received 2nth signal does not respond; for example, a set of n (such as 5) signals, the first type of preset number in each group ( For signals such as 1, 2, 4, 5), the signal of the second type of preset number (such as 4) does not respond.
所述目标合成帧率可以是图层合成模块(如Surface flinger)合成图层时的最大合成帧率。根据目标合成帧率执行图层合成操作可以是将发送至图层合成模块的参考信号(如Vsync信号)的频率更改为目标合成帧率,也可变更图层合成模块的图层合成操作对参考信号的响应机制来将应用程序绘制图层时的最大绘制帧率限制在目标绘制帧率以内(如上述举例)。The target composite frame rate may be a layer synthesis module (such as Surface) Flinger) The maximum composite frame rate when synthesizing layers. Performing the layer synthesis operation according to the target composite frame rate may change the frequency of the reference signal (such as the Vsync signal) sent to the layer synthesis module to the target composite frame rate, or change the layer synthesis operation of the layer synthesis module to the reference. The response mechanism of the signal is to limit the maximum rendering frame rate when the application draws the layer to within the target rendering frame rate (as in the example above).
根据目标刷新率执行显示画面刷新操作可以将发给显示屏的参考信号(如Vsync信号)的频率调整至目标刷新率,也可变更显示屏的显示画面刷新操作对参考信号的响应机制来实现使画面刷新的频率等于目标刷新率(如上述举例)。Performing a display refresh operation according to the target refresh rate can adjust the frequency of the reference signal (such as the Vsync signal) sent to the display screen to the target refresh rate, and can also change the response mechanism of the display screen refresh operation of the display screen to the reference signal to achieve The frequency of picture refresh is equal to the target refresh rate (as in the above example).
由上述描述可知,本发明实施例中应用程序、图层合成模块和显示屏接收到的Vsync信号的频率是各自独立的,可以相同也可以不同,这样设置的好处在于,可根据不同的显示场景选择不同的信号频率的组合,优化显示控制。It can be seen from the above description that the frequencies of the Vsync signals received by the application, the layer synthesizing module and the display screen in the embodiment of the present invention are independent, and may be the same or different. The advantage of the setting is that according to different display scenarios. Select a combination of different signal frequencies to optimize display control.
根据目标显示亮度执行显示屏亮度调节可以是将显示屏亮度调节至目标显示亮度对应的数值,包括将显示屏的亮度值调到最低(熄灭屏幕)或最高。Performing the display brightness adjustment according to the target display brightness can be to adjust the display brightness to the value corresponding to the target display brightness, including setting the brightness value of the display to the lowest (extinguished screen) or highest.
所述目标分辨率可包含图层的目标分辨率和显示画面的目标分辨率。根据图层的目标分辨率执行图层绘制操作可以是由应用程序根据图层的目标分辨率绘制相应的图层。根据显示画面的目标分辨率执行图层合成操作可以是由图层合成模块根据显示画面的目标分辨率在合成图层之前将各图层的分辨率调整至显示画面的目标分辨率;也可以是由图层合成模块在执行图层合成操作的过程中将待显示画面的分辨率调整至显示画面的目标分辨率。其中,调整分辨率可通过图像处理相关手段实现。The target resolution may include a target resolution of the layer and a target resolution of the display screen. Performing a layer drawing operation based on the target resolution of the layer can be performed by the application to draw the corresponding layer based on the target resolution of the layer. Performing the layer compositing operation according to the target resolution of the display screen may be performed by the layer compositing module to adjust the resolution of each layer to the target resolution of the display screen before the composite layer according to the target resolution of the display screen; The resolution of the picture to be displayed is adjusted by the layer synthesis module to the target resolution of the display picture during the execution of the layer composition operation. Among them, the adjustment of the resolution can be achieved by means of image processing related means.
本发明实施例提供的移动终端的显示场景识别方法,在识别出当前的显示场景后,根据所识别出来的显示场景确定相应的目标参数值,再根据目标参数值执行相应的操作,可对移动终端的显示进行更加合理的控制。The method for identifying a display scene of a mobile terminal provided by the embodiment of the present invention determines a corresponding target parameter value according to the identified display scene after identifying the current display scene, and then performs a corresponding operation according to the target parameter value, which may be moved. The display of the terminal is more reasonably controlled.
在上述技术方案的基础上,还可根据所识别出来的显示场景执行更多的操作。在一些实施方式中,可通过添加标记位来实现,标记位上的不同数值对应不同的操作。Based on the above technical solution, more operations can be performed according to the identified display scene. In some embodiments, this can be achieved by adding marker bits, with different values on the marker bits corresponding to different operations.
图5为本发明实施例提供的移动终端的显示场景识别方法的第三种流程示意图,如图5所示,该方法包括:FIG. 5 is a third schematic flowchart of a method for identifying a display scene of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
步骤501、获取移动终端中运行的应用程序的进程标识。Step 501: Obtain a process identifier of an application running in the mobile terminal.
步骤502、获取应用程序绘制的图层集合中每个图层的图层属性,根据图层属性确定图层场景类别。Step 502: Acquire a layer attribute of each layer in the layer set drawn by the application, and determine a layer scene category according to the layer attribute.
步骤503、通过预设类型的传感器获取传感数据,根据传感数据确定传感器事件。Step 503: Acquire sensor data by using a preset type of sensor, and determine a sensor event according to the sensor data.
步骤504、获取触摸数据,根据触摸数据确定触摸事件。Step 504: Acquire touch data, and determine a touch event according to the touch data.
步骤505、根据进程标识、图层场景类别、传感器事件和触摸事件识别移动终端的显示场景。Step 505: Identify a display scenario of the mobile terminal according to the process identifier, the layer scene category, the sensor event, and the touch event.
在一些实施方式中,下表1中给出了一种进程标识、图层场景类别、传感器事件和触摸事件与显示场景的对应关系,传感器以加速度传感器为例,图层属性以视频播放应用中的三个图层标识(U1、U2和U3)为例:In some embodiments, a correspondence between a process identification, a layer scene category, a sensor event, and a touch event and a display scene is given in Table 1 below. The sensor uses an acceleration sensor as an example, and the layer attribute is used in a video playback application. For example, the three layer identifiers (U1, U2, and U3):
表1 进程标识、图层场景类别、传感器事件和触摸事件与显示场景的对应关系Table 1 Correspondence between process ID, layer scene category, sensor event, and touch event and display scene
进程标识 Process ID 图层场景类别 Layer scene category 传感器事件 Sensor event 触摸事件 Touch event 显示场景 Display scene
进程 A Process A U1 和 U2 U1 and U2 静止 still 点击 Click 场景 1 scene 1
进程 A Process A U1 和 U2 U1 and U2 运动 motion 点击 Click 场景 2 Scene 2
进程 A Process A U1 和 U2 U1 and U2 静止 still 慢速滑动 Slow sliding 场景 3 Scene 3
进程 A Process A U1 和 U2 U1 and U2 运动 motion 慢速滑动 Slow sliding 场景 4 Scene 4
进程 A Process A U1 和 U2 U1 and U2 静止 still 快速滑动 Quick sliding 场景 5 Scene 5
进程 A Process A U1 和 U2 U1 and U2 运动 motion 快速滑动 Quick sliding 场景 6 Scene 6
进程 B Process B U1 和 U2 U1 and U2 静止 still 点击 Click 场景 7 Scene 7
 ...  ...  ...  ...  ...
进程 A Process A U1 和 U3 U1 and U3 静止 still 点击 Click 场景 13 Scene 13
 ...  ...  ...  ...
步骤506、根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率和目标刷新率。Step 506: Determine a corresponding target drawing frame rate, a target composite frame rate, and a target refresh rate according to the identified display scene.
需要说明的是,为了便于理解,本发明实施例中的目标绘制帧率以应用程序的目标绘制帧率为例进行说明,目标绘制帧率还可以细致到图层的目标绘制帧率。It should be noted that, for ease of understanding, the target drawing frame rate in the embodiment of the present invention is described by taking the target drawing frame rate of the application as an example, and the target drawing frame rate can also be detailed to the target drawing frame rate of the layer.
在一些实施方式中,下表2中给出了显示场景与目标绘制帧率、目标合成帧率和目标刷新率的对应关系:In some embodiments, the correspondence between the display scene and the target rendering frame rate, the target composite frame rate, and the target refresh rate is given in Table 2 below:
表2 显示场景与目标绘制帧率、目标合成帧率和目标刷新率的对应关系Table 2 shows the correspondence between the scene and the target drawing frame rate, the target composite frame rate, and the target refresh rate.
显示场景 Display scene 目标绘制帧率( Hz ) Target drawing frame rate (Hz) 目标合成帧率( Hz ) Target composite frame rate (Hz) 目标刷新率( Hz ) Target refresh rate ( Hz )
场景 1 scene 1 50 50 50 50 50 50
场景 2 Scene 2 48 48 48 48 48 48
场景 3 Scene 3 53 53 53 53 53 53
场景 4 Scene 4 51 51 51 51 51 51
场景 5 Scene 5 58 58 58 58 58 58
场景 6 Scene 6 55 55 55 55 58 58
场景 7 Scene 7 58 58 58 58 58 58
 ...  ...  ...  ...
场景 13 Scene 13 52 52 52 52 52 52
 ...  ...  ...  ...
步骤507、根据所确定的目标绘制帧率、目标合成帧率和目标刷新率,执行相应的图层绘制、图层合成和显示画面刷新操作。Step 507: Perform corresponding layer drawing, layer composition, and display screen refresh operation according to the determined target drawing frame rate, the target composite frame rate, and the target refresh rate.
本发明实施例提供的移动终端的显示场景识别方法,根据进程标识、图层场景类别、传感器事件和触摸事件识别移动终端的显示场景,再根据显示场景执行个性化的图层绘制、图层合成和显示画面刷新操作,能够更加合理地控制移动终端的显示。当目标绘制帧率、目标合成帧率和目标刷新率低于正常的频率时,还可达到降低系统功耗的效果。The display scene recognition method of the mobile terminal provided by the embodiment of the present invention identifies the display scene of the mobile terminal according to the process identifier, the layer scene category, the sensor event, and the touch event, and then performs personalized layer drawing and layer synthesis according to the display scene. And the display screen refresh operation can more reasonably control the display of the mobile terminal. When the target drawing frame rate, the target composite frame rate, and the target refresh rate are lower than the normal frequency, the effect of reducing the system power consumption can also be achieved.
本发明实施例提供一种移动终端的显示场景识别装置,可以包括:The embodiment of the invention provides a display scene recognition device for a mobile terminal, which may include:
进程标识获取模块,用于获取移动终端中运行的应用程序的进程标识;a process identifier obtaining module, configured to acquire a process identifier of an application running in the mobile terminal;
图层属性获取模块,用于获取所述应用程序绘制的图层集合中每个图层的图层属性;a layer attribute obtaining module, configured to acquire a layer attribute of each layer in the layer set drawn by the application;
显示场景识别模块,用于根据所述进程标识和所述图层属性识别所述移动终端的显示场景。And displaying a scene recognition module, configured to identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
在一种实施方式中,本发明实施例提供的移动终端的显示场景识别装置还可以包括:In an embodiment, the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
触摸数据获取模块,用于获取触摸数据。Touch data acquisition module for acquiring touch data.
那么,所述显示场景识别模块用于:根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。Then, the display scene recognition module is configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
在一种实施方式中,本发明实施例提供的移动终端的显示场景识别装置还可以包括:In an embodiment, the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
传感数据获取模块,用于通过预设类型的传感器获取传感数据。The sensing data acquisition module is configured to acquire sensing data by using a preset type of sensor.
那么,所述显示场景识别模块用于:根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。Then, the display scene recognition module is configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data.
在一种实施方式中,所述图层属性可以包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。In an embodiment, the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
在一种实施方式中,所述可见区域的属性可以包括以下至少一项:可见区域是否为空,可见区域的数量、形状、尺寸和位置;In an embodiment, the attribute of the visible area may include at least one of: whether the visible area is empty, the number, shape, size, and location of the visible area;
所述透明区域的属性可以包括以下至少一项:透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;The attribute of the transparent area may include at least one of the following: the number, shape, size, position of the transparent area, and the relative position of the visible area of the other layer;
所述更新区域的属性可以包括以下至少一项:更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;The attribute of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area;
所述图像信息可以包括以下至少一项:图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。The image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
在一种实施方式中,本发明实施例提供的移动终端的显示场景识别装置还可以包括:In an embodiment, the display scene recognition apparatus of the mobile terminal provided by the embodiment of the present invention may further include:
目标参数值确定模块,用于根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种。The target parameter value determining module is configured to determine at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene.
操作执行模块,用于根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。The operation execution module is configured to perform corresponding layer drawing, layer composition, and display screen refresh according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. And at least one of the display brightness adjustments.
在一种实施方式中,所述触摸数据获取模块还可以用于:对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件。In an embodiment, the touch data acquiring module may be further configured to: perform statistical analysis on the touch data, and determine a corresponding touch event according to a statistical analysis result, where the touch data includes at least a touch position, a touch area, and The touch duration includes at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event.
那么,所述显示场景识别模块可以用于:根据所述进程标识、所述图层属性和所述触摸事件识别移动终端的显示场景。Then, the display scene recognition module may be configured to: identify a display scene of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
图6为本发明实施例提供的一种移动终端的显示场景识别装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行移动终端的显示场景识别方法来进行显示场景识别。如图6所示,该装置包括:FIG. 6 is a structural block diagram of a display scene recognizing apparatus of a mobile terminal according to an embodiment of the present invention. The apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may perform a display scene recognizing method of the mobile terminal. Perform display scene recognition. As shown in Figure 6, the device includes:
进程标识获取模块601,用于获取移动终端中运行的应用程序的进程标识;a process identifier obtaining module 601, configured to acquire a process identifier of an application running in the mobile terminal;
图层属性获取模块602,用于获取所述应用程序绘制的图层集合中每个图层的图层属性;a layer attribute obtaining module 602, configured to acquire a layer attribute of each layer in the layer set drawn by the application;
显示场景识别模块603,用于根据所述进程标识和所述图层属性识别移动终端的显示场景。The display scene identification module 603 is configured to identify a display scene of the mobile terminal according to the process identifier and the layer attribute.
本发明实施例提供的移动终端的显示场景识别装置,可根据移动终端运行的应用程序的进程标识和图层属性准确地识别出移动终端的显示场景。The display scene recognizing device of the mobile terminal provided by the embodiment of the present invention can accurately identify the display scenario of the mobile terminal according to the process identifier and the layer attribute of the application running by the mobile terminal.
在一种实施方式中,该装置还包括:In an embodiment, the device further comprises:
触摸数据获取模块,用于获取触摸数据。Touch data acquisition module for acquiring touch data.
所述显示场景识别模块用于:The display scene recognition module is configured to:
根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
在一种实施方式中,该装置还包括:In an embodiment, the device further comprises:
传感数据获取模块,用于通过预设类型的传感器获取传感数据。The sensing data acquisition module is configured to acquire sensing data by using a preset type of sensor.
所述显示场景识别模块用于:The display scene recognition module is configured to:
根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data.
在一种实施方式中,所述图层属性包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。In an embodiment, the layer attribute includes whether the cache data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and an image information. at least one.
在一种实施方式中,所述可见区域的属性包括以下至少一项:In an embodiment, the attribute of the visible area comprises at least one of the following:
可见区域是否为空,可见区域的数量、形状、尺寸和位置。Whether the visible area is empty, the number, shape, size and position of the visible area.
所述透明区域的属性包括以下至少一项:The attributes of the transparent area include at least one of the following:
透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置。The number, shape, size, location, and relative position of transparent areas to the visible areas of other layers.
所述更新区域的属性包括以下至少一项:The attributes of the update area include at least one of the following:
更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值。Updates the number, location, shape, size, and ratio of area to screen area.
所述图像信息包括以下至少一项:The image information includes at least one of the following:
图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。Whether the image is at least one of a solid color, a color scale, a gray scale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
在一种实施方式中,该装置还包括:In an embodiment, the device further comprises:
目标参数值确定模块,用于在根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景之后,根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种。a target parameter value determining module, configured to determine a corresponding target according to the identified display scene after identifying a display scene of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data At least one of a frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution is drawn.
操作执行模块,用于根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。The operation execution module is configured to perform corresponding layer drawing, layer composition, and display screen refresh according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. And at least one of the display brightness adjustments.
在一种实施方式中,所述触摸数据获取模块还可以用于:对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件。In an embodiment, the touch data acquiring module may be further configured to: perform statistical analysis on the touch data, and determine a corresponding touch event according to a statistical analysis result, where the touch data includes at least a touch position, a touch area, and The touch duration includes at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event.
所述显示场景识别模块可以用于:根据所述进程标识、所述图层属性和所述触摸事件识别移动终端的显示场景。The display scene identification module may be configured to: identify a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
本发明实施例还提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本发明实施例提供的移动终端的显示场景识别方法中的步骤。The embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is configured to perform display scene recognition of the mobile terminal provided by the embodiment of the present invention. The steps in the method.
本发明实施例提供了一种移动终端,该移动终端中可集成本发明实施例提供的移动终端的显示场景识别装置。图7为本发明实施例提供的一种移动终端的结构示意图。如图7所示,该移动终端可以包括:壳体(图中未示出)、存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器701,用于存储可执行程序代码;所述CPU702通过读取所述存储器701中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:The embodiment of the invention provides a mobile terminal, in which the display scene recognition device of the mobile terminal provided by the embodiment of the invention can be integrated. FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 7, the mobile terminal may include: a casing (not shown), a memory 701, and a central processing unit (Central). Processing Unit, CPU) 702 (also referred to as a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power supply circuit (not shown). The circuit board is disposed inside a space enclosed by the casing; the CPU 702 and the memory 701 are disposed on the circuit board; and the power circuit is configured to supply power to each circuit or device of the mobile terminal The memory 701 is configured to store executable program code; the CPU 702 runs a computer program corresponding to the executable program code by reading executable program code stored in the memory 701 to implement the following steps:
获取移动终端中运行的应用程序的进程标识;Obtaining a process identifier of an application running in the mobile terminal;
获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
根据所述进程标识和所述图层属性识别所述移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier and the layer attribute.
所述移动终端还包括:外设接口703、RF(Radio Frequency,射频)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、触摸屏712、其他输入/控制设备710以及外部端口704,这些部件通过一个或多个通信总线或信号线707来通信。The mobile terminal further includes: a peripheral interface 703, RF (Radio) Frequency, RF circuit 705, audio circuit 706, speaker 711, power management chip 708, input/output (I/O) subsystem 709, touch screen 712, other input/control devices 710, and external port 704, these components are passed through one or A plurality of communication buses or signal lines 707 are in communication.
应该理解的是,图示移动终端700仅仅是移动终端的一个范例,并且移动终端700可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 700 is merely one example of a mobile terminal, and that the mobile terminal 700 may have more or fewer components than those shown in the figures, and two or more components may be combined. Or it can have different component configurations. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于显示场景识别的移动终端进行详细的描述,该移动终端以手机为例。The mobile terminal for displaying scene recognition provided in this embodiment is described in detail below. The mobile terminal takes a mobile phone as an example.
存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 701 can be accessed by the CPU 702, the peripheral interface 703, etc., and the memory 701 can include a high speed random access memory, and can also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
外设接口703,所述外设接口703可以将设备的输入和输出外设连接到CPU702和存储器701。Peripheral interface 703, which can connect the input and output peripherals of the device to CPU 702 and memory 701.
I/O子系统709,所述I/O子系统709可以将设备上的输入输出外设,例如触摸屏712和其他输入/控制设备710,连接到外设接口703。I/O子系统709可以包括显示控制器7091和用于控制其他输入/控制设备710的一个或多个输入控制器7092。其中,一个或多个输入控制器7092从其他输入/控制设备710接收电信号或者向其他输入/控制设备710发送电信号,其他输入/控制设备710可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器7092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 709, which can connect input and output peripherals on the device, such as touch screen 712 and other input/control devices 710, to peripheral interface 703. The I/O subsystem 709 can include a display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710. Wherein, one or more input controllers 7092 receive electrical signals from other input/control devices 710 or transmit electrical signals to other input/control devices 710, and other input/control devices 710 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel. It is worth noting that the input controller 7092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏712,所述触摸屏712是用户移动终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 712 is an input interface and an output interface between the user mobile terminal and the user, and displays the visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统709中的显示控制器7091从触摸屏712接收电信号或者向触摸屏712发送电信号。触摸屏712检测触摸屏上的接触,显示控制器7091将检测到的接触转换为与显示在触摸屏712上的用户界面对象的交互,即实现人机交互,显示在触摸屏712上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 7091 in I/O subsystem 709 receives an electrical signal from touch screen 712 or an electrical signal to touch screen 712. Touch screen 712 detects contact on the touch screen, display controller 7091 converts the detected contact into interaction with a user interface object displayed on touch screen 712, ie, implements human-computer interaction, and the user interface object displayed on touch screen 712 can be operational The icon of the game, the icon of the network to the corresponding network, and the like. It is worth noting that the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
RF电路705,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路705接收并发送RF信号,RF信号也称为电磁信号,RF电路705将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路705可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 705 is mainly used for establishing communication between the mobile phone and the wireless network (ie, the network side), and realizing data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 705 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 705 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate. RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) chipset, user identification module (Subscriber Identity Module, SIM) and more.
音频电路706,主要用于从外设接口703接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器711。The audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 711.
扬声器711,用于将手机通过RF电路705从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 711 is configured to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 705 to sound and play the sound to the user.
电源管理芯片708,用于为CPU702、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 708 is used for power supply and power management of the hardware connected to the CPU 702, the I/O subsystem, and the peripheral interface.
本发明实施例提供的移动终端,可根据移动终端运行的应用程序的进程标识和图层属性准确地识别出移动终端的显示场景。The mobile terminal provided by the embodiment of the present invention can accurately identify the display scenario of the mobile terminal according to the process identifier and the layer attribute of the application running by the mobile terminal.
上述实施例中提供的移动终端的显示场景识别装置及移动终端可执行本发明任意实施例所提供的移动终端的显示场景识别方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的移动终端的显示场景识别方法。The display scene recognizing device and the mobile terminal of the mobile terminal provided in the above embodiments may perform the display scene recognizing method of the mobile terminal provided by any embodiment of the present invention, and have the corresponding functional modules and beneficial effects of executing the method. For a technical detail that is not described in detail in the above embodiments, reference may be made to a display scene identification method for a mobile terminal provided by any embodiment of the present invention.
本发明实施例提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤本发明实施例提供的移动终端的显示场景识别方法中的步骤。An embodiment of the present invention provides an electronic device, including a memory, and a processor, by using a computer program stored in the memory, to perform a step in a display scene identification method of a mobile terminal provided by an embodiment of the present invention. step.
例如,该电子设备可以是诸如智能手机或平板电脑等的移动终端设备。请参阅图8,图8为本发明实施例提供的电子设备的结构示意图。该电子设备800可以包括存储器801、处理器802以及传感器803等部件。For example, the electronic device can be a mobile terminal device such as a smartphone or tablet. Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 800 can include components such as a memory 801, a processor 802, and a sensor 803.
存储器801可用于存储应用程序和数据。存储器801存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器802通过运行存储在存储器801的应用程序,从而执行各种功能应用以及数据处理。Memory 801 can be used to store applications and data. The application stored in the memory 801 contains executable code. Applications can form various functional modules. The processor 802 executes various functional applications and data processing by running an application stored in the memory 801.
处理器802是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器801内的应用程序,以及调用存储在存储器801内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 802 is a control center of the electronic device, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or executing an application stored in the memory 801, and calling data stored in the memory 801. The various functions and processing of data to provide overall monitoring of the electronic device.
电子设备可以包括传感器803,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device can include sensors 803 such as light sensors, motion sensors, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the electronic device moves to the ear. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping). Other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors that can be configured in electronic devices are not described here.
在本实施例中,电子设备中的处理器802会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器801中,并由处理器802来运行存储在存储器801中的应用程序,从而实现步骤:In this embodiment, the processor 802 in the electronic device loads the executable code corresponding to the process of one or more applications into the memory 801 according to the following instructions, and is executed by the processor 802 to be stored in the memory. The application in 801, thus implementing the steps:
获取电子设备中运行的应用程序的进程标识;Obtaining the process ID of the application running in the electronic device;
获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
根据所述进程标识和所述图层属性识别所述电子设备的显示场景。And identifying a display scenario of the electronic device according to the process identifier and the layer attribute.
在一种实施方式中,处理器802通过调用所述存储器中存储的计算机程序,还可以用于执行步骤:获取触摸数据。In an embodiment, the processor 802 can also be used to perform the step of acquiring touch data by calling a computer program stored in the memory.
那么,处理器802执行所述根据所述进程标识和所述图层属性识别电子设备的显示场景的步骤时,可以包括:根据所述进程标识、所述图层属性和所述触摸数据识别电子设备的显示场景。Then, the processor 802, when performing the step of identifying a display scenario of the electronic device according to the process identifier and the layer attribute, may include: identifying an electronic according to the process identifier, the layer attribute, and the touch data The display scene of the device.
在一种实施方式中,处理器802通过调用所述存储器中存储的计算机程序,还可以用于执行步骤:通过预设类型的传感器获取传感数据。In one embodiment, the processor 802 can also be configured to perform the step of acquiring sensor data by a preset type of sensor by calling a computer program stored in the memory.
那么,处理器802执行所述根据所述进程标识、所述图层属性和所述触摸数据识别电子设备的显示场景的步骤时,可以包括:根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别电子设备的显示场景。Then, the processor 802, when performing the step of identifying a display scenario of the electronic device according to the process identifier, the layer attribute, and the touch data, may include: determining, according to the process identifier, the layer attribute, The touch data and the sensor data identify a display scene of the electronic device.
在一种实施方式中,所述图层属性可以包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。In an embodiment, the layer attribute may include whether the cached data is empty, a horizontal or vertical screen mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and image information. At least one of them.
在一种实施方式中,所述可见区域的属性可以包括以下至少一项:可见区域是否为空,可见区域的数量、形状、尺寸和位置。In an embodiment, the attributes of the visible region may include at least one of the following: whether the visible region is empty, the number, shape, size, and location of the visible regions.
所述透明区域的属性可以包括以下至少一项:透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置。The properties of the transparent region may include at least one of the following: the number, shape, size, location, and relative position of the transparent regions to the visible regions of the other layers.
所述更新区域的属性可以包括以下至少一项:更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值。The attributes of the update area may include at least one of the following: the number, location, shape, size, and ratio of area to screen area of the update area.
所述图像信息可以包括以下至少一项:图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。The image information may include at least one of the following: whether the image is at least one of a solid color, a gradation, a grayscale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
在一种实施方式中,处理器802在执行根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别电子设备的显示场景之后,还可以用于执行步骤:In an embodiment, after the processor 802 performs the display of the display scenario of the electronic device according to the process identifier, the layer attribute, the touch data, and the sensing data, the processor 802 may further be configured to perform the steps:
根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种。And determining at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene.
根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。Performing corresponding layer drawing, layer composition, display picture refresh, and display brightness adjustment according to at least one of the determined target drawing frame rate, target composite frame rate, target refresh rate, target display brightness, and target resolution At least one operation.
在一种实施方式中,处理器802在所述获取触摸数据的步骤之后,还可以用于执行步骤:In an embodiment, after the step of acquiring the touch data, the processor 802 may further be configured to perform the steps:
对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件。Performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, where the touch data includes at least a touch position, a touch area, and a touch duration, and the touch event includes at least no event, a click event, a leaving event, Slow swipe events and fast swipe events.
那么,处理器802执行所述根据所述进程标识、所述图层属性和所述触摸数据识别电子设备的显示场景的步骤时,可以包括:根据所述进程标识、所述图层属性和所述触摸事件识别电子设备的显示场景。Then, the processor 802, when performing the step of identifying a display scenario of the electronic device according to the process identifier, the layer attribute, and the touch data, may include: according to the process identifier, the layer attribute, and the The touch event identifies a display scene of the electronic device.
本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在另一种实施方式中,请参阅图9,电子设备800还可以包括输入单元804以及输出单元805等。It will be understood by those skilled in the art that the electronic device structure illustrated in FIG. 8 does not constitute a limitation to the electronic device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. In another embodiment, referring to FIG. 9, the electronic device 800 may further include an input unit 804, an output unit 805, and the like.
输入单元804可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。在一实施例中,输入单元804可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板。The input unit 804 can be configured to receive input digits, character information, or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls. In an embodiment, input unit 804 can include a touch-sensitive surface as well as other input devices. Touch-sensitive surfaces, also known as touch screens or trackpads.
输出单元805可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。例如,输出单元805可以为显示面板。The output unit 805 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal, which can be composed of graphics, text, icons, video, and any combination thereof. For example, the output unit 805 can be a display panel.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the technical principles applied thereto. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments described herein, and that various modifications, changes and substitutions may be made without departing from the scope of the invention. Therefore, the present invention has been described in detail by the above embodiments, but the present invention is not limited to the above embodiments, and other equivalent embodiments may be included without departing from the inventive concept. The scope is determined by the scope of the appended claims.

Claims (20)

  1. 一种移动终端的显示场景识别方法,其中,包括:A display scene recognition method for a mobile terminal, comprising:
    获取移动终端中运行的应用程序的进程标识;Obtaining a process identifier of an application running in the mobile terminal;
    获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
    根据所述进程标识和所述图层属性识别所述移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  2. 根据权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    获取触摸数据;Get touch data;
    所述根据所述进程标识和所述图层属性识别移动终端的显示场景,包括:The identifying a display scenario of the mobile terminal according to the process identifier and the layer attribute includes:
    根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
  3. 根据权利要求2所述的方法,其中,还包括:The method of claim 2, further comprising:
    通过预设类型的传感器获取传感数据;Acquiring sensor data by a preset type of sensor;
    所述根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景,包括:The identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data includes:
    根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data.
  4. 根据权利要求1所述的方法,其中,所述图层属性包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。The method of claim 1, wherein the layer attribute comprises whether the cached data is empty, a landscape or portrait mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area, and At least one of the image information.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    所述可见区域的属性包括以下至少一项:The attributes of the visible area include at least one of the following:
    可见区域是否为空,可见区域的数量、形状、尺寸和位置;Whether the visible area is empty, the number, shape, size and position of the visible area;
    所述透明区域的属性包括以下至少一项:The attributes of the transparent area include at least one of the following:
    透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;The number, shape, size, location, and relative position of the transparent areas to the visible areas of other layers;
    所述更新区域的属性包括以下至少一项:The attributes of the update area include at least one of the following:
    更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;The number, location, shape, size, and ratio of area to screen area of the update area;
    所述图像信息包括以下至少一项:The image information includes at least one of the following:
    图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。Whether the image is at least one of a solid color, a color scale, a gray scale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  6. 根据权利要求3所述的方法,其中,在根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景之后,还包括:The method of claim 3, further comprising: after identifying the display scenario of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data, further comprising:
    根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种;Determining at least one of a corresponding target rendering frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene;
    根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。Performing corresponding layer drawing, layer composition, display picture refresh, and display brightness adjustment according to at least one of the determined target drawing frame rate, target composite frame rate, target refresh rate, target display brightness, and target resolution At least one operation.
  7. 根据权利要求2所述的方法,其中,在所述获取触摸数据的步骤之后,还包括:对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件;The method according to claim 2, wherein after the step of acquiring the touch data, the method further comprises: performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, the touch data including at least a touch location, a touch area, and a touch duration, the touch event including at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event;
    所述根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景,包括:根据所述进程标识、所述图层属性和所述触摸事件识别移动终端的显示场景。The identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data includes: identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
  8. 一种移动终端的显示场景识别装置,其中,包括:A display scene recognition device for a mobile terminal, comprising:
    进程标识获取模块,用于获取移动终端中运行的应用程序的进程标识;a process identifier obtaining module, configured to acquire a process identifier of an application running in the mobile terminal;
    图层属性获取模块,用于获取所述应用程序绘制的图层集合中每个图层的图层属性;a layer attribute obtaining module, configured to acquire a layer attribute of each layer in the layer set drawn by the application;
    显示场景识别模块,用于根据所述进程标识和所述图层属性识别所述移动终端的显示场景。And displaying a scene recognition module, configured to identify a display scenario of the mobile terminal according to the process identifier and the layer attribute.
  9. 根据权利要求8所述的装置,其中,还包括:The apparatus of claim 8 further comprising:
    触摸数据获取模块,用于获取触摸数据;Touch data acquisition module, configured to acquire touch data;
    所述显示场景识别模块用于:The display scene recognition module is configured to:
    根据所述进程标识、所述图层属性和所述触摸数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch data.
  10. 根据权利要求9所述的装置,其中,还包括:The apparatus according to claim 9, further comprising:
    传感数据获取模块,用于通过预设类型的传感器获取传感数据;a sensing data acquiring module, configured to acquire sensing data by using a preset type of sensor;
    所述显示场景识别模块用于:The display scene recognition module is configured to:
    根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别移动终端的显示场景。And identifying a display scenario of the mobile terminal according to the process identifier, the layer attribute, the touch data, and the sensing data.
  11. 根据权利要求10所述的装置,其中,还包括:The apparatus of claim 10, further comprising:
    目标参数值确定模块,用于根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种;a target parameter value determining module, configured to determine at least one of a corresponding target drawing frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene;
    操作执行模块,用于根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。The operation execution module is configured to perform corresponding layer drawing, layer composition, and display screen refresh according to at least one of the determined target drawing frame rate, the target composite frame rate, the target refresh rate, the target display brightness, and the target resolution. And at least one of the display brightness adjustments.
  12. 根据权利要求9所述的装置,其中,所述触摸数据获取模块还用于:对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件;The device according to claim 9, wherein the touch data acquisition module is further configured to: perform statistical analysis on the touch data, and determine a corresponding touch event according to a statistical analysis result, where the touch data includes at least a touch location, a touch area and a touch duration, the touch event including at least an eventless, a click event, a leaving event, a slow sliding event, and a fast sliding event;
    所述显示场景识别模块用于:根据所述进程标识、所述图层属性和所述触摸事件识别移动终端的显示场景。The display scene identification module is configured to: identify a display scenario of the mobile terminal according to the process identifier, the layer attribute, and the touch event.
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至7中任一项所述的方法。A storage medium having stored thereon a computer program, wherein when the computer program is executed on a computer, the computer is caused to perform the method of any one of claims 1 to 7.
  14. 一种电子设备,包括存储器,处理器,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:An electronic device includes a memory, a processor, wherein the processor is configured to perform the steps by calling a computer program stored in the memory:
    获取电子设备中运行的应用程序的进程标识;Obtaining the process ID of the application running in the electronic device;
    获取所述应用程序绘制的图层集合中每个图层的图层属性;Obtaining layer properties of each layer in the layer set drawn by the application;
    根据所述进程标识和所述图层属性识别所述电子设备的显示场景。And identifying a display scenario of the electronic device according to the process identifier and the layer attribute.
  15. 根据权利要求14所述的电子设备,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:The electronic device of claim 14, wherein said processor is operative to perform the steps by invoking a computer program stored in said memory:
    获取触摸数据;Get touch data;
    根据所述进程标识、所述图层属性和所述触摸数据识别电子设备的显示场景。A display scene of the electronic device is identified according to the process identifier, the layer attribute, and the touch data.
  16. 根据权利要求15所述的电子设备,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:The electronic device of claim 15 wherein said processor is operative to perform the steps by invoking a computer program stored in said memory:
    通过预设类型的传感器获取传感数据;Acquiring sensor data by a preset type of sensor;
    根据所述进程标识、所述图层属性、所述触摸数据和所述传感数据识别电子设备的显示场景。A display scene of the electronic device is identified according to the process identifier, the layer attribute, the touch data, and the sensing data.
  17. 根据权利要求14所述的电子设备,其中,所述图层属性包括缓存数据是否为空、横屏或竖屏模式、可见区域的属性、透明区域的属性、是否存在更新区域、更新区域的属性以及图像信息中的至少一个。The electronic device according to claim 14, wherein the layer attribute comprises whether the cache data is empty, a landscape or portrait mode, an attribute of a visible area, an attribute of a transparent area, whether an update area exists, an attribute of an update area And at least one of the image information.
  18. 根据权利要求17所述的电子设备,其中,所述可见区域的属性包括以下至少一项:The electronic device of claim 17, wherein the attributes of the visible area comprise at least one of the following:
    可见区域是否为空,可见区域的数量、形状、尺寸和位置;Whether the visible area is empty, the number, shape, size and position of the visible area;
    所述透明区域的属性包括以下至少一项:The attributes of the transparent area include at least one of the following:
    透明区域的数量、形状、尺寸、位置以及与其他图层的可见区域的相对位置;The number, shape, size, location, and relative position of the transparent areas to the visible areas of other layers;
    所述更新区域的属性包括以下至少一项:The attributes of the update area include at least one of the following:
    更新区域的数量、位置、形状、尺寸以及面积与屏幕面积的比值;The number, location, shape, size, and ratio of area to screen area of the update area;
    所述图像信息包括以下至少一项:The image information includes at least one of the following:
    图像是否为纯色、色阶、灰阶、色调、对比度、亮度、饱和度、透明度和模糊度中的至少一个。Whether the image is at least one of a solid color, a color scale, a gray scale, a hue, a contrast, a brightness, a saturation, a transparency, and a blur.
  19. 根据权利要求16所述的电子设备,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:The electronic device of claim 16 wherein said processor is operative to perform the steps by invoking a computer program stored in said memory:
    根据所识别出的显示场景确定相应的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种;Determining at least one of a corresponding target rendering frame rate, a target composite frame rate, a target refresh rate, a target display brightness, and a target resolution according to the identified display scene;
    根据所确定的目标绘制帧率、目标合成帧率、目标刷新率、目标显示亮度和目标分辨率中的至少一种执行相应的图层绘制、图层合成、显示画面刷新和显示屏亮度调节中的至少一种操作。Performing corresponding layer drawing, layer composition, display picture refresh, and display brightness adjustment according to at least one of the determined target drawing frame rate, target composite frame rate, target refresh rate, target display brightness, and target resolution At least one operation.
  20. 根据权利要求15所述的电子设备,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行步骤:The electronic device of claim 15 wherein said processor is operative to perform the steps by invoking a computer program stored in said memory:
    对所述触摸数据进行统计分析,并根据统计分析结果确定对应的触摸事件,所述触摸数据至少包括触摸位置、触摸面积及触摸时长,所述触摸事件至少包括无事件、点击事件、离开事件、慢速滑动事件和快速滑动事件;Performing statistical analysis on the touch data, and determining a corresponding touch event according to the statistical analysis result, where the touch data includes at least a touch position, a touch area, and a touch duration, and the touch event includes at least no event, a click event, a leaving event, Slow sliding events and fast sliding events;
    根据所述进程标识、所述图层属性和所述触摸事件识别电子设备的显示场景。A display scene of the electronic device is identified according to the process identifier, the layer attribute, and the touch event.
PCT/CN2017/106942 2017-03-10 2017-10-19 Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device WO2018161586A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142061.5A CN106874017B (en) 2017-03-10 2017-03-10 A kind of display scene recognition method, device and the mobile terminal of mobile terminal
CN201710142061.5 2017-03-10

Publications (1)

Publication Number Publication Date
WO2018161586A1 true WO2018161586A1 (en) 2018-09-13

Family

ID=59171415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106942 WO2018161586A1 (en) 2017-03-10 2017-10-19 Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN106874017B (en)
WO (1) WO2018161586A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874017B (en) * 2017-03-10 2019-10-15 Oppo广东移动通信有限公司 A kind of display scene recognition method, device and the mobile terminal of mobile terminal
CN109426830B (en) * 2017-08-29 2022-05-17 武汉安天信息技术有限责任公司 Method and device for automatically identifying scene of mobile terminal
CN108156508B (en) * 2017-12-28 2020-10-20 北京安云世纪科技有限公司 Barrage information processing method and device, mobile terminal, server and system
CN109726303A (en) * 2018-12-28 2019-05-07 维沃移动通信有限公司 A kind of image recommendation method and terminal
CN115243094A (en) * 2020-12-22 2022-10-25 海信视像科技股份有限公司 Display device and multi-layer stacking method
CN113032884B (en) * 2021-04-07 2023-03-17 深圳大学 Building space quantification method, building space quantification device, building space quantification equipment and computer readable storage medium
CN113672326A (en) * 2021-08-13 2021-11-19 康佳集团股份有限公司 Application window screen recording method and device, terminal equipment and storage medium
CN114510207A (en) * 2022-02-28 2022-05-17 亿咖通(湖北)技术有限公司 Layer composition method, device, equipment, medium and program product
CN115690269B (en) * 2022-10-31 2023-11-07 荣耀终端有限公司 View object processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050108A (en) * 2012-12-17 2013-04-17 华为终端有限公司 Screen backlight dynamic adjustment method and user terminal
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
CN105739670A (en) * 2016-02-01 2016-07-06 广东欧珀移动通信有限公司 Display method and device used for mobile terminal, and mobile terminal
CN106874017A (en) * 2017-03-10 2017-06-20 广东欧珀移动通信有限公司 A kind of display scene recognition method of mobile terminal, device and mobile terminal
CN106919400A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of display scene recognition method of mobile terminal, device and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593155B (en) * 2013-11-06 2016-09-07 华为终端有限公司 Display frame generating method and terminal device
CN104731543B (en) * 2015-03-23 2018-03-16 广东欧珀移动通信有限公司 The display methods and device of a kind of screen refresh rate
CN106020987A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Method and device for determining kernel running configurations in processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050108A (en) * 2012-12-17 2013-04-17 华为终端有限公司 Screen backlight dynamic adjustment method and user terminal
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
CN105739670A (en) * 2016-02-01 2016-07-06 广东欧珀移动通信有限公司 Display method and device used for mobile terminal, and mobile terminal
CN106874017A (en) * 2017-03-10 2017-06-20 广东欧珀移动通信有限公司 A kind of display scene recognition method of mobile terminal, device and mobile terminal
CN106919400A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of display scene recognition method of mobile terminal, device and mobile terminal

Also Published As

Publication number Publication date
CN106874017A (en) 2017-06-20
CN106874017B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
WO2018161586A1 (en) Method and apparatus for recognizing display scenario of mobile terminal, storage medium, and electronic device
WO2018161578A1 (en) Method, device, storage medium, and electronic apparatus for dynamically adjusting screen refresh rate
WO2018161571A1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
WO2018161602A1 (en) Method and apparatus for controlling frame rate of electronic device, storage medium, and electronic device
WO2018161585A1 (en) Method and apparatus for controlling frame rate of electronic device, storage medium, and electronic device
WO2016060514A1 (en) Method for sharing screen between devices and device using the same
WO2018161604A1 (en) Playback control method and device for mobile terminal, storage medium and electronic device
WO2018182296A1 (en) Electronic device and screen sharing method of electronic device
WO2018143624A1 (en) Display control method, storage medium and electronic device
WO2018161572A1 (en) Method and apparatus for controlling frame rate of mobile terminal, storage medium, and electronic device
WO2018182287A1 (en) Method for low power driving of display and electronic device for performing same
WO2013027908A1 (en) Mobile terminal, image display device mounted on vehicle and data processing method using the same
EP3403175A1 (en) Electronic device and method of application data display therefor
WO2017052143A1 (en) Image display device and method of operating the same
WO2021066293A1 (en) Electronic device for synchronizing modification among screens and operation method thereof
WO2021162436A1 (en) Electronic device including display and method for operating the same
WO2018161603A1 (en) Method and apparatus for controlling image drawing of mobile terminal, medium, electronic device
WO2018155893A1 (en) Interface providing method for multitasking and electronic device implementing the same
WO2019050317A1 (en) Method for controlling audio output by application through earphones and electronic device implementing same
WO2015180013A1 (en) Touch operation method and apparatus for terminal
WO2018076818A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
WO2019124912A1 (en) Electronic device and method for controlling output timing of signal corresponding to state in which content can be received based on display location of content displayed on display
WO2018161584A1 (en) Application program control method, device, medium, and electronic apparatus
WO2015178707A1 (en) Display device and method for controlling the same
WO2016167610A1 (en) Portable terminal capable of controlling brightness thereof, and brightness control method for same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900021

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900021

Country of ref document: EP

Kind code of ref document: A1