Display method and display device
By adjusting the arrangement of operation objects according to the operation position and priority, the problem of cumbersome operations caused by fixed positions of operation objects on electronic devices is solved, and the convenience for users to select operation objects is improved.
Patent Information
- Application Number
- CN202011030394.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-27
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-09-27
AI Technical Summary
On electronic devices, the position of the operation object is relatively fixed, which makes the user's operation of selecting the operation object relatively cumbersome, especially when the operation object is far away from the user's operation position.
By receiving the user's operations and determining the arrangement of the operation objects according to the operation position and the priority of the operation objects, the operation objects are displayed closer to the user's operation area, improving the convenience of user selection.
No matter how the user's operation position changes, commonly used operation objects can be displayed in an area closer to the user's operation position, which improves the convenience for users to select operation objects, especially when the screen is larger.
Smart Images

Figure CN112162811B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a display method and a display device. Background Art
[0002] As electronic devices such as mobile phones and tablets have more and more functions, the number of operation objects on electronic devices has also increased. Take the quick control switch as an example, which is used to perform some common operations on electronic devices, such as connecting to the Internet, adjusting brightness, switching sound modes, etc. At present, these operation objects are often displayed together with a certain operation, and the positions of these operation objects are relatively fixed. In this way, when the position of the operation object required by the user is far away from the user's operation position, it is cumbersome for the user to select the operation object. Summary of the invention
[0003] The purpose 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 the position of the operation object is relatively fixed, which makes it cumbersome for the user to select the operation object.
[0004] In order to solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a display method, the method comprising:
[0006] receiving a first operation;
[0007] In response to the first operation, N operation objects are displayed, and the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the N operation objects; the operation objects include shortcut control switches, and N is an integer greater than 1.
[0008] In a second aspect, an embodiment of the present application provides a display device, including:
[0009] A receiving module, configured to receive a first operation;
[0010] A display module is used to display N operation objects in response to the first operation, and determine the arrangement of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation objects include shortcut control switches, and N is an integer greater than 1.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0014] In the embodiment of the present application, since the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the operation object, no matter how the user's operation position changes, the user's frequently used operation objects can be displayed in an area closer to the user's operation position. Compared with the arrangement of the operation objects in the prior art with relatively fixed positions, the embodiment of the present application can improve the convenience of the user in selecting the operation object. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of a display method provided in an embodiment of the present application;
[0016] Figure 2 It is a schematic diagram of possible outgoing call methods of the first interface provided in an embodiment of the present application;
[0017] Figure 3 is a schematic diagram of coordinate systems corresponding to various first operations provided in an embodiment of the present application;
[0018] Figure 4 is a schematic diagram of coordinate systems corresponding to various first operations provided in an embodiment of the present application;
[0019] Figure 5 It is a schematic diagram of the change of the arrangement mode of the operation objects provided in the embodiment of the present application;
[0020] Figure 6 is a structural schematic diagram of a display device provided in an embodiment of the present application;
[0021] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0022] Figure 8 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0025] The display method provided in the embodiment of the present application can be executed by a display device, or a control module in the display device for executing the display method.
[0026] The display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0027] 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, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0028] The display method, display device, electronic device, readable storage medium and chip provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0029] Figure 1 is a flow chart of a display method provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0030] Step 101: Receive a first operation.
[0031] In the embodiment of the present application, the first operation can be understood as an operation for triggering the display of the operation object. The first operation can be a touch operation input by the user, such as a sliding operation, a clicking operation, a pressing operation, etc.
[0032] Step 102: In response to the first operation, N operation objects are displayed, and the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the N operation objects; the operation objects include shortcut control switches, and N is an integer greater than 1.
[0033] The above-mentioned operation objects can be understood as objects that can be operated by users, such as application icons, application push messages, quick control switches or other controls.
[0034] Considering that some operation objects, such as application push messages, quick control switches, etc., are generally displayed only after the user inputs a trigger operation at a specific location, and when the user does not input a trigger operation at a specific location, these operation objects are generally in a hidden state. Therefore, the operation objects involved in the embodiments of the present application can be further understood as objects that are displayed only after the user inputs a trigger operation at a specific location.
[0035] Furthermore, it is also considered that some operation objects, such as quick control switches, are large in number and are generally displayed together when displayed, with a high display density, making it difficult for users to quickly find the required operation objects, and the relative positions of these operation objects are also usually fixed when displayed. When the position of the operation object required by the user is far from the user's operation position, the user's operation of selecting the operation object becomes less convenient. Therefore, the operation objects involved in the embodiments of the present application can be further understood as operation objects with the above characteristics. For these operation objects, it is necessary to provide a new display method so that when these operation objects are displayed, their arrangement method is more convenient for users to select and operate.
[0036] In view of this, in the embodiment of the present application, after receiving the first operation, the arrangement of the operation objects can be determined according to the position of the first operation and the priority of the operation object, so that the N operation objects are displayed according to the determined arrangement. 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.
[0037] It can be understood that the arrangement of the operation objects is related to the position of the first operation, which allows the operation objects to be close to the position of the first operation, so that the operation objects can fall as much as possible in the user's operation area, thereby improving the convenience of user operation; the arrangement of the operation objects is also related to the priority of the operation objects. Since the operation objects with higher priorities are usually the operation objects that users frequently use, this allows the operation objects with higher priorities to be closer to the user's operation area, so that users can more conveniently select their frequently used operation objects.
[0038] In addition, as the screens of electronic devices become larger and larger, it becomes increasingly inconvenient for users to operate with one hand. By determining the arrangement of operation objects based on the position of the first operation and the priority of the operation objects, the operation objects, especially those with higher priorities, can be brought closer to the user's operation area, thereby ensuring that the operation objects commonly used by users can be easily touched by the user in any usage scenario.
[0039] In the embodiment of the present application, since the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the operation object, no matter how the user's operation position changes, the user's frequently used operation objects can be displayed in an area closer to the user's operation position. Compared with the arrangement of the positions of the operation objects in the prior art that are relatively fixed, the embodiment of the present application can improve the convenience of the user in selecting the operation object.
[0040] Optionally, the N operation objects are displayed in an area where the first operation is located;
[0041] The N operation objects are arranged in order of priority from high to low, from a position close to a starting position of the first operation to a direction away from the starting position of the first operation.
[0042] In this implementation, N operation objects are displayed in the area where the first operation is located, so that for the N operation objects as a whole, their overall display position is located in the area of the first operation, and these N operation objects can be displayed close to the starting position of the first operation. For each of the N operation objects, the arrangement order of each operation object is determined according to the priority of the operation object. The higher the priority of the operation object, the closer its display position is to the starting position of the first operation, and the more convenient it is for the user to operate.
[0043] In the embodiment of the present application, the priority of the operation object can be determined according to the type and usage of the operation object, or in other words, the importance of the operation object is sorted according to the type and usage of the operation object. The priority comparison rules of the operation object can be as follows: for different types of operation objects, their priority is determined according to the type; for the same type of operation objects, they can be sorted according to the time of the user's most recent use, and the more recent the use time, the higher the priority. They can also be sorted according to the user's frequency of use, and the higher the frequency of use, the higher the priority. For the same frequency of use, they are sorted by default in the order of use time. In addition to the above-mentioned priority comparison rules, all other feasible comparison rules can also be used, and the embodiment of the present application does not limit this.
[0044] Taking the operation object as a quick control switch as an example, the quick control switches generally include the following categories: network control, media, display, tool, system application, third-party application, etc. The priority of each category can be, for example: network control>media>display>tool>system application>third-party application.
[0045] Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a starting position of the first operation and a sliding direction of the first operation.
[0046] In this embodiment, the operation object with a higher priority is closer to the starting position of the first operation. Along the sliding direction of the first operation, the operation objects are arranged in order of decreasing priority. In the direction perpendicular to the sliding direction of the first operation (hereinafter referred to as the "vertical sliding direction"), the operation objects are also arranged in order of decreasing priority.
[0047] Furthermore, considering that the sliding direction along the first operation is more convenient for the user than the vertical sliding direction, the priority of the operation object along the sliding direction of the first operation may be slightly higher than the priority of the operation object along the vertical sliding direction.
[0048] As an example, assuming that the starting position of the first operation is the lower right corner of the screen and the sliding direction of the first operation is from bottom to top, when N operation objects are displayed in a triangular array, the arrangement and priority of each operation object can be as shown in Table 1.
[0049]
[0050] Table 1
[0051] In Table 1, the smaller the number, the higher the priority. The first digit represents its priority, and the second digit represents the filling order under the priority. It can be seen from Table 1 that the higher the priority of the operation object, the higher the operation convenience in this scenario.
[0052] In this embodiment, N operation objects are displayed in a triangular array, so that the N operation objects can be concentrated on one side of the electronic device screen close to the user operation area. Compared with the rectangular array display in the prior art, especially for electronic devices with larger screens, the N operation objects can be made as close as possible to the position where the first operation is located, thereby further improving the user's operation convenience on the operation objects.
[0053] It should be noted that the size or interval of the operation objects can be appropriately adjusted according to the number of operation objects, so that the operation objects are displayed as concentratedly as possible on one side of the electronic device screen close to the user operation area. Alternatively, the size or interval of the operation objects can be appropriately adjusted according to the priority of the operation objects, so that the operation objects with higher priority can be displayed in a position that is convenient for user operation as much as possible.
[0054] Optionally, the first operation is an operation of sliding from a first position along a first direction;
[0055] The displaying N operation objects in response to the first operation includes:
[0056] In response to the first operation, a first interface is called out from the first position in the first direction, and the N operation objects are displayed on the first interface.
[0057] This embodiment provides a specific method for displaying operation objects. N operation objects are displayed on a first interface called out by a first operation. The calling out method of the first interface is related to the initial position and sliding direction of the first operation.
[0058] For example, if the first operation is a swiping operation from the lower right corner of the screen to the upper side, the first interface can be called out from the lower right corner of the screen to the upper side; if the first operation is a swiping operation from the lower right corner of the screen to the left side, the first interface can be called out from the lower right corner of the screen to the left side; if the first operation is a swiping operation from the lower left corner of the screen to the upper side, the first interface can be called out from the lower left corner of the screen to the upper side; if the first operation is a swiping operation from the lower left corner of the screen to the right side, the first interface can be called out from the lower left corner of the screen to the right side; and so on. Figure 2 Various possible calling modes of the first interface are shown.
[0059] When the operation object displayed on the first interface is a quick control switch, the first interface can be called a control center interface or a control panel. At present, the control center interface is usually called out by a sliding operation in which the user slides down from the top of the screen, and the positions of the quick control switches in the control center interface are relatively fixed. Different from the prior art, the embodiment of the present application can call out the control center interface at other locations, and the arrangement of the quick control switches in the control center interface can be adjusted as the call-out position of the control center interface changes, thereby enabling users to more conveniently select and operate specific quick control switches in any call-out scenario.
[0060] Optionally, in response to the first operation, displaying N operation objects includes:
[0061] Determining an arrangement of the N operation objects according to a position of the first operation and priorities of the N operation objects;
[0062] The N operation objects are displayed according to the arrangement of the N operation objects.
[0063] 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.
[0064] Optionally, determining an arrangement of the N operation objects according to the position of the first operation and the priorities of the N operation objects includes:
[0065] determining, according to the position of the first operation, a first coordinate system corresponding to the first operation;
[0066] According to a transformation relationship between the first coordinate system and a predetermined reference coordinate system, the coordinates of the N operation objects in the reference coordinate system are transformed 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;
[0067] An arrangement of the N operation objects is determined according to the coordinates of the N operation objects in the first coordinate system.
[0068] The reference coordinate system may also be referred to as a basic coordinate system or a default coordinate system. The first operation at a certain specific position may be determined as a default operation, and the reference coordinate system may be defined accordingly. For example, the first operation at the lower right corner of the screen may be determined as a default operation, and the reference coordinate system may be defined accordingly. The reference coordinate system may be based on the lower right corner of the screen as the origin, and the lower and right edges of the screen as coordinate axes (i.e., X-axis and Y-axis). The first operation with a certain specific position as the starting position and a certain specific direction as the sliding direction may also be determined as a default operation, and the reference coordinate system may be defined accordingly. For example, the operation of the user sliding upward from the lower right corner of the screen may be the default operation, and the reference coordinate system may be defined accordingly. The reference coordinate system may be based on the lower right corner of the screen as the origin, the coordinate axis from the origin upward as the Y-axis, and the coordinate axis from the origin to the left as the X-axis.
[0069] Similarly, when the user inputs the first operation, the first coordinate system corresponding to the first operation can be determined according to the position of the first operation. For example, when the 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 can be directly displayed as the final coordinates. If the first operation input by the user is not a default operation, the coordinates of the N operation objects in the reference coordinate system are transformed according to the transformation relationship between the first coordinate system and the reference coordinate system, and the coordinates of the N operation objects in the first coordinate system are obtained, and the N operation objects are displayed in the first coordinate system.
[0070] The arrangement of the N operation objects in the reference coordinate system can be used as the default arrangement of the N operation objects. This embodiment ensures that the high-priority operation objects are always located at a position that facilitates operation under the first operation at different positions by converting the operation objects from the default arrangement to an arrangement corresponding to the position of the first operation.
[0071] Optionally, determining a first coordinate system corresponding to the first operation according to the position of the first operation includes:
[0072] Determining the origin of the first coordinate system according to the starting position of the first operation;
[0073] The coordinate axes of the first coordinate system are determined according to the sliding direction of the first operation.
[0074] Specifically, the origin of the first coordinate system is the screen corner point close to the starting position of the first operation, the Y-axis of the first coordinate system is the same as the sliding direction of the first operation, more specifically, the Y-axis of the first coordinate system is the screen edge along the sliding direction of the first operation, and the Y-axis of the first coordinate system is the screen edge perpendicular to the sliding direction of the first operation.
[0075] As an example, Figure 3 to Figure 4 The coordinate systems corresponding to various first operations are shown, and the positions and directions of the arrows in the figure represent the positions and sliding directions of the first operations.
[0076] For the implementation method in which the N operation objects are displayed in a triangular array, the N operation objects may be displayed in a triangular array based on the origin and coordinate axes of the first coordinate system.
[0077] As an example, Figure 5 As shown, Figure 5 Shows the default operation mode (call out from the bottom right, see Figure 5 The arrangement of the operation objects in the middle) is changed to calling out from the lower left (see Figure 5 left) and right down to the left (see Figure 5 The position and direction of the arrow in the figure represent the position and sliding direction of the first operation (or can be understood as the outgoing method).
[0078] In the default operation mode, the lower right corner is the origin, the horizontal direction is the X-axis, and the vertical direction is the Y-axis; in the lower left to upper call mode, the lower left corner is the origin, the horizontal direction is the X-axis, and the vertical direction is the Y-axis; in the lower right to left call mode, the lower right corner is the origin, the horizontal direction is the Y-axis, and the vertical direction is the X-axis. Therefore, the transformation of the arrangement of the operation object corresponds to the transformation of the operation object from the reference coordinate system to the same coordinate position of other coordinate systems. For example, in the reference coordinate system, the operation object F is at the coordinate (3, 1), that is, it is located on the left side of the lower row, while in the lower left to upper call mode, the operation object F is located on the right side of the lower row, and in the lower right to left call mode, the operation object F is located on the upper side of the right column.
[0079] It should be noted that the various optional implementations of the display method in the embodiments of the present application can be implemented in combination with each other or can be implemented separately, and the present application does not limit this.
[0080] In the embodiment of the present application, since the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the operation object, no matter how the user's operation position changes, the user's frequently used operation objects can be displayed in an area closer to the user's operation position. Compared with the arrangement of the operation objects in the prior art with relatively fixed positions, the embodiment of the present application can improve the convenience of the user in selecting the operation object.
[0081] It should be noted that the display method provided in the embodiment of the present application can be executed by a display device or a control module in the display device for executing the display method. In the embodiment of the present application, the display device provided in the embodiment of the present application is described by taking the display device executing the display method as an example.
[0082] Figure 6 is a flow chart of a display device provided in an embodiment of the present application, such as Figure 6 As shown, the display device 200 includes:
[0083] A receiving module 201, configured to receive a first operation;
[0084] The display module 202 is used to display N operation objects in response to the first operation, and determine the arrangement of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation objects include shortcut control switches, and N is an integer greater than 1.
[0085] Optionally, the N operation objects are displayed in an area where the first operation is located;
[0086] The N operation objects are arranged in order of priority from high to low, from a position close to a starting position of the first operation to a direction away from the starting position of the first operation.
[0087] Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a starting position of the first operation and a sliding direction of the first operation.
[0088] Optionally, the first operation is an operation of sliding from a first position along a first direction;
[0089] The display module 202 is specifically used for:
[0090] In response to the first operation, a first interface is called out from the first position in the first direction, and the N operation objects are displayed on the first interface.
[0091] Optionally, the N operation objects are N shortcut control switches.
[0092] Optionally, the display module 202 includes:
[0093] a determination submodule, configured to determine an arrangement of the N operation objects according to a position of the first operation and priorities of the N operation objects;
[0094] The display submodule is used to display the N operation objects according to the arrangement of the N operation objects.
[0095] Optionally, the determining submodule includes:
[0096] A first determining unit, configured to determine a first coordinate system corresponding to the first operation according to a position of the first operation;
[0097] a transformation unit, configured to transform the coordinates of the N operation objects in the reference coordinate system according to a transformation relationship between the first coordinate system and a predetermined reference coordinate system, so as 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 priority of the N operation objects;
[0098] The second determining unit is used to determine an arrangement of the N operating objects according to the coordinates of the N operating objects in the first coordinate system.
[0099] Optionally, the first determining unit is specifically configured to:
[0100] Determining the origin of the first coordinate system according to the starting position of the first operation;
[0101] The coordinate axes of the first coordinate system are determined according to the sliding direction of the first operation.
[0102] Optionally, the origin of the first coordinate system is a screen corner point close to a starting position of the first operation, and the Y axis of the first coordinate system is the same as a sliding direction of the first operation.
[0103] In the embodiment of the present application, since the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the operation object, no matter how the user's operation position changes, the user's frequently used operation objects can be displayed in an area closer to the user's operation position. Compared with the arrangement of the operation objects in the prior art with relatively fixed positions, the embodiment of the present application can improve the convenience of the user in selecting the operation object.
[0104] The display device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0105] 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, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0106] The display device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0107] Optional, such as Figure 7 As shown, an embodiment of the present application also provides an electronic device 300, including a processor 301, a memory 302, and a program or instruction stored in the memory 302 and executable on the processor 301. When the program or instruction is executed by the processor 301, each process of the above-mentioned display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0108] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0109] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0110] 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 and other components.
[0111] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0112] The user input unit 1007 is used to: receive a first operation;
[0113] The display unit 1006 is used to: display N operation objects in response to the first operation, and determine the arrangement of the N operation objects according to the position of the first operation and the priority of the N operation objects; the operation objects include shortcut control switches, and N is an integer greater than 1.
[0114] Optionally, the N operation objects are displayed in an area where the first operation is located;
[0115] The N operation objects are arranged in order of priority from high to low, from a position close to a starting position of the first operation to a direction away from the starting position of the first operation.
[0116] Optionally, the N operation objects are displayed in a triangular array in a first area, and the first area is determined by a starting position of the first operation and a sliding direction of the first operation.
[0117] Optionally, the first operation is an operation of sliding from a first position along a first direction;
[0118] The display unit 1006 is further configured to: in response to the first operation, call out a first interface from the first position in the first direction, and display the N operation objects on the first interface.
[0119] Optionally, the N operation objects are N shortcut control switches.
[0120] Optionally, the processor 1010 is configured to: determine an arrangement of the N operation objects according to a position of the first operation and priorities of the N operation objects;
[0121] The display unit 1006 is further configured to display the N operation objects according to the arrangement of the N operation objects.
[0122] Optionally, the processor 1010 is further configured to: determine a first coordinate system corresponding to the first operation according to the position of the first operation;
[0123] According to a transformation relationship between the first coordinate system and a predetermined reference coordinate system, the coordinates of the N operation objects in the reference coordinate system are transformed 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;
[0124] An arrangement of the N operation objects is determined according to the coordinates of the N operation objects in the first coordinate system.
[0125] Optionally, the processor 1010 is further configured to: determine the origin of the first coordinate system according to a starting position of the first operation;
[0126] The coordinate axes of the first coordinate system are determined according to the sliding direction of the first operation.
[0127] Optionally, the origin of the first coordinate system is a screen corner point close to a starting 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.
[0128] In the embodiment of the present application, since the arrangement of the N operation objects is determined according to the position of the first operation and the priority of the operation object, no matter how the user's operation position changes, the user's frequently used operation objects can be displayed in an area closer to the user's operation position. Compared with the arrangement of the operation objects in the prior art with relatively fixed positions, the embodiment of the present application can improve the convenience of the user in selecting the operation object.
[0129] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture 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, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called 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, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0130] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0131] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0132] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0133] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0134] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0136] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A display method, characterized in that: include: receiving a first operation; In response to the first operation, N operation objects are displayed, and an arrangement of the N operation objects is determined according to a position of the first operation and a priority of the N operation objects; the operation objects include a shortcut control switch, and N is an integer greater than 1; The first operation is an operation of sliding from a first position along a first direction; The displaying N operation objects in response to the first operation includes: In response 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, the first interface being a control center interface; The N operation objects are displayed in the area where the first operation is located; The N operation objects are arranged in order of priority from high to low, from a position close to a starting position of the first operation to a direction away from the starting position of the first operation; The arrangement of the N operation objects in the reference coordinate system is used as a default arrangement of the N operation objects, and the reference coordinate system is a coordinate system that is preset and associated with the first operation.
2. The method according to claim 1, characterized in that The N operation objects are displayed in a triangular array in a first area, and the first area is determined by a starting position of the first operation and a sliding direction of the first operation.
3. The method according to claim 1, characterized in that: The displaying N operation objects in response to the first operation includes: Determining an arrangement of the N operation objects according to a position of the first operation and priorities of the N operation objects; The N operation objects are displayed according to the arrangement of the N operation objects.
4. The method according to claim 3, characterized in that The determining, according to the position of the first operation and the priorities of the N operation objects, an arrangement of the N operation objects includes: Determine the origin of a first coordinate system according to the starting position of the first operation, and determine the coordinate axes of the first coordinate system according to the sliding direction of the first operation; According to a transformation relationship between the first coordinate system and a predetermined reference coordinate system, the coordinates of the N operation objects in the reference coordinate system are transformed 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; An arrangement of the N operation objects is determined according to the coordinates of the N operation objects in the first coordinate system.
5. A display device, characterized in that: include: A receiving module, configured to receive a first operation; a display module, configured to display N operation objects in response to the first operation, and determine an arrangement of the N operation objects according to a position of the first operation and a priority of the N operation objects; the operation objects include a shortcut control switch, and N is an integer greater than 1; The first operation is an operation of sliding from a first position along a first direction; The display module is specifically used for: In response 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, the first interface being a control center interface; The N operation objects are displayed in the area where the first operation is located; The N operation objects are arranged in order of priority from high to low, from a position close to a starting position of the first operation to a direction away from the starting position of the first operation; The arrangement of the N operation objects in the reference coordinate system is used as a default arrangement of the N operation objects, and the reference coordinate system is a coordinate system that is preset and associated with the first operation.
6. The device according to claim 5, characterized in that The N operation objects are displayed in a triangular array in a first area, and the first area is determined by a starting position of the first operation and a sliding direction of the first operation.
7. The device according to claim 5, characterized in that The display module comprises: a determination submodule, configured to determine an arrangement of the N operation objects according to a position of the first operation and priorities of the N operation objects; The display submodule is used to display the N operation objects according to the arrangement of the N operation objects.
8. The device according to claim 7, characterized in that The determination submodule comprises: a first determining unit, configured to determine an origin of a first coordinate system according to a starting position of the first operation, and determine a coordinate axis of the first coordinate system according to a sliding direction of the first operation; a transformation unit, configured to transform the coordinates of the N operation objects in the reference coordinate system according to a transformation relationship between the first coordinate system and a predetermined reference coordinate system, so as 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 priority of the N operation objects; The second determining unit is used to determine an arrangement of the N operating objects according to the coordinates of the N operating objects in the first coordinate system.
