CN109902679B - Icon display method and terminal equipment - Google Patents

Icon display method and terminal equipment Download PDF

Info

Publication number
CN109902679B
CN109902679B CN201910142052.5A CN201910142052A CN109902679B CN 109902679 B CN109902679 B CN 109902679B CN 201910142052 A CN201910142052 A CN 201910142052A CN 109902679 B CN109902679 B CN 109902679B
Authority
CN
China
Prior art keywords
target
display
icons
application program
target area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910142052.5A
Other languages
Chinese (zh)
Other versions
CN109902679A (en
Inventor
刘江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910142052.5A priority Critical patent/CN109902679B/en
Publication of CN109902679A publication Critical patent/CN109902679A/en
Application granted granted Critical
Publication of CN109902679B publication Critical patent/CN109902679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an icon display method and terminal equipment, belongs to the technical field of communication, and aims to solve the problem that time consumed for searching an application program is long in the prior art. The method comprises the following steps: acquiring a target image acquired by a camera; acquiring a display position of a target object in the target image; acquiring the inclination of the terminal equipment in a target direction; determining a target area according to the display position and the inclination; and displaying N icons in the target area, wherein N is a positive integer. The embodiment of the invention can reduce the time consumed by searching the application program.

Description

Icon display method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an icon display method and terminal equipment.
Background
Currently, a plurality of applications may be installed in a terminal device. When a user needs to switch between different applications, it is generally necessary to return to the desktop or find the application in the opened background and open it. Since each application has an icon, when a user finds a certain application, it takes a long time to find between a plurality of icons.
Disclosure of Invention
The embodiment of the invention provides an icon display method and terminal equipment, and aims to solve the problem that time consumed for searching an application program is long in the prior art.
In a first aspect, an embodiment of the present invention provides an icon display method, applied to a terminal device, including:
acquiring a target image acquired by a camera;
acquiring a display position of a target object in the target image;
acquiring the inclination of the terminal equipment in a target direction;
determining a target area according to the display position and the inclination;
displaying N icons in the target area,
wherein N is a positive integer.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the first acquisition module is used for acquiring a target image acquired by the camera;
the second acquisition module is used for acquiring the display position of the target object in the target image;
the third acquisition module is used for acquiring the inclination of the terminal equipment in the target direction;
a determining module, configured to determine a target area according to the display position and the inclination;
a display module for displaying N icons in the target area,
wherein N is a positive integer.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the icon display method according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the icon display method according to the first aspect.
In the embodiment of the invention, the display position of the target object is acquired in the target image acquired by the camera, and the target area is determined according to the inclination of the terminal equipment in the target direction and the display position, so that N icons are displayed in the target area. Therefore, by utilizing the embodiment of the invention, the icon of the application program can be displayed in the target area, so that the user can conveniently search the application program, and the time consumed by searching the application program is reduced.
Drawings
Fig. 1 is a flowchart of an icon display method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of an icon displaying method according to an embodiment of the present invention;
FIG. 3 is one of the schematic illustrations of a target area in an embodiment of the invention;
FIG. 4 is a second schematic diagram of a target area in an embodiment of the invention;
FIG. 5 is a third schematic diagram of a target area in an embodiment of the present invention;
FIG. 6 is a fourth schematic diagram of a target area in an embodiment of the present invention;
FIG. 7 is a fifth schematic illustration of a target area in an embodiment of the invention;
FIG. 8 is a sixth schematic view of a target area in an embodiment of the present invention;
fig. 9 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 10 is a second structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an icon display method according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
and 101, acquiring a target image acquired by a camera.
The target image may be any type of image, such as a face image.
And 102, acquiring the display position of the target object in the target image.
The target object may be preset or determined according to a selection of a user. For example, the target image is a face image, and then the target object may be a face.
And 103, acquiring the inclination of the terminal equipment in the target direction.
Wherein the target direction includes one or both of a horizontal direction and a vertical direction.
In this step, the inclination of the terminal device in the vertical direction and/or the horizontal direction may be acquired by a sensor in the terminal device.
And 104, determining a target area according to the display position and the inclination.
In this step, a reference region is determined based on the display position. Then, an adjustment direction and an adjustment distance are determined based on the inclination. And then, determining a target area according to the reference area, the adjusting direction and the adjusting distance. In this way, the determined target area can be made more flexible.
Wherein the reference region may be arbitrarily specified. Taking the face image as an example, the reference region may be a region where the projection position of the face on the display screen is located.
And 105, displaying N icons in the target area, wherein N is a positive integer.
In practical application, the mapping relation among the system time, the light sensor data, the acceleration sensor data, the environmental noise data and the application program can be established according to the use habit of the user to the application program. Then, in this step, the application program selection parameters are obtained first, and the corresponding at least one target application program is determined according to the application program selection parameters and the mapping relationship between the preset application program selection parameters and the application programs, and then, the icons of the N target application programs are displayed in the target area. Wherein the application selection parameters include at least one of: system time of the terminal device, light sensor data, acceleration sensor data, ambient noise data. In this way, the displayed icons of the N target application programs can be more consistent with the use habits of the user.
On the basis, optionally, after determining the corresponding at least one target application, the method may further include: acquiring the maximum icon display number of the target area, and selecting N target application programs from the at least one target application program according to the maximum icon display number; and N is less than or equal to the maximum icon display number. When selecting the N target application programs, the at least one target application program can be sorted according to the mapping times of each target application program, and the N target application programs are selected from the at least one target application program according to the sorting result. By the mode, the display of the icons can be clearer, and the phenomena of incomplete icon display, stacked display and the like are avoided.
On the basis, optionally, after determining the corresponding at least one target application, the method may further include: receiving a first input of a user, and responding to the first input, and selecting N target application programs from the at least one target application program; and N is less than or equal to the preset maximum icon display number. By the mode, the icons can be displayed more clearly, the phenomena of incomplete icon display, stacked display and the like are avoided, and the displayed icons can better meet the requirements of users.
Or, in practical application, display parameters of the icons can be acquired, and the N icons are displayed in the target area according to the display parameters; wherein the display parameters include at least one of: display priority, display color, display mode. In this way, the displayed icons of the N target application programs can better meet the requirements of the user.
Wherein the display priority refers to the display order of the icons in the target area; the display modes may include highlighting, dynamic flashing, and the like. Different icons can be provided with different display colors, so that the user is reminded, and the selection of the user is more convenient.
If the display parameters include display priority and display mode, in this step, N icons may be displayed according to the display priority of each icon; wherein, the display modes of the icons with different display priorities are different. In this way, the display of the icon with the higher priority can be made more conspicuous, thereby facilitating the user's selection.
In the embodiment of the present invention, the method may be applied to a terminal device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a PDA (Personal digital assistant), an MID (Mobile Internet Device), a Wearable Device (Wearable Device), or the like.
In the embodiment of the invention, the display position of the target object is acquired in the target image acquired by the camera, and the target area is determined according to the inclination of the terminal equipment in the target direction and the display position, so that N icons are displayed in the target area. Therefore, by utilizing the embodiment of the invention, the icon of the application program can be displayed in the target area, so that the user can conveniently search the application program, and the time consumed by searching the application program is reduced.
Referring to fig. 2, fig. 2 is a flowchart of an icon display method according to an embodiment of the present invention. As shown in fig. 2, the method comprises the steps of:
and step 201, acquiring a target image acquired by a camera.
In the embodiment of the invention, in the process of using the terminal equipment by the user, the face and the like of the user can be shot through the camera of the terminal equipment, so that the face image of the user is collected. Wherein the facial image may include a face, an environment surrounding the face, and the like.
Step 202, obtaining the display position of the target object in the target image.
Specifically, in this step, in the acquired face image, the display position of the face on the display screen may be acquired.
And 203, acquiring the inclination of the terminal equipment in the target direction.
In this step, the inclinations of the terminal device in the vertical direction and the horizontal direction are acquired by the sensor.
And step 204, determining a target area according to the display position and the inclination.
In this step, a reference region may be determined according to the display position, and then, an adjustment direction and an adjustment distance may be determined according to the inclination. And then, determining a target area according to the reference area, the adjusting direction and the adjusting distance.
The reference region may be a region where a display position is located, or may be an arbitrarily designated region. It is possible for the terminal device to have a certain inclination both in the vertical direction and in the horizontal direction. In some cases, the reference region is located at a position that is not convenient for the user to select the icon, and in this embodiment, the position of the reference region may be adjusted to obtain the target region. The target area may be set arbitrarily or may be determined by user input.
The adjustment direction may be determined according to the input of the user, or may be a preset direction. The adjustment distance refers to a distance from a position where the reference region is located to a desired position. The area where the desired location is located may be considered the target area. In practical applications, the adjustment distance may be determined by calculation, or may be determined according to user input.
It is generally convenient to have the reference area in the center of the display screen. Then, the reference area can be located at the center of the display screen by operating the terminal device. And when the user uses the terminal equipment to collect the target image, the terminal equipment is held by the hand. In this case, the terminal device has a tilt with respect to the vertical direction or the horizontal direction. Here, the inclinations with respect to the vertical direction and the horizontal direction at this time are referred to as a first inclination and a second inclination, respectively.
However, the inclination of the terminal device may also vary. Then, in an embodiment of the present invention, the position of the reference region may be adjusted to determine the target region.
Specifically, when the target direction is a vertical direction and the inclination of the vertical direction is increased on the basis of a first inclination, the reference region is moved in the first direction of the display screen; moving the reference region to a second direction of the display screen in a case where the target direction is a vertical direction and an inclination of the vertical direction becomes smaller on the basis of the first inclination; moving the reference region to a third direction of the display screen in a case where the target direction is a horizontal direction and an inclination of the horizontal direction becomes larger on the basis of a second inclination; and moving the reference region to a fourth direction of the display screen when the target direction is a horizontal direction and an inclination of the horizontal direction becomes smaller on the basis of the second inclination.
The first direction and the second direction may be two opposite directions, and the third direction and the fourth direction may be two opposite directions.
For example, in practical applications, after the face of the user is acquired through the camera, the position of the face in the display screen, that is, the display position, is checked. The area where the display position is located is set as a reference area. As shown in fig. 3, the reference area is located at 31 on the display screen. As shown in fig. 4 and 5, when the inclination in the vertical direction becomes larger, the reference region is moved upward on the display screen; when the inclination in the vertical direction becomes smaller, the reference region is moved downward on the display screen. Meanwhile, according to the angle between the terminal equipment and the horizontal direction, if the angle is increased, the reference area is moved rightwards on the display screen; if the angle becomes smaller, the reference area is moved leftward on the display screen. By the above movement, the target area is determined.
And 205, displaying N icons in the target area, wherein N is a positive integer.
In the embodiment of the present invention, the steps specifically include:
step 2051, obtaining application selection parameters.
Wherein the application selection parameters include: system time of the terminal device, light sensor data, acceleration sensor data, ambient noise data.
And step 2052, determining at least one corresponding target application program according to the application program selection parameter and the mapping relationship between the preset application program selection parameter and the application program.
In a specific application, the use habits of the user on each application program can be counted. Specifically, 24 hours are divided into different time periods, the opened application in the terminal device in each time period is obtained, the environmental noise when the application is opened is obtained according to the recording, the current motion state of the terminal device is obtained according to the acceleration sensor, and the current environmental light parameter is obtained according to the light sensor. For example, during a time period a of each day, a user gets on duty in a subway and uses the application B during taking the subway, the mapping relationship of the application B can be established through the acceleration sensor and the environmental noise during the time period. Specifically, the results are shown in Table 1.
TABLE 1
Figure GDA0002801601840000071
It can be seen from the table that a certain application program can be used to establish the mapping relationship for many times, and here, the mapping times can be obtained. In order to make the displayed icons more suitable for the use habits of the user, the applications may be sorted according to the mapping times of the applications, and the priorities of the applications may be set according to the mapping times of the applications. For example, the higher the number of mappings and the higher the priority, the earlier the display order.
By looking up the table, at least one target application can be determined based on the current system time, light sensor data, acceleration sensor data, and ambient noise data.
And step 2053, acquiring the preset maximum icon display number.
In a specific application, the number of icons that can be displayed in the target area may be set in advance. Therefore, the system of the terminal equipment automatically adjusts the icon size according to the set maximum icon display number. Meanwhile, the icons arranged at the first positions can be displayed in a protruding mode, and visual perception is enhanced.
And step 2054, selecting N target application programs from the at least one target application program according to the maximum icon display number. And N is less than or equal to the maximum icon display number.
For example, assume that there are 6 target applications and 5 maximum icon displays determined in step 2052. Then, here, it can be determined that there are 5 final target applications.
In this step, when selecting the final target application program, in order to more conveniently select the application program, the at least one target application program may be sorted according to the mapping times of each target application program; and then, selecting N target application programs from the at least one target application program according to the sequencing result.
For example, the at least one target application may be sorted according to the mapping times of the target applications in the mapping relationship, the sorted target applications may be sorted from high to low according to the corresponding times, and then N target applications may be selected from the top-ranked target applications.
And step 2055, displaying icons of the N target application programs in the target area.
This step may include:
and step 20551, acquiring display parameters of the icon.
Wherein the display parameters include: display priority, display color, display mode.
Wherein the display priority refers to the display order of the icons in the target area; the display modes may include highlighting, dynamic flashing, static display, and the like.
And 20552, displaying N icons in the target area according to the display parameters.
In practical application, the display colors corresponding to different icons can be preset, and each color is provided with a color grade. The system will set the color of the icon according to the color level. Different color levels are defined for more prominently prompting the user that the icon is about to be focused on. As shown in fig. 6, different icons correspond to different colors (color distinction is not shown), transparency levels, and the like.
As shown in fig. 7, a target area 41 is displayed according to a projection area of the face of the user of the terminal device on the display screen of the terminal device, the inclination of the terminal device in the vertical direction and the horizontal direction, and the like. As shown in fig. 8, a total of 5 icons may be displayed in the target area, and each icon may be displayed in a different color. The higher the premium, the more conspicuous the color of the icon may be, and the more conspicuous the display effect may be.
For example, according to the above description, a user has a habit of browsing news every day before taking a rest after turning off the light, and then after turning off the light at night, when the user turns on the terminal, the news icon is highlighted according to the area of the current user's face projected on the screen and the current terminal inclination, so that the user can turn on the terminal conveniently.
Alternatively, in other embodiments, after the step 2052, instead of the step 2053-2054, the following steps may be further performed, including:
receiving a first input of a user, and responding to the first input, and selecting N target application programs from the at least one target application program; and N is less than or equal to the preset maximum icon display number. Wherein the first input may be a touch input, a click input, or the like.
It can be seen from the above description that, in the case of switching the application program, the application program icon can be highlighted and displayed according to the currently focused screen area of the user by using the embodiment of the present invention, so that the time for the user to search for the application icon is reduced, and excellent experience can be brought to the user.
Referring to fig. 9, fig. 9 is a structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 9, the terminal apparatus 900 includes:
a first obtaining module 901, configured to obtain a target image collected by a camera; a second obtaining module 902, configured to obtain a display position of a target object in the target image; a third obtaining module 903, configured to obtain an inclination of the terminal device in a target direction; a determining module 904, configured to determine a target area according to the display position and the inclination; a display module 905, configured to display N icons in the target area, where N is a positive integer.
Optionally, the determining module 904 includes:
the first determining submodule is used for determining a reference area according to the display position;
the second determining submodule is used for determining an adjusting direction and an adjusting distance according to the inclination;
and the third determining submodule is used for determining a target area according to the reference area, the adjusting direction and the adjusting distance.
Optionally, the display module 905 includes: the first acquisition submodule is used for acquiring the selection parameters of the application program; the determining submodule is used for determining at least one corresponding target application program according to the application program selection parameters and the mapping relation between the preset application program selection parameters and the application programs; the first display submodule is used for displaying icons of the N target application programs in the target area; wherein the application selection parameters include at least one of: system time of the terminal device, light sensor data, acceleration sensor data, ambient noise data.
Optionally, the terminal device further includes:
a fourth obtaining module 906, configured to obtain a maximum icon display number of the target area; a first selecting module 907, configured to select N target applications from the at least one target application according to the maximum icon display number; and N is less than or equal to the maximum icon display number.
Optionally, the first selecting module 901 includes: the sequencing submodule is used for sequencing the at least one target application program according to the mapping times of each target application program; and the selection submodule is used for selecting N target application programs from the at least one target application program according to the sorting result.
Optionally, the terminal device further includes: a receiving module 907 for receiving a first input of a user; a fifth obtaining module 908, configured to select N target applications from the at least one target application in response to the first input; and N is less than or equal to the preset maximum icon display number.
Optionally, the display module 908 includes: the second obtaining submodule is used for obtaining the display parameters of the icons; the second display submodule is used for displaying N icons in the target area according to the display parameters; wherein the display parameters include at least one of: display priority, display color, display mode.
Optionally, the display parameters include a display priority and a display mode; the second display sub-module is specifically configured to display the N icons according to the display priority of each icon; wherein, the display modes of the icons with different display priorities are different.
The terminal device 900 can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 8, and is not described here again to avoid repetition.
In the terminal device 900 according to the embodiment of the present invention, in the target image acquired by the camera, the display position of the target object is acquired, and the target area is determined according to the inclination of the terminal device in the target direction and the display position, so that N icons are displayed in the target area. Therefore, by utilizing the embodiment of the invention, the icon of the application program can be displayed in the target area, so that the user can conveniently search the application program, and the time consumed by searching the application program is reduced.
Fig. 10 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. The terminal device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 10 is not intended to be limiting, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 1010 is configured to obtain a target image acquired by the camera; acquiring a display position of a target object in the target image; acquiring the inclination of the terminal equipment in a target direction; determining a target area according to the display position and the inclination; and displaying N icons in the target area, wherein N is a positive integer.
In the embodiment of the invention, the display position of the target object is acquired in the target image acquired by the camera, and the target area is determined according to the inclination of the terminal equipment in the target direction and the display position, so that N icons are displayed in the target area. Therefore, by utilizing the embodiment of the invention, the icon of the application program can be displayed in the target area, so that the user can conveniently search the application program, and the time consumed by searching the application program is reduced.
Optionally, the processor 1010 is configured to determine a reference region according to the display position; determining an adjusting direction and an adjusting distance according to the inclination; and determining a target area according to the reference area, the adjusting direction and the adjusting distance.
Optionally, the processor 1010 is configured to obtain an application selection parameter; determining at least one corresponding target application program according to the application program selection parameters and the mapping relation between the preset application program selection parameters and the application programs; displaying icons of N target application programs in the target area; wherein the application selection parameters include at least one of: system time of the terminal device, light sensor data, acceleration sensor data, ambient noise data.
Optionally, the processor 1010 is configured to obtain a maximum icon display number of the target area; selecting N target application programs from the at least one target application program according to the maximum icon display number; and N is less than or equal to the maximum icon display number.
Optionally, the processor 1010 is configured to sort the at least one target application according to the mapping times of each target application; and selecting N target application programs from the at least one target application program according to the sequencing result.
Optionally, the processor 1010 is configured to receive a first input from a user; selecting N target applications from the at least one target application in response to the first input; and N is less than or equal to the preset maximum icon display number.
Optionally, the processor 1010 is configured to obtain display parameters of the icon; displaying N icons in the target area according to the display parameters; wherein the display parameters include at least one of: display priority, display color, display mode.
The display parameters comprise display priority and display mode; optionally, the processor 1010 is configured to display N icons according to the display priority of each icon; wherein, the display modes of the icons with different display priorities are different.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 can also provide audio output related to a specific function performed by the terminal apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a GPU (Graphics Processing Unit) 10041 and a microphone 10042, and the Graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
Terminal device 1000 can also include at least one sensor 1005, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or backlight when the terminal device 1000 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the terminal device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the terminal device, and the implementation is not limited herein.
The interface unit 1008 is an interface for connecting an external device to the terminal apparatus 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1008 can be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within terminal apparatus 1000 or can be used to transmit data between terminal apparatus 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby performing overall monitoring of the terminal device. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
Terminal device 1000 can also include a power source 1011 (e.g., a battery) for powering the various components, and preferably, power source 1011 can be logically coupled to processor 1010 through a power management system that provides management of charging, discharging, and power consumption.
In addition, the terminal device 1000 includes some functional modules that are not shown, and are not described herein again.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above icon display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the icon display method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. An icon display method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a target image acquired by a camera;
acquiring a display position of a target object in the target image;
acquiring the inclination of the terminal equipment in a target direction;
determining a target area according to the display position and the inclination;
displaying N icons in the target area,
wherein N is a positive integer.
2. The method of claim 1, wherein determining a target area based on the display position and the tilt comprises:
determining a reference area according to the display position;
determining an adjusting direction and an adjusting distance according to the inclination;
and determining a target area according to the reference area, the adjusting direction and the adjusting distance.
3. The method of claim 1, wherein displaying N icons in the target area comprises:
acquiring an application program selection parameter;
determining at least one corresponding target application program according to the application program selection parameters and the mapping relation between the preset application program selection parameters and the application programs;
displaying icons of N target application programs in the target area;
wherein the application selection parameters include at least one of: system time of the terminal device, light sensor data, acceleration sensor data, ambient noise data.
4. The method of claim 3, wherein after determining the corresponding at least one target application, further comprising:
acquiring the maximum icon display number of the target area;
selecting N target application programs from the at least one target application program according to the maximum icon display number;
and N is less than or equal to the maximum icon display number.
5. The method of claim 4, wherein said selecting N target applications from said at least one target application comprises:
sequencing the at least one target application program according to the mapping times of each target application program;
and selecting N target application programs from the at least one target application program according to the sequencing result.
6. The method of claim 3, wherein after determining the corresponding at least one target application, further comprising:
receiving a first input of a user;
selecting N target applications from the at least one target application in response to the first input;
and N is less than or equal to the preset maximum icon display number.
7. The method of claim 1, wherein displaying N icons in the target area comprises:
acquiring display parameters of the icon;
displaying N icons in the target area according to the display parameters;
wherein the display parameters include at least one of: display priority, display color, display mode.
8. The method of claim 7, wherein the display parameters include a display priority and a display mode;
displaying N icons in the target area according to the display parameters, wherein the displaying comprises:
displaying N icons according to the display priority of each icon;
wherein, the display modes of the icons with different display priorities are different.
9. A terminal device, comprising:
the first acquisition module is used for acquiring a target image acquired by the camera;
the second acquisition module is used for acquiring the display position of the target object in the target image;
the third acquisition module is used for acquiring the inclination of the terminal equipment in the target direction;
a determining module, configured to determine a target area according to the display position and the inclination;
a display module for displaying N icons in the target area,
wherein N is a positive integer.
10. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the icon display method as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps in the icon display method according to any one of claims 1 to 8.
CN201910142052.5A 2019-02-26 2019-02-26 Icon display method and terminal equipment Active CN109902679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910142052.5A CN109902679B (en) 2019-02-26 2019-02-26 Icon display method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910142052.5A CN109902679B (en) 2019-02-26 2019-02-26 Icon display method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109902679A CN109902679A (en) 2019-06-18
CN109902679B true CN109902679B (en) 2021-01-29

Family

ID=66945525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910142052.5A Active CN109902679B (en) 2019-02-26 2019-02-26 Icon display method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109902679B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475069B (en) * 2020-03-31 2021-07-30 维沃移动通信有限公司 Display method and electronic equipment
CN113766293B (en) * 2020-06-05 2023-03-21 北京字节跳动网络技术有限公司 Information display method, device, terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297605A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and electronic equipment
CN108646958A (en) * 2018-03-23 2018-10-12 维沃移动通信有限公司 A kind of application program launching method and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543928A (en) * 2012-07-09 2014-01-29 鸿富锦精密工业(深圳)有限公司 Software interface display system and method
CN115048007B (en) * 2014-12-31 2024-05-07 创新先进技术有限公司 Device and method for adjusting interface operation icon distribution range and touch screen device
CN106681589A (en) * 2016-12-29 2017-05-17 合智能科技(深圳)有限公司 Functional icon displaying method and device
CN108108079B (en) * 2017-12-21 2020-02-21 维沃移动通信有限公司 Icon display processing method and mobile terminal
CN108289151A (en) * 2018-01-29 2018-07-17 维沃移动通信有限公司 A kind of operating method and mobile terminal of application program
CN108549507A (en) * 2018-03-01 2018-09-18 平安科技(深圳)有限公司 Arrange application drawing calibration method, terminal device and computer readable storage medium
CN108762610A (en) * 2018-05-14 2018-11-06 维沃移动通信有限公司 A kind of icon display method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297605A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and electronic equipment
CN108646958A (en) * 2018-03-23 2018-10-12 维沃移动通信有限公司 A kind of application program launching method and terminal

Also Published As

Publication number Publication date
CN109902679A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN107817939B (en) Image processing method and mobile terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108509123B (en) Application program closing method and mobile terminal
CN108920059B (en) Message processing method and mobile terminal
CN109151367B (en) Video call method and terminal equipment
CN109379484B (en) Information processing method and terminal
CN109725683B (en) Program display control method and folding screen terminal
CN109871174B (en) Virtual key display method and mobile terminal
CN109032486B (en) Display control method and terminal equipment
CN110109604B (en) Application interface display method and mobile terminal
CN110032309B (en) Screen splitting method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN111562896B (en) Screen projection method and electronic equipment
CN107748640B (en) Screen-off display method and mobile terminal
CN107734172B (en) Information display method and mobile terminal
WO2021129732A1 (en) Display processing method and electronic device
CN109558046B (en) Information display method and terminal equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN108762613B (en) State icon display method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN110928619B (en) Wallpaper setting method and device, electronic equipment and medium
CN109597546B (en) Icon processing method and terminal equipment
CN109521937B (en) Screen display control method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant