CN112162811A - Display method and display device - Google Patents

Display method and display device Download PDF

Info

Publication number
CN112162811A
CN112162811A CN202011030394.7A CN202011030394A CN112162811A CN 112162811 A CN112162811 A CN 112162811A CN 202011030394 A CN202011030394 A CN 202011030394A CN 112162811 A CN112162811 A CN 112162811A
Authority
CN
China
Prior art keywords
objects
operation objects
coordinate system
determining
arrangement mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011030394.7A
Other languages
Chinese (zh)
Inventor
陆荣
仇慎伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011030394.7A priority Critical patent/CN112162811A/en
Publication of CN112162811A publication Critical patent/CN112162811A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application discloses a display method and a display device, and belongs to the technical field of communication. The display method comprises the following steps: receiving a first operation; responding to the first operation, displaying N operation objects, and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1. In the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the method and the device can improve the convenience of selecting the operation objects by a user.

Description

Display method and display device
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a display method and a display apparatus.
Background
With the functions of electronic devices such as mobile phones and tablets increasing, the number of operation objects on the electronic devices also increases, and taking a shortcut control switch as an example, the shortcut control switch is used for performing some common operations on the electronic devices, such as networking, adjusting brightness, switching sound modes, and the like. At present, the operation objects are often displayed in a centralized manner along with certain operation, and the positions of the operation objects are relatively fixed, so that when the position of the operation object required by a user is far away from the operation position of the user, the operation of selecting the operation object by the user is tedious.
Disclosure of Invention
An object of the embodiments of the present application is to provide a display method and a display device, which can solve the problem in the prior art that an operation of selecting an operation object by a user is relatively complicated due to a relatively fixed position of the operation object.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display method, where the method includes:
receiving a first operation;
responding to the first operation, displaying N operation objects, and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
In a second aspect, an embodiment of the present application provides a display device, including:
the receiving module is used for receiving a first operation;
the display module is used for responding to the first operation, displaying N operation objects and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the method and the device for arranging the operation objects can improve the convenience of selecting the operation objects by a user.
Drawings
Fig. 1 is a schematic flowchart of a display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a possible exhalation mode of a first interface provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a coordinate system corresponding to various first operations provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a coordinate system corresponding to various first operations provided by an embodiment of the present application;
FIG. 5 is a diagram illustrating an operation object arrangement transformation according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and the claims means at least one of connected objects, and a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the display method provided by the embodiment of the application, the execution main body may be a display device, or a control module used for executing the display method in the display device.
The display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The display method, the display device, the electronic apparatus, the readable storage medium, and the chip provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of a display method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101: a first operation is received.
In the embodiment of the present application, the first operation may be understood as an operation for triggering display of an operation object, and the first operation may be a touch operation input by a user, such as a sliding operation, a clicking operation, a pressing operation, and the like.
Step 102: responding to the first operation, displaying N operation objects, and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
The operation object may be understood as an object that can be operated by a user, such as an application icon, an application push message, a shortcut control switch or other control, and the like.
Considering that some operation objects, such as application push messages, shortcut control switches, etc., are generally displayed only by a trigger operation input by a user at a specific position, and when the user does not input the trigger operation at the specific position, the operation objects are generally hidden. Therefore, the operation object referred to in the embodiments of the present application may be further understood as an object that is displayed only by a trigger operation input by a user at a specific position.
Furthermore, it is also considered that some operation objects, such as the shortcut control switches, have a large number, are generally displayed together in a centralized manner during display, the display density is large, it is difficult for a user to quickly find a desired operation object, the relative positions of the objects during display of the operation objects are generally fixed, and when the position of the operation object desired by the user is far away from the operation position of the user, the operation of selecting the operation object by the user becomes less convenient. Therefore, the operation object referred to in the embodiments of the present application can be further understood as an operation object having the above-described characteristics. For these operation objects, a new display mode needs to be provided, so that when these operation objects are displayed, the arrangement mode is more convenient for the user to select and operate.
In view of this, in the embodiment of the present application, after receiving the first operation, the manner of arranging the operation objects may be determined according to the position of the first operation and the priorities of the operation objects, so that the N operation objects are displayed according to the determined arrangement manner. It can be seen that the arrangement of the N operation objects is no longer fixed, but can be adjusted according to the position of the first operation and the priority of the operation object.
It can be understood that the arrangement mode of the operation objects is related to the position of the first operation, so that the operation objects can be close to the position of the first operation, and thus the operation objects can fall in the operation area of the user as much as possible, and the convenience of the user operation is improved; the arrangement mode of the operation objects is related to the priority of the operation objects, and the operation objects with higher priority are usually the operation objects commonly used by the user, so that the operation objects with higher priority can be closer to the operation area of the user, and the user can select the commonly used operation objects more conveniently.
In addition, as the screen of the electronic device is larger and larger, the single-hand operation of the user becomes more and more inconvenient, and the arrangement mode of the operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects, particularly the operation objects with higher priority, can be closer to the operation area of the user, and the operation objects commonly used by the user can be conveniently touched by the user in any use scene.
In the embodiment of the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the operation convenience of the user in selecting the operation objects can be improved.
Optionally, the N operation objects are displayed in an area where the first operation is located;
the N operation objects are sequentially arranged from a position close to the initial position of the first operation to a direction far away from the initial position of the first operation in the order of priority from high to low.
In this embodiment, N operation objects are displayed in the area where the first operation is performed, so that the entire display position of the N operation objects is located in the area of the first operation, and the N operation objects can be displayed close to the start position of the first operation. For each operation object in the N operation objects, the arrangement sequence of the operation objects is determined according to the priority of the operation objects, and the higher the priority of the operation object is, the closer the display position of the operation object is to the initial position of the first operation, so that the operation of a user is facilitated.
In the embodiment of the present application, the priority of the operation object may be determined according to the type and the use condition of the operation object, or the importance of the operation object is ranked according to the type and the use condition of the operation object. The priority comparison rule of the operation object may be as follows: for different types of operation objects, determining the priority of the operation objects according to the types; for the operation objects of the same type, the operation objects can be sorted according to the time used by the user most recently, the more recent the use time is, the higher the priority is, or the operation objects can be sorted according to the use frequency of the user, the higher the use frequency is, the higher the priority is, the use frequency is the same, and the operation objects are sorted by default according to the sequence of the use time. Besides the above priority comparison rule, the present invention may also be other comparison rules, which are not limited in the embodiments of the present application.
Taking an operation object as a shortcut control switch as an example, the shortcut control switch generally includes the following categories: network control class, media class, display class, tool class, system application class, third party application class, and the like. The priorities of the types may be, for example: network control class, media class, display class, tool class, system application class and three-party application class.
Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a start position of the first operation and a sliding direction of the first operation.
In this embodiment, the operation objects having higher priorities are arranged in order of decreasing priorities in the sliding direction of the first operation as the operation objects are closer to the start position of the first operation, and the operation objects are arranged in order of decreasing priorities in the direction perpendicular to the sliding direction of the first operation (hereinafter simply referred to as "vertical sliding direction").
Further, considering that the operation convenience of the former is higher for the user than that of the vertical sliding direction in the sliding direction of the first operation, the priority of the operation object may be slightly higher in the sliding direction of the first operation than in the vertical sliding direction.
As an example, assuming that the starting position of the first operation is the lower right of the screen, and the sliding direction of the first operation is the direction from bottom to top, when N operation objects are displayed in a triangular array, the relationship between the arrangement mode of each operation object and the priority can be the mode in table 1.
Figure BDA0002703484970000061
TABLE 1
In table 1, a smaller number represents a higher priority, the first digit represents its priority, and the second digit represents the filling order under the priority. As can be seen from table 1, the higher the priority of the operation object, the higher the degree of convenience of operation in the scene.
In this embodiment, the N operation objects are displayed in a triangular array, so that the N operation objects can be collectively displayed on one side of the screen of the electronic device, which is close to the user operation area.
It should be noted that, according to the number of the operation objects, the size or the interval of the operation objects may be appropriately adjusted so that the operation objects are collectively displayed on the side of the screen of the electronic device close to the user operation area as much as possible. Alternatively, the size or interval of the operation objects may be appropriately adjusted according to the priorities of the operation objects, so that the operation objects with higher priorities are displayed at positions convenient for the user to operate as much as possible.
Optionally, the first operation is an operation of sliding in a first direction from a first position;
the displaying N operation objects in response to the first operation comprises:
responding to the first operation, calling out a first interface from the first position in the first direction, and displaying the N operation objects on the first interface.
This embodiment provides a specific manner of operation object display, N operation objects being displayed on a first interface that is called out by a first operation, the calling out manner of the first interface being related to the initial position and the sliding direction of the first operation.
For example, if the first operation is an operation of sliding from the lower right to the upper right of the screen, the first interface may call out from the lower right to the upper right of the screen; the first operation is an operation of sliding from the right lower part of the screen to the left, and then the first interface can call out from the right lower part of the screen to the left; the first operation is an operation of sliding from the left lower part of the screen to the upper part, and the first interface can call out from the left lower part of the screen to the upper part; the first operation is an operation of sliding from the left lower part of the screen to the right, and then the first interface can call out from the left lower part of the screen to the right; and so on. Figure 2 shows various possible exhale modes of the first interface.
When the operation object displayed on the first interface is the shortcut control switch, the first interface may be referred to as a control center interface or a control panel. At present, the control center interface generally calls out through a sliding operation of sliding downwards from the top end of a screen by a user, and the position of each shortcut control switch on the control center interface is relatively fixed. Different from the prior art, the embodiment of the application can call the control center interface at other positions, and the arrangement mode of each shortcut control switch on the control center interface can be adjusted along with the change of the call position of the control center interface, so that a user can conveniently select and operate a specific shortcut control switch in any call scene.
Optionally, the displaying N operation objects in response to the first operation includes:
determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects;
and displaying the N operation objects according to the arrangement mode of the N operation objects.
The display positions of the N operation objects may be determined according to the position of the first operation, and the arrangement order of the N operation objects at the display positions may be determined according to the priorities of the N operation objects. The display positions of the N operation objects may also be determined according to the starting position of the first operation, and the arrangement order of the N operation objects at the display positions may be determined according to the sliding direction of the first operation and the priorities of the N operation objects.
Optionally, the determining, according to the position of the first operation and the priority of the N operation objects, the arrangement manner of the N operation objects includes:
determining a first coordinate system corresponding to the first operation according to the position of the first operation;
transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and a predetermined reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system; wherein the coordinates of the N operation objects in the reference coordinate system are determined according to the priorities of the N operation objects;
and determining the arrangement mode of the N operation objects according to the coordinates of the N operation objects in the first coordinate system.
The reference coordinate system may also be referred to as a base coordinate system or a default coordinate system, and the first operation at a certain position may be determined as a default operation, and the reference coordinate system may be defined accordingly, for example, the first operation located at the lower right of the screen may be determined as a default operation, and the reference coordinate system may be defined accordingly, and the reference coordinate system may be based on the lower right corner of the screen as an origin and the lower side edge and the right side edge of the screen as coordinate axes (i.e., X axis and Y axis), respectively. For example, an operation of the user sliding from the lower right of the screen to the upper right may be used as the default operation, and a reference coordinate system may be defined, where the reference coordinate system may be based on the lower right of the screen as an origin, a coordinate axis from the origin to the upper side as a Y axis, and a coordinate axis from the origin to the left as an X axis.
Similarly, when the user inputs the first operation, the first coordinate system corresponding to the first operation may be determined according to the position of the first operation. For example, when a first operation input by the user is a default operation, the first coordinate system corresponding to the first operation is the reference coordinate system, and the coordinates of the N operation objects in the reference coordinate system may be directly displayed as final coordinates. If the first operation input by the user is not the default operation, transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and the reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system, and displaying the N operation objects in the first coordinate system.
The arrangement of the N operation objects in the reference coordinate system may be used as a default arrangement of the N operation objects. In the embodiment, the operation objects are converted from the default arrangement mode to the arrangement mode corresponding to the position of the first operation, so that the operation objects with high priority are always located at the position for facilitating the operation under the first operation at different positions.
Optionally, the determining, according to the position of the first operation, a first coordinate system corresponding to the first operation includes:
determining an origin of the first coordinate system according to the initial position of the first operation;
and determining the coordinate axes of the first coordinate system according to the sliding direction of the first operation.
Specifically, the origin of the first coordinate system is a screen corner point near the start position of the first operation, and the Y-axis of the first coordinate system is the same as the sliding direction of the first operation, and more specifically, the Y-axis of the first coordinate system is a screen edge along the sliding direction of the first operation, and the Y-axis of the first coordinate system is a screen edge perpendicular to the sliding direction of the first operation.
As an example, fig. 3 to 4 show coordinate systems corresponding to various first operations, and positions and directions of arrows in the drawings indicate positions and sliding directions of the first operations.
In the embodiment in which the N operation objects are displayed in a triangular array, the N operation objects may be displayed in a triangular array with reference to the origin and coordinate axes of the first coordinate system.
As an example, as shown in fig. 5, fig. 5 shows a change from the arrangement of the operation objects of the default operation mode (right down up exhaling, see fig. 5) to left down up exhaling (see fig. 5 left) and right down left exhaling (see fig. 5 right), and the position and direction of the arrow in the figure represent the position and sliding direction of the first operation (or are understood as the exhaling mode).
Under a default operation mode, taking the lower right corner as an origin, taking the transverse direction as an X axis and taking the longitudinal direction as a Y axis; in the left-down-up exhaling mode, the left lower corner is taken as the origin, the transverse direction is taken as the X axis, and the longitudinal direction is taken as the Y axis; and in the mode of right-down left-going exhalation, the lower right corner is taken as the origin, the transverse direction is taken as the Y axis, and the longitudinal direction is taken as the X axis. Therefore, the transformation of the arrangement of the operation objects corresponds to the transformation of the operation objects from the reference coordinate system to the same coordinate positions of other coordinate systems. For example, the operation object F in the reference coordinate system is located at the position of the coordinate (3, 1), i.e., at the position to the left of the lower row, while in the left-down-up-call mode, the operation object F is located at the position to the right of the lower row, and in the right-down-left-call mode, the operation object F is located at the position to the upper column on the right.
It should be noted that, various optional implementations in the display method in the embodiment of the present application may be implemented in combination with each other, or may be implemented separately, and the present application is not limited thereto.
In the embodiment of the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the operation convenience of the user in selecting the operation objects can be improved.
In the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module for executing the display method in the display device. In the embodiment of the present application, a display device executing a display method is taken as an example, and the display device provided in the embodiment of the present application is described.
Fig. 6 is a flowchart of a display device according to an embodiment of the present application, and as shown in fig. 6, the display device 200 includes:
a receiving module 201, configured to receive a first operation;
a display module 202, configured to display N operation objects in response to the first operation, and determine an arrangement manner of the N operation objects according to a position of the first operation and priorities of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
Optionally, the N operation objects are displayed in an area where the first operation is located;
the N operation objects are sequentially arranged from a position close to the initial position of the first operation to a direction far away from the initial position of the first operation in the order of priority from high to low.
Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a start position of the first operation and a sliding direction of the first operation.
Optionally, the first operation is an operation of sliding in a first direction from a first position;
the display module 202 is specifically configured to:
responding to the first operation, calling out a first interface from the first position in the first direction, and displaying the N operation objects on the first interface.
Optionally, the N operation objects are N shortcut control switches.
Optionally, the display module 202 includes:
the determining submodule is used for determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects;
and the display sub-module is used for displaying the N operation objects according to the arrangement mode of the N operation objects.
Optionally, the determining sub-module includes:
the first determining unit is used for determining a first coordinate system corresponding to the first operation according to the position of the first operation;
the transformation unit is used for transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and a predetermined reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system; wherein the coordinates of the N operation objects in the reference coordinate system are determined according to the priorities of the N operation objects;
and the second determining unit is used for determining the arrangement mode of the N operation objects according to the coordinates of the N operation objects in the first coordinate system.
Optionally, the first determining unit is specifically configured to:
determining an origin of the first coordinate system according to the initial position of the first operation;
and determining the coordinate axes of the first coordinate system according to the sliding direction of the first operation.
Optionally, an origin of the first coordinate system is a screen corner point near the start position of the first operation, and a Y axis of the first coordinate system is the same as a sliding direction of the first operation.
In the embodiment of the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the operation convenience of the user in selecting the operation objects can be improved.
The display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the display method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 1007 is configured to: receiving a first operation;
the display unit 1006 is configured to: responding to the first operation, displaying N operation objects, and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
Optionally, the N operation objects are displayed in an area where the first operation is located;
the N operation objects are sequentially arranged from a position close to the initial position of the first operation to a direction far away from the initial position of the first operation in the order of priority from high to low.
Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a start position of the first operation and a sliding direction of the first operation.
Optionally, the first operation is an operation of sliding in a first direction from a first position;
the display unit 1006 is further configured to: responding to the first operation, calling out a first interface from the first position in the first direction, and displaying the N operation objects on the first interface.
Optionally, the N operation objects are N shortcut control switches.
Optionally, the processor 1010 is configured to: determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects;
the display unit 1006 is further configured to: and displaying the N operation objects according to the arrangement mode of the N operation objects.
Optionally, the processor 1010 is further configured to: determining a first coordinate system corresponding to the first operation according to the position of the first operation;
transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and a predetermined reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system; wherein the coordinates of the N operation objects in the reference coordinate system are determined according to the priorities of the N operation objects;
and determining the arrangement mode of the N operation objects according to the coordinates of the N operation objects in the first coordinate system.
Optionally, the processor 1010 is further configured to: determining an origin of the first coordinate system according to the initial position of the first operation;
and determining the coordinate axes of the first coordinate system according to the sliding direction of the first operation.
Optionally, an origin of the first coordinate system is a screen corner point near the start position of the first operation, and a Y axis of the first coordinate system is the same as a sliding direction of the first operation.
In the embodiment of the application, the arrangement mode of the N operation objects is determined according to the position of the first operation and the priority of the operation objects, so that the operation objects commonly used by the user can be displayed in the area closer to the operation position of the user no matter how the operation position of the user changes. Compared with the arrangement mode that the positions of the operation objects are relatively fixed in the prior art, the operation convenience of the user in selecting the operation objects can be improved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A display method, comprising:
receiving a first operation;
responding to the first operation, displaying N operation objects, and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
2. The method according to claim 1, wherein the N operation objects are displayed in an area where the first operation is located;
the N operation objects are sequentially arranged from a position close to the initial position of the first operation to a direction far away from the initial position of the first operation in the order of priority from high to low.
3. The method of claim 1, wherein the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a start position of the first operation and a sliding direction of the first operation.
4. The method according to claim 1, wherein the first operation is an operation of sliding in a first direction from a first position;
the displaying N operation objects in response to the first operation comprises:
responding to the first operation, calling out a first interface from the first position in the first direction, and displaying the N operation objects on the first interface.
5. The method of claim 1, wherein displaying N operands in response to the first operation comprises:
determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects;
and displaying the N operation objects according to the arrangement mode of the N operation objects.
6. The method according to claim 5, wherein the determining the arrangement of the N operation objects according to the position of the first operation and the priorities of the N operation objects comprises:
determining an origin of a first coordinate system according to the initial position of the first operation, and determining a coordinate axis of the first coordinate system according to the sliding direction of the first operation;
transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and a predetermined reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system; wherein the coordinates of the N operation objects in the reference coordinate system are determined according to the priorities of the N operation objects;
and determining the arrangement mode of the N operation objects according to the coordinates of the N operation objects in the first coordinate system.
7. A display device, comprising:
the receiving module is used for receiving a first operation;
the display module is used for responding to the first operation, displaying N operation objects and determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation object comprises a shortcut control switch, and N is an integer greater than 1.
8. The apparatus according to claim 7, wherein the N operation objects are displayed in an area where the first operation is performed;
the N operation objects are sequentially arranged from a position close to the initial position of the first operation to a direction far away from the initial position of the first operation in the order of priority from high to low.
9. The apparatus of claim 7, wherein the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a start position of the first operation and a sliding direction of the first operation.
10. The apparatus according to claim 7, wherein the first operation is an operation of sliding in a first direction from a first position;
the display module is specifically configured to:
responding to the first operation, calling out a first interface from the first position in the first direction, and displaying the N operation objects on the first interface.
11. The apparatus of claim 7, wherein the display module comprises:
the determining submodule is used for determining the arrangement mode of the N operation objects according to the position of the first operation and the priority of the N operation objects;
and the display sub-module is used for displaying the N operation objects according to the arrangement mode of the N operation objects.
12. The apparatus of claim 11, wherein the determination submodule comprises:
the first determining unit is used for determining an origin of a first coordinate system according to the initial position of the first operation and determining a coordinate axis of the first coordinate system according to the sliding direction of the first operation;
the transformation unit is used for transforming the coordinates of the N operation objects in the reference coordinate system according to the transformation relation between the first coordinate system and a predetermined reference coordinate system to obtain the coordinates of the N operation objects in the first coordinate system; wherein the coordinates of the N operation objects in the reference coordinate system are determined according to the priorities of the N operation objects;
and the second determining unit is used for determining the arrangement mode of the N operation objects according to the coordinates of the N operation objects in the first coordinate system.
CN202011030394.7A 2020-09-27 2020-09-27 Display method and display device Pending CN112162811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011030394.7A CN112162811A (en) 2020-09-27 2020-09-27 Display method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011030394.7A CN112162811A (en) 2020-09-27 2020-09-27 Display method and display device

Publications (1)

Publication Number Publication Date
CN112162811A true CN112162811A (en) 2021-01-01

Family

ID=73864132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011030394.7A Pending CN112162811A (en) 2020-09-27 2020-09-27 Display method and display device

Country Status (1)

Country Link
CN (1) CN112162811A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978030A (en) * 2015-07-01 2015-10-14 成都福兰特电子技术股份有限公司 Left and right hand based software and method for automatically adjusting display interface of mobile phone
CN105824610A (en) * 2015-07-31 2016-08-03 广东维沃软件技术有限公司 Method and device for arranging application program icons based on terminal
CN106293332A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 The processing method of a kind of singlehanded location application and mobile terminal
CN107066176A (en) * 2017-05-23 2017-08-18 珠海市魅族科技有限公司 A kind of control method and device of the singlehanded pattern of terminal
CN108279960A (en) * 2017-02-04 2018-07-13 广州市动景计算机科技有限公司 Application program user interface is laid out configuration method, device and its mobile device
CN108363524A (en) * 2018-01-19 2018-08-03 维沃移动通信有限公司 A kind of application icon display methods and mobile terminal
CN111385407A (en) * 2018-12-27 2020-07-07 华为终端有限公司 Method for updating icon arrangement on terminal interface and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978030A (en) * 2015-07-01 2015-10-14 成都福兰特电子技术股份有限公司 Left and right hand based software and method for automatically adjusting display interface of mobile phone
CN105824610A (en) * 2015-07-31 2016-08-03 广东维沃软件技术有限公司 Method and device for arranging application program icons based on terminal
CN106293332A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 The processing method of a kind of singlehanded location application and mobile terminal
CN108279960A (en) * 2017-02-04 2018-07-13 广州市动景计算机科技有限公司 Application program user interface is laid out configuration method, device and its mobile device
CN107066176A (en) * 2017-05-23 2017-08-18 珠海市魅族科技有限公司 A kind of control method and device of the singlehanded pattern of terminal
CN108363524A (en) * 2018-01-19 2018-08-03 维沃移动通信有限公司 A kind of application icon display methods and mobile terminal
CN111385407A (en) * 2018-12-27 2020-07-07 华为终端有限公司 Method for updating icon arrangement on terminal interface and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张媛,贾晓霞: "计算机网络安全与防御策略", 31 May 2019, 天津科学技术出版社, pages: 31 *

Similar Documents

Publication Publication Date Title
CN111857509A (en) Split screen display method and device and electronic equipment
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
CN112099707A (en) Display method and device and electronic equipment
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
US20110227844A1 (en) Method and apparatus for inputting character in portable terminal
CN112099695B (en) Icon position adjusting method and device and electronic equipment
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN112083854A (en) Application program running method and device
CN112433693A (en) Split screen display method and device and electronic equipment
CN112269501A (en) Icon moving method and device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN113703630A (en) Interface display method and device
CN113407144B (en) Display control method and device
CN112817555B (en) Volume control method and volume control device
CN113885749A (en) Icon display method and device and electronic equipment
CN113485625A (en) Electronic equipment response method and device and electronic equipment
CN113407280A (en) Display method and device and electronic equipment
CN112416199A (en) Control method and device and electronic equipment
CN112269513A (en) Interface display method and device and electronic equipment
CN112148175B (en) Notification display mode setting method and device, electronic equipment and storage medium
CN112162689B (en) Input method and device and electronic equipment
CN114416264A (en) Message display method and device
CN112162811A (en) Display method and display device
CN114416269A (en) Interface display method and display device
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium

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