Method for optimizing interface, electronic device, and computer-readable medium

WO2024192683A1PCT designated stage expired Publication Date: 2024-09-26SIEMENS AG +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/082889
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-26

Smart Images

  • Figure CN2023082889_26092024_PF_FP
    Figure CN2023082889_26092024_PF_FP
Patent Text Reader

Abstract

Embodiments of this application mainly relate to the field of human-machine interfaces, and in particular, to a method for optimizing an interface, an electronic device, and a computer-readable medium. The method includes: determining a sequence in which a user gazes at a plurality of UI components on a first interface in an operation panel each of a plurality of times; obtaining a plurality of arrays according to the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times; calculating, according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array; and optimizing the first interface according to the first array.
Need to check novelty before this filing date? Find Prior Art

Description

METHOD FOR OPTIMIZING INTERFACE, ELECTRONIC DEVICE, AND COMPUTER-READABLE MEDIUMTECHNICAL FIELD

[0001] Embodiments of this application mainly relate to the field of human-machine interfaces, and in particular, to a method for optimizing an interface, an electronic device, and a computer-readable medium.BACKGROUND

[0002] A human-machine interface, also referred to as a user interface, is a medium and dialog interface for transmitting and exchanging information about people and computers, and is an important part of a computer system. In recent years, the human-machine interface plays an increasingly important role in the information exchange between the system and the user, and the design of the human-machine interface has become the core factor that affects work efficiency of the user. At present, the design and optimization of the human-machine interface are highly dependent on the participation of professional UX / UI designers, which undoubtedly requires more costs of capital and time costs.

[0003] SUMMARY

[0004] Embodiments of this application provide a method for optimizing an interface, an electronic device, and a computer-readable medium, which can automatically optimize a human-computer interface through an information reading mode under a data-driven mechanism, thereby contributing to improving the interaction efficiency between a user and the human-computer interface.

[0005] According to a first aspect, a method for optimizing an interface is provided, including: determining a sequence in which a user gazes at a plurality of UI components on a first interface in an operation panel each of a plurality of times; obtaining a plurality of arrays according to the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times; calculating, according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array; and optimizing the first interface according to the first array.

[0006] According to a second aspect, an electronic device is provided, including: at least one memory, configured to store computer-readable code; and at least one processor, configured to invoke the computer-readable code to perform the steps in the method provided in the first aspect.

[0007] According to a third aspect, a computer-readable medium is provided, storing computer-readable instructions thereon, the computer-readable instructions, when executed by a processor, causing the processor to perform the steps in the method provided in the first aspect.BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The following accompanying drawings are only intended to give schematic descriptions and explanations of embodiments of this application, but are not intended to limit the scope of the embodiments of this application.

[0009] FIG. 1 is a flowchart of a method for optimizing an interface according to an embodiment of this application.

[0010] FIG. 2 is a schematic diagram of a Markov model according to an embodiment of this application.

[0011] FIG. 3 is a schematic diagram of a potential location map of UI components according to an embodiment of this application.

[0012] FIG. 4 is a schematic diagram of an electronic device according to an embodiment of this application.

[0013] Descriptions of reference numerals: 100: Method for optimizing an interface 101-104: Method steps 400: Electronic device 401: Memory 402: ProcessorDETAILED DESCRIPTION

[0014] A subject described in this specification is discussed now with reference to exemplary implementations. It should be understood that, discussion of the implementations is merely intended to make a person skilled in the art better understand and implement the subject described in this specification, and is not intended to limit the protection scope of the claims, the applicability, or examples. Changes may be made to the functions and arrangements of the discussed elements without departing from the protection scope of the content of the embodiments of this application. Various processes or components may be omitted, replaced,  or added in each example according to requirements. For example, the described method may be performed according to a sequence different from the sequence described herein, and steps may be added, omitted, or combined. In addition, features described in some examples may also be combined in other examples.

[0015] As used in this specification, the term "include" and variants thereof represent open terms, and means "include but is not limited to" . The term "based on" represents "at least partially based on" . The terms "one embodiment" and "an embodiment" represent "at least one embodiment" . The term "another embodiment" represents "at least one another embodiment" . The terms "first" , "second" , and the like may represent different objects or the same object. Other definitions may be included explicitly or implicitly in the following. Unless otherwise clearly specified, the definition of one term is consistent in the entire specification.

[0016] The embodiments of this application are described in detail below with reference to the accompanying drawings.

[0017] FIG. 1 is a flowchart of a method for optimizing an interface according to an embodiment of this application. As shown in FIG. 1, the method 100 for optimizing an interface includes the following steps.

[0018] Step 101: Determine a sequence in which a user gazes at a plurality of UI components on a first interface in an operation panel each of a plurality of times.

[0019] A location of an eye movement on the first interface at a corresponding time stamp is calculated according to the eye movement, the time stamp, and a corresponding interface when the user continuously gazes at the operation panel each of the plurality of times. Optionally, a video stream of the eye movement, the time stamp, and the corresponding interface when the user continuously gazes at the operation panel the plurality of times may be recorded. According to the video stream, the location of the eye movement on the first interface at the corresponding time stamp may be calculated, which may be in the form of a three-element array [time stamp, X location, Y location] . The corresponding interface may be recorded in the form of a dual-element array [time stamp, interface name] . Optionally, the eye movements of the user when continuously gazing at the operation panel the plurality of times may be recorded by using an eye ball tracker or an eye movement tracker.

[0020] Then, after grids of the first interface are extracted, all UI component locations in the grids of the first interface are generated. Optionally, The UI component location may be in the form of a five-element array [component name, X location in the lower left corner, Y location in the lower left corner, X location in the upper right corner, Y location in the upper  right corner] . The location of the eye movement on the first interface at the corresponding time stamp is mapped to the corresponding UI component location in the grid of the first interface, so as to determine the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times, for example, in the form of [serial number, component A, component B, component C, component D, and ... ] . To put it simply, when the location of the eye movement falls within the range of the five-element array of the UI components, it may be determined that the user gazes at the relevant UI components at the corresponding time stamp, and then the sequence in which the user gazes at the plurality of UI components on the first interface may be determined according to the time sequence.

[0021] Optionally, the first interface may be one of various panel interfaces, or may be a sub-interface, such as an interface displayed by a pop-up window and an interface displayed by drawer navigation.

[0022] Step 102: Obtain a plurality of arrays according to the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times.

[0023] Step 103: Calculate, according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array.

[0024] In an embodiment, a conditional probability between any two UI components in the plurality of arrays may be calculated according to the plurality of arrays. Then the most probable sequence in which the user gazes at all the UI components on the first interface in the plurality of arrays is calculated according to the conditional probability between any two UI components in the plurality of arrays, to obtain the first array. Optionally, calculating a probability Pij from a component i to a component j in the plurality of arrays through the following formula, so as to obtain the probability between any two UI components in the plurality of arrays:

[0025] Pij=P (j|i) =P (ij)  / P (i) , where

[0026] Pij represents a probability that the user first gazes at the component i and then gazes at the component j; P (j|i) represents a probability that the component j appears in a next location in the array under the condition that the component i appears in the array; P (ij) represents a probability that the component i and the component j appear at adjacent locations in the array; and P (i) represents a probability that the component i appears alone  in the array.

[0027] In an embodiment, a conditional probability between any two UI components in the plurality of arrays may be calculated according to the plurality of arrays. All the UI components involved in the plurality of arrays and the conditional probability between any two UI components are inputted into a Markov model generator to generate a Markov model. As shown in FIG. 2, all the UI components, such as C1, C2, C3, C4, C5, are represented by nodes, and the conditional probability between any two UI components is represented by an edge connecting two nodes, such as an edge P12 connecting C1 to C2. P12 represents a probability from C1 to C2, and P21 represents a probability from C2 to C1. A most probable path in the Markov model is determined through a Dijkstra algorithm. The most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays is determined according to the most probable path, to obtain the first array. Optionally, the most probable path max (Ptotal) in the Markov model is determined through the Dijkstra algorithm, which may be calculated by using the following formula of the objective function:

[0028] Pij represents the probability that the user first gazes at the component i and then gazes at the component j, and Ptotal represents a sum of the probabilities that a user continuously gazes at a series of components. In an embodiment, a UI component ranking first in each of the plurality of arrays may be recorded, to obtain a first UI component group. Each UI component in the first UI component group is used as a start node in the Markov model. Maximum-probability paths from the start node to all other nodes in the Markov model are calculated through the Dijkstra algorithm. The maximum-probability path corresponding to each start node is obtained. The most probable path is determined from the maximum-probability paths respectively corresponding to the start nodes. The method can improve the utilization rate of information and avoid repeated calculation, thereby further improving the calculation efficiency.

[0029] Step 104: Optimize the first interface according to the first array.

[0030] At least one location where each UI component in the first array exists may be determined according to a grid attribute of the first interface. A potential location map of the UI components is generated according to the sequence of each UI component in the first array and at least one location where each UI component exists in the first array. It is assumed  that according to the grid attribute of the first interface, as shown in FIG. 3, a component 1 has three potential locations, a component 2 has four potential locations, and a component 5 has two potential locations. A path with a minimum Euclidean distance in the potential location map of the UI components is determined through a Dijkstra algorithm. The first interface is optimized according to the location corresponding to each UI component in the path with the minimum Euclidean distance. Optionally, the path min (Dtotal) with the minimum Euclidean distance in the potential location map of UI components is determined through the Dijkstra algorithm, which may be calculated by using the formula of the following objective function, and the location corresponding to each UI component in the path with the minimum Euclidean distance, that is, the optimal location of each UI component, is obtained.

[0031] Dij represents a Euclidean distance between the UI component i and the UI component j on the interface, and Dtotal represents that the components in the first array calculate a distance sum of Euclidean distances on the interface in pairs in sequence from left to right.

[0032] Optionally, when the location corresponding to a first UI component in the path with the minimum Euclidean distance is inconsistent with a current location of the first UI component, HTML or XML on the first interface is operated to move the first UI component to the location corresponding to the first UI component in the path with the minimum Euclidean distance.

[0033] According to the embodiments of this application, the sequence in which the user gazes at different UI components on the first interface in the operation panel a plurality of times is collected, and each gaze sequence is recorded in the form of an array. According to the obtained sequence of different UI components in all the arrays, the most probable sequence in which the user gazes at all UI components on a first interface involved in all the arrays is calculated. Finally, the first interface is optimized by calculating the most probable sequence. According to the embodiments of this application, the sequence in which the user gazes at different UI components on the first interface may be transformed into the basis of optimizing a human-computer interface, thereby completing the optimization of the human-computer interface reasonably and automatically. The optimized human-computer interface can further improve the efficiency of reading an interface by the user and bring a more friendly interactive experience, thereby helping the user finish the work better.

[0034] An embodiment of this application further provides an electronic device 400. FIG. 4 is a schematic diagram of an electronic device 400 according to an embodiment of this application. As shown in FIG. 4, the electronic device 400 includes a processor 402 and a memory 401. The memory 401 stores an instruction, and the instruction is executed by the processor 402 to implement the method 100 as described above.

[0035] At least one processor 402 may include a microprocessor, an application-specific integrated circuit (ASIC) , a digital signal processor (DSP) , a central processing unit (CPU) , a graphics processing unit (GPU) , a state machine, and the like. Examples of the computer-readable medium include, but are not limited to, a floppy disk, a CD-ROM, a magnetic disk, a memory chip, a ROM, a RAM, an ASIC, a configured processor, an all-optical medium, all magnetic tapes, or other magnetic media, or any other medium from which a computer processor can read instructions. In addition, the computer-readable media in various other forms can send or carry instructions to computers, including routers, private or public networks, or other wired and wireless transmission devices or channels. The instructions may include code of any computer programming language, including C, C++, C language, Visual Basic, java, and JavaScript.

[0036] In addition, the embodiments of this application further provides a computer-readable medium. The computer-readable medium stores computer-readable instructions thereon, and the computer-readable instructions, when executed by a processor, cause the processor to perform the method for optimizing an interface described above. Examples of the computer-readable medium include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, a DVD-RW, or a DVD+RW) , a magnetic tape, a non-volatile storage card, and a ROM. Optionally, the computer-readable instructions may be downloaded from a server computer or a cloud by a communication network.

[0037] It should be noted that, not all steps and modules in the procedures and the diagrams of the system structures are necessary, and some steps or modules may be omitted according to an actual requirement. An execution sequence of the steps is not fixed and may be adjusted according to the requirement. The system structure described in the above embodiments may be a physical structure or a logical structure. That is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or may be jointly implemented by some components in a plurality of independent devices.

Claims

1.A method for optimizing an interface, comprising:determining (101) a sequence in which a user gazes at a plurality of UI components on a first interface in an operation panel each of a plurality of times;obtaining (102) a plurality of arrays according to the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times;calculating (103) , according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array; andoptimizing (104) the first interface according to the first array.2.The method according to claim 1, wherein the determining (101) a sequence in which a user gazes at a plurality of UI components on a first interface in an operation panel each of a plurality of times comprises:calculating a location of an eye movement on the first interface at a corresponding time stamp according to the eye movement, the time stamp, and a corresponding interface when the user continuously gazes at the operation panel each of the plurality of times;extracting a grid of the first interface;generating all UI component locations in the grid of the first interface; andmapping the location of the eye movement on the first interface at the corresponding time stamp to the corresponding UI component location in the grid of the first interface, so as to determine the sequence in which the user gazes at the plurality of UI components on the first interface in the operation panel each of the plurality of times.3.The method according to claim 1, wherein the calculating (103) , according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array comprises:calculating a conditional probability between any two UI components in the plurality of arrays according to the plurality of arrays; andcalculating, according to the conditional probability between any two UI components in the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain the first array.4.The method according to claim 3, wherein the calculating a conditional probability between any two UI components in the plurality of arrays comprises: calculating a probability i from a component j to a component Pij in the plurality of arrays through the following formula, so as to obtain the probability between any two UI components in the plurality of arrays:Pij=P (j|i) =P (ij)  / P (i) , whereinPij represents a probability that the user first gazes at the component i and then gazes at the component j; P (j|i) represents a probability that the component j appears at a next location in the array under the condition that the component i appears in the array; P (ij) represents a probability that the component i and the component j appear at adjacent locations in the array; and P (i) represents a probability that the component i appears alone in the array.5.The method according to claim 1, wherein the calculating (103) , according to the plurality of arrays, a most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain a first array comprises:calculating a conditional probability between any two UI components in the plurality of arrays according to the plurality of arrays; andinputting all the UI components involved in the plurality of arrays and the conditional probability between any two UI components into a Markov model generator to generate a Markov model, wherein all the UI components are represented by nodes, and the conditional probability between any two UI components is represented by an edge connecting two nodes;determining a most probable path in the Markov model through a Dijkstra algorithm; anddetermining, according to the most probable path, the most probable sequence in which the user gazes at all the UI components on the first interface involved in the plurality of arrays, to obtain the first array.6.The method according to claim 5, wherein the determining a most probable path in the Markov model through a Dijkstra algorithm comprises:recording a UI component ranking first in each of the plurality of arrays to obtain a first UI component group;using each UI component in the first UI component group as a start node in the Markov model;calculating maximum-probability paths from the start node to all other nodes in the Markov model through the Dijkstra algorithm;obtaining the maximum-probability path corresponding to each start node; anddetermining the most probable path from the maximum-probability paths respectively corresponding to the start nodes.7.The method according to claim 1, wherein the optimizing (104) the first interface according to the first array comprises:determining at least one location where each UI component in the first array exists according to a grid attribute of the first interface;generating a potential location map of the UI components according to the sequence of each UI component in the first array and at least one location where each UI component exists in the first array;determining a path with a minimum Euclidean distance in the potential location map of the UI components through a Dijkstra algorithm; andoptimizing the first interface according to the location corresponding to each UI component in the path with the minimum Euclidean distance.8.The method according to claim 7, wherein the optimizing the first interface according to the location corresponding to each UI component in the path with the minimum Euclidean distance comprises:operating HTML or XML on the first interface to move the first UI component to the location corresponding to a first UI component in the path with the minimum Euclidean distance when the location corresponding to the first UI component in the path with the minimum Euclidean distance is inconsistent with a current location of the first UI component.9.The method according to claim 2, wherein the calculating a location of an eye movement on the first interface at a corresponding time stamp according to the eye movement, the time stamp, and a corresponding interface when the user continuously gazes at the operation panel each of the plurality of times comprises:recording a video stream of the eye movement, the time stamp, and the corresponding interface when the user continuously gazes at the operation panel each of the plurality of times; andcalculating the location of the eye movement on the first interface at the corresponding time stamp according to the video stream.10.An electronic device, comprising:at least one memory (401) , configured to store computer-readable code; andat least one processor (402) , configured to invoke the computer-readable code to perform the steps in the method according to any of claims 1 to 9.11.A computer-readable medium, storing computer-readable instructions thereon, the computer-readable instructions, when executed by a processor, causing the processor to perform the steps in the method according to any of claims 1 to 9.

Citation Information

Patent Citations

  • Page layout control method and device for vehicle-mounted machine display interface

    CN111196281A

  • Automatic testing method and device for application program

    CN112905451A

  • Adjusting emphasis of user interface elements based on user attributes

    US20200341780A1