CN115344152B - Interface operation method, device, electronic equipment and readable storage medium - Google Patents

Interface operation method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115344152B
CN115344152B CN202210823663.8A CN202210823663A CN115344152B CN 115344152 B CN115344152 B CN 115344152B CN 202210823663 A CN202210823663 A CN 202210823663A CN 115344152 B CN115344152 B CN 115344152B
Authority
CN
China
Prior art keywords
interface
anchor point
determining
updated
display area
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.)
Active
Application number
CN202210823663.8A
Other languages
Chinese (zh)
Other versions
CN115344152A (en
Inventor
皮基庆
王晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202210823663.8A priority Critical patent/CN115344152B/en
Publication of CN115344152A publication Critical patent/CN115344152A/en
Application granted granted Critical
Publication of CN115344152B publication Critical patent/CN115344152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

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. Under the condition that equipment is in a single-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, and displaying a second interface on the display area to enable the second interface to be suspended on the first interface, wherein the second interface is smaller than the first interface in size; and displaying at least one anchor point identifier by using the second interface so as to control at least one interface element displayed by the first interface by operating at least one anchor point identifier displayed by the second interface. So as to realize the execution of a one-hand operation mode without shrinking the display interface.

Description

Interface operation method, device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an interface operation method, an apparatus, an electronic device, and a readable storage medium.
Background
With the rapid development of screen touch technology, terminal devices employing a touch screen are widely used. Moreover, in order to enhance user experience, current terminal devices, especially mobile terminals (such as smartphones), have increasingly large screens, so that users can browse information through larger screens. For terminal devices with relatively large screens, when a user performs an operation with a single hand-held device, a phenomenon that a part of the area is not contacted often occurs. For example, when a user holds a mobile phone with his right hand for one-handed operation, only a partial region in the lower right corner is often touched, and a partial region in the upper left corner is not touched. Therefore, currently, most mobile phones are set in a single-hand operation mode.
Currently, a common one-handed mode of operation is generally to narrow down the presentation interface for presenting interface elements. However, the operation of shrinking the display interface is contrary to the original purpose of designing the large screen, and seriously damages the use experience of the user on the large screen mobile phone.
Disclosure of Invention
In order to solve the technical problem that the use experience of a user on a large-screen mobile phone is damaged by shrinking the display interface, the application provides an interface operation method, an interface operation device, electronic equipment and a readable storage medium.
In a first aspect, there is provided an interface operation method, the method comprising:
under the condition that equipment is in a single-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, and displaying a second interface on the display area to enable the second interface to be suspended on the first interface, wherein the second interface is smaller than the first interface in size;
and displaying at least one anchor point identifier by using the second interface so as to control at least one interface element displayed by the first interface by operating at least one anchor point identifier displayed by the second interface.
In one possible embodiment, the method further comprises:
under the condition that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not;
when no repeated element exists, determining each updated element as an element to be marked;
and adding anchor point identifiers 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 a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element 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 implementation manner, 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;
according to a preset corresponding relation between the operation state and the candidate region, determining a first candidate region corresponding to the operation state on the first interface;
the display area is determined in the first candidate area.
In one possible implementation manner, 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 a second candidate area, and determining the display area in the second candidate area.
In one possible implementation manner, the determining a display area on the first interface includes:
and determining a third candidate area corresponding to the touch position on the first interface, and determining the display area in the third candidate area, wherein the touch position is the position of the equipment for receiving a touch signal through the first interface.
In a possible implementation manner, the displaying, with the second interface, at least one anchor point identifier includes:
when the number of at least one anchor point mark is larger than the preset number, dividing the at least one anchor point mark into at least two groups of mark combinations according to the preset number;
and sequentially scrolling and displaying each group of identification combinations on the second interface.
In a possible implementation manner, the displaying, with the second interface, at least one anchor point identifier 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 using the second interface, wherein the second interface is a transparent interface.
In one possible implementation manner, after the displaying at least one anchor point identifier by 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 a touch signal.
In a second aspect, there is provided an interface operation 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 and displaying a second interface on the display area so that the second interface is 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 using the second interface so as to control at least one interface element displayed by the first interface by operating 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 that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not;
when no repeated element exists, determining each updated element as an element to be marked;
and adding anchor point identifiers 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 a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element 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 implementation manner, the area 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;
according to a preset corresponding relation between the operation state and the candidate region, determining a first candidate region corresponding to the operation state on the first interface;
the display area is determined in the first candidate area.
In one possible embodiment, the area 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 a second candidate area, and determining the display area in the second candidate area.
In one possible embodiment, the area determining module is further configured to:
and determining a third candidate area corresponding to the touch position on the first interface, and determining the display area in the third candidate area, wherein the touch position is the position of the equipment for receiving 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 mark is larger than the preset number, dividing the at least one anchor point mark into at least two groups of mark combinations according to the preset number;
and sequentially scrolling and displaying each group of identification combinations on the second interface.
In a third aspect, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, where 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 aspects when executing a program stored on a memory.
In a fourth aspect, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of the first aspects.
In a fifth aspect, there is provided a computer program product comprising 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 beneficial effects that:
the embodiment of the application provides an interface operation method, an interface operation device, electronic equipment and a readable storage medium, wherein under the condition that equipment is in a single-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; then, determining a display area on the first interface, and displaying a second interface on the display area to enable the second interface to be suspended on the first interface, wherein the second interface is smaller than the first interface in size; finally, at least one anchor point identifier is displayed by the second interface, so that at least one interface element displayed by the first interface is controlled by operating at least one anchor point identifier 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 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, a one-hand operation mode is implemented under the condition that the display interface is not reduced, and the user experience is improved.
Of course, it is not necessary for any one product or method of practicing the application to achieve all of the advantages set forth above at the same time.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flowchart of an interface operation method according to an embodiment of the present application;
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 operation 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Because of the current, the common one-handed mode of operation is generally to narrow the presentation interface for presenting the interface elements. However, the operation of shrinking the display interface is contrary to the original purpose of designing the large screen, and seriously damages the use experience of the user on the large screen mobile phone. Therefore, the embodiment of the application provides an interface operation method.
The following will describe in detail an interface operation method provided in the embodiment of the present application with reference to a specific embodiment, as shown in fig. 1, the specific steps are as follows:
s101, under the condition that equipment is in a single-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.
The interface operation method provided by the embodiment of the application can be used for realizing the interface (namely, the first interface) currently displayed by the single-hand operation equipment, wherein the first interface is used for displaying at least one interface element, for example, when the first interface is a mobile phone main interface, the interface element can be identified for each application; when the first interface is a video software display interface, the interface elements can be the video covers displayed by the first interface.
It should be noted that when the user operates to turn the page, the interface after the page is turned 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, the anchor point identification for uniquely identifying the interface element can be added for each interface element supporting one-hand operation in the first interface, wherein the anchor point identification can be in the form of letters, numbers, a combination of letters and numbers, or the like.
Specifically, under the condition that the device is in a single-hand operation mode, a first interface currently displayed by the device and at least one interface element supporting single-hand operation displayed by the first interface can be determined.
S102, determining a display area on the first interface, and displaying a second interface on the display area to enable 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.
S103, displaying at least one anchor point identifier by using the second interface so as to control at least one interface element displayed by the first interface by operating at least one anchor point identifier displayed by the second interface.
S102 to S103 are collectively described below:
in the embodiment of the 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, which is convenient for a user to operate by one hand.
Specifically, the second interface is displayed in the display area, so that the second interface 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 further, displaying at least one anchor point identifier by using the second interface, so that a user can control the interface element displayed on the first interface and corresponding to the anchor point identifier by operating the anchor point identifier displayed on the second interface.
For example, the interface elements displayed in the first interface include an element a, an element b, and an element c, where anchor points 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, the element a on the first interface is determined to be operated by the user, when the user selects 2 through the second interface, the element b on the first interface is determined to be operated by the user, and when the user selects 3 through the second interface, the element c on the first interface is determined 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:
and under the condition that the equipment is in a single-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, a user can intuitively know the corresponding relation between the anchor point identification and the interface element.
In yet another embodiment of the present application, as shown in FIG. 2, the steps of adding anchor point identification of interface elements may include:
s201, under the condition that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not.
S202, when no repeated element exists, determining each updated element as an element to be marked;
s203, adding anchor point identifiers for the elements to be marked according to each element to be marked, wherein the anchor point identifiers of each element to be marked are unique.
S204, when a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element in at least one updated element as elements to be marked.
S205, adding anchor point identifiers for each element to be marked, wherein the anchor point identifiers are different from the target anchor point identifiers, and the anchor point identifiers of each element to be marked are unique.
In the embodiment of the application, when a user operates to turn pages, the first interface is updated, the interface before turning pages is the first interface before updating, the interface after turning pages is the first interface after updating, and the updating elements are interface elements displayed by the first interface after updating.
In the embodiment of the application, when the updated element displayed by the updated first interface and the interface element displayed by the first interface before the update do not have repeated elements, the fact that the updated element does not have unidentified elements means that each updated element has unidentified elements, so that anchor point identifiers for uniquely identifying the updated elements are added for each updated element; when the repeated element exists, the repeated element in the updated element is added with the anchor point identification before the interface is updated, so that the anchor point identification is only added for the updated element (namely, other updated elements except the repeated element) without the anchor point identification, and the newly added anchor point identification is different from the anchor point identification of the repeated element, 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 a, b, c, d, e five interface elements, the corresponding anchor point identifiers of which are sequentially 1, 2, 3, 4 and 5, and the first interface after updating includes d, e, f, g, h five updating elements, d and e are repeating elements, and the anchor point identifiers 4 and 5 are added before updating, so that the anchor point identifiers are only added for f, g and h.
Therefore, compared with the process of adding anchor point identifiers to all interface elements when updating the interface each time, the workload of adding the anchor point identifiers can be reduced, and the efficiency of adding the anchor point identifiers is improved.
In yet another embodiment of the present application, as shown in fig. 3, the step 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, determining a first candidate area corresponding to the operation state on the first interface according to the corresponding relation between the preset operation state and the candidate area.
S303, determining the display area in the first candidate area.
In the embodiment of the application, the display area can be determined according to the operation state corresponding to the single-hand operation mode, specifically, when the operation state is a left-hand operation state, that is, when the user uses the left-hand holding device, the candidate area corresponding to the left-hand operation state is determined as the first candidate area, and the candidate area corresponding to the left-hand operation state is generally the position near the left 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, that is, when the user holds the device with the right hand, the candidate region corresponding to the right-hand operation state is determined as the first candidate region, and the candidate region corresponding to the general right-hand operation state is a position near the right of the display interface, and then the display region is determined in the first candidate region. The candidate area corresponding to the left-hand operation state and the candidate area corresponding to the right-hand operation state may be preset by a user.
Alternatively, the operational state may be determined by a sensor provided on the device as a left-hand operational state or a right-hand operational state.
In the embodiment of the application, the first candidate area corresponding to the operation state can be determined on the first interface, and then the display area is determined in the first candidate area. Therefore, the position of the display area is matched with the state (left hand holding or right hand holding) of the equipment held by the user, and the use of the equipment is convenient for the user.
In yet another embodiment of the present application, the step S303 may include the steps of:
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 secondly, determining other areas except the main display area in the first candidate area as a second candidate area, and determining the display area in the second candidate area.
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 icon of the application program, and/or a text name of the application program; for example, when the interface element is a video cover, the main information is characters in the video cover, and/or text introduction on the video cover.
Specifically, whether an interface element exists in the first candidate region may be determined first, and if the interface element exists in the first candidate region, a main display region corresponding to the interface element may be determined, and further, other regions except the main display region in the first candidate region are determined as second candidate regions, and a 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 knowledge of the main content of the interface element (e.g., a background portion in the interface element). Thereby avoiding affecting the user's viewing of the primary information of the interface element when the second interface is presented in the display area.
In yet another embodiment of the present application, the step S102 may further include the following steps:
and determining a third candidate area corresponding to the touch position on the first interface, and determining the display area in the third candidate area, wherein the touch position is the position of the equipment for receiving a touch signal through the first interface.
In the embodiment of the application, when the user selects the one-hand operation mode, the control device may pop up a prompt for prompting the user to select the display area on the first interface, and the user touches the position desired to be the display area on the first interface according to the prompt, so as to identify the touch position of the user, that is, the position of the first interface where the touch signal is received, take the area where the touch position is located as a third candidate area, and determine the display area in the third candidate area. Therefore, the display area is determined according to the user will, and the user experience is improved.
In yet another embodiment of the present application, the step S103 may include the steps of:
step one, when the number of at least one anchor point mark is larger than the 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 scrolling and displaying each group of identification combinations on the second interface.
In the embodiment of the application, the number of the anchor point identifiers, namely the number of the interface elements displayed by the first interface, can be determined first, and when the number of the anchor point identifiers is larger than the preset number, the second interface is directly used for displaying all the anchor point identifiers at one time, so that the problem that the display position is insufficient or the fonts are smaller due to the fact that the number of the anchor point identifiers displayed at one time is more exists. Therefore, all anchor point identifiers can be divided into at least two groups of identifier combinations according to the preset quantity, and each group of identifier combinations is sequentially displayed in a rolling mode on the second interface. Thereby ensuring the display effect of the second interface.
And when the number of the anchor point identifiers is smaller than or equal to the preset number, the second interface can display all the anchor point identifiers at one time under the condition of ensuring the display effect, so that all the anchor points can be displayed at one time by directly utilizing the second interface, and the operation of a user is convenient.
In yet another embodiment of the present application, the step S103 may further include the steps of:
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 using the second interface, wherein the second interface is a transparent interface.
In the embodiment of the application, in order not to influence the user to watch the first interface, the second interface is set to be a transparent interface, that is, the display area of the first interface can be directly watched through the second interface. In order to make it possible for the second interface to clearly show 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 further a second color different from the first color is determined, and preferably, the second color is a color with a larger difference from the first color. And then, rendering each anchor point identifier by using the second color, and displaying all anchor point identifiers rendered by the second color by using a second interface.
In the embodiment of the application, each anchor point identifier is rendered by using the second color different from the first color of the display area, and then, all anchor point identifiers rendered by the second color are displayed by using the transparent second interface, so that each anchor point identifier can be clearly displayed under the condition that the first interface is watched by a user as little as possible.
In still another embodiment of the present application, after the step S103, the method may further include the steps of:
and setting the first interface to be in an inoperable state, wherein the interface in the inoperable state does not receive a touch signal.
In the embodiment of the application, the interface in the inoperable state does not receive the touch signal, so as to avoid the disorder of the input signal caused by the user touching the first interface by mistake in the single-hand operation mode, only the second interface is reserved as the operable interface after displaying all anchor point identifiers by using the second interface, and the first interface is set to be in the inoperable state, namely the inoperable interface. Thereby avoiding the disturbance of the input signal caused by the user touching the first interface by mistake.
Based on the same technical concept, the embodiment of the application further provides an interface operation device, as shown in fig. 4, which includes:
an interface determining module 401, configured to determine, when the device is in a one-handed operation mode, a first interface corresponding to the device and at least one interface element displayed by the first interface, where each interface element corresponds to an anchor 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 presentation module 403, configured to present at least one of the anchor identifiers by using the second interface, so as to control at least one of the interface elements presented by the first interface by operating at least one of the anchor identifiers presented by the second interface.
In one possible embodiment, the apparatus further comprises a marking module for:
under the condition that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not;
when no repeated element exists, determining each updated element as an element to be marked;
and adding anchor point identifiers 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 a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element 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 implementation manner, the area 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;
according to a preset corresponding relation between the operation state and the candidate region, determining a first candidate region corresponding to the operation state on the first interface;
the display area is determined in the first candidate area.
In one possible embodiment, the area 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 a second candidate area, and determining the display area in the second candidate area.
In one possible embodiment, the area determining module is further configured to:
and determining a third candidate area corresponding to the touch position on the first interface, and determining the display area in the third candidate area, wherein the touch position is the position of the equipment for receiving 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 mark is larger than the preset number, dividing the at least one anchor point mark into at least two groups of mark combinations according to the preset number;
and sequentially scrolling and displaying each group of identification combinations 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 perform communication with each other through the communication bus 114,
a memory 113 for storing a computer program;
the processor 111 is configured to execute a program stored in the memory 113, and implement the following steps:
under the condition that equipment is in a single-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, and displaying a second interface on the display area to enable the second interface to be suspended on the first interface, wherein the second interface is smaller than the first interface in size;
and displaying at least one anchor point identifier by using the second interface so as to control at least one interface element displayed by the first interface by operating at least one anchor point identifier displayed by the second interface.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include 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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of any of the interface operation methods described above.
In yet another embodiment of the present application, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the interface operation methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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)), etc.
It should be noted that in this document, relational terms such as "first" and "second" and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the 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 (8)

1. A method of interface operation, the method comprising:
under the condition that equipment is in a single-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, and displaying a second interface on the display area to enable the second interface to be suspended on the first interface, wherein the second interface is smaller than the first interface in size;
displaying at least one anchor point identifier by using the second interface so as to control at least one interface element displayed by the first interface by operating at least one anchor point identifier displayed by the second interface;
wherein the method further comprises:
under the condition that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not;
when no repeated element exists, determining each updated element as an element to be marked;
adding anchor point identifiers for each element to be marked, wherein the anchor point identifier of each element to be marked is unique;
wherein the method further comprises:
when a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element 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.
2. The method of claim 1, wherein the 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;
according to a preset corresponding relation between the operation state and the candidate region, determining a first candidate region corresponding to the operation state on the first interface;
the display area is determined in the first candidate area.
3. The method of claim 2, wherein the determining the display region in the first candidate region 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 a second candidate area, and determining the display area in the second candidate area.
4. The method of claim 1, wherein the determining a display area on the first interface comprises:
and determining a third candidate area corresponding to the touch position on the first interface, and determining the display area in the third candidate area, wherein the touch position is the position of the equipment for receiving a touch signal through the first interface.
5. The method of claim 1, wherein the exposing at least one of the anchor point identifications with the second interface comprises:
when the number of at least one anchor point mark is larger than the preset number, dividing the at least one anchor point mark into at least two groups of mark combinations according to the preset number;
and sequentially scrolling and displaying each group of identification combinations on the second interface.
6. An interface operation device, characterized in that the device comprises:
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 and displaying a second interface on the display area so that the second interface is suspended on the first interface, wherein the size of the second interface is smaller than that of the first interface;
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 at least one anchor point identifier displayed by the second interface;
wherein the device further comprises a marking module for:
under the condition that the first interface is updated, determining at least one updated element displayed by the updated first interface, and determining whether at least one updated element and at least one interface element have repeated elements or not;
when no repeated element exists, determining each updated element as an element to be marked;
adding anchor point identifiers for each element to be marked, wherein the anchor point identifier of each element to be marked is unique;
wherein, marking module is still used for:
when a repeated element exists, determining a target anchor point identification of the repeated element, and determining other updated elements except the repeated element 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.
7. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-5 when executing a program stored on a memory.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
CN202210823663.8A 2022-07-13 2022-07-13 Interface operation method, device, electronic equipment and readable storage medium Active CN115344152B (en)

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 CN115344152A (en) 2022-11-15
CN115344152B true 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 (8)

* Cited by examiner, † Cited by third party
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
CN107704189A (en) * 2017-10-27 2018-02-16 努比亚技术有限公司 A kind of method, terminal and computer-readable recording medium for controlling terminal
CN111414116A (en) * 2020-02-21 2020-07-14 网易(杭州)网络有限公司 Information display control method and device, electronic equipment and 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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571832A (en) * 2015-01-19 2015-04-29 三星电子(中国)研发中心 Mobile terminal and control system and method thereof
CN106020678A (en) * 2016-04-29 2016-10-12 青岛海信移动通信技术股份有限公司 Method and device for implementing touch operation in mobile equipment
US10613747B2 (en) * 2017-01-13 2020-04-07 International Business Machines Corporation Creating and manipulating layers on a user device using touch gestures
CN112825013A (en) * 2019-11-20 2021-05-21 百度在线网络技术(北京)有限公司 Control method and device of terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
CN107704189A (en) * 2017-10-27 2018-02-16 努比亚技术有限公司 A kind of method, terminal and computer-readable recording medium for controlling terminal
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
CN115344152A (en) 2022-11-15

Similar Documents

Publication Publication Date Title
US10180831B2 (en) Terminal device for downloading and installing an application and method thereof
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
TWI438675B (en) Method, device and computer program product for providing a context-aware help content
CN107357483B (en) Data sharing method and device, computer equipment and computer readable storage medium
US11397522B2 (en) Page browsing
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
CN111695151A (en) Application permission setting method and device, electronic equipment and readable storage medium
CN111694490B (en) Setting method and device and electronic equipment
WO2018161642A1 (en) Method and apparatus for index positioning, and computer storage medium
CN106599257B (en) Method for realizing page shortcut and electronic equipment
CN114265653A (en) Interface display method, device, equipment, storage medium and program product
CN106598617A (en) Method for setting webpage shortcut, and electronic equipment
CN113407075A (en) Icon sorting method and device and electronic equipment
CN115344152B (en) Interface operation method, device, electronic equipment and readable storage medium
WO2023093590A1 (en) Display control method and apparatus, and electronic device and medium
CN111061414A (en) Skin replacement method and device, electronic equipment and readable storage medium
CN110716782A (en) Information display method and device and electronic equipment
US20150234546A1 (en) Method for Quickly Displaying a Skype Contacts List and Computer Program Thereof and Portable Electronic Device for Using the Same
CN111610917B (en) Display method, display device and electronic equipment
CN114416264A (en) Message display method and device
CN113656718A (en) Theme switching method and device
CN109885217B (en) Entity identification indication method and device based on playing view
CN112764551A (en) Vocabulary display method and device and electronic equipment
US20160266780A1 (en) Electronic devices, methods for operating user interface and computer program products
CN112925456A (en) Display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant