CN111142733A - Display method and electronic equipment - Google Patents

Display method and electronic equipment Download PDF

Info

Publication number
CN111142733A
CN111142733A CN201911419114.9A CN201911419114A CN111142733A CN 111142733 A CN111142733 A CN 111142733A CN 201911419114 A CN201911419114 A CN 201911419114A CN 111142733 A CN111142733 A CN 111142733A
Authority
CN
China
Prior art keywords
area
track
input
icons
user
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.)
Granted
Application number
CN201911419114.9A
Other languages
Chinese (zh)
Other versions
CN111142733B (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 CN201911419114.9A priority Critical patent/CN111142733B/en
Publication of CN111142733A publication Critical patent/CN111142733A/en
Application granted granted Critical
Publication of CN111142733B publication Critical patent/CN111142733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F3/04817Interaction 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 using icons
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The embodiment of the invention provides a display method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the steps of moving an icon are complicated. The method comprises the following steps: receiving a first input of a user, wherein the track of the first input comprises a first track and a second track; in response to a first input, displaying N icons in a second area in a first area; the second area is an area determined based on the first track and the second track, and N is a positive integer.

Description

Display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a display method and electronic equipment.
Background
With the development of communication technology, functions in electronic devices are more and more abundant, and applications in electronic devices are more and more.
At present, if a user moves an icon of an application program in an electronic device, the user needs to first press the icon of the selected application program for a long time, then drag the icon of the application program to a corresponding position, and release a finger, so that the electronic device displays the icon of the application program at the corresponding position.
However, according to the above icon moving method, if the user needs to move a plurality of icons, the user needs to perform a plurality of operations, which results in a complicated step of moving the icons.
Disclosure of Invention
The embodiment of the invention provides a display method and electronic equipment, which can solve the problem that the step of moving an icon is complicated.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a display method, where the method includes: receiving a first input of a user, wherein the track of the first input comprises a first track and a second track; in response to a first input, displaying N icons in a second area in a first area; the second area is an area determined based on the first track and the second track, and N is a positive integer.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: the device comprises a receiving module and a display module; the receiving module is used for receiving a first input of a user, and the track of the first input comprises a first track and a second track; a determining module for responding to the first input received by the receiving module; the display module is used for responding to the first input received by the receiving module and displaying N icons in the second area in the first area; the second area is an area determined based on the first track and the second track, and N is a positive integer.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the display method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the display method according to the first aspect.
In the embodiment of the present invention, after the electronic device receives the first input from the user, the electronic device may display N icons in the second area in the first area, because the second area is the area determined based on the first track and the second track, the user can quickly display the icon of the application program in the first area, the operation steps are simple and convenient, the method can be applied to the scenes that a user needs to quickly move the icon to the notification bar, quickly move the icon to a negative screen and quickly move the icon to the screen page through a newly-built page, and not only can the user conveniently and quickly display the icon in the first area, quickly move the icon of the application program and quickly arrange the icons of the application programs displayed in the pages, but also can the user conveniently search the first area, so that the steps of searching the application programs needed to be used by the user are reduced, and the operation time is saved.
Drawings
FIG. 1 is a block diagram of a possible operating system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a display method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a method for determining a second area according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a relationship between a track and a second area according to an embodiment of the present invention;
FIG. 5 is a schematic view of a display interface of a display method according to an embodiment of the present invention;
fig. 6 is a second schematic view of a display interface of the display method according to the embodiment of the invention;
FIG. 7 is a second schematic diagram illustrating the relationship between the track and the second area according to the embodiment of the present invention;
FIG. 8 is a third schematic view of a display interface of the display method according to the embodiment of the present invention;
FIG. 9 is a fourth schematic view of a display interface of the display method according to the embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
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 region and the second region, etc. are for distinguishing different regions, and are not for describing a particular order of the regions.
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 electronic device in the embodiment of the present invention may be an electronic device 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.
Next, a software environment to which the display method provided by the embodiment of the present invention is applied will be described by taking the operating system shown in fig. 1 as an example.
Fig. 1 is a schematic diagram of a possible operating system according to an embodiment of the present invention. In fig. 1, the architecture of the operating system includes 4 layers, respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application layer comprises various application programs (including system application programs and third-party application programs) in an 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 a library (also referred to as a system library) and an operating system runtime environment. The library mainly provides various resources required by the operating system. The operating system runtime environment is used to provide a software environment for the operating system.
The kernel layer is the operating system layer of the operating system and belongs to the lowest layer of the operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the operating system based on the Linux kernel.
Taking the operating system shown in fig. 1 as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the display method provided in the embodiment of the present invention based on the system architecture of the operating system shown in fig. 1, so that the display method may run based on the operating system shown in fig. 1. That is, the processor or the electronic device may implement the display method provided by the embodiment of the present invention by running the software program in the operating system.
A display method according to an embodiment of the present invention will be described with reference to fig. 2. Fig. 2 is a schematic flow chart of a display method according to an embodiment of the present invention, and as shown in fig. 2, the display method includes steps 201 and 202:
step 201, an electronic device receives a first input of a user, wherein a track of the first input comprises a first track and a second track.
The first input may be a continuous input or may be a plurality of discontinuous sub-inputs.
In an embodiment of the present invention, the first input may be a sliding input of the user on the screen, wherein the first track and the second track are different tracks.
For convenience of description, in the embodiment of the present invention, a direction of a side where a height of the electronic device is located is taken as a vertical direction, and a direction of a side where a width of the electronic device is located is taken as a horizontal direction.
For example, the first track and the second track may be both line segments, or one of the tracks may be a line segment. Take the example where the first track is first and the second track is last.
Example 1-1: the first track may be a horizontal line segment, and the second track may be a line segment having an angle with the first track.
Examples 1 to 2: the first track may be a vertical line segment, and the second track may be a line segment having an angle with the first track.
The included angle between the first track and the second track may be an acute angle, a right angle, and an obtuse angle, which is not specifically limited in the embodiment of the present invention.
Example 2-1: the first trajectory may be a closed figure and the second trajectory may be a line segment in the horizontal direction or a line segment having a component in the horizontal direction larger than a component in the vertical direction.
Example 2-2: the first trajectory may be a line segment in the horizontal direction or a line segment having a component in the horizontal direction larger than a component in the vertical direction, and the second trajectory may be a closed figure.
Step 202, the electronic device responds to the first input, and displays N icons in the second area in the first area.
The second area is an area determined based on the first track and the second track, and N is a positive integer.
Specifically, in the embodiment of the present invention, the electronic device may determine the second area according to at least one of a length of the trajectory, a direction of the trajectory, a component in a specific direction, and the like. The specific direction may be a direction parallel to a top end frame (or a bottom end frame) of the electronic device, a direction perpendicular to the top end frame (or the bottom end frame) of the electronic device, or the like.
Illustratively, the first area may be a notification bar, a negative one screen, a blank screen, a screen (page) adjacent to the screen of the first input operation, a newly created one page, and the like of the electronic device.
It should be noted that negative one screen is the leftmost screen of the desktop of the electronic device, and provides services such as search, application suggestion, shortcut service, scene intelligence and the like for the user.
It should be noted that the number of icons of the application program displayed in the second area is related to the size of the second area and the number of icons actually displayed in the area, for example, the first area includes 6 icon bits, 5 icon bits display icons, and the first area includes 5 icons.
For convenience of explanation, an example will be described in which icons of N applications are displayed in the second area.
Optionally, after step 202 is executed, the icons of the N application programs displayed in the second area before the first input is received may not be displayed in the second area any more, or may remain displayed in the second area, which is not specifically limited in this embodiment of the present invention.
For example, assuming that the first area is minus one screen, after receiving the first input, the electronic device may keep displaying the icons of the N applications in the second area. Assuming that the first area is a screen adjacent to the notification bar, the blank screen, and the screen for the first input operation, the electronic device may move the icons of the N applications displayed in the second area to the first area, and no more icons of the N applications displayed before the first input are displayed in the second area.
It is to be understood that the above is only for exemplary illustration, and the electronic device may also move the icons of the N applications into the notification bar after receiving the first input in the first area which is the notification bar.
Optionally, if the electronic device moves the N applications displayed in the second area to the first area, the first area may not display other content, or the icons of the applications in the page where the second area is located may be moved adaptively in order to align the icons.
For example, the first region includes 4 icon bits, and the electronic device may sequentially move icons in 4 icon bits after the 4 icon bits to the second region to keep the page icons displayed in order.
It can be understood that, if the user needs to quickly move the application program to the first area, the icon in the area selected by the first input can be quickly moved to the first area through the first input in the manner provided by the embodiment of the present invention, for example, the user needs to integrate 3 application programs on the first screen and 4 application programs on the second screen into one location for convenient use, the user can select the icon of 3 application programs on the first screen through the first input to move to the first area, and then select the icon of 4 application programs on the second screen through the first input to move to the first area, so that the step of moving the icon is simple and convenient.
In the display method provided by the embodiment of the invention, after the electronic device receives the first input of the user, the electronic device can display the N icons in the second area in the first area, because the second area is the area determined based on the first track and the second track, the user can quickly display the icon of the application program in the first area, the operation steps are simple and convenient, the method can be applied to the scenes that a user needs to quickly move the icon to the notification bar, quickly move the icon to a negative screen and quickly move the icon to the page by a newly-built page, so that the user can conveniently and quickly display the icon in the first area, quickly move the icon of the application program and quickly arrange the icons of the application programs displayed in the pages, the user can conveniently search in the first area, the steps of searching the application programs needed to be used by the user are reduced, and the operation time is saved.
Optionally, before the step 202, the display method provided in the embodiment of the present invention may specifically include the following steps 203a to 203 c:
step 203a, the electronic device determines a first line segment based on the first trajectory.
Step 203b, the electronic device determines a second line segment based on the second trajectory.
Step 203c, the electronic device determines a second area based on the first line segment and the second line segment.
The first line segment and the second line segment are two adjacent edges of the second area.
For convenience of description, a first frame and a second frame of the electronic device are taken as an example, the first frame and the second frame are two adjacent frames of the electronic device, and the first frame is perpendicular to the second frame. If the component of a track in the direction of the first frame is greater than the component of the track in the direction of the second frame, the track is called to face the first frame, and if the component of the track in the direction of the first frame is less than the component of the track in the direction of the second frame, the track is called to face the second frame.
For example, if the first track faces a first frame of the electronic device and the second track faces a second frame of the electronic device, the electronic device may determine the first line segment according to a start position and an end position of a component of the first track in a direction in which the first frame is located, and may determine the second line segment according to a start position and an end position of a component of the second track in a direction in which the second frame is located.
The first frame may be a frame where a top end (or a bottom end) of the electronic device is located, or a frame where a side edge of the electronic device is located.
For example, assume that the first track is oriented toward the top or bottom bezel of the electronic device and the second track is oriented toward the side bezel of the electronic device. The vertical component of the first trajectory may be equal to the length of the first line segment, the starting position of the first trajectory being one end point of the first line segment, the ending position of the vertical component of the first trajectory being the other end point of the first line segment; the horizontal component of the second trajectory may be equal to the length of the second line segment, the starting position of the second trajectory being one end point of the second line segment, and the ending position of the horizontal component of the second trajectory being the other end point of the second line segment.
In practical application, the electronic device may determine the length of the first line segment and the length of the second line segment according to the relationship between the length of the track component and the size of the icon on the screen.
For example, if the vertical component of the first track is less than or equal to the height of 1 icon position, the length of the first line segment is 1 icon position, and if the vertical component of the first track is greater than the height of J icon positions and less than or equal to the height between J +1 icon positions, the length of the first line segment is J +1 icon position. The first line segment is determined based on the start and end positions of the first track of the first input and the length of the first track in the vertical component.
Fig. 3 is a schematic diagram of determining a second area according to an embodiment of the present invention. Referring to fig. 3 (a), the directions indicated by arrows L1 and L2 are horizontal directions, L1 is horizontal rightward direction, L2 is horizontal leftward direction, the directions of L3 and L4 are vertical directions, L3 is vertical downward direction, and L4 is vertical upward direction. Suppose the trajectory of the first input is to slide from a to B (first trajectory) and continue to slide from B to C (second trajectory). As shown in fig. 3 (b), the electronic device may determine the line segment p3p2 from the trajectory AB; the line segment p2p7 is determined from the trajectory BC, and then the region p3p2p7p6 is determined as the second region.
Exemplarily, fig. 4 is a schematic diagram of a relationship between a track and a second area according to an embodiment of the present invention. In combination with (a) and (B) in fig. 4, if the first input is sliding from a to B (a first track) and from B to E (a second track), the area V1V2V6V5 is a second area, and the electronic device may display the icon of APP1 and the icon of APP 4 in the first area; if the first input is sliding from A to B (a first track) and from B to D (a second track), the area V6V2V3V7 is a second area, and the electronic device can display the icon of APP 2 and the icon of APP 5 in the first area; if the first input is sliding from A to B (a first track) and from B to C (a second track), the area V6V2V4V8 is a second area, and the electronic device can display an icon of APP 2, an icon of APP3, an icon of APP 5 and an icon of APP6 in the first area; if the first input is sliding from F to G (a first track) and from G to H (a second track), the area V8V11V10V6 is a second area, and the electronic device can display an icon of APP 8, an icon of APP9, an icon of APP11, and an icon of APP12 in the first area.
The display method provided by the embodiment of the invention can be applied to a scene of determining which icons are moved to the first area in the process of moving the icons by a user, the electronic equipment can determine the first line segment according to the first track of the first input and determine the second line segment based on the second track of the first input, the first line segment and the second line segment can be two adjacent edges of the second area, then the second area is determined through the first line segment and the second line segment, the electronic equipment can determine the second area according to the two tracks of the first input of the user, and the user can slide different tracks on a screen to select one area as required, so that the user can conveniently select the image of the application program required to be displayed in the first area, and the selection mode is flexible and convenient.
Optionally, after the step 202, the display method provided in the embodiment of the present invention may further include the following steps 204 and 205:
and step 204, the electronic equipment receives a second input of the user.
Specifically, the second input may be an input that a user triggers the electronic device to display the target interface.
For example, in the case that the first area is a notification bar, the second input may be an interface input for a user to slide down on the screen to call up the notification bar, and in the case that the first area is minus one screen, the second input may be an input for the user to trigger the electronic device to display the interface minus one screen.
Step 205, the electronic device responds to the second input, and displays a target interface, wherein the target interface includes the icon displayed in the first area.
In conjunction with fig. 4, as shown in (a) of fig. 5, if the user displays the icon of APP 8, the icon of APP9, the icon of APP11, and the icon of APP12 displayed in the region V8V11V10V6 in the notification bar (i.e., the first region) through the first input, in a scenario where the user needs to use any one of the icon of APP 8, the icon of APP9, the icon of APP11, and the icon of APP12, the user can quickly find the icon of APP 8, the icon of APP9, the icon of APP11, and the icon of APP12 in the notification bar by sliding down. The electronic device may also display the icon of APP 8, the icon of APP9, the icon of APP11, and the icon of APP12 displayed in the region V8V11V10V6 in a blank page of the electronic device, as shown in (b) in fig. 5, if the user browses through the blank page, the user may quickly find the icon of APP needed to be used in the page.
The display method provided by the embodiment of the invention can be applied to a scene of viewing icons in a notification bar, minus icons in a screen and icons in other screens moved by a first input, after a user controls the electronic device to display N icons displayed in a second area in a first area, if the user needs to view or use the icons, the user can trigger the electronic device to display a target interface, for example, the user can pull down the notification bar by the second input, the electronic device can display the N icons in the notification bar, the user can trigger the electronic device to display an interface of the minus screen by the second input, and the electronic device can display the N icons in the interface, so that the user can conveniently view the icons in the first area.
Optionally, after step 202, the display method provided in the embodiment of the present invention may further include the following step 206 and step 207:
step 206, the electronic device receives a third input of the user, and the trajectory of the third input includes a third trajectory and a fourth trajectory.
For example, the third input may be an input in a blank area of the screen (i.e., an icon of an application is not displayed), or an input in an area of the screen where an icon is displayed.
Step 207, the electronic device responds to the three inputs, and in the third area, the M icons in the first area are displayed.
The third area is determined based on a third track and a fourth track, one direction of the first track and the second track is a first preset direction, one direction of the third track and the fourth track is a second preset direction, the first preset direction and the second preset direction are opposite in direction, and M is a positive integer.
It is understood that the electronic device determines a display manner according to the first preset direction and the second input direction, and specifically, may determine, according to the first preset direction, to display an icon in the second area determined according to the first input into the first area, and determine, according to the second preset direction, to display an icon in the first area in the third area determined according to the third input.
For example, assuming that the first preset direction is an orientation of an arrow of L4 shown in fig. 3 and the second preset direction is an orientation of an arrow of L3 shown in fig. 3, the user may move an icon in a region (i.e., a second region) selected in the interface by the first input into the notification bar (i.e., a first region) through a first input of a trajectory including the orientation of the arrow of L4, display an icon in the notification bar (i.e., the first region) through a third input of a trajectory including the orientation of the arrow of L3, and display a region (a third region) in the interface selected by the third input.
Of course, the second preset direction may also be an arrow in L4 shown in fig. 3, and the first preset direction may also be an arrow in L3 shown in fig. 3, which is not particularly limited in this embodiment of the present invention.
Optionally, the third area and the second area may be the same area or different areas, which is not specifically limited in this embodiment of the present invention.
The display method provided by the embodiment of the invention can be applied to a scene that a user moves the icons to a negative screen, a notification bar, other screens and the like, and if the user wants to move the icons in the areas to the positions again, after the user displays the icons in the second area in the first area through the first input, if the user needs to display the icons in the first area in the other areas, the user can use the third input to trigger the electronic equipment to display the icons in the first area in the third area, so that the user can flexibly move the icons in different areas according to the input of the track, and the moving mode is flexible and convenient.
Optionally, before step 207, the display method provided in the embodiment of the present invention may further include the following steps 208a, 208b, and 208c:
step 208a, the electronic device determines a third segment based on the third trajectory.
Step 208b, the electronic device determines a fourth line segment based on the fourth track.
Step 208c, the electronic device determines a third area based on the third line segment and the fourth line segment.
And the third line segment and the fourth line segment are two adjacent edges of the third area.
For example, if the third track is perpendicular to the second frame of the electronic device, the electronic device determines the third line segment according to the third track, and determines the fourth line segment according to a component of the fourth track in the direction of the second frame. For example, the third trace is perpendicular to a top bezel of the electronic device, and the electronic device determines the third line segment from the third trace and the fourth line segment from a horizontal component of the fourth trace. If the third track is perpendicular to the side frame of the electronic device, the electronic device determines a third line segment according to the third track, and determines a fourth line segment according to the direction of the vertical component of the fourth track and the vertical component.
For example, fig. 6 is a schematic diagram of a display interface provided by the embodiment of the invention, as shown in (a) in fig. 6, assuming that a trajectory of a third input of the user is M to N (a third trajectory), and continues to slide from N to O (a fourth trajectory), the electronic device may determine that the third area is an area M1M2O1N 1; assuming that the trajectory of the third input by the user is M to N (third trajectory) and continues to slide from N to P (fourth trajectory), the electronic device may determine that the third area is the area M1N1P1M 3; assuming that the trajectory of the third input by the user is M to N (the third trajectory), and continues to slide from N to Q (the fourth trajectory), the electronic device may determine that the third area is the area M1N1Q1M 4.
Specifically, the manner in which the electronic device determines the third region according to the third input may refer to the manner in which the electronic device determines the second region according to the first input, and details are not repeated here.
The display method provided by the embodiment of the invention can be applied to a scene that a user moves out an icon in the first area and how to determine the moved target position (namely, the third area), the electronic device can respectively determine two line segments according to two tracks of the third input of the user, and determine the third area according to the two line segments, so that the user can conveniently move the icon moved into the first area by the first input into the third area, the icon moving mode is more flexible and convenient, and the man-machine interaction performance is better.
Optionally, after step 206 or step 208c, the display method provided in the embodiment of the present invention may further include the following step 209 and step 210:
and step 209, the electronic device displays K icons, wherein the K icons are the icons displayed in the first area.
Wherein K is a positive integer.
It will be appreciated that after step 202, the icons included in the first area may include icons that were moved into the first area by the first input, and that icons that were moved into the first area by a similar input prior to the first input.
For example, assuming that the trajectory of the third input is sliding from M to N as shown in (a) in fig. 6, and continuing sliding from N to P, as shown in (b) in fig. 6, the electronic device may display options of an icon of APP 8, an icon of APP9, an icon of APP11, and an icon of APP12 for the user to select, and of course, the electronic device may also display the region M1N1P1M3, and display prompt information on the interface: move 2 icons to the area.
It should be noted that (b) in fig. 6 is only used for illustration, where in the area M1N1P1M3, only 1 icon position may be included, and therefore, the prompt information displayed by the electronic device is: moving 1 icon to an area, if the area M1N1P1M3 may include multiple icon positions (e.g., 5), the prompt information displayed by the electronic device is: move 5 icons to the area.
It should be noted that, the APP icons provided in (b) in fig. 6 are icons that move from F to G and continue to move from G to H based on the trajectory of the first input in fig. 3, and in practical applications, after receiving the third input, the electronic device may use icons of all application programs displayed in the first area by the first input as alternative icons.
It can be understood that, after the electronic device displays the icon of the application program displayed in the first area, if the electronic device receives a third input from the user, the electronic device may display the icon of the application program displayed in the first area, and prompt the user to display the icon prompted in the prompt information in the third area, which may facilitate the user to move the icon.
Step 210, the electronic device receives a fourth input of the user to M icons of the K icons, where K is an integer and is greater than or equal to M.
Further, the above step 207 may be performed by the following step 207 a:
in step 207a, the electronic device responds to the fourth input, and in the third area, displays M icons in the first area.
The display method provided by the embodiment of the invention can be applied to a scene that a user moves the icon out of the first area under the condition that the first area comprises a plurality of icons or comprises icons moved into the first area for a plurality of times, the electronic device can display the icons of K application programs after receiving third input of the user or after determining the third area, the user can be prompted to display the icons of the application programs in the first area, and the user can select to move the icons of the application programs displayed in the first area into the third area according to needs, so that the user can flexibly control the electronic device to display or move the icons.
Optionally, in a case that the trajectory of the third input and the trajectory of the first input are symmetrical, the step 207 may be specifically executed by the following step 207 b:
and step 207b, in response to the fourth input, the electronic device displays the N icons in a third area, where the third area is the same as the second area.
The N icons are N icons displayed in the first area by the first input, and the N icons are displayed in the second area before the first input.
It is understood that in this scenario, the icon in the first area may be moved from the second area to the first area by the electronic device.
Optionally, in the embodiment of the present invention, a trajectory of the third input and a trajectory of the first input may be axisymmetric, or centrosymmetric, and this is not specifically limited in the embodiment of the present invention.
The starting point, the inflection point, and the ending point in the trajectory of the third input may or may not correspond to the position of the first input, that is, the third input does not need to be the same as the position of the first input, and the shape and the trajectory direction of the trajectory are symmetrical.
For example, the first input is from a to B to C, and the third input may be from C to B to a (the track lengths are the same, and the track directions are symmetrical).
In conjunction with (a) in fig. 4, assuming that the trajectory of the first input is a to B, B to D, the trajectory of the third input may be a sliding from M to N as shown in (B) in fig. 6, and continuing from sliding to O (i.e., the trajectory of the third input is axisymmetric to the trajectory of the first input), and the trajectory of the third input may also be a sliding from M to N as shown in (B) in fig. 6, and continuing from N to P (i.e., the trajectory of the third input is centrosymmetric to the trajectory of the first input). Assuming that the trajectory of the first input is a slide from a to B and continues to slide from B to C, the trajectory of the third input may be a slide from M to N and continue to slide from N to Q as shown in (B) of fig. 6 (i.e., the trajectory of the third input is centrosymmetric with the trajectory of the first input).
The display method provided by the embodiment of the invention can be applied to a scene that a user quickly moves the icon moved by the first input back to the display position before the first input, and if the user selects the icons of the M application programs by the fourth input, the electronic equipment can display the icons of the M application programs in the second area, so that the user can conveniently move the icon displayed in the first area back to the second area according to the own needs, and the operation of the user is convenient.
Optionally, before step 202, the display method provided in the embodiment of the present invention may further include the following step 211:
step 211, the electronic device determines a first area according to the track characteristic of the target track.
Wherein the track characteristics include track shape or track direction; the target trajectory includes at least one of a first trajectory and a second trajectory.
For example, the electronic device determines a first display screen from a plurality of display screens of the electronic device according to a track direction parallel to a top frame of the electronic device in the first track and the second track, where the first display screen may be a display screen where the first area is located.
For example, assuming that the screen where the first input is located is a target screen of the electronic device, if the first trajectory is a trajectory parallel to a top frame of the electronic device, the first display screen may be determined according to a direction in which the first trajectory faces, if the first trajectory faces the left side of the target screen, the first display screen is a screen disposed on the left side of the target screen, and if the first trajectory faces the right side of the target screen, the first display screen is a screen disposed on the right side of the target screen.
The display method provided by the embodiment of the invention can be applied to a scene that a user selects to move the icon to one of a plurality of areas of the electronic equipment, for example, one screen of the plurality of screens is selected as the first area, and the electronic equipment can determine the first area according to the track shape or the track direction of at least one track of the first track and the second track in the first input after receiving the first input of the user, so that the user can input different track characteristics according to needs, and can quickly select the area to which the icon is moved, and the selection mode is more flexible and humanized.
Further, the step 202 may further include the step 202a of:
step 202a, the electronic device displays the icon of the application program displayed in the second area in the first display screen.
Based on the scheme, under the condition that the electronic equipment is provided with a plurality of screens, a user can also determine one screen according to the track direction parallel to the top frame of the electronic equipment in the first input, for example, if the track parallel to the top frame in the first input faces the left side of the screen, the screen on the left side of the current screen can be used as a first area, and if the track parallel to the top frame in the first input faces the right side of the screen, the screen on the right side of the current screen can be used as the first area, so that the operation mode better accords with the use habit of the user, and the user does not need to use one input to select the first area.
Optionally, the trajectory of the first input further includes a fifth trajectory; the input time of the fifth track is later than the input times of the first track and the second track; the display method provided in the embodiment of the present invention, after step 211 and before step 202, may further include step 212 and step 213:
in step 212, the electronic device obtains a fifth track of the fifth input when receiving the fifth input.
It should be noted that the fifth input is a sub-input in the first input, or an input after the first input, which is not specifically limited in this embodiment of the present invention.
It is to be understood that, in the case where the fifth input is a sub-input in the first input, the input time of the fifth input may be later than the input times of the first and second trajectories, for example, the user may input the first and second trajectories first and then change the idea to continue inputting the fifth trajectory.
And step 213, the electronic device re-determines the first area according to the fifth track.
It should be noted that, the user may input the first track and the second track to determine a first area, and then re-determine the first area through a fifth input.
For example, the electronic device may determine, according to the first trajectory and the second trajectory, that the notification bar is the first area, after receiving the fifth input, the electronic device determines, according to the fifth trajectory, that the second display screen is the first area, where the second display screen is a display screen corresponding to the fifth trajectory in the plurality of display screens of the electronic device, and the second display screen is a display screen where the target display area is located.
Illustratively, the fifth trajectory may be a curve. In the case where the electronic device is two screens, the second display screen may be a screen other than the first input operation of the two screens. In a case where the electronic device is larger than two screens, the second display screen may be a screen at which the direction in which the fifth trajectory is oriented is located.
It is to be understood that, in the case that the electronic device is a screen, if the first input track does not include the fifth track, the first area may be a notification bar, and if the first input track includes the fifth track, the first area may be a blank page, a newly created page, a page with an empty icon position, and the like.
Further, the step 202 may further include the step 202b of:
step 202b, the electronic device displays the icons of the application programs displayed in the first area in the second display screen.
Specifically, the electronic device displays icons of the application programs displayed in the first area in a blank area in the second display screen.
For example, fig. 7 is a schematic diagram of a display interface provided by an embodiment of the present invention, as shown in (a) in fig. 7, a user may input a trajectory to slide from I to J, continue sliding from J to K, and then slide from K to L after a certain time (e.g. 2 seconds) elapses, and as shown in (b) in fig. 7, the electronic device may determine, according to the trajectory IJ, that a first side of the second area is IJ, determine, according to a component of JK in a vertical direction, that a second side of the second area is JK1, and thereby determine that the area IJK1I1 is the second area, where: icon of APP 2, icon of APP3, icon of APP 5, icon of APP 6.
It should be noted that the multiple screens in the embodiment of the present invention may be multiple screen pages, or may be multiple screens on hardware, and this is not specifically limited in the embodiment of the present invention.
It should be noted that, if one continuous input includes the first track, the second track, and the fifth track, and there is no time interval between the tracks, the electronic device may also determine the first area according to the track characteristics of the fifth track, for example, in a case where the electronic device includes two screens, the first area may be determined to be a screen other than the current screen, and in a case where the electronic device includes more than two screens, one screen may be determined according to the direction of the fifth track, so that the manner in which the user selects the first area is more flexible and various.
The display method provided by the embodiment of the invention can be applied to a scene that a user needs to change the target position of the icon movement after determining the target position (namely, the first area) of the icon movement through the first track and the second track in the process of moving the icon, after receiving the first track and the second track, the electronic device can determine the first area according to the first track and the second track, and if receiving the fifth input, the electronic device can re-determine the first area according to the fifth track, namely, the user can re-determine a new first area in the operation process, namely, the user can adjust the display area of the icon by further adding a new track on the basis of the first track and the second track, so that the mode of determining the first area is flexible.
Optionally, after step 201, the display method provided in the embodiment of the present invention may further include the following step 214:
and step 214, the electronic device displays first prompt information, wherein the first prompt information is used for prompting that the icon in the second area is to be displayed in the first area.
For example, if the electronic device detects that the trajectory of the first input is the first trajectory and the second trajectory, the first prompt message may be "move icon into notification bar soon", "move icon into minus one screen", "move icon into left screen", "move icon into right screen", and so on. If the electronic device detects that the first input track is the first track, the second track and the fifth track, the first prompt message may be "will move the icon into the sub-screen", "need to move the icon into screens 1, 2 and 3? ".
Illustratively, in conjunction with (b) of fig. 7, after the electronic device receives the first input, as shown in fig. 8, the electronic device may further display a prompt message "the icon is about to be moved into the notification bar" and zoom out the icons in the first area to prompt the user which icons are moved icons. Assuming that the electronic apparatus includes two screens, as shown in (a) of fig. 9, assuming that the user inputs a first input on the left screen (assumed as the main screen), the electronic apparatus may display "about to move the icon into the sub-screen" in which the icon of APP 13, the icon of APP 14, and the icon of APP 15 are displayed in the left screen, and after receiving the first input, the electronic apparatus may move the icon of APP in the broken line frame in the main screen into the sub-screen, for example, as shown in (b) of fig. 9, the electronic apparatus displays the icon of APP 2, the icon of APP3, the icon of APP 5, and the icon of APP6 in the sub-screen.
It should be noted that, in fig. 9, for convenience of understanding only, in practical applications, after moving the icon in the second area, the electronic device may also move the icon of APP 4 to the position of the icon of the original APP 2, the icon of APP 7 to the position of the icon of the original APP3, the icon of APP 8 to the position of the icon of the original APP 5, and the icon of APP9 to the position of the icon of the original APP6, and the icons of APP 10, APP11, and APP12 continue to move in sequence until the icon positions are all continuously displayed with icons.
The display method provided by the embodiment of the invention can be applied to a scene that the user moves the icon, and after the electronic equipment receives the first input of the user, if the second area is determined, the electronic equipment can prompt the user to move the icon of the application program in the second area to the first area, so that the user knows the moved icon and the moved target position.
Fig. 10 is a schematic diagram of a possible structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device 400 includes: a receiving module 401 and a display module 402; a receiving module 401, configured to receive a first input of a user, where a trajectory of the first input includes a first trajectory and a second trajectory; a display module 402 for displaying N icons in a second area in a first area in response to a first input; the first area is an area determined based on the first track and the second track, and N is a positive integer.
The embodiment of the invention provides an electronic device, after receiving a first input of a user, the electronic device can display N icons in a second area in a first area, because the second area is the area determined based on the first track and the second track, the user can quickly display the icon of the application program in the first area, the operation steps are simple and convenient, the method can be applied to the scenes that a user needs to quickly move the icon to the notification bar, quickly move the icon to a negative screen and quickly move the icon to the page by a newly-built page, so that the user can conveniently and quickly display the icon in the first area, quickly move the icon of the application program and quickly arrange the icons of the application programs displayed in the pages, the user can conveniently search in the first area, the steps of searching the application programs needed to be used by the user are reduced, and the operation time is saved.
Optionally, the electronic device further includes: a first determination module; a first determining module, configured to determine a first line segment based on the first trajectory before the display module displays the N icons in the second area; determining a second line segment based on the second trajectory; determining a second area based on the first line segment and the second line segment; the first line segment and the second line segment are two adjacent edges of the second area.
The embodiment of the invention provides electronic equipment, which determines which icons are moved to a scene of a first area in the process of moving the icons by a user, wherein the electronic equipment can determine a first line segment according to a first track of first input and determine a second line segment based on a second track of the first input, the first line segment and the second line segment can be two adjacent edges of the second area, then the second area is determined through the first line segment and the second line segment, the electronic equipment can determine the second area according to the two tracks of the first input of the user, and the user can slide different tracks on a screen to select one area as required, so that the user can conveniently select an image of an application program required to be displayed in the first area, and the selection mode is flexible and convenient.
Optionally, the receiving module is further configured to receive a second input of the user after the displaying module displays the N icons in the second area in the first area; and the display module is also used for responding to the second input and displaying a target interface, wherein the target interface comprises the icon displayed in the first area.
In a scene that a user views an icon in a notification bar, minus an icon in a screen, and an icon in another screen moved by a first input, after the user controls the electronic device to display N icons displayed in a second area in a first area, if the user needs to view or use the icon, the user may trigger the electronic device to display a target interface, for example, the user may pull down the notification bar by the second input, the electronic device may display the N icons in the notification bar, the user may trigger the electronic device to display an interface in the minus screen by the second input, and the electronic device may display the N icons in the interface, so that the user may conveniently view the icon in the first area.
Optionally, the receiving module is further configured to receive a third input of the user after the displaying module displays the N icons in the second area in the first area, where a trajectory of the third input includes a third trajectory and a fourth trajectory; the display module is also used for responding to a third input and displaying the M icons in the first area in a third area; the third area is determined based on a third track and a fourth track, one direction of the first track and the second track is a first preset direction, one direction of the third track and the fourth track is a second preset direction, the first preset direction and the second preset direction are opposite in direction, and M is a positive integer.
The embodiment of the invention provides electronic equipment, wherein after a user moves icons to a negative screen, a notification bar, other screens and the like, if the user wants to move the icons in the areas to the position again in a scene, after the user displays the icons in the second area in the first area through a first input, if the user needs to display the icons in the first area in other areas, the user can use a third input to trigger the electronic equipment to display the icons in the first area in the third area, so that the user can flexibly move the icons in different areas according to the input of a track, and the moving mode is flexible and convenient.
Optionally, the electronic device further includes: a second determination module; a second determining module, configured to determine a third segment based on the third trajectory before the displaying module displays the icons of the M applications in the first area in the third area; determining a fourth line segment based on the fourth track; determining a third area based on the third line segment and the fourth line segment; and the third line segment and the fourth line segment are two adjacent edges of the third area.
The embodiment of the invention provides electronic equipment, in a scene how a user moves an icon out of a first area and determines a target position (namely a third area) to which the icon moves, the electronic equipment can respectively determine two line segments according to two tracks of third input of the user, and determine a third area according to the two line segments, so that the user can conveniently move the icon moved into the first area by the first input into the third area, the icon moving mode is more flexible and convenient, and the man-machine interaction performance is better.
Optionally, the display module is further configured to display K icons after the receiving module receives a third input from the user, where the K icons are icons displayed in the first area; the receiving module is used for receiving fourth input of the user to M icons in the K icons; the display module is specifically used for responding to the fourth input received by the receiving module and displaying the M icons in the first area in the third area; wherein K is a positive integer, and K is more than or equal to M.
The embodiment of the invention provides electronic equipment, wherein under the condition that a plurality of icons are included in a first area or icons which are moved into the first area for a plurality of times are included, a user moves the icons out of the first area, the electronic equipment can display K icons of application programs after receiving third input of the user or after determining the third area, the user can be prompted to display the icons of the application programs in the first area, and the user can select to move the icons of the application programs displayed in the first area into the third area according to needs, so that the user can flexibly control the electronic equipment to display or move the icons.
Optionally, the track of the third input is symmetrical to the track of the first input; and the display module is specifically used for displaying N icons in a third area, and the third area is the same as the second area.
The embodiment of the invention provides electronic equipment, which can display icons of M application programs in a second area after a third area is determined by the electronic equipment in a scene that a user quickly moves the icon moved by a first input back to a display position before the first input, and if the user selects the icons of the M application programs by a fourth input, so that the user can conveniently move the icon displayed in the first area back to the second area according to the needs of the user, and the operation of the user is convenient.
Optionally, the electronic device further includes: a third determination module; the third determining module is used for determining the first area according to the track characteristics of the target track before the displaying module displays the N icons in the second area in the first area; wherein the track characteristics include track shape or track direction; the target trajectory includes at least one of a first trajectory and a second trajectory.
The embodiment of the invention provides electronic equipment, wherein in a scene that a user selects an icon to move to one of a plurality of areas of the electronic equipment, for example, selects one of a plurality of screens as a first area, the electronic equipment can determine the first area according to the track shape or the track direction of at least one track of a first track and a second track in a first input after receiving the first input of the user, so that the user can input different track characteristics according to needs, the icon can be quickly selected to move to which area, and the selection mode is more flexible and humanized.
Optionally, the trajectory of the first input further includes a fifth trajectory; the input time of the fifth track is later than the input times of the first track and the second track; the electronic device further includes: an acquisition module; the acquisition module is used for acquiring a fifth input fifth track under the condition that a fifth input is received after the third determination module determines the first area according to the track characteristics of the target track and before the display module displays N icons in the second area in the first area; and the third determining module is further configured to re-determine the first area according to the fifth track acquired by the acquiring module.
In a scenario where a user needs to change a target position (i.e., a first area) to which the icon is moved after determining a target position (i.e., a first area) to which the icon is moved through a first track and a second track in a process of moving the icon, after receiving the first track and the second track, the electronic device may determine the first area according to the first track and the second track, and if a fifth input is received, the electronic device may re-determine the first area according to a fifth track, that is, the user may re-determine a new first area in a process of operation, that is, the user may adjust a display area of the icon by further adding a new track on the basis of the first track and the second track, so that a manner of determining the first area is flexible.
Optionally, the display module is further configured to display first prompt information after the receiving module receives the first input of the user, where the first prompt information is used to prompt that the icon in the second area is to be displayed in the first area.
The embodiment of the invention provides electronic equipment, and in a scene that a user moves an icon, after the electronic equipment receives first input of the user, if a first area is determined, the electronic equipment can prompt the user to move the icon of an application program in the first area to the first area, so that the user knows the moved icon and the moved position.
The electronic device 400 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described here again to avoid repetition.
According to the electronic device provided by the embodiment of the invention, after the electronic device receives the first input of the user, the electronic device can display the N icons in the second area in the first area, because the second area is the area determined based on the first track and the second track, the user can quickly display the icon of the application program in the first area, the operation steps are simple and convenient, the method can be applied to the scenes that a user needs to quickly move the icon to the notification bar, quickly move the icon to a negative screen and quickly move the icon to the page by a newly-built page, so that the user can conveniently and quickly display the icon in the first area, quickly move the icon of the application program and quickly arrange the icons of the application programs displayed in the pages, the user can conveniently search in the first area, the steps of searching the application programs needed to be used by the user are reduced, and the operation time is saved.
Fig. 11 is a hardware schematic diagram of an electronic device 100 according to an embodiment of the present invention, where the electronic device 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 electronic device configuration shown in fig. 11 does not constitute a limitation of electronic devices, which 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 electronic device, a wearable device, a pedometer, and the like.
The user input unit 107 is configured to receive a first input of a user, where a trajectory of the first input includes a first trajectory and a second trajectory; a display unit 106, configured to display, in response to the first input, N icons in a second area in the first area, where the second area is an area determined based on the first track and the second track, and N is a positive integer.
According to the electronic device provided by the embodiment of the invention, after the electronic device receives the first input of the user, the electronic device can display the N icons in the second area in the first area, because the second area is the area determined based on the first track and the second track, the user can quickly display the icon of the application program in the first area, the operation steps are simple and convenient, the method can be applied to the scenes that a user needs to quickly move the icon to the notification bar, quickly move the icon to a negative screen and quickly move the icon to the page by a newly-built page, so that the user can conveniently and quickly display the icon in the first area, quickly move the icon of the application program and quickly arrange the icons of the application programs displayed in the pages, the user can conveniently search in the first area, the steps of searching the application programs needed to be used by the user are reduced, and the operation time is saved.
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 electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
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 electronic apparatus 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 electronic device 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 the backlight when the electronic device 100 is moved 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 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 electronic device. 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. 11, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 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 electronic apparatus 100 or may be used to transmit data between the electronic apparatus 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 electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 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 electronic device. Processor 110 may include one or more processing units; preferably, 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 electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, 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 electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an electronic device is further provided in an embodiment of the present invention, and with reference to fig. 11, the electronic device includes a processor 110, a memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, and when the computer program is executed by the processor 110, the processes in the display method embodiment are implemented, and the same technical effect can be achieved, and details are not described here again to avoid repetition.
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 display method embodiment, 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 an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A display method applied to electronic equipment is characterized by comprising the following steps:
receiving a first input of a user, wherein the track of the first input comprises a first track and a second track;
in response to the first input, displaying N icons in a second area in a first area;
wherein the second area is an area determined based on the first track and the second track, and N is a positive integer.
2. The method of claim 1, wherein before displaying the N icons in the second area in the first area, the method further comprises:
determining a first line segment based on the first trajectory;
determining a second line segment based on the second trajectory;
determining a second region based on the first line segment and the second line segment;
the first line segment and the second line segment are two adjacent edges of the second area.
3. The method of claim 1, wherein after displaying the N icons in the second area in the first area, the method further comprises:
receiving a second input of the user;
and responding to the second input, and displaying a target interface, wherein the target interface comprises the icon displayed in the first area.
4. The method of any of claims 1-3, wherein after displaying the N icons in the second area in the first area, the method further comprises:
receiving a third input of the user, wherein the track of the third input comprises a third track and a fourth track;
in response to the three inputs, in a third area, displaying M icons in the first area;
the third area is determined based on the third track and the fourth track, one direction of the first track and the second track is a first preset direction, one direction of the third track and the fourth track is a second preset direction, the directions of the first preset direction and the second preset direction are opposite, and M is a positive integer.
5. The method of claim 4, wherein before displaying icons of the M applications in the first area in the third area, the method further comprises:
determining a third segment based on the third trajectory;
determining a fourth line segment based on the fourth trajectory;
determining a third region based on the third line segment and the fourth line segment;
and the third line segment and the fourth line segment are two adjacent edges of the third area.
6. The method of claim 4, wherein after receiving the third input from the user, the method further comprises:
displaying K icons, wherein the K icons are icons displayed in the first area;
receiving a fourth input of the user to M icons in the K icons;
the displaying, in the third area, the M icons in the first area includes:
in response to the fourth input, displaying, in the third area, M icons in the first area;
wherein K is a positive integer, and K is more than or equal to M.
7. The method of claim 4, wherein the trajectory of the third input and the trajectory of the first input are symmetric;
the displaying, in the third area, icons of M applications in the first area includes:
and displaying the N icons in the third area, wherein the third area is the same as the second area.
8. The method according to claim 1 or 2, wherein before displaying the N icons in the second area in the first area, the method further comprises:
determining a first area according to the track characteristics of the target track;
wherein the trajectory feature comprises a trajectory shape or a trajectory direction; the target trajectory includes at least one of the first trajectory and the second trajectory.
9. The method of claim 8, wherein the trajectory of the first input further comprises a fifth trajectory; the input time of the fifth track is later than the input times of the first track and the second track;
after determining the first area according to the track characteristics of the target track, and before displaying the N icons in the second area in the first area in response to the first input, the method further includes:
under the condition that a fifth input is received, acquiring a fifth track of the fifth input;
and re-determining the first area according to the fifth track.
10. The method of claim 1, wherein after receiving the first input from the user, the method further comprises:
and displaying first prompt information, wherein the first prompt information is used for prompting that the icon in the second area is to be displayed in the first area.
11. An electronic device, characterized in that the electronic device comprises: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user, and the track of the first input comprises a first track and a second track;
the display module is used for responding to the first input and displaying N icons in the second area in the first area;
wherein the first area is an area determined based on the first track and the second track, and N is a positive integer.
12. An electronic device, characterized in that the electronic device 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 display method according to any one of claims 1 to 10.
13. 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 display method according to any one of claims 1 to 10.
CN201911419114.9A 2019-12-31 2019-12-31 Display method and electronic equipment Active CN111142733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911419114.9A CN111142733B (en) 2019-12-31 2019-12-31 Display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911419114.9A CN111142733B (en) 2019-12-31 2019-12-31 Display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111142733A true CN111142733A (en) 2020-05-12
CN111142733B CN111142733B (en) 2021-08-31

Family

ID=70523108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911419114.9A Active CN111142733B (en) 2019-12-31 2019-12-31 Display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111142733B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490102A (en) * 2020-11-12 2022-05-13 荣耀终端有限公司 Application notification display method, device, storage medium, and graphical user interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135853A (en) * 2011-03-09 2011-07-27 苏州佳世达电通有限公司 Information processing method for touch control display device
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
US20180210640A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Methods for repositioning icons on touch displays based on characteristics of touch gestures and related program products
CN109683763A (en) * 2018-12-24 2019-04-26 维沃移动通信有限公司 A kind of icon moving method and mobile terminal
CN109814772A (en) * 2018-12-26 2019-05-28 维沃移动通信有限公司 A kind of application program image target moving method and terminal device
CN110489029A (en) * 2019-07-22 2019-11-22 维沃移动通信有限公司 A kind of icon display method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135853A (en) * 2011-03-09 2011-07-27 苏州佳世达电通有限公司 Information processing method for touch control display device
CN107066167A (en) * 2016-09-27 2017-08-18 华为技术有限公司 A kind of regional selection method, device and graphic user interface
US20180210640A1 (en) * 2017-01-26 2018-07-26 International Business Machines Corporation Methods for repositioning icons on touch displays based on characteristics of touch gestures and related program products
CN109683763A (en) * 2018-12-24 2019-04-26 维沃移动通信有限公司 A kind of icon moving method and mobile terminal
CN109814772A (en) * 2018-12-26 2019-05-28 维沃移动通信有限公司 A kind of application program image target moving method and terminal device
CN110489029A (en) * 2019-07-22 2019-11-22 维沃移动通信有限公司 A kind of icon display method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490102A (en) * 2020-11-12 2022-05-13 荣耀终端有限公司 Application notification display method, device, storage medium, and graphical user interface
CN114490102B (en) * 2020-11-12 2023-02-17 荣耀终端有限公司 Application notification display method, device, storage medium, and graphical user interface

Also Published As

Publication number Publication date
CN111142733B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN110851051B (en) Object sharing method and electronic equipment
CN108255378B (en) Display control method and mobile terminal
CN110874147B (en) Display method and electronic equipment
CN111142723B (en) Icon moving method and electronic equipment
CN111596817B (en) Icon moving method and electronic equipment
CN110007835B (en) Object management method and mobile terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
CN109032486B (en) Display control method and terminal equipment
CN108897473B (en) Interface display method and terminal
CN110928461A (en) Icon moving method and electronic equipment
CN109522278B (en) File storage method and terminal equipment
CN111142769A (en) Split screen display method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN108228902B (en) File display method and mobile terminal
CN110944236B (en) Group creation method and electronic device
CN110830713A (en) Zooming method and electronic equipment
CN110795189A (en) Application starting method and electronic equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110262713B (en) Icon display method and terminal equipment
CN109782970B (en) Display method and terminal
CN111026674A (en) Data storage method and electronic equipment
CN110851098A (en) Video window display method and electronic equipment
CN111142731B (en) Display method and electronic equipment

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