CN115344152A - Interface operation method and device, electronic equipment and readable storage medium - Google Patents
Interface operation method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN115344152A CN115344152A CN202210823663.8A CN202210823663A CN115344152A CN 115344152 A CN115344152 A CN 115344152A CN 202210823663 A CN202210823663 A CN 202210823663A CN 115344152 A CN115344152 A CN 115344152A
- Authority
- CN
- China
- Prior art keywords
- interface
- determining
- anchor point
- display area
- displayed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
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 provides an interface operation method, an interface operation device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the steps that under the condition that the equipment is in a one-hand operation mode, a first interface corresponding to the equipment and at least one interface element displayed by the first interface are determined, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element; determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface; and displaying at least one anchor point identification by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface. So as to realize the execution of the one-hand operation mode under the condition that the display interface is not reduced.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to an interface operation method and apparatus, an electronic device, and a readable storage medium.
Background
With the rapid development of screen touch technology, terminal devices using touch screens are widely used. Moreover, in order to improve user experience, the screen of the current terminal device, especially a mobile terminal (such as a smart phone), is becoming larger, so that a user can browse information through a larger screen. For a terminal device with a relatively large screen, when a user holds the device by one hand to operate, a phenomenon that a part of the area cannot be contacted often occurs. For example, when a user holds a mobile phone with the right hand to perform one-hand operation, only a partial region of the lower right corner can be touched, but a partial region of the upper left corner cannot be touched. Therefore, most mobile phones set a one-handed operation mode.
Currently, a common one-handed operation mode is to reduce the display interface for displaying interface elements. However, the operation of reducing the display interface is contrary to the original purpose of large-screen design, and the use experience of the user on the large-screen mobile phone is seriously damaged.
Disclosure of Invention
In order to solve the technical problem that the reduced display interface damages the user experience of a large-screen mobile phone, the application provides an interface operation method, an interface operation device, electronic equipment and a readable storage medium.
In a first aspect, a method for operating an interface is provided, where the method includes:
under the condition that equipment is in a one-hand operation mode, determining a first interface corresponding to the equipment and at least one interface element displayed by the first interface, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
and displaying at least one anchor point identification by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface.
In one possible embodiment, the method further comprises:
under the condition of updating the first interface, determining at least one updating element displayed by the updated first interface, and determining whether a repeated element exists between the at least one updating element and the at least one interface element;
when no repeated element exists, determining each updating element as an element to be marked;
adding an anchor point identifier for each element to be marked, wherein the anchor point identifier of each element to be marked is unique.
In one possible embodiment, the method further comprises:
when repeated elements exist, determining a target anchor point identification of the repeated elements, and determining other updated elements except the repeated elements in at least one updated element as elements to be marked;
and adding an anchor point identifier for each element to be marked, wherein the anchor point identifier is different from the target anchor point identifier, and the anchor point identifier of each element to be marked is unique.
In one possible embodiment, the determining a display area on the first interface includes:
determining an operation state corresponding to the single-hand operation mode, wherein the operation state comprises a left-hand operation state and a right-hand operation state;
determining a first candidate region corresponding to the operation state on the first interface according to a preset corresponding relation between the operation state and the candidate region;
determining the display area in the first candidate area.
In one possible embodiment, the determining the display area in the first candidate area includes:
determining a main display area corresponding to the interface element under the condition that the interface element exists in the first candidate area, wherein the main display area is used for displaying main information of the interface element;
and determining other areas except the main display area in the first candidate area as second candidate areas, and determining the display area in the second candidate areas.
In one possible embodiment, the determining a display area on the first interface includes:
determining a third candidate area corresponding to a touch position on the first interface, and determining the display area in the third candidate area, where the touch position is a position where the device receives a touch signal through the first interface.
In a possible embodiment, said presenting at least one anchor point identifier using said second interface includes:
when the number of at least one anchor point identification is larger than a preset number, dividing at least one anchor point identification into at least two groups of identification combinations according to the preset number;
and sequentially displaying each group of the identification combinations in a rolling manner on the second interface.
In a possible embodiment, said presenting at least one anchor point identifier using said second interface includes:
determining a first color corresponding to the display area, and determining a second color based on the first color, wherein the second color is different from the first color;
rendering at least one of the anchor point identifications with the second color;
and displaying the rendered at least one anchor point identifier by utilizing the second interface, wherein the second interface is a transparent interface.
In a possible embodiment, after presenting at least one anchor point identifier using the second interface, the method further includes:
and setting the first interface to be in an inoperable state, wherein the interface in the inoperable state does not receive the touch signal.
In a second aspect, there is provided an interface operating apparatus, the apparatus comprising:
the interface determining module is used for determining a first interface corresponding to the equipment and at least one interface element displayed by the first interface under the condition that the equipment is in a one-hand operation mode, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
the area determining module is used for determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
and the display module is used for displaying at least one anchor point identifier by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identifier displayed by the second interface.
In one possible embodiment, the apparatus further comprises a marking module for:
in the case of updating the first interface, determining at least one updating element displayed by the updated first interface, and determining whether a repeated element exists between the at least one updating element and the at least one interface element;
when no repeated element exists, determining each updating element as an element to be marked;
adding an anchor point identifier for each element to be marked, wherein the anchor point identifier of each element to be marked is unique.
In one possible embodiment, the method marking module is further configured to:
when repeated elements exist, determining a target anchor point identification of the repeated elements, and determining other updated elements except the repeated elements in at least one updated element as elements to be marked;
and adding an anchor point identifier for each element to be marked, wherein the anchor point identifier is different from the target anchor point identifier, and the anchor point identifier of each element to be marked is unique.
In a possible implementation manner, the region determining module is specifically configured to:
determining operation states corresponding to the single-hand operation mode, wherein the operation states comprise a left-hand operation state and a right-hand operation state;
determining a first candidate region corresponding to the operation state on the first interface according to a preset corresponding relation between the operation state and the candidate region;
determining the display area in the first candidate area.
In a possible implementation, the region determining module is further configured to:
determining a main display area corresponding to the interface element under the condition that the interface element exists in the first candidate area, wherein the main display area is used for displaying main information of the interface element;
and determining other areas except the main display area in the first candidate area as second candidate areas, and determining the display area in the second candidate areas.
In a possible implementation, the region determining module is further configured to:
determining a third candidate area corresponding to a touch position on the first interface, and determining the display area in the third candidate area, where the touch position is a position where the device receives a touch signal through the first interface.
In one possible embodiment, the presentation module is configured to:
when the number of at least one anchor point identification is larger than a preset number, dividing at least one anchor point identification into at least two groups of identification combinations according to the preset number;
and sequentially displaying each group of the identification combinations in a rolling manner on the second interface.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the method steps of any of the first aspects.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the interface operation methods described above.
The embodiment of the application has the following beneficial effects:
in the application, under the condition that equipment is in a one-hand operation mode, firstly, a first interface corresponding to the equipment and at least one interface element displayed by the first interface are determined, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element; then, determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface; and finally, displaying at least one anchor point identification by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface.
According to the scheme, the anchor point identification of the interface element in the first interface can be displayed by utilizing the second interface suspended on the first interface (namely the display interface), so that a user can control the interface element in the display interface by operating the anchor point identification in the second interface, a one-hand operation mode is executed under the condition that the display interface is not reduced, and the user experience is improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a flowchart of an interface operation method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an interface operation method according to another embodiment of the present application;
fig. 3 is a flowchart of an interface operation method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an interface operating device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 embodiments of the present application, but not all embodiments. 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.
At present, a common one-handed operation mode is to reduce the display interface for displaying the interface element. However, the operation of reducing the display interface is contrary to the original purpose of large screen design, and the user experience of the large screen mobile phone is seriously damaged. Therefore, the embodiment of the application provides an interface operation method.
An interface operation method provided in the embodiments of the present application will be described in detail below with reference to specific embodiments, as shown in fig. 1, the specific steps are as follows:
s101, under the condition that the equipment is in a one-hand operation mode, a first interface corresponding to the equipment and at least one interface element displayed by the first interface are determined, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element.
The interface operation method provided by the embodiment of the application can be used for realizing the currently displayed interface (namely, a first interface) of the one-handed operation device, wherein the first interface is used for displaying at least one interface element, for example, when the first interface is a main interface of a mobile phone, the interface element can be an application identifier; when the first interface is a video software display interface, the interface elements may be each video cover displayed by the first interface.
It should be noted that, when the user operates to turn the page, the interface after turning the page is taken as the first interface, and S101 is executed again, that is, the currently displayed interface is always taken as the first interface.
In the embodiment of the application, an anchor point identifier for uniquely identifying the interface element may be added to each interface element supporting one-handed operation in the first interface, where the anchor point identifier may be in the form of letters, numbers, or a combination of letters and numbers.
Specifically, when the device is in the one-handed operation mode, a first interface currently displayed by the device and at least one interface element supporting one-handed operation displayed by the first interface may be determined.
S102, a display area is determined on the first interface, a second interface is displayed on the display area, and the second interface is suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface.
S103, displaying at least one anchor point identification by using the second interface, so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface.
The following description collectively describes S102 to S103:
in the embodiment of the present application, the display area is a part of the display area on the first interface, and preferably, the display area is a position on the first interface where a user can operate the display area with one hand.
Specifically, the second interface is displayed in the display area, and is suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface, for example, the second interface may be a smaller interface suspended at the lower left or lower right of the first interface. And then, at least one anchor point identification is displayed by utilizing the second interface, so that a user can control the interface element corresponding to the anchor point identification displayed on the first interface by operating the anchor point identification displayed on the second interface.
For example, the interface elements displayed on the first interface include an element a, an element b, and an element c, where anchor point identifiers corresponding to the element a, the element b, and the element c are sequentially 1, 2, and 3, and then 1, 2, and 3 are displayed through the second interface, when the user selects 1 through the second interface, it is determined that the element a on the first interface is to be operated by the user, when the user selects 2 through the second interface, it is determined that the element b on the first interface is to be operated by the user, and when the user selects 3 through the second interface, it is determined that the element c on the first interface is to be operated by the user.
In the embodiment of the application, the anchor point identification of the interface element in the first interface can be displayed by using the second interface suspended on the first interface (namely the display interface), so that a user can control the interface element in the display interface by operating the anchor point identification in the second interface, thereby realizing the execution of a one-hand operation mode under the condition that the display interface is not reduced, and improving the user experience.
In yet another embodiment of the present application, the method may further comprise the steps of:
under the condition that the equipment is in a one-hand operation mode, aiming at any interface element in at least one interface element, determining a display position corresponding to the interface element on the first interface, and displaying an anchor point identifier corresponding to the interface element on the display position. Therefore, the user can conveniently and visually know the corresponding relation between the anchor point identification and the interface element.
In another embodiment of the present application, as shown in fig. 2, the following steps may be included to add the anchor point identifier of the interface element:
s201, under the condition that the first interface is updated, at least one updating element displayed by the updated first interface is determined, and whether repeated elements exist in the at least one updating element and the at least one interface element is determined.
S202, when no repeated element exists, determining each updating element as an element to be marked;
s203, adding an anchor point identifier for each element to be marked, wherein the anchor point identifier of each element to be marked is unique.
S204, when the repeated elements exist, determining the target anchor point identification of the repeated elements, and determining other updating elements except the repeated elements in at least one updating element as the elements to be marked.
S205, adding an anchor point identification for each element to be marked, wherein the anchor point identification is different from the target anchor point identification, and the anchor point identification of each element to be marked is unique.
In the embodiment of the application, when a user operates to turn pages, the first interface is updated, the interface before the page turning is the first interface before the updating, the interface after the page turning is the first interface after the updating, and the updating element is an interface element displayed on the first interface after the updating.
In the embodiment of the application, when there is no duplicate element between the updated element displayed on the first interface after the update and the interface element displayed on the first interface before the update, it means that there is no unidentified element in the updated element, and therefore, an anchor point identifier for uniquely identifying the updated element is added to each updated element; when the duplicate elements exist, the anchor point identification is added to the duplicate elements in the update elements before the interface is updated, so that only the anchor point identification is added to the update elements to which the anchor point identification is not added (namely, other update elements except the duplicate elements), and the newly added anchor point identification is different from the anchor point identification of the duplicate elements, so that each element on the first interface is ensured to have the unique anchor point identification.
For example, the first interface before updating includes five interface elements a, b, c, d, and e, the anchor point identifiers corresponding to the interface elements are sequentially 1, 2, 3, 4, and 5, and the first interface after updating includes five update elements d, e, f, g, and h, then d and e are repeated elements, and the anchor point identifiers 4 and 5 have been added before updating, so that it is only necessary to add anchor point identifiers for f, g, and h.
Therefore, compared with the method for adding the anchor point identification to all interface elements during interface updating at every time, the method can reduce the workload of adding the anchor point identification and improve the efficiency of adding the anchor point identification.
In another embodiment of the present application, as shown in fig. 3, the S102 may include the following steps:
s301, determining an operation state corresponding to the single-hand operation mode, wherein the operation state comprises a left-hand operation state and a right-hand operation state.
S302, according to a preset corresponding relation between an operation state and a candidate region, determining a first candidate region corresponding to the operation state on the first interface.
S303, determining the display area in the first candidate area.
In this embodiment of the application, the display area may be determined according to the operation state corresponding to the one-handed operation mode, specifically, when the operation state is a left-handed operation state, that is, when the user holds the device with the left hand, the candidate area corresponding to the left-handed operation state is determined as a first candidate area, and the candidate area corresponding to the general left-handed operation state is a position on the left side of the display interface, so that the display area is determined in the first candidate area; when the operation state is a right-hand operation state, namely, when the user holds the equipment by using a right hand, the candidate area corresponding to the right-hand operation state is determined as a first candidate area, and generally, the candidate area corresponding to the right-hand operation state is a position close to the right side of the display interface, so that the display area is determined in the first candidate area. The candidate region corresponding to the left-hand operation state and the candidate region corresponding to the right-hand operation state may be preset by the user.
Alternatively, whether the operation state is the left-hand operation state or the right-hand operation state may be determined by a sensor provided on the apparatus.
In the embodiment of the application, a first candidate area corresponding to the operation state can be determined on the first interface, and then a display area is determined in the first candidate area. Therefore, the position of the display area is consistent with the state (left-hand holding or right-hand holding) of the user holding the equipment, and the use of the user is facilitated.
In another embodiment of the present application, the step S303 may include the following steps:
step one, under the condition that the interface element exists in the first candidate area, determining a main display area corresponding to the interface element, wherein the main display area is used for displaying main information of the interface element.
And step two, determining other areas except the main display area in the first candidate area as second candidate areas, and determining the display area in the second candidate areas.
In the embodiment of the application, the main display area is used for displaying main information of the interface element, wherein the main information refers to important information for describing the interface element, for example, when the interface element is an application program, the main information is a main composition graph in an application program icon and/or a literal name of the application program; if the interface element is a video cover, the main information is a character in the video cover and/or a text introduction on the video cover.
Specifically, whether an interface element exists in the first candidate region may be determined, and in a case that the interface element exists in the first candidate region, the main display region corresponding to the interface element may be determined, and then, the other regions in the first candidate region except the main display region are determined as the second candidate region, and the display region is determined in the second candidate region. That is, the display area is determined in an area that does not affect the user's understanding of the primary content of the interface element (e.g., a background portion in the interface element). Thereby avoiding affecting a user viewing the primary information of the interface element when the display area shows the second interface.
In another embodiment of the present application, the S102 may further include the following steps:
determining a third candidate area corresponding to a touch position on the first interface, and determining the display area in the third candidate area, where the touch position is a position where the device receives a touch signal through the first interface.
In this embodiment, when the user selects the one-handed operation mode, the control device may pop up, on the first interface, a prompt for prompting the user to select a display area, and the user touches a position desired to be the display area on the first interface according to the prompt, and then identifies a touch position of the user, that is, a position where the first interface receives a touch signal, takes an area where the touch position is located as a third candidate area, and determines the display area in the third candidate area. Therefore, the display area is determined according to the user intention, and the user experience is improved.
In another embodiment of the present application, the S103 may include the following steps:
step one, when the number of at least one anchor point mark is larger than a preset number, dividing the at least one anchor point mark into at least two groups of mark combinations according to the preset number.
And step two, sequentially displaying each group of the identification combinations in a rolling manner on the second interface.
In the embodiment of the application, the number of the anchor point identifiers, that is, the number of the interface elements displayed on the first interface, may be determined first, and when the number of the anchor point identifiers is greater than the preset number, it means that all the anchor point identifiers are directly displayed on the second interface at one time, and there is a problem that the display position is insufficient, or because the anchor point identifiers displayed at one time are more, the font is smaller. Therefore, all anchor point identifications can be divided into at least two groups of identification combinations according to the preset number, and then each group of identification combinations are sequentially displayed in a rolling mode on the second interface. Thereby ensuring the display effect of the second interface.
When the number of the anchor point identifications is smaller than or equal to the preset number, the second interface can display all the anchor point identifications at one time under the condition that the display effect is guaranteed, therefore, all the anchor points can be displayed at one time by directly utilizing the second interface, and the operation of a user is facilitated.
In another embodiment of the present application, the S103 may further include the following steps:
determining a first color corresponding to the display area, and determining a second color based on the first color, wherein the second color is different from the first color; rendering at least one of the anchor point identifications with the second color; and displaying the rendered at least one anchor point identification by utilizing the second interface, wherein the second interface is a transparent interface.
In the embodiment of the present application, in order not to affect the user to view the first interface, the second interface is set as a transparent interface, that is, the display area of the first interface can be directly viewed through the second interface. In order to enable the second interface to clearly display each anchor point identifier, in this embodiment, a first color corresponding to the display area may be determined first, where the first color may be one color or a combination of multiple colors, and then a second color different from the first color is determined, and preferably, the second color is a color that is greatly different from the first color. And then, rendering each anchor point identification by using a second color, and displaying all the anchor point identifications rendered by the second color by using a second interface.
In the embodiment of the application, each anchor point identification is rendered by using the second color different from the first color of the display area, and then all the anchor point identifications rendered by the second color are displayed by using the transparent second interface, so that each anchor point identification can be clearly displayed under the condition that the user watches the first interface as far as possible without being influenced.
In another embodiment of the present application, after S103, the following steps may be further included:
and setting the first interface to be in an inoperable state, wherein the interface in the inoperable state does not receive the touch signal.
In this embodiment of the application, the interface in the inoperable state does not receive the touch signal, so as to avoid that the user mistakenly touches the first interface in the one-hand operation mode to cause disorder of the input signal, after all the anchor point identifiers are displayed by using the second interface, only the second interface is kept as the operable interface, and the first interface is set to the inoperable state, that is, the inoperable interface. Therefore, input signal disorder caused by the fact that the user touches the first interface by mistake is avoided.
Based on the same technical concept, an embodiment of the present application further provides an interface operating apparatus, as shown in fig. 4, the apparatus includes:
an interface determining module 401, configured to determine, when a device is in a one-handed operation mode, a first interface corresponding to the device and at least one interface element displayed on the first interface, where each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
a region determining module 402, configured to determine a display region on the first interface, and display a second interface on the display region, so that the second interface is suspended on the first interface, where a size of the second interface is smaller than that of the first interface;
a displaying module 403, configured to display at least one anchor point identifier using the second interface, so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identifier displayed by the second interface.
In one possible embodiment, the apparatus further comprises a marking module for:
under the condition of updating the first interface, determining at least one updating element displayed by the updated first interface, and determining whether a repeated element exists between the at least one updating element and the at least one interface element;
when no repeated element exists, determining each updating element as an element to be marked;
adding an anchor point identifier for each element to be marked, wherein the anchor point identifier of each element to be marked is unique.
In one possible embodiment, the method marking module is further configured to:
when the repeated elements exist, determining target anchor point identification of the repeated elements, and determining other updated elements except the repeated elements in at least one updated element as elements to be marked;
and adding an anchor point identifier for each element to be marked, wherein the anchor point identifier is different from the target anchor point identifier, and the anchor point identifier of each element to be marked is unique.
In a possible implementation manner, the region determining module is specifically configured to:
determining an operation state corresponding to the single-hand operation mode, wherein the operation state comprises a left-hand operation state and a right-hand operation state;
determining a first candidate region corresponding to the operation state on the first interface according to a preset corresponding relation between the operation state and the candidate region;
determining the display area in the first candidate area.
In a possible implementation, the region determining module is further configured to:
determining a main display area corresponding to the interface element under the condition that the interface element exists in the first candidate area, wherein the main display area is used for displaying main information of the interface element;
and determining other areas except the main display area in the first candidate area as second candidate areas, and determining the display area in the second candidate areas.
In a possible implementation, the region determining module is further configured to:
determining a third candidate area corresponding to a touch position on the first interface, and determining the display area in the third candidate area, where the touch position is a position where the device receives a touch signal through the first interface.
In one possible embodiment, the display module is configured to:
when the number of at least one anchor point identification is larger than a preset number, dividing at least one anchor point identification into at least two groups of identification combinations according to the preset number;
and sequentially displaying each group of the identification combinations in a rolling manner on the second interface.
In the embodiment of the application, the anchor point identification of the interface element in the first interface can be displayed by using the second interface suspended on the first interface (namely the display interface), so that a user can control the interface element in the display interface by operating the anchor point identification in the second interface, thereby realizing the execution of a one-hand operation mode under the condition that the display interface is not reduced, and improving the user experience.
Based on the same technical concept, the embodiment of the present application further provides an electronic device, as shown in fig. 5, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114,
a memory 113 for storing a computer program;
the processor 111, when executing the program stored in the memory 113, implements the following steps:
under the condition that equipment is in a one-hand operation mode, determining a first interface corresponding to the equipment and at least one interface element displayed by the first interface, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
and displaying at least one anchor point identification by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above interface operation methods.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the interface operation methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. An interface operation method, characterized in that the method comprises:
under the condition that equipment is in a one-hand operation mode, determining a first interface corresponding to the equipment and at least one interface element displayed by the first interface, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
and displaying at least one anchor point identification by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identification displayed by the second interface.
2. The method of claim 1, further comprising:
under the condition of updating the first interface, determining at least one updating element displayed by the updated first interface, and determining whether a repeated element exists between the at least one updating element and the at least one interface element;
when no repeated element exists, determining each updating element as an element to be marked;
adding an anchor point identifier for each element to be marked, wherein the anchor point identifier of each element to be marked is unique.
3. The method of claim 2, further comprising:
when repeated elements exist, determining a target anchor point identification of the repeated elements, and determining other updated elements except the repeated elements in at least one updated element as elements to be marked;
and adding an anchor point identifier for each element to be marked, wherein the anchor point identifier is different from the target anchor point identifier, and the anchor point identifier of each element to be marked is unique.
4. The method of claim 1, wherein determining a display area on the first interface comprises:
determining an operation state corresponding to the single-hand operation mode, wherein the operation state comprises a left-hand operation state and a right-hand operation state;
determining a first candidate region corresponding to the operation state on the first interface according to a preset corresponding relation between the operation state and the candidate region;
determining the display area in the first candidate area.
5. The method of claim 4, wherein determining the display area in the first candidate area comprises:
determining a main display area corresponding to the interface element under the condition that the interface element exists in the first candidate area, wherein the main display area is used for displaying main information of the interface element;
and determining other areas except the main display area in the first candidate area as second candidate areas, and determining the display area in the second candidate areas.
6. The method of claim 1, wherein the determining a display area on the first interface comprises:
determining a third candidate area corresponding to a touch position on the first interface, and determining the display area in the third candidate area, where the touch position is a position where the device receives a touch signal through the first interface.
7. The method of claim 1, wherein said exposing at least one of said anchor point identifications using said second interface comprises:
when the number of at least one anchor point identification is larger than a preset number, dividing at least one anchor point identification into at least two groups of identification combinations according to the preset number;
and sequentially displaying each group of the identification combinations in a rolling manner on the second interface.
8. An interface operating device, the device comprising:
the interface determining module is used for determining a first interface corresponding to the equipment and at least one interface element displayed by the first interface under the condition that the equipment is in a single-hand operation mode, wherein each interface element corresponds to an anchor point identifier for uniquely identifying the interface element;
the area determining module is used for determining a display area on the first interface, displaying a second interface on the display area, and enabling the second interface to be suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
and the display module is used for displaying at least one anchor point identifier by utilizing the second interface so as to control at least one interface element displayed by the first interface by operating the at least one anchor point identifier displayed by the second interface.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210823663.8A CN115344152B (en) | 2022-07-13 | 2022-07-13 | Interface operation method, device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210823663.8A CN115344152B (en) | 2022-07-13 | 2022-07-13 | Interface operation method, device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115344152A true CN115344152A (en) | 2022-11-15 |
CN115344152B CN115344152B (en) | 2023-09-01 |
Family
ID=83949013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210823663.8A Active CN115344152B (en) | 2022-07-13 | 2022-07-13 | Interface operation method, device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115344152B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012027645A2 (en) * | 2010-08-27 | 2012-03-01 | Intel Corporation | Techniques for a display navigation system |
CN105929983A (en) * | 2016-04-22 | 2016-09-07 | 北京奇艺世纪科技有限公司 | Operation method and device of mobile equipment |
CN106445354A (en) * | 2016-11-24 | 2017-02-22 | 北京小米移动软件有限公司 | Terminal equipment touch control method and terminal equipment touch control device |
US20170315720A1 (en) * | 2016-04-29 | 2017-11-02 | Hisense Mobile Communications Technology Co., Ltd. | Method and apparatus for performing touch operation in a mobile device |
US20170344254A1 (en) * | 2015-01-19 | 2017-11-30 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling electronic device |
CN107704189A (en) * | 2017-10-27 | 2018-02-16 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for controlling terminal |
US20180203595A1 (en) * | 2017-01-13 | 2018-07-19 | International Business Machines Corporation | Creating and manipulating layers on a user device using touch gestures |
CN111414116A (en) * | 2020-02-21 | 2020-07-14 | 网易(杭州)网络有限公司 | Information display control method and device, electronic equipment and storage medium |
US20210149558A1 (en) * | 2019-11-20 | 2021-05-20 | Baide Online Network Technology (Beijing) Co., Tld. | Method and apparatus for controlling terminal device, and non-transitory computer-readle storage medium |
CN113535033A (en) * | 2021-08-04 | 2021-10-22 | 北京字跳网络技术有限公司 | Control method and device for multimedia content display, electronic equipment and medium |
CN113589926A (en) * | 2021-07-13 | 2021-11-02 | 杭州灵伴科技有限公司 | Virtual interface operation method, head-mounted display device and computer readable medium |
CN113835608A (en) * | 2021-09-13 | 2021-12-24 | 珠海格力电器股份有限公司 | Touch control method and device, storage medium, processor and touch equipment |
-
2022
- 2022-07-13 CN CN202210823663.8A patent/CN115344152B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012027645A2 (en) * | 2010-08-27 | 2012-03-01 | Intel Corporation | Techniques for a display navigation system |
US20170344254A1 (en) * | 2015-01-19 | 2017-11-30 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling electronic device |
CN105929983A (en) * | 2016-04-22 | 2016-09-07 | 北京奇艺世纪科技有限公司 | Operation method and device of mobile equipment |
US20170315720A1 (en) * | 2016-04-29 | 2017-11-02 | Hisense Mobile Communications Technology Co., Ltd. | Method and apparatus for performing touch operation in a mobile device |
CN106445354A (en) * | 2016-11-24 | 2017-02-22 | 北京小米移动软件有限公司 | Terminal equipment touch control method and terminal equipment touch control device |
US20180203595A1 (en) * | 2017-01-13 | 2018-07-19 | International Business Machines Corporation | Creating and manipulating layers on a user device using touch gestures |
CN107704189A (en) * | 2017-10-27 | 2018-02-16 | 努比亚技术有限公司 | A kind of method, terminal and computer-readable recording medium for controlling terminal |
US20210149558A1 (en) * | 2019-11-20 | 2021-05-20 | Baide Online Network Technology (Beijing) Co., Tld. | Method and apparatus for controlling terminal device, and non-transitory computer-readle storage medium |
CN111414116A (en) * | 2020-02-21 | 2020-07-14 | 网易(杭州)网络有限公司 | Information display control method and device, electronic equipment and storage medium |
CN113589926A (en) * | 2021-07-13 | 2021-11-02 | 杭州灵伴科技有限公司 | Virtual interface operation method, head-mounted display device and computer readable medium |
CN113535033A (en) * | 2021-08-04 | 2021-10-22 | 北京字跳网络技术有限公司 | Control method and device for multimedia content display, electronic equipment and medium |
CN113835608A (en) * | 2021-09-13 | 2021-12-24 | 珠海格力电器股份有限公司 | Touch control method and device, storage medium, processor and touch equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115344152B (en) | 2023-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10180831B2 (en) | Terminal device for downloading and installing an application and method thereof | |
CN107181858B (en) | Method and terminal for displaying notification message | |
US8832578B1 (en) | Visual clipboard on soft keyboard | |
CN107810468B (en) | Application program switching method and electronic equipment applying same | |
US20200192537A1 (en) | Page browsing | |
JP7490084B2 (en) | Message detail screen display method, device and electronic device | |
US11720370B2 (en) | Electronic apparatus and method of executing application program | |
CN111695151A (en) | Application permission setting method and device, electronic equipment and readable storage medium | |
WO2022161471A1 (en) | Display method and apparatus, and electronic device | |
WO2018161642A1 (en) | Method and apparatus for index positioning, and computer storage medium | |
CN113359999B (en) | Candidate word updating method and device and electronic equipment | |
CN114265653A (en) | Interface display method, device, equipment, storage medium and program product | |
CN112286554B (en) | Application program updating method, device, electronic equipment and readable storage medium | |
CN113656718A (en) | Theme switching method and device | |
CN111610917B (en) | Display method, display device and electronic equipment | |
WO2023241612A1 (en) | File selection method and apparatus, electronic device, and readable storage medium | |
CN111597009A (en) | Application program display method and device and terminal equipment | |
CN113407075A (en) | Icon sorting method and device and electronic equipment | |
WO2023103901A1 (en) | Application management method and apparatus, and electronic device | |
CN115344152B (en) | Interface operation method, device, electronic equipment and readable storage medium | |
CN110716782A (en) | Information display method and device and electronic equipment | |
WO2022135294A1 (en) | Candidate word display method and apparatus, and electronic device | |
CN112433741B (en) | Page processing method, device and system, electronic equipment and storage medium | |
CN114416264A (en) | Message display method and device | |
US20160266780A1 (en) | Electronic devices, methods for operating user interface and computer program products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |