CN109408173B - Interface display method and terminal - Google Patents

Interface display method and terminal Download PDF

Info

Publication number
CN109408173B
CN109408173B CN201811133580.6A CN201811133580A CN109408173B CN 109408173 B CN109408173 B CN 109408173B CN 201811133580 A CN201811133580 A CN 201811133580A CN 109408173 B CN109408173 B CN 109408173B
Authority
CN
China
Prior art keywords
area
preview
sub
terminal
image
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
CN201811133580.6A
Other languages
Chinese (zh)
Other versions
CN109408173A (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 CN201811133580.6A priority Critical patent/CN109408173B/en
Publication of CN109408173A publication Critical patent/CN109408173A/en
Application granted granted Critical
Publication of CN109408173B publication Critical patent/CN109408173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention discloses an interface display method and a terminal, which are applied to the technical field of communication and can solve the problems that in the prior art, the mode of prompting a user to enter the progress of a face image is single, and the progress indicating effect is poor. The method comprises the following steps: receiving a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. The method is applied to the scene of interface display.

Description

Interface display method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an interface display method and a terminal.
Background
With the popularization of terminal technology, the application of terminals is more and more extensive.
At present, a face recognition technology is applied to an intelligent terminal to realize the safety protection of the terminal. Before the face recognition technology is used, a face image of a user needs to be input in advance to perform face modeling. In the process of inputting the face image of the user, the terminal can display an interface for inputting the face image, wherein the interface comprises a preview interface of the face image of the user. In the prior art, the user can be prompted to enter the progress of the facial image in a mode of displaying the percentage and the progress bar in the interface for entering the facial image, but the mode for prompting the user to enter the progress of the facial image is single at present, and the progress indicating effect is poor.
Disclosure of Invention
The embodiment of the invention provides an interface display method and a terminal, which are used for solving the problems that in the prior art, the mode of prompting a user to enter the progress of a face image is single, and the progress indicating effect is poor.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an interface display method is provided, which is applied to a terminal, and includes: receiving a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object.
In a second aspect, a terminal is provided, which includes: the device comprises a receiving module and a display module; the receiving module is used for receiving a first input of a user; the display module is used for responding to the first input received by the receiving module and displaying an image input interface in the terminal, and the image input interface comprises a preview area; updating and displaying the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object.
In a third aspect, a terminal is provided, where the terminal includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, and the computer program, when executed by the processor, implements the steps of the interface display method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the interface display method according to the first aspect.
In the embodiment of the invention, the terminal can receive a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. According to the scheme, after the terminal displays the image entry interface, the terminal can update and display the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area, in the process of updating and displaying the preview area, the area of the first sub-area is increased along with the increase of the duration of displaying the preview image of the target object in the preview area, and the progress of entering the preview image of the target object is indicated through the ratio of the area of the first sub-area to the area of the preview area, so that a user can know the progress of entering the preview image of the target object through the change of the area of the first sub-area, and the effect of indicating the progress can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a first schematic diagram illustrating an interface display method according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of an interface displayed by a terminal according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a terminal display interface according to an embodiment of the present invention;
fig. 5 is a second schematic diagram illustrating an interface display method according to an embodiment of the present invention;
fig. 6 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a hardware schematic diagram of a terminal 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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the interface display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the interface display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the interface display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal can implement the interface display method provided by the embodiment of the invention by running the software program in the android operating system.
The embodiment of the invention provides an interface display method and a terminal, wherein the terminal can receive a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. According to the scheme, after the terminal displays the image entry interface, the terminal can update and display the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area, in the process of updating and displaying the preview area, the area of the first sub-area is increased along with the increase of the duration of displaying the preview image of the target object in the preview area, and the progress of entering the preview image of the target object is indicated through the ratio of the area of the first sub-area to the area of the preview area, so that a user can know the progress of entering the preview image of the target object through the change of the area of the first sub-area, and the effect of indicating the progress can be improved.
The terminal in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. The mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution main body of the interface display method provided by the embodiment of the present invention may be the terminal (including a mobile terminal and a non-mobile terminal), or may also be a functional module and/or a functional entity capable of implementing the interface display method in the terminal, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal as an example to exemplarily explain an interface display method provided by the embodiment of the present invention.
As shown in fig. 2, the interface display method provided by the embodiment of the invention includes the following steps S11-S13.
And S11, the terminal receives a first input of the user.
And S12, the terminal responds to the first input, and an image input interface is displayed in the terminal and comprises a preview area.
S13, in the process of displaying the preview image of the target object in the preview area, the terminal updates the first sub-area in the display preview area.
Wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object.
Optionally, the first sub-area may be a part of the image entry interface, or may be another interface displayed on the image entry interface in an overlapping manner.
Optionally, the first sub-area may be displayed in a highlighted manner.
Optionally, the highlighting manner may be displayed in a first color, the first color is different from a second color, the second color is a color of the second sub-region, and the second sub-region is another region of the preview region except for the first sub-region.
Optionally, the first color may be a color, and the second color may be black and white, that is, the first sub-area may be displayed in a color, and the second sub-area may be displayed in a black and white manner.
Optionally, the interface display method in the embodiment of the present invention may be applied to a scene in which an image is input by a terminal. For example, the method can be applied to a scene of a terminal input face image.
Optionally, in the embodiment of the present invention, the target object may be a human face, a fingerprint, a palm print, or the like.
For example, taking a scene in which a face image is entered as an example, the preview image of the target object may be a preview image including a face. Optionally, in a scene in which a face image is entered, before a user enters the face image using a terminal, the user may trigger the terminal to open an image entry interface by executing the first operation, and adjust a relative position of a face of the user and the terminal, so that a preview image including the face is displayed in the preview area, and in a process of displaying the preview image including the face in the preview area, the terminal may update and display the first sub-area in the preview area.
Optionally, in a case that the preview image including the face is not displayed in the preview area, the area of the first sub-area in the preview area is zero, at this time, the preview area may be displayed in black and white, after the preview image including the face is displayed in the preview area, in the process of displaying the preview image including the face in the preview area, the terminal may update and display the first sub-area in the preview area, where the first sub-area may be displayed in color, and the second sub-area may still be displayed in black and white. Specifically, the area of the first sub-area increases with the increase of the duration of displaying the preview image including the human face in the preview area, that is, the area of the area displayed in color in the preview area increases with the increase of the duration of displaying the preview image including the human face in the preview area, and the area of the area displayed in black and white in the preview area decreases with the increase of the duration of displaying the preview image including the human face in the preview area until the preview areas are all displayed in color, indicating that the entry of the human face image is completed.
Illustratively, as shown in fig. 3, the image entry interface 01 includes a preview area 02, and in the process of displaying the preview image including the human face in the preview area, 02, as the duration of displaying the preview image including the human face in the preview area 02 increases, as shown in the interface of the terminal in fig. 3, the area of the first sub-area 03 gradually increases.
In fig. 3, the area of the first sub-area 03 gradually increases from the bottom of the preview area 02 to the same area as the preview area 02. It is understood that in the embodiment of the present invention, the area of the first sub-region may be changed in other manners, which are not listed here.
The embodiment of the invention provides an interface display method, wherein a terminal can receive a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. According to the scheme, after the terminal displays the image entry interface, the terminal can update and display the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area, in the process of updating and displaying the preview area, the area of the first sub-area is increased along with the increase of the duration of displaying the preview image of the target object in the preview area, and the progress of entering the preview image of the target object is indicated through the ratio of the area of the first sub-area to the area of the preview area, so that a user can know the progress of entering the preview image of the target object through the change of the area of the first sub-area, and the effect of indicating the progress can be improved.
Optionally, the preview area may further include a target identifier, where the target identifier is used to indicate a progress of entering a preview image of the target object.
Optionally, the target identifier may be a progress bar or a percentage.
Illustratively, taking the target mark as a percentage as an example, in conjunction with fig. 3, as shown in fig. 4, during the process that the area of the first sub-area gradually increases, a percentage is also displayed in the preview area, and the value of the percentage gradually increases with the area of the first sub-area 03.
In the embodiment of the invention, the preview area may further include a target identifier for indicating a progress of entering the preview image of the target object, so that there may be two ways to indicate the target identifier for indicating a progress of entering the preview image of the target object. Therefore, the user can know the progress of inputting the preview image of the target object according to the ratio of the area of the first sub-area to the area of the preview area, and can also know the progress of inputting the preview image of the target object according to the target identification, so that the user can more conveniently and visually know the progress of inputting the preview image of the target object.
Optionally, the preview area may further include a separation line, where the separation line is used to separate the first sub-area from the second sub-area.
For example, the wavy line shown in fig. 3 or 4 may be a separation line.
In the embodiment of the present invention, the preview area may further include a separation line, so that a user may visually distinguish the first sub-area from the second sub-area.
Optionally, as shown in fig. 5, in the process of displaying the preview image of the target object in the preview area, the interface display method provided by the embodiment of the present invention further includes the following S14 and S15.
S14, in the process of displaying the preview image of the target object in the preview area, a second input of the preview area by the user is received.
S15, canceling or re-entering the preview image of the target object in response to the second input.
Alternatively, the second input may be an operation for the separation line, for example, an operation of pressing and dragging the separation line downward.
In the embodiment of the invention, in the process of displaying the preview image of the target object in the preview area, the user can cancel or re-enter the preview image of the target object through the second input trigger terminal, so that the process of entering the preview image of the target object is more flexible.
As shown in fig. 6, an embodiment of the present invention provides a terminal 130, where the terminal 130 includes a receiving module 131 and a display module 132.
The receiving module 131 is configured to receive a first input from a user.
The display module 132 is configured to display an image entry interface in the terminal in response to the first input received by the receiving module 131, where the image entry interface includes a preview area; updating and displaying the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area;
wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object.
Optionally, the first sub-area may be displayed in a highlighted manner.
Optionally, the highlighting manner may be displayed in a first color, the first color is different from a second color, the second color is a color of the second sub-region, and the second sub-region is another region except the first sub-region in the preview region.
Optionally, the preview area further includes a target identifier, and the target identifier is used to indicate a progress of entering a preview image of the target object.
Optionally, the preview area further includes a separation line, and the separation line is used to separate the first sub-area from the second sub-area.
Optionally, in conjunction with fig. 6, as shown in fig. 7, the terminal 130 further includes an entry module 133. The receiving module 131 is further configured to receive a second input of the user to the preview area in the process of displaying the preview image of the target object in the preview area; the entry module 133 is further configured to cancel or re-enter the preview image of the target object in response to the second input received by the receiving module 131.
The terminal provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again in order to avoid repetition.
The embodiment of the invention provides a terminal, which can receive a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. According to the scheme, after the terminal displays the image entry interface, the terminal can update and display the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area, in the process of updating and displaying the preview area, the area of the first sub-area is increased along with the increase of the duration of displaying the preview image of the target object in the preview area, and the progress of entering the preview image of the target object is indicated through the ratio of the area of the first sub-area to the area of the preview area, so that a user can know the progress of entering the preview image of the target object through the change of the area of the first sub-area, and the effect of indicating the progress can be improved.
Fig. 8 is a hardware schematic diagram of a terminal for implementing various embodiments of the present invention, where the terminal 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 107 is used for receiving a first input of a user; a processor 110 for displaying an image entry interface in the terminal in response to the first input, the image entry interface including a preview area; and updating the first sub-area in the preview display area in the process of displaying the preview image of the target object in the preview area.
The embodiment of the invention provides a terminal, which can receive a first input of a user; responding to the first input, displaying an image input interface in the terminal, wherein the image input interface comprises a preview area; updating and displaying a first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area; wherein the area of the first sub-area increases with the duration of displaying the preview image of the target object in the preview area, and the ratio of the area of the first sub-area to the area of the preview area is used to indicate the progress of entering the preview image of the target object. According to the scheme, after the terminal displays the image entry interface, the terminal can update and display the first sub-area in the preview area in the process of displaying the preview image of the target object in the preview area, in the process of updating and displaying the preview area, the area of the first sub-area is increased along with the increase of the duration of displaying the preview image of the target object in the preview area, and the progress of entering the preview image of the target object is indicated through the ratio of the area of the first sub-area to the area of the preview area, so that a user can know the progress of entering the preview image of the target object through the change of the area of the first sub-area, and the effect of indicating the progress can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing 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 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, 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 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved 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 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 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 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. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. 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. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program 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, etc.), 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 109 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 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; alternatively, the processor 110 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 the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The embodiment of the present invention further provides a terminal, where the terminal may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and in order to avoid repetition, details are not described here again.
The computer-readable storage medium according to an embodiment of the present invention is characterized in that 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 executed by the terminal in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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 (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 interface display method is applied to a terminal, and is characterized by comprising the following steps:
receiving a first input of a user;
in response to the first input, displaying an image entry interface in the terminal, the image entry interface comprising a preview area;
in the process of displaying a preview image of a target object in the preview area, updating and displaying a first sub-area in the preview area;
wherein the area of the first sub-region increases with the increase of the duration of displaying the preview image of the target object in the preview region, and the ratio of the area of the first sub-region to the area of the preview region is used for indicating the progress of entering the preview image of the target object;
the preview area further comprises a separation line, the separation line is used for separating the first sub-area from a second sub-area, and the second sub-area is the other area of the preview area except the first sub-area.
2. The method of claim 1, wherein the first sub-area is displayed in a highlighted manner.
3. The method of claim 2, wherein the highlighting is in a first color, the first color is different from a second color, and the second color is a color of the second sub-region.
4. The method of claim 1, further comprising a target identifier in the preview area, the target identifier indicating progress of entering a preview image of the target object.
5. The method according to any one of claims 1-4, further comprising:
receiving a second input of a user to the preview area in the process of displaying the preview image of the target object in the preview area;
canceling or re-entering a preview image of the target object in response to the second input.
6. A terminal, comprising: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user;
the display module is used for responding to the first input received by the receiving module and displaying an image input interface in the terminal, and the image input interface comprises a preview area; in the process of displaying the preview image of the target object in the preview area, updating and displaying a first sub-area in the preview area;
wherein the area of the first sub-region increases with the increase of the duration of displaying the preview image of the target object in the preview region, and the ratio of the area of the first sub-region to the area of the preview region is used for indicating the progress of entering the preview image of the target object;
the preview area further comprises a separation line, the separation line is used for separating the first sub-area from a second sub-area, and the second sub-area is the other area of the preview area except the first sub-area.
7. A terminal as claimed in claim 6, characterised in that the first sub-area is displayed in a highlighted manner.
8. The terminal of claim 7, wherein the highlighting is in a first color, the first color being different from a second color, the second color being a color of the second sub-region.
9. The terminal of claim 6, wherein the preview area further comprises a target identifier, and the target identifier is used for indicating progress of entering a preview image of the target object.
10. A terminal according to any of claims 6-9, characterised in that the terminal further comprises an entry module;
the receiving module is further configured to receive a second input of the user to the preview area in the process of displaying the preview image of the target object in the preview area;
the entry module is further used for responding to the second input received by the receiving module, and canceling or re-entering the preview image of the target object.
11. A terminal, characterized in that it comprises a processor, a memory 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 interface display method according to any one of claims 1 to 5.
CN201811133580.6A 2018-09-27 2018-09-27 Interface display method and terminal Active CN109408173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811133580.6A CN109408173B (en) 2018-09-27 2018-09-27 Interface display method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811133580.6A CN109408173B (en) 2018-09-27 2018-09-27 Interface display method and terminal

Publications (2)

Publication Number Publication Date
CN109408173A CN109408173A (en) 2019-03-01
CN109408173B true CN109408173B (en) 2021-10-19

Family

ID=65465305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811133580.6A Active CN109408173B (en) 2018-09-27 2018-09-27 Interface display method and terminal

Country Status (1)

Country Link
CN (1) CN109408173B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579083A (en) * 2020-12-09 2021-03-30 京东数字科技控股股份有限公司 Image display method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105184218A (en) * 2015-07-30 2015-12-23 广东欧珀移动通信有限公司 Method and device for registering fingerprints
CN105528576A (en) * 2015-12-02 2016-04-27 广东欧珀移动通信有限公司 Method and device for inputting fingerprint
CN105893814A (en) * 2015-02-12 2016-08-24 三星电子株式会社 Electronic Device And Method Of Registering Fingerprint In Electronic Device
CN106383627A (en) * 2016-08-26 2017-02-08 北京小米移动软件有限公司 Information displaying method and apparatus
CN106485190A (en) * 2015-08-27 2017-03-08 张敏 Fingerprint register method and device
CN107341000A (en) * 2017-04-19 2017-11-10 北京小米移动软件有限公司 A kind of method and device, terminal for showing fingerprint typing image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4779610B2 (en) * 2005-12-02 2011-09-28 オムロン株式会社 Image processing apparatus and method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893814A (en) * 2015-02-12 2016-08-24 三星电子株式会社 Electronic Device And Method Of Registering Fingerprint In Electronic Device
CN105184218A (en) * 2015-07-30 2015-12-23 广东欧珀移动通信有限公司 Method and device for registering fingerprints
CN106485190A (en) * 2015-08-27 2017-03-08 张敏 Fingerprint register method and device
CN105528576A (en) * 2015-12-02 2016-04-27 广东欧珀移动通信有限公司 Method and device for inputting fingerprint
CN106383627A (en) * 2016-08-26 2017-02-08 北京小米移动软件有限公司 Information displaying method and apparatus
CN107341000A (en) * 2017-04-19 2017-11-10 北京小米移动软件有限公司 A kind of method and device, terminal for showing fingerprint typing image

Also Published As

Publication number Publication date
CN109408173A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN110062105B (en) Interface display method and terminal equipment
CN109542282B (en) Interface display method and terminal equipment
CN110058836B (en) Audio signal output method and terminal equipment
CN111142991A (en) Application function page display method and electronic equipment
CN110769155B (en) Camera control method and electronic equipment
CN110855830A (en) Information processing method and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
CN111142723B (en) Icon moving method and electronic equipment
CN109032486B (en) Display control method and terminal equipment
CN109085968B (en) Screen capturing method and terminal equipment
CN108763317B (en) Method for assisting in selecting picture and terminal equipment
CN109257505B (en) Screen control method and mobile terminal
CN110007822B (en) Interface display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN110231972B (en) Message display method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN110866465A (en) Control method of electronic equipment and electronic equipment
CN110753155A (en) Proximity detection method and terminal equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN109189514B (en) Terminal device control method and terminal device

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