CN111240791A - Application program interface display method, electronic device and storage medium - Google Patents

Application program interface display method, electronic device and storage medium Download PDF

Info

Publication number
CN111240791A
CN111240791A CN202010074942.XA CN202010074942A CN111240791A CN 111240791 A CN111240791 A CN 111240791A CN 202010074942 A CN202010074942 A CN 202010074942A CN 111240791 A CN111240791 A CN 111240791A
Authority
CN
China
Prior art keywords
display
input
display area
hiding
state
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.)
Pending
Application number
CN202010074942.XA
Other languages
Chinese (zh)
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 CN202010074942.XA priority Critical patent/CN111240791A/en
Publication of CN111240791A publication Critical patent/CN111240791A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an application program interface display method, electronic equipment and a storage medium. The application program interface display method comprises the following steps: displaying a target interface; receiving a first input; and in response to the first input, hiding display content in a first display area associated with the first input, or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area in the target interface except the first display area. The embodiment of the invention can be used for protecting the privacy and the safety of the target interface of the application program simply.

Description

Application program interface display method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to an application program interface display method, electronic equipment and a storage medium.
Background
With the popularization of electronic devices, the aspects of people's life are closely related to electronic devices. In recent years, more and more operations can be performed on electronic equipment, and some important Application programs (APPs) often set a multi-factor authentication mode to improve security; for example, payment-type APPs and financial-type APPs; for convenience of payment, the payment code of the APP generally needs to be opened in advance, but only the payment code needs to be displayed during scanning, and in the process, the payment code may have a risk of leakage; in order to avoid the risk of leakage, people can switch the APP to a background or lock the screen, and switch to a foreground or cancel the screen locking when payment is needed; however, after such APPs are switched to the background or the screen lock, such APPs can exit the APP login account, and if such APPs are switched to the foreground or the screen lock is cancelled, the APP login account needs to be verified again, so that the user operation is complicated, and the user experience is poor.
Therefore, a safe, convenient and fast operation method is needed.
Disclosure of Invention
The embodiment of the invention provides an application program interface display method, electronic equipment and a storage medium, and aims to solve the problem that operation for preventing privacy of an application program from being revealed is complex.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides an application interface display method, where the application interface display method is applied to an electronic device, and the application interface display method includes:
displaying a target interface;
receiving a first input;
and in response to the first input, hiding display content in a first display area associated with the first input, or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area in the target interface except the first display area.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the display module is used for displaying a target interface;
a receiving module for receiving a first input;
and the processing module is used for responding to the first input and hiding display content in a first display area associated with the first input or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements the method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method of the first aspect.
In the embodiment of the invention, through the first input, the display content in the first display area associated with the first input is hidden, or the display content in the second display area is hidden; the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 is a flowchart of an application interface display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a target interface provided by an embodiment of the present invention;
fig. 3 to 6 are schematic diagrams illustrating adjusting the size and/or position of a hidden frame according to an embodiment of the present invention;
fig. 7 to 10 are schematic diagrams illustrating switching among a full display target object, a full hiding target object, a partial hiding target object and a target display target object according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 12 is a schematic diagram of another electronic device according to an embodiment of the 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 electronic devices according to embodiments of the present invention may include various handheld devices, vehicle-mounted devices, Wearable Devices (WD), computing devices or other processing devices connected to a wireless modem, and various User Equipments (UE), Mobile Stations (MS), terminals (terminal), and so on.
Fig. 1 is a flowchart of an application interface display method according to an embodiment of the present invention. As shown in fig. 1, the application program interface display method includes:
step 101: displaying a target interface;
step 102: receiving a first input;
step 103: and in response to the first input, hiding display content in a first display area associated with the first input, or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area in the target interface except the first display area.
In the embodiment of the invention, through the first input, the display content in the first display area associated with the first input is hidden, or the display content in the second display area is hidden; the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
In some embodiments of the present invention, the displaying the target interface in step 101 includes:
receiving an operation of opening a preset application program by a user;
and responding to the operation of starting the preset application program by the user, and displaying a target interface of the preset application program.
Correspondingly, in this example, the target interface includes a target interface containing payment information or a target interface that is relatively private to the user, and for convenience of description, the target interface containing payment information is taken as an example (e.g., fig. 2 to 3).
In some embodiments of the present invention, the first input of step 102 comprises at least one of adjusting a size and a position of the first display area.
Correspondingly, in this example, the electronic device includes a first screen, and the first input is an operation of the user on the first screen (for example, the front side in fig. 2, with the screen facing upward as the front side) of the electronic device; the first screen is a screen for displaying a target interface.
Correspondingly, in the example, the electronic device comprises a first screen and a second screen, and the first input is the operation of the user on the first screen and the second screen on the electronic device; the first screen is a screen for displaying a target interface.
In some embodiments of the present invention, an electronic device includes a first screen and a second screen, displaying a target interface, including:
displaying a target interface on a first screen;
receiving a first input comprising:
a first input is received at a second screen.
According to the embodiment of the invention, the target object in the target interface can be hidden aiming at the electronic equipment with more than one screen, so that the safety of the target interface can be protected.
In some embodiments of the present invention, the first input in step 102 is a preset input operation or a first input operation.
In the embodiment of the present invention, for the first time or the preset input operation, it is necessary to set whether to hide the display content in the first display area or the display content in the second display area. For the non-initial or non-preset input operation, the display content in the first display area or the display content in the second display area may be hidden in the same hiding manner as the initial or preset input operation. The preset input operation may be an input operation set by the user or an input operation designated by the user.
In some embodiments of the present invention, the displaying content in the first display region associated with the first input in step 103 comprises: if the user operates the display content corresponding to the first display area based on the first input, for example, clicks or slides the display content corresponding to the first display area, the display content in the first display area is hidden, that is, whether the first display area is hidden depends on whether the first operation is performed on the first display area. Wherein, the display content in the first display area is hidden (as shown in fig. 8), and the display content in the second display area is hidden (as shown in fig. 9); or, to hide the display content in the first display region (as shown in fig. 9), and to hide the display content in the second display region (as shown in fig. 8).
Correspondingly, in this example, setting how to hide the display content in the first display area or hide the display content in the second display area includes:
displaying a setting interface under the condition that the starting of the setting interface is detected; the setting interface is used for displaying prompt information when a user sets a target interface of a preset application program to receive fifth input.
The target interface is one interface in a preset application program, the number of the interfaces in the preset application program is more than one, how to hide the display content in a first display area in the target interface or hide the display content in a second display area in the target interface can be set for the target interface, and for interfaces except the target interface in the interfaces of the preset application program, the setting can be performed during the use process of a user or the setting can be performed simultaneously with the target interface.
Correspondingly, in this example, after hiding the display content in the first display area associated with the first input or hiding the display content in the second display area in response to the first input, the application interface display method further comprises:
receiving a second input;
and responding to the second input, displaying the target interface, and hiding the display content in the first display area or hiding the display content in the second display area.
It should be noted that the second input is an operation of starting the preset application program again.
According to the embodiment of the invention, aiming at the interface with the set hiding mode, the interface in the preset application program is opened again, and the target object in the interface in the preset application program is opened again according to the size and the position of the originally set hiding frame; that is, for the same interface, during setting, the position and size of the hidden frame are set, and when the interface is subsequently re-opened, the target object is hidden according to the set position and size of the hidden frame. The shape of the hidden frame may be a rectangle (as shown in fig. 8), or may be another shape (as shown in fig. 9).
It should be noted that the second input includes, but is not limited to, clicking, long pressing, or other input manners, and may also be the first operation, such as a sliding operation.
In the embodiment of the invention, after the hiding mode of the target interface is set through the setting interface, and the target interface of the preset application program is subsequently opened, the hiding mode can be directly displayed on the target interface; the hiding mode is a mode of hiding the display content in the first display area or hiding the display content in the second display area.
In some embodiments of the invention, after hiding display content in the first display area associated with the first input or hiding display content in the second display area in response to the first input, the application interface display method further comprises:
receiving a third input;
and in response to a third input, controlling the electronic equipment to switch from a first state to a second state, or controlling the electronic equipment to switch from a third state to a fourth state, wherein the first state is to hide the display content in the first display area, the second state is to display the display content in the first display area, the third state is to hide the display content in the second display area, and the fourth state is to display the display content in the second display area.
Taking the third input as the left example, to switch between a partially hidden target object (as shown in fig. 9) and a partially displayed target object (as shown in fig. 8); the fully displayed target object and the fully hidden target object have the same principle, and are not described herein again.
It should be noted that if the third input is a rightward slide, switching is performed between a partially displayed target object (as shown in fig. 8) and a partially hidden target object (as shown in fig. 9).
It should be noted that the third input includes, but is not limited to, clicking, long pressing, or other input manners, and may also be the first operation, such as a sliding operation.
In the embodiment of the invention, the switching between the first state and the second state or the switching between the third state and the fourth state is realized through the third input, so that various hiding modes can be realized, the method and the device are suitable for various use scenes of a user, and the user experience is improved.
In some embodiments of the invention, after hiding display content in the first display area associated with the first input or hiding display content in the second display area in response to the first input, the application interface display method further comprises:
receiving a fourth input;
sequentially switching a plurality of display states in response to a fourth input; wherein the plurality of display states include: hiding the display state of the target interface, hiding the display state of the display content in the first display area, and hiding the display state of the display content in the second display area.
Take the fourth input as a left swipe as an example. Sliding to the left, the fully displayed target object (i.e. the non-occluded target object) > the fully hidden target object (as shown in fig. 10) > the partially hidden target object (as shown in fig. 9) > the partially displayed target object (as shown in fig. 8) > the fully displayed target object are presented in sequence. If sliding to the right on the hidden frame, the full display target object- > the partial display target object (as shown in fig. 8) - > the partial hiding target object (as shown in fig. 9) - > the full hiding target object (as shown in fig. 10) - > the full display target object are sequentially presented.
It should be noted that, in the process of sequentially switching the plurality of display states, switching between the partially displayed target object (as shown in fig. 8) and the partially hidden target object (as shown in fig. 9) or switching between the fully displayed target object and the fully hidden target object may also be achieved through a third input. In addition, taking a leftward-rightward sliding as an example, the sliding direction of the third input is opposite to that of the fourth input, so that the electronic device can recognize whether to switch between the plurality of display states or to switch between implementing a partially displayed target object (as shown in fig. 8) and partially hidden target object (as shown in fig. 9). Further, the third input and the fourth input are two different inputs and are not limited to sliding left and right, for example, the third input is a sliding up and the fourth input is a sliding left.
It should be noted that the fourth input includes, but is not limited to, clicking, long-pressing, or other input manners, and may also be the first operation, such as a sliding operation.
In some examples of the present invention, the display content in the first display area or the display content in the second display area is hidden by a hiding frame.
The shape of the hidden frame may be a rectangular hidden frame (as shown in fig. 8) or other shapes (as shown in fig. 9). Fig. 8 and fig. 9 are only examples, and any hidden frame that can hide a target object in a target interface may be included in the scope of the embodiment of the present invention, and is not described herein again.
Correspondingly, the size and position of the hidden frame are adjusted as follows:
in fig. 2, the size and/or position of the hidden frame is adjusted by a first input, for example, a diagonal line of the hidden frame is dragged to change the size of the hidden frame, and in fig. 3, the diagonal line is dragged in a direction in which two fingers are far away, so that the size of the hidden frame becomes larger.
The electronic device comprises a first screen and a second screen, and the size and/or the position of the hidden frame can be adjusted based on the second screen, which is as follows:
in fig. 4, a first input is received at the back side, resizing the hidden frame.
In fig. 5, a first input is received at the back, e.g., circling counterclockwise, the hidden frame becomes larger, circling clockwise, and the hidden frame becomes smaller.
It should be noted that the first input includes, but is not limited to, clicking, long pressing, or other input manners, and may also be a first operation, such as a sliding operation.
In fig. 6, the hidden frame is touched on the front side while the second screen (i.e., the back screen) is touched on the back side; if the finger direction of the back surface facing to the front surface (namely the first screen) is close, the hidden frame becomes small; if the back face is far away from the finger direction of the front face, the hidden frame becomes large.
Specifically, the application program interface display method is described below with a hidden frame as an example, and includes:
the method comprises the following steps: receiving a first gesture operation;
step two: responding to the first gesture operation, starting a target interface of a preset application program, and displaying the target interface, wherein the target interface comprises prompt information; the prompt message comprises a hidden frame;
step three: receiving a second gesture operation;
step four: and in response to the second gesture operation, hiding part or all of the target objects on the target interface through the hidden frame.
In the embodiment of the invention, the interface of the preset application program is opened through a first gesture operation (namely, an operation of opening the preset application program), and after the preset application program is opened, the target interface is displayed; and based on the second gesture operation (i.e. the first input), hiding part or all of the target object on the target interface through the hiding frame; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
In one example, hiding some or all of the target objects on the target interface with a hidden frame includes:
receiving a third gesture operation of the user on a target color in the color filling option;
and in response to the third gesture operation, filling the hidden frame with the target color to hide part or all of the target object on the target interface.
In fig. 7, the third gesture operation on the target color in the color filling option fills the hidden frame (as shown in fig. 8) to hide part or all of the target object on the target interface.
In the embodiment of the present invention, the hidden frame includes a hidden frame capable of hiding part or all of the target objects on the target interface, that is, the hidden frame shown in fig. 8; the hidden frame also includes a hidden frame as shown in fig. 7, which does not have a function of hiding part or all of the target objects on the target interface, and the hidden function of the hidden frame needs to be realized by selecting the target color by the user.
In some embodiments of the present invention, the hidden frame in the second step is an adjustable hidden frame.
Correspondingly, in this example, before receiving a third gesture operation of the user selecting a target color from the color fill options, the application program interface display method further includes:
receiving a seventh gesture operation aiming at the hidden frame;
and in response to a seventh gesture operation, adjusting the size or the position of the hidden frame.
Correspondingly, in this example, the seventh gesture operation is an operation of the user on the first screen (for example, the front side in fig. 2, with the touch screen facing upward as the front side) of the electronic device; the first screen is a screen for displaying a target interface. The first screen may be a touch screen.
In fig. 2, through a seventh gesture operation, the size and/or position of the hidden frame is adjusted, for example, a diagonal line of the hidden frame is dragged to change the size of the hidden frame, and in fig. 3, the diagonal line is dragged in a direction away from which two fingers are away from, so that the size of the hidden frame becomes larger.
Correspondingly, in the example, the seventh gesture operation is the operation of the user on the first screen and the second screen of the electronic device; the first screen is a screen for displaying a target interface, and the second screen may be a touch screen.
In fig. 4, the hidden frame is resized on the back side based on the seventh gesture operation (i.e., the first input).
In fig. 5, the hidden frame is enlarged, circled clockwise, and reduced on the back side based on a seventh gesture operation, for example, circling counterclockwise.
In fig. 6, the hidden frame is touched on the front side while the back screen is touched on the back side; if the back surface approaches to the finger direction on the front surface, the hidden frame becomes smaller; if the back face is far away from the finger direction of the front face, the hidden frame becomes large.
In some embodiments of the present invention, the color fill option may be presented in a drop-down form, or in a preset form; the preset form refers to several set colors, for example, one click corresponds to pure white, and two clicks corresponds to red.
In some embodiments of the invention, step two, comprises:
and if the first gesture operation is detected, displaying a target interface, wherein the target interface contains prompt information.
Correspondingly, in this example, the target interface includes a target interface containing payment information or a target interface that is relatively private to the user, and for convenience of description, the target interface containing payment information is taken as an example (e.g., fig. 2 to 3).
In an embodiment of the present invention, before the step one, the method for displaying an application program interface further includes:
displaying a setting interface under the condition that the starting of the setting interface is detected; the setting interface is used for displaying prompt information when a user sets a target interface of a preset application program to receive fifth input.
Specifically, the interface of the preset application program may be preset in advance, that is, the interface of the target object hidden by the hidden frame is directly displayed when the interface is opened.
The interface of the preset application program generally has more than one interface, and for the interface of the user related to the privacy information, when a target object in a certain interface needs to be hidden, a hidden frame is called out to hide the interface.
In some embodiments of the present invention, before displaying the target interface in step two, the application interface displaying method further includes:
receiving a fourth gesture operation aiming at the target interface;
and responding to the fourth gesture operation, and displaying prompt information on the target interface.
Specifically, prompt information is displayed on the target interface through a fourth gesture operation on the target interface.
In some embodiments of the present invention, receiving a third gesture operation of a user selecting a target color from the color fill options comprises:
and receiving the selection of a target color from a color option pulled down from the color filling option or a preset color option by a user.
In some embodiments of the invention, step four, comprises:
after the target color is selected in fig. 7, the hidden frame filled with the target color is displayed in fig. 8, and part or all of the target object on the target interface is hidden.
In some embodiments of the present invention, after step four, the application interface display method comprises:
receiving a fifth gesture operation of the user on the hidden frame;
and displaying the part of the target object hidden by the hidden frame in response to the fifth gesture operation.
In fig. 7, the user operates the hidden frame and the display interface is as shown in fig. 9.
In the embodiment of the present invention, switching between a hidden frame that partially occludes a target object (i.e., the hidden frame is used to partially hide the target object) and a hidden frame that completely occludes the target object (i.e., the hidden frame is used to completely hide the target object) may specifically include:
take the fifth gesture operation as a leftward swipe (i.e., corresponding to the third input) as an example. Sliding to the left on the hidden frame, the fully displayed target object (i.e., the unobstructed target object) > the fully hidden target object (as shown in fig. 10) > the partially hidden target object (as shown in fig. 9) > the partially displayed target object (as shown in fig. 8) > the fully displayed target object are sequentially presented. If sliding to the right on the hidden frame, then rendering a full display target object- > a partial display target object (as shown in fig. 8) - > a partial hiding target object (as shown in fig. 9) - > a full hiding target object (as shown in fig. 10) - > a full display target object in sequence; wherein, at any stage above, switching may be performed, for example, when the third gesture operation is sliding left or right (i.e., corresponding to the fourth input), so as to switch between a partially hidden target object (as shown in fig. 9) and a partially displayed target object (as shown in fig. 8); the fully displayed target object and the fully hidden target object have the same principle, and are not described herein again.
In some embodiments of the present invention, after displaying the hidden frame, the application interface display method further includes:
receiving the operation of starting the target interface of the preset application program again;
in response to an operation (i.e., a second input) of re-opening the target interface of the preset application, the hidden frame is displayed, and part or all of the target objects on the target interface are hidden.
It should be noted that, the hidden frame of the interface that is opened for the first time may be set, for example, the hidden frame of the target interface that includes the payment information may be set in advance in the setting interface; or, starting the target interface for the first time, and setting the color filling option of the interface based on the gesture operation.
In some embodiments of the present invention, after displaying the hidden frame, the application interface display method further includes:
receiving a sixth gesture operation aiming at the target interface;
and hiding the hidden frame to display the target object on the target interface in response to a sixth gesture operation.
Specifically, after the hidden frame is displayed, the hidden frame can be cancelled through a sixth gesture operation, so that the target object is displayed on the target interface, and further, the user can pay conveniently according to the target object on the target interface.
In the above, only the hidden frame is first adjusted in size and/or position and then filled as an example; the hidden frame is filled first, and then the size and/or position of the filled hidden frame (i.e. the hidden frame) is adjusted, which may also be included in the embodiments of the present invention.
In some embodiments of the present invention, the first gesture operation to the seventh gesture operation each include a gesture operation type, which is a type of gesture operation for the user interface to be tested. The gesture operation type may include, but is not limited to, an action type such as clicking, dragging, zooming, and the like performed on the user interface to be tested. The gesture operation types can be divided into basic gesture operation types and complex gesture operation types. The basic gesture operation types include a single-finger operation type and a two-finger operation type. The single-finger operation type can be but is not limited to single-click, double-click, dragging and other action types; the two-finger operation type may be, but is not limited to, an action type such as two-finger zoom-out and two-finger zoom-in. The complex gesture operation type includes, for example, a multi-finger operation type. The multi-finger operation type may be, but is not limited to, multi-finger pinch, zoom, etc. action types.
Fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 11, the electronic device 1100 includes:
a display module 1101 for displaying a target interface;
a receiving module 1102 for receiving a first input;
the processing module 1103 is configured to hide, in response to the first input, display content in a first display area associated with the first input, or hide display content in a second display area, where the first display area is an area in the target interface, and the second display area is an area in the target interface other than the first display area.
In the embodiment of the invention, through the first input, the display content in the first display area associated with the first input is hidden, or the display content in the second display area is hidden; the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
Optionally, in the case that the first input is a preset input operation or a first input operation,
a receiving module 1102, further configured to receive a second input;
and responding to the second input, displaying the target interface, and hiding the display content in the first display area or hiding the display content in the second display area.
Optionally, the electronic device further includes:
a receiving module 1102, further configured to receive a third input;
the control module is used for responding to a third input and controlling the electronic equipment to be switched from a first state to a second state or from a third state to a fourth state, wherein the first state is to hide the display content in the first display area, the second state is to display the display content in the first display area, the third state is to hide the display content in the second display area, and the fourth state is to display the display content in the second display area.
Optionally, the electronic device further includes:
a receiving module 1102, further configured to receive a fourth input;
the switching module is used for responding to the fourth input and sequentially switching a plurality of display states; wherein the plurality of display states include: hiding the display state of the target interface, hiding the display state of the display content in the first display area, and hiding the display state of the display content in the second display area.
Optionally, the first input includes at least one of adjusting a size and a position of the first display region.
Optionally, the electronic device includes a first screen, a second screen, and a display module 1101, and is further configured to:
displaying a target interface on the first screen;
the receiving module 1102 is further configured to:
a first input is received at the second screen.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition.
In the embodiment of the invention, through the first input, the display content in the first display area associated with the first input is hidden, or the display content in the second display area is hidden; the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device 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 electronic device 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 display unit 1206 is used for displaying a target interface;
a user input unit 1207 for receiving a first input;
the display unit 1210 is configured to hide display content in a first display area associated with a first input or hide display content in a second display area in response to the first input, where the first display area is an area in the target interface and the second display area is an area in the target interface other than the first display area.
In the embodiment of the invention, through the first input, the display content in the first display area associated with the first input is hidden, or the display content in the second display area is hidden; the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface; on one hand, the safety of the target interface can be protected, on the other hand, the operation is convenient and fast, and the user experience is high.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 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 1201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1202, such as to assist the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the electronic apparatus 1200 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (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 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 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 1201 in case of the phone call mode.
The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or the backlight when the electronic device 1200 moves to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1205 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., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 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 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 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 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the electronic apparatus 1200. 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 1208 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1200 or may be used to transmit data between the electronic apparatus 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, 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 1209 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 2110 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby monitoring the whole electronic device. Processor 1210 may include one or more processing units; preferably, the processor 1210 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 is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may further include a power source 1211 (e.g., a battery) for providing power to the various components, and preferably, the power source 1211 may be logically coupled to the processor 1210 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1210, a memory 1209, and a computer program that is stored in the memory 1209 and is executable on the processor 1210, and when the computer program is executed by the processor 1210, the processes of the embodiment of the application program interface display method are implemented, and the same technical effect can be achieved, 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 application program interface display method, 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 (14)

1. An application program interface display method is applied to electronic equipment and is characterized by comprising the following steps:
displaying a target interface;
receiving a first input;
in response to the first input, hiding display content in a first display area associated with the first input, or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area in the target interface other than the first display area.
2. The method according to claim 1, wherein in a case where the first input is a preset input operation or a first input operation, after hiding display content in a first display area associated with the first input or hiding display content in a second display area in response to the first input, the method further comprises:
receiving a second input;
and responding to the second input, displaying the target interface, and hiding the display content in the first display area or hiding the display content in the second display area.
3. The method of claim 1, wherein after the hiding display content in a first display area associated with the first input or hiding display content in a second display area in response to the first input, the method further comprises:
receiving a third input;
and in response to the third input, controlling the electronic equipment to switch from a first state to a second state, or controlling the electronic equipment to switch from a third state to a fourth state, wherein the first state is to hide the display content in the first display area, the second state is to display the display content in the first display area, the third state is to hide the display content in the second display area, and the fourth state is to display the display content in the second display area.
4. The method of claim 1, wherein after the hiding display content in a first display area associated with the first input or hiding display content in a second display area in response to the first input, the method further comprises:
receiving a fourth input;
sequentially switching a plurality of display states in response to the fourth input; wherein the plurality of display states include: hiding the display state of the target interface, hiding the display state of the display content in the first display area, and hiding the display state of the display content in the second display area.
5. The method of any of claims 1-4, wherein the first input comprises at least one of adjusting a size and a position of the first display region.
6. The method of claim 1, wherein the electronic device comprises a first screen and a second screen, and wherein displaying the target interface comprises:
displaying a target interface on the first screen;
the receiving a first input, comprising:
a first input is received at the second screen.
7. An electronic device, comprising:
the display module is used for displaying a target interface;
a receiving module for receiving a first input;
and the processing module is used for responding to the first input and hiding display content in a first display area associated with the first input or hiding display content in a second display area, wherein the first display area is an area in the target interface, and the second display area is an area except the first display area in the target interface.
8. The electronic device according to claim 7, wherein, in a case where the first input is a preset input operation or a first-time input operation,
the receiving module is further used for receiving a second input;
and responding to the second input, displaying the target interface, and hiding the display content in the first display area or hiding the display content in the second display area.
9. The electronic device of claim 7, further comprising:
the receiving module is further used for receiving a third input;
the control module is configured to, in response to the third input, control the electronic device to switch from a first state to a second state, or control the electronic device to switch from a third state to a fourth state, where the first state is to hide display content in the first display area, the second state is to display content in the first display area, the third state is to hide display content in the second display area, and the fourth state is to display content in the second display area.
10. The electronic device of claim 7, further comprising:
the receiving module is further used for receiving a fourth input;
the switching module is used for responding to the fourth input and sequentially switching a plurality of display states; wherein the plurality of display states include: hiding the display state of the target interface, hiding the display state of the display content in the first display area, and hiding the display state of the display content in the second display area.
11. The electronic device of any of claims 7-10, wherein the first input comprises at least one of adjusting a size and a position of the first display region.
12. The electronic device of claim 7, wherein the electronic device comprises a first screen and a second screen, and wherein the display module is further configured to:
displaying a target interface on the first screen;
the receiving module is further configured to:
a first input is received at the second screen.
13. An electronic device comprising 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 application interface display method of any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the application program interface display method according to any one of claims 1 to 6.
CN202010074942.XA 2020-01-22 2020-01-22 Application program interface display method, electronic device and storage medium Pending CN111240791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010074942.XA CN111240791A (en) 2020-01-22 2020-01-22 Application program interface display method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010074942.XA CN111240791A (en) 2020-01-22 2020-01-22 Application program interface display method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111240791A true CN111240791A (en) 2020-06-05

Family

ID=70872956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010074942.XA Pending CN111240791A (en) 2020-01-22 2020-01-22 Application program interface display method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111240791A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
US20150371611A1 (en) * 2014-06-19 2015-12-24 Contentguard Holdings, Inc. Obscurely rendering content using masking techniques
KR20160005388A (en) * 2014-07-07 2016-01-15 황윤택 System and Method of Protecting Privacy While Using Portable Terminal
CN106062706A (en) * 2014-04-15 2016-10-26 三星电子株式会社 Device and method for controlling display
CN106485173A (en) * 2015-08-25 2017-03-08 腾讯科技(深圳)有限公司 Sensitive information methods of exhibiting and device
CN107066174A (en) * 2017-04-13 2017-08-18 广州神马移动信息科技有限公司 Floating layer display methods, device and user terminal
CN108196766A (en) * 2017-12-20 2018-06-22 努比亚技术有限公司 A kind of display interface processing method, terminal and computer readable storage medium
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110472432A (en) * 2019-05-31 2019-11-19 上海上湖信息技术有限公司 A kind of method and device of sensitive information desensitization

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186331A (en) * 2011-12-28 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Display method and system for intelligent terminal interface
CN106062706A (en) * 2014-04-15 2016-10-26 三星电子株式会社 Device and method for controlling display
US20150371611A1 (en) * 2014-06-19 2015-12-24 Contentguard Holdings, Inc. Obscurely rendering content using masking techniques
KR20160005388A (en) * 2014-07-07 2016-01-15 황윤택 System and Method of Protecting Privacy While Using Portable Terminal
CN104679387A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Privacy information protection method and terminal
CN106485173A (en) * 2015-08-25 2017-03-08 腾讯科技(深圳)有限公司 Sensitive information methods of exhibiting and device
CN107066174A (en) * 2017-04-13 2017-08-18 广州神马移动信息科技有限公司 Floating layer display methods, device and user terminal
CN108196766A (en) * 2017-12-20 2018-06-22 努比亚技术有限公司 A kind of display interface processing method, terminal and computer readable storage medium
CN109697494A (en) * 2018-12-21 2019-04-30 南京维沃软件技术有限公司 A kind of graphic code display methods and terminal device
CN110472432A (en) * 2019-05-31 2019-11-19 上海上湖信息技术有限公司 A kind of method and device of sensitive information desensitization

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN109375890B (en) Screen display method and multi-screen electronic equipment
CN108495029B (en) Photographing method and mobile terminal
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN110874147B (en) Display method and electronic equipment
CN108763317B (en) Method for assisting in selecting picture and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN108415641B (en) Icon processing method and mobile terminal
CN108345425B (en) Application management method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108920226B (en) Screen recording method and device
CN111562896B (en) Screen projection method and electronic equipment
CN111050109B (en) Electronic equipment control method and electronic equipment
CN109407949B (en) Display control method and terminal
CN109815676B (en) Privacy space operation method and terminal equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN111339515A (en) Application program starting method and electronic equipment
CN109445653B (en) Icon processing method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN110908554B (en) Long screenshot method and terminal device
CN110968229A (en) Wallpaper setting method and electronic equipment
CN109740312B (en) Application control method and terminal equipment
CN109669656B (en) Information display method and terminal equipment
CN108600498B (en) Information prompting method and device
CN110225192B (en) Message display 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