Interface generation method and system and storage medium

By obtaining interface module properties and priorities, determining module relevance, and adjusting display positions and layout order, the problem of long Arabic interface operation paths in the prior art is solved, thereby improving the user experience.

CN120723237APending Publication Date: 2025-09-30CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510881087.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

When generating Arabic interfaces, existing technologies fail to take into account the user's operating logic and reading habits of different languages, resulting in a longer operation path and a poor user experience.

Method used

By obtaining the properties and priorities of the interface modules, determining the correlation between modules, and merging or maintaining the properties of the interface modules based on the correlation, adjusting their display position and layout order in the RTL interface to meet the needs of reading habits and operation logic.

Benefits of technology

The generated interface takes into account the user's operating logic and reading habits in different languages ​​without changing the operation path, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723237A_ABST
    Figure CN120723237A_ABST
Patent Text Reader

Abstract

The invention provides an interface generation method and system and a storage medium. The method comprises the steps of obtaining a first interface attribute and a first priority of an interface module in a first interface; determining correlation between the interface modules; determining a combined interface module and an uncombined interface module according to the correlation, and determining a corresponding second interface attribute according to the first interface attributes of the combined interface module and the uncombined interface module; determining display positions and layout sequences of the combined interface module and the uncombined interface module according to second interface attributes and second priorities corresponding to the combined interface module and the uncombined interface module; and generating a second interface according to the display position and the layout sequence. By judging the interface attribute of the interface module and performing interface design based on the correlation of the interface module and the first priority, the operation logic of a user and the reading habits of languages of different interfaces can be considered under the condition that the operation path of the interface is not changed, and the use experience and the operation efficiency of the user are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal technology, and in particular to an interface generation method, an interface generation system, and a computer-readable storage medium. Background Art

[0002] With the rapid development of electric vehicles in China and growing demand in the international market, Chinese electric vehicles are accelerating their expansion into overseas markets. As a key exporting country, the Arab region has become increasingly important for the localization of its interface design.

[0003] However, Arabic's right-to-left (RTL) writing and reading order differs significantly from the left-to-right (LTR) writing and reading order of modern Chinese characters and English. Currently, the Arabic interface design for in-car computers primarily follows the design principles of smart devices such as mobile phones, tablets, and computers. This mirrors the LTR platform-based design interface and outputs the RTL design interface, resulting in the mechanical movement of action items from the far left to the far right. However, this approach lengthens the user's operation path and fails to take into account user operation logic and reading habits in different languages, resulting in low user efficiency and a poor user experience. Summary of the Invention

[0004] The embodiments of the present invention provide an interface generation method, system and storage medium to solve the problem in related technologies that the generated interface lengthens the user's operation path, makes it difficult to take into account the user's operation logic and reading habits in different languages, and results in low user operation efficiency and poor user experience.

[0005] An embodiment of the present invention discloses a method for generating an interface, the method comprising: Obtaining a first interface attribute and a first priority of an interface module in a first interface; Determining the correlation between the interface modules in the first interface; In the case where the interface modules are merged into a merged interface module according to the correlation, determining a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module; In the case where the interface module is regarded as an unmerged interface module according to the correlation, determining a second interface attribute of the unmerged interface module according to the first interface attribute of the unmerged interface module; determining, based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, a display position and a layout order of the merged interface module and the unmerged interface module in the second interface, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; A second interface is generated according to the display position and the layout order.

[0006] Optionally, determining correlation scores between interface modules based on functional definitions of the interface modules; In the case where the relevance score is greater than or equal to a relevance score threshold, there is a relevance between the interface modules; When the correlation score is less than the correlation score threshold, there is no correlation between the interface modules.

[0007] Optionally, when the interface modules are merged into a merged interface module according to the correlation, determining the second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module includes: In the case of dependencies between interface modules, the interface modules are merged into a merged interface module; Determining consistency of first interface attributes included in the merged interface module; The second interface attribute of the merged interface module is determined according to the consistency and the first interface attribute included in the merged interface module.

[0008] Optionally, the first interface attribute includes: a first operation attribute and a first display attribute; the second interface attribute includes: a second operation attribute and a second display attribute; The determining the second interface attribute of the merged interface module according to the consistency and the first interface attribute included in the merged interface module includes: In the case that the first interface attributes included in the merged interface module do not have consistency, the second interface attribute of the merged interface module is a second operation attribute; If the first interface attribute included in the merged interface module is consistent and the first interface attribute included in the merged interface module is the first operation attribute, the second interface attribute of the merged interface module is the second operation attribute; When the first interface attributes included in the merged interface module are consistent and the first interface attributes included in the merged interface module are the first display attributes, the second interface attributes of the merged interface module are the second display attributes.

[0009] Optionally, when the interface module is regarded as an unmerged interface module according to the correlation, determining the second interface attribute of the unmerged interface module according to the first interface attribute of the unmerged interface module includes: In the case where there is no correlation between the interface modules, the interface modules are used as the unmerged interface modules; In a case where the first interface attribute of the unmerged interface module is the first operation attribute, the second interface attribute of the unmerged interface module is the second operation attribute; In a case where the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is the second display attribute.

[0010] Optionally, determining the display positions and layout order of the merged interface module and the unmerged interface module in the second interface according to the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and the second priority includes: When the second interface attribute is the second operation attribute, determining the third interface attribute of the merged interface module and the unmerged interface module according to the number of interaction entrances corresponding to the merged interface module and the unmerged interface module and the frequency of use of the entrances; When the second interface attribute is the second display attribute, setting the third interface attribute of the merged interface module and the unmerged interface module to the third display attribute; The display positions and layout order of the merged interface module and the unmerged interface modules in the second interface are determined according to the third interface attributes and the second priorities corresponding to the merged interface module and the unmerged interface modules.

[0011] Optionally, the third interface attribute includes: a third operation attribute and a third display attribute; The determining of the third interface attributes of the merged interface module and the unmerged interface module according to the number of interaction entrances and the usage frequency of the entrances corresponding to the merged interface module and the unmerged interface module includes: When the number of interaction entrances is equal to the preset number of interaction entrances, or when the number of interaction entrances is not equal to the preset number of interaction entrances and the entrance usage frequency is greater than or equal to the entrance usage frequency threshold, setting the third interface attribute of the merged interface module and the unmerged interface module to the third operation attribute; When the number of interactive entrances is not equal to the preset number of interactive entrances and the entrance usage frequency is less than the entrance usage frequency threshold, the third interface attribute of the merged interface module and the unmerged interface module is set to a third display attribute.

[0012] Optionally, determining the display positions and layout order of the merged interface module and the unmerged interface module in the second interface according to the third interface attributes and the second priorities corresponding to the merged interface module and the unmerged interface module includes: When the third interface attribute is a third operation attribute, determining the display position starting point of the merged interface module and the unmerged interface module of the third operation attribute on the second interface based on the coordinate information of the first interface module in the layout order of the first interface, and using the initial order of the second priority as the layout order of the merged interface module and the unmerged interface module of the third operation attribute; the initial order represents the layout order of the second priority in the first interface; When the third interface attribute is the third display attribute, the display position starting point of the interface module of the third display attribute under the second interface is determined according to the coordinate information of the last interface module in the layout order of the first interface, and the mirroring order of the second priority is used as the layout order of the merged interface modules and the unmerged interface modules of the third display attribute.

[0013] An embodiment of the present invention further provides an interface generation system, the system comprising: An information acquisition module, configured to acquire a first interface attribute and a first priority of an interface module in a first interface; a correlation determination module, configured to determine the correlation between the interface modules in the first interface; a first determining module configured to determine, when the interface modules are merged into a merged interface module according to the correlation, a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module; a second determining module, configured to determine, when the interface module is determined as an unmerged interface module based on the correlation, a second interface attribute of the unmerged interface module based on the first interface attribute of the unmerged interface module; a display position and layout order determination module, configured to determine the display position and layout order of the merged interface module and the unmerged interface module in the second interface based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; A second interface generating module is configured to generate a second interface according to the display position and the layout order.

[0014] An embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, the processors are enabled to execute the method according to the embodiment of the present invention.

[0015] Compared with the prior art, the embodiments of the present invention have the following advantages: In an embodiment of the present invention, the first interface attribute and the first priority of the interface module in the first interface are obtained; the correlation between the interface modules in the first interface is determined; when the interface modules are merged into a merged interface module according to the correlation, the second interface attribute of the merged interface module is determined according to the first interface attribute contained in the merged interface module; when the interface module is treated as an unmerged interface module according to the correlation, the second interface attribute of the unmerged interface module is determined according to the first interface attribute of the unmerged interface module; according to the second interface attributes and the second priority corresponding to the merged interface module and the unmerged interface module, the display position and layout order of the merged interface module and the unmerged interface module in the second interface are determined; and the second interface is generated according to the display position and the layout order. By determining the interface attributes of the interface modules and designing the interface based on the correlation and the first priority of the interface modules, the generated interface satisfies both the reading habits of the modules with display attributes and the operating logic of the modules with operating attributes. Without changing the operating path of the interface, the user's operating logic and the reading habits of the languages ​​of different interfaces are taken into account, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 This is a flowchart of a method for generating an interface according to an embodiment of the present invention; Figure 2 This is a flowchart of the steps for determining interface attributes provided by an embodiment of the present invention; Figure 3 This is a schematic diagram of interface generation provided by an embodiment of the present invention; Figure 4 This is a structural block diagram of an interface generation system provided by an embodiment of the present invention; Figure 5 It is a schematic diagram of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0019] With the rapid development of electric vehicles in China and growing demand in the international market, Chinese electric vehicles are accelerating their expansion into overseas markets. As a key export destination, the Arab region has become increasingly important for the localization of interface design.

[0020] However, there are obvious differences between the writing and reading order of Arabic from right to left (RTL) and the writing and reading order of modern Chinese characters and English from left to right (LTR).

[0021] Therefore, the two design principles of reading from right to left and the operation logic of decreasing from left to right in RTL left-hand drive models have completely mutually exclusive rules in interface layout.

[0022] However, the current Arabic interface design for in-car computers primarily follows the design principles of smart terminal products such as mobile phones, tablets, and computers. Based on the LTR platform design interface, it mirrors and outputs the RTL design interface, causing the operation items to mechanically move from the far left to the far right. This processing method only considers the reading or operation order during design, and does not take into account the reading habit of right to left and the operation logic of left to right. Moreover, full mirroring only considers the reading habits of Arabic text, mechanically mirroring all interfaces in RTL language modes such as Chinese or English to follow the RTL reading habit. This makes the user's operation path longer, making it difficult to take into account the user's operation logic and the reading habits of different languages, resulting in low user operation efficiency and poor user experience.

[0023] Reference Figure 1 , shows a flowchart of a method for generating an interface provided in an embodiment of the present invention, which may specifically include the following steps: Step 101: Obtain a first interface attribute and a first priority of an interface module in a first interface; In an embodiment of the present invention, the first interface is an LTR interface (Left To Right), the design elements of the LTR interface are atomized, the first interface attributes and the first priority of each interface module are obtained, and the interface modules are marked according to the first interface attributes and the first priority, wherein the first interface attributes are the initial interface attributes of the interface module in the first interface, including operation attributes and display attributes, that is, "operation" and "display", the interface module with operation attributes represents the need for the user to interact with the interface module, and the user and the vehicle computer to have a two-way interaction, that is, user input and vehicle computer feedback are required, and the input method is touch; the interface module with display attributes means that the information of the interface module is output unidirectionally by the vehicle computer, and the user can view and obtain information.

[0024] For example, in the LTR interface, each interface module is respectively "back button, text title, selection button". After obtaining the first interface attribute and first priority of each interface module, each interface module can be annotated in the form of "(first interface attribute + first priority)", and the annotation results of return button (operation 1), text title (display 1), and selection button (operation 2) are obtained. Among them, "operation" and "display" represent the first interface attribute of the interface module, and "1" and "2" represent the first priority of the interface module. In the LTR interface, the first priority is annotated from left to right. When adjusting the interface to generate the LTR interface, the interface modules will be arranged in the order of the first priority. That is, in the LTR interface, the layout order of the interface modules is the order of the first priority.

[0025] Step 102: Determine the correlation between the interface modules in the first interface; In the embodiment of the present invention, correlation means that the information of the interface module can only be correctly transmitted when two information are displayed in a combined manner. The correlation between interface modules can be determined by functional definition and / or evaluation.

[0026] In actual applications, when the interface module "Select Icon Button" exists alone, users cannot correctly understand the meaning of the interface module, nor can they accurately determine whether the interface module is a full selection or a single selection. However, when the interface module "Select Icon Button" and the interface module "Select All Text Description" appear together, it is more conducive to users understanding the meaning of the interface module and can correctly convey the information of the interface module. Therefore, the interface module "Select Icon Button" and the interface module "Select All Text Description" can be determined to be related. However, the interface module "Select All Text Description" and the interface module "Collect Icon Button" express two different operations. After the two interface modules are combined, users will have ambiguity about the functions of the interface modules. Therefore, the interface module "Select All Text Description" and the interface module "Collect Icon Button" can be determined to be unrelated.

[0027] Step 103: When the interface modules are merged into a merged interface module according to the correlation, determining a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module; In an embodiment of the present invention, when there is a correlation between interface modules in the LTR interface, the interface modules will be merged to obtain a merged interface module, and then the second interface attributes of the merged interface module will be determined based on the first interface attributes contained in the merged interface module. The second interface attributes represent the interface attributes corresponding to the merged interface module and the unmerged interface module obtained after determining whether a merger is required. The content included in the second interface attributes is also "operation" and "display".

[0028] Specifically, the merged interface module includes the first interface attributes and first priority of the interface modules involved in the merger, and the second interface attributes of the merged interface module are determined based on the included first interface attributes. Then, the priority of the merged interface module can be determined based on the second interface attributes of the merged interface module.

[0029] Step 104: When the interface module is regarded as an unmerged interface module based on the correlation, determining a second interface attribute of the unmerged interface module based on the first interface attribute of the unmerged interface module; In an embodiment of the present invention, when there is no correlation between interface modules in the LTR interface, the interface modules will not be merged. Therefore, the interface modules that do not need to be merged are determined as unmerged interface modules. Since the unmerged interface modules only include a first interface attribute and a first priority, the second interface attribute of the unmerged interface module is the same as the first interface attribute of the original interface module. If the first interface attribute of the original interface module is "operation", the second interface attribute of the corresponding unmerged interface module is still "operation".

[0030] Step 105: Determine the display position and layout order of the merged interface module and the unmerged interface module in the second interface based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; In an embodiment of the present invention, the second interface is an RTL interface (Right To Left). In the RTL interface, the reading order and operation order are very different from those of the LTR interface. For the interface module with the interface attribute of "operation", in the RTL interface, its layout order is consistent with that of the LTR interface (from left to right); in contrast, for the interface module with the interface attribute of "display", in the RTL interface, its layout order is opposite to that of the LTR interface, forming a mirror relationship (from right to left). Therefore, it is necessary to determine the corresponding display position and layout order of the merged interface module and the unmerged interface module in the RTL interface in the second interface based on the final interface attributes of the merged interface module and the unmerged interface module.

[0031] Specifically, since the merging of interface modules may cause the number of modules of the merged interface module and the unmerged interface module to be inconsistent with the number of modules of the interface modules in the first interface, and the second interface attributes of the merged interface module may be inconsistent with the first interface attributes of the interface module included before the merger, the first priority will be adjusted according to the number of modules of the merged interface module and the unmerged interface module, and the second interface attributes of the merged interface module to obtain the second priority corresponding to the merged interface module and the unmerged interface module. Then, the display position and layout order of the merged interface module and the merged interface module in the second interface are determined according to the second interface attributes of the merged interface module, the second interface attributes of the unmerged interface module and the second priority.

[0032] Step 106: Generate a second interface according to the display position and the layout order.

[0033] After obtaining the display position and layout order corresponding to the final interface properties of the merged interface module and the unmerged interface module, an RTL interface is generated according to the display position and layout order of each interface module, so that the generated second interface meets both the reading habits of the module with the "display" attribute and the operation logic of the module with the "operation" attribute.

[0034] In an embodiment of the present invention, the first interface attribute and the first priority of the interface module in the first interface are obtained; the correlation between the interface modules in the first interface is determined; when the interface modules are merged into a merged interface module according to the correlation, the second interface attribute of the merged interface module is determined according to the first interface attribute contained in the merged interface module; when the interface modules are treated as unmerged interface modules according to the correlation, the second interface attribute of the unmerged interface module is determined according to the first interface attribute of the unmerged interface module; according to the second interface attributes and the second priority corresponding to the merged interface module and the unmerged interface module, the display position and layout order of the merged interface module and the unmerged interface module in the second interface are determined; and the second interface is generated according to the display position and the layout order. By determining the interface attributes of the interface modules, the interface design is performed based on the correlation and the first priority between the interface modules, so that the generated interface satisfies both the reading habits of the modules with display attributes and the operation logic of the modules with operation attributes. Without changing the operation path of the interface, the user's operation logic and the reading habits of the languages ​​of different interfaces are taken into account, thereby improving the user experience.

[0035] In one embodiment of the present invention, correlation scores between interface modules are determined based on functional definitions of the interface modules; In the case where the relevance score is greater than or equal to a relevance score threshold, there is a relevance between the interface modules; When the correlation score is less than the correlation score threshold, there is no correlation between the interface modules.

[0036] In an embodiment of the present invention, the correlation scores between various interface modules can be determined through functional definition, expert evaluation, and user surveys. When the correlation score is greater than or equal to the correlation score threshold, it is considered that there is correlation between the interface modules; when the correlation score is less than the correlation score threshold, it is considered that there is no correlation between the interface modules.

[0037] In a specific implementation, the relevance score threshold can be determined based on the accuracy of the user's correct acquisition of the interface module information. The interface module group is merged and separated as plans A and B respectively. Through user surveys, the accuracy of users correctly understanding or operating the interface module in a limited time in the two methods is obtained, thereby determining which combination or separation method is more conducive to the user's correct understanding of the module information. Through the accuracy data fed back by users, it is possible to accurately identify which layout is more in line with the user's reading habits and operating logic, providing an accurate basis for subsequently determining the display position and layout order of different interface modules based on reading habits and operating logic.

[0038] In one embodiment of the present invention, when the interface modules are merged into a merged interface module according to the correlation, determining the second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module includes: In the case of dependencies between interface modules, the interface modules are merged into a merged interface module; Determining consistency of first interface attributes included in the merged interface module; The second interface attribute of the merged interface module is determined according to the consistency and the first interface attribute included in the merged interface module.

[0039] In an embodiment of the present invention, when there is correlation between interface modules in the LTR interface, the interface modules with the correlation will be merged to obtain a merged interface module. The merged interface module will include the first interface attributes of the interface modules with the correlation. Whether the merged interface module needs to change its interface attributes is determined based on whether the first interface attributes contained in the merged interface module are consistent. Finally, the second interface attributes corresponding to the merged interface module are determined based on the consistency and the first interface attributes contained in the merged interface module.

[0040] In actual applications, there may be differences in the interface properties of related interface modules. If the interface properties of the merged interface module are not judged after the merger, there will be differences between the actual properties of the merged interface module and the marked properties, resulting in the display position of the module in the RTL interface not conforming to the reading habits or operation logic of the RTL user. This embodiment determines the interface properties of the merged interface module by judging the consistency of the first interface properties contained in the merged interface module, which can avoid the difference between the actual interface properties of the merged interface module and the marked interface properties, and make the generated second interface more in line with the reading habits and operation logic of the RTL user.

[0041] In one embodiment of the present invention, the first interface attribute includes: a first operation attribute and a first display attribute; the second interface attribute includes: a second operation attribute and a second display attribute; The determining the second interface attribute of the merged interface module according to the consistency and the first interface attribute included in the merged interface module includes: In the case that the first interface attributes included in the merged interface module do not have consistency, the second interface attribute of the merged interface module is a second operation attribute; If the first interface attribute included in the merged interface module is consistent and the first interface attribute included in the merged interface module is the first operation attribute, the second interface attribute of the merged interface module is the second operation attribute; When the first interface attributes included in the merged interface module are consistent and the first interface attributes included in the merged interface module are the first display attributes, the second interface attributes of the merged interface module are the second display attributes.

[0042] In an embodiment of the present invention, the first interface attribute includes a first operation attribute and a first display attribute; the second interface attribute includes a second operation attribute and a second display attribute, wherein the first interface attribute represents the initial interface attribute of the interface module in the first interface; the second interface attribute represents the interface attribute obtained after being corrected after being distinguished into a merged interface module and an unmerged interface module based on relevance.

[0043] Specifically, when the first interface attributes included in the merged interface modules are different, that is, when there is no consistency, the second interface attribute of the merged interface module is the second operation attribute; When the first interface attributes included in the merged interface modules are the same, that is, there is consistency, and the first interface attributes included in the merged interface modules are first operation attributes, the second interface attributes of the merged interface modules are second operation attributes; When the first interface attributes included in the merged interface modules are the same, that is, there is consistency, and the first interface attributes included in the merged interface modules are the first display attributes, the second interface attributes of the merged interface modules are the second display attributes.

[0044] By distinguishing whether the first interface attributes included in the merged interface module are consistent, the second interface attributes of the merged interface module are determined, ensuring that the display position and layout order corresponding to the interface attributes of the merged interface module in the RTL interface conform to the reading habits or operation logic of the RTL user, so that the RTL user can use it more directly.

[0045] In one embodiment of the present invention, when the interface module is determined as an unmerged interface module according to the correlation, determining the second interface attribute of the unmerged interface module according to the first interface attribute of the unmerged interface module includes: In the case where there is no correlation between the interface modules, the interface modules are used as the unmerged interface modules; In a case where the first interface attribute of the unmerged interface module is the first operation attribute, the second interface attribute of the unmerged interface module is the second operation attribute; In a case where the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is the second display attribute.

[0046] In an embodiment of the present invention, when there is no correlation between interface modules in the LTR interface, the interface modules that do not need to be merged are determined as unmerged interface modules. Since the unmerged interface modules only include a first interface attribute and a first priority, when the first interface attribute of the unmerged interface module is the first operation attribute, the second interface attribute of the unmerged interface module is the second operation attribute; when the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is the second display attribute.

[0047] In one embodiment of the present invention, determining the display positions and layout order of the merged interface module and the unmerged interface module in the second interface according to the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and the second priority includes: When the second interface attribute is the second operation attribute, determining the third interface attribute of the merged interface module and the unmerged interface module according to the number of interaction entrances corresponding to the merged interface module and the unmerged interface module and the frequency of use of the entrances; When the second interface attribute is the second display attribute, setting the third interface attribute of the merged interface module and the unmerged interface module to the third display attribute; The display positions and layout order of the merged interface module and the unmerged interface modules in the second interface are determined according to the third interface attributes and the second priorities corresponding to the merged interface module and the unmerged interface modules.

[0048] In an embodiment of the present invention, after distinguishing between merged interface modules and unmerged interface modules based on correlation, and correcting the first interface attributes of the merged interface modules and the unmerged interface modules to obtain the second interface attributes, the second interface attributes are secondarily corrected into the merged interface modules and the unmerged interface modules based on the number of interactive entrances and the frequency of entrance use to obtain the final third interface attributes, wherein the third interface attributes represent the interface attributes after the second interface attributes are corrected based on the number of interactive entrances and the frequency of entrance use.

[0049] Specifically, when the second interface attribute is the second operation attribute, the final third interface attribute is determined according to the number of interactive entrances and the frequency of use of the entrances corresponding to the merged interface module and the unmerged interface module; when the second interface attribute is the second display attribute, the final third interface attribute of the merged interface module and the unmerged interface module is set as the third display attribute; because the third interface attributes of the merged interface module and the unmerged interface module obtained after the second interface attribute is corrected according to the number of interactive entrances and the frequency of use of the entrance have been determined, after the third interface attribute is determined according to the second interface attribute of the merged interface module, the first priority is adjusted based on the number of modules of the merged interface module and the unmerged interface module and the third interface attribute of the merged interface module to obtain the second priority of the merged interface module and the unmerged interface module, and finally the display position and layout order of the merged interface module and the unmerged interface module in the second interface are determined according to the third interface attribute and the second priority corresponding to the merged interface module and the unmerged interface module.

[0050] In a specific implementation, assuming that the first interface attributes and the first priority of each interface module are determined in the first interface and each interface module is marked, the following can be obtained: return button (operation 1), text title (display 1), selection button (operation 2), text description (display 2), favorite button (operation 3), delete button (operation 4), where: "operation" represents the first operation attribute in the first interface attributes, and "display" represents the first display attribute in the first interface attributes; "1", "2", and "3" represent the first priority of the module corresponding to the first operation attribute and the first display attribute; the correlation between each interface module is judged in turn. Since the selection button (operation 2) and the text description (display 2) have Based on the correlation, the two modules were merged into a merged interface module. Since the first interface attributes were inconsistent, one was "operation" and the other was "display," the merged interface module was assigned the second interface attribute of "operation." The interface attribute was then matched to the name of the same interface attribute in the merged module, "Select Button," which was used as the name of the merged interface module. The third interface attribute of the corresponding module was then determined based on the number and frequency of interaction entries in all the merged and unmerged interface modules with the second operation attribute. Because the "Back Button" was not the only interaction entry and was not a high-frequency interaction entry, and considering visual balance and the correct communication of visual semantics, it was determined to be the third display attribute, thus labeled "Display." The final display order of the interface modules from left to right was determined to be: Back Button (Display), Text Title (Display), Select Button (Operation), Favorite Button (Operation), and Delete Button (Operation), where "Operation" represents the third operation attribute in the third interface attribute, and "Display" represents the third display attribute in the third interface attribute.

[0051] Because merging related interface modules may result in a discrepancy between the number of modules in the merged and unmerged interface modules and the number of interface modules in the first interface, and the specific meanings of the third interface attribute and the first interface attribute may also change. For example, the first interface has six interface modules, but after merging based on relevance, the number of modules in the merged and unmerged interface modules is five. Furthermore, after a series of assessments (relevance assessment, unique interactive entry assessment, and high-frequency interactive entry assessment), the "Back Button (Operation 1)" in the first interface is ultimately determined to be the "Back Button (Display)," and its interface attribute is changed from "Operation" to "Display." Therefore, the priority of the merged and unmerged interface modules after adjusting the first priority based on the number of modules in the merged and unmerged interface modules and the second interface attribute of the merged interface modules includes: after determining the third interface attribute of the corresponding module based on the number of interactive entry points and entry usage frequency of all merged and unmerged interface modules with the second operational attribute, determining the second priority of the merged and unmerged interface modules based on the number of modules in the merged and unmerged interface modules and the third interface attribute of the merged interface modules. The final annotation results are: return button (display 1), text title (display 2), selection button (operation 1), favorite button (operation 2), delete button (operation 3), among which: "1", "2", and "3" represent the second priority corresponding to the different third interface attributes of the merged interface module and the unmerged interface module.

[0052] Since the display position and layout order of modules with the display attribute of "operation" and modules with the display attribute of "display" are different in the RTL interface, a secondary correction is made to the merged interface modules and unmerged interface modules of the second interface attribute based on the number of interactive entrances and the frequency of entrance usage. This can effectively avoid classifying the interface attributes of interface modules with a large number of interactive entrances or a low frequency of entrance usage as operation attributes, resulting in their position in the RTL interface not conforming to the reading habits and operation logic of RTL users.

[0053] In one embodiment of the present invention, the third interface attribute includes: a third operation attribute and a third display attribute; The determining of the third interface attributes of the merged interface module and the unmerged interface module according to the number of interaction entrances and the usage frequency of the entrances corresponding to the merged interface module and the unmerged interface module includes: When the number of interaction entrances is equal to the preset number of interaction entrances, or when the number of interaction entrances is not equal to the preset number of interaction entrances and the entrance usage frequency is greater than or equal to the entrance usage frequency threshold, setting the third interface attribute of the merged interface module and the unmerged interface module to the third operation attribute; When the number of interactive entrances is not equal to the preset number of interactive entrances and the entrance usage frequency is less than the entrance usage frequency threshold, the third interface attribute of the merged interface module and the unmerged interface module is set to a third display attribute.

[0054] In an embodiment of the present invention, the third interface attribute represents the interface attribute obtained after secondary correction of the merged interface module and the unmerged interface module of the second interface attribute according to the number of interactive entrances and the frequency of entrance usage, including a third operation attribute and a third display attribute, wherein the label name of the third operation attribute is still "operation" and the label name of the third display attribute is still "display".

[0055] In this embodiment, the preset number of interactive entrances is set to 1 to determine whether the interface module is the only interactive entrance. If the number of interactive entrances is equal to the preset number of interactive entrances, that is, if it is the only interactive entrance, the third interface attribute of the merged interface module (the merged interface module and the unmerged interface module) is set to the third operation attribute; If the number of interactive entrances is not equal to the preset number of interactive entrances, that is, it is not the only interactive entrance, but the entrance usage frequency is greater than or equal to the entrance usage frequency threshold, the merged interface module is considered to be a high-frequency interactive entrance, and the third interface attribute of the merged interface module (the merged interface module and the unmerged interface module) is set as the third operation attribute; If the number of interactive entrances is not equal to the preset number of interactive entrances, that is, it is not the only interactive entrance, but the entrance usage frequency is less than the entrance usage frequency threshold, the merged interface module is considered not to be a high-frequency interactive entrance, and the third interface attribute of the merged interface module (the merged interface module and the unmerged interface module) is set to the third display attribute.

[0056] Optionally, the entry usage frequency threshold may be determined by collecting user operation data. Reference Figure 2 , shows a flowchart of the steps of determining interface attributes provided in an embodiment of the present invention, which may specifically include the following contents: After obtaining the first interface attributes and first priorities of the interface modules in the first interface, determining whether the interface modules are correlated with each other, if so, generating a merged interface module; if not, treating them as unmerged display modules; For the merged interface module, it is necessary to determine whether the first interface attributes contained in the merged interface module are consistent. If they are consistent, it is determined whether all of them are the first display attributes. If they are inconsistent, the second interface attribute of the merged interface module is determined as the second operation attribute. If the first interface attributes contained in the merged interface module are all the first display attributes, the second interface attribute of the merged interface module is determined as the second display attribute. Otherwise, it is determined as the second operation attribute. For an unmerged interface module, it is only necessary to determine whether the first interface attribute of the unmerged interface module is the first display attribute. If the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is determined as the second display attribute; otherwise, the second interface attribute of the unmerged interface module is determined as the second operation attribute. After obtaining the second interface attributes of the merged interface module and the unmerged interface module, performing a secondary correction on the interface module corresponding to the second operation attribute and the interface module corresponding to the second display attribute; For the interface module corresponding to the second operation attribute, determine whether it is a unique interactive entry; if so, determine the third interface attribute of the interface module as the third operation attribute; if not, further determine whether the interface module is a high-frequency interactive entry; if so, determine the third interface attribute of the interface module as the third operation attribute; if not, determine the third interface attribute of the interface module as the third display attribute; For the interface module corresponding to the second display attribute, its third interface attribute is directly determined as the third display attribute.

[0057] In this embodiment, the merged interface module is judged based on the number of interactive entrances and the frequency of entrance use to determine whether it is a unique interactive entrance or a high-frequency interactive entrance. Only the third interface attribute of the interface module of the unique interactive entrance or the high-frequency interactive entrance is determined as the third operation attribute, and the third interface attributes set by the remaining modules are determined as the third display attribute, thereby further improving the accuracy of the division of the interface attributes of the merged interface module and ensuring that the display position and layout order corresponding to the interface attributes of the merged interface module in the RTL interface conform to the reading habits or operation logic of the RTL user.

[0058] In one embodiment of the present invention, determining the display positions and layout order of the merged interface module and the unmerged interface module in the second interface according to the third interface attributes and the second priorities corresponding to the merged interface module and the unmerged interface module includes: When the third interface attribute is a third operation attribute, determining the display position starting point of the merged interface module and the unmerged interface modules of the third operation attribute on the second interface based on the coordinate information of the first interface module in the layout order of the first interface, and using the initial order of the second priority as the layout order of the merged interface module and the unmerged interface modules of the third operation attribute; the initial order represents the layout order of the second priority in the first interface; When the third interface attribute is the third display attribute, the display position starting point of the merged interface module and the unmerged interface module of the third display attribute under the second interface is determined according to the coordinate information of the last interface module in the layout order of the first interface, and the mirroring order of the second priority is used as the layout order of the merged interface module and the unmerged interface module of the third display attribute.

[0059] In an embodiment of the present invention, the display positions and layout orders of the interface modules corresponding to the third operation attribute and the third display attribute in the RTL interface are different. Under the first interface (LTR interface), the initial order of the first priority is to arrange the interface module with the second priority of "1" from left to right, and then arrange the interface module with the second priority of "2", and so on.

[0060] For the operation module whose third interface attribute is the third operation attribute, the coordinates of the first interface module in the layout order of the first interface (LTR interface) are used as the display position starting point of the merged interface module and the unmerged interface module of the third operation attribute under the second interface (RTL interface), and the second priority is used as the layout order of its interface modules, that is, the coordinates of the leftmost interface module in the LTR interface are used as the starting point of the first interface module of the third operation attribute under the RTL interface, and the layout order in the first interface is based on the second priority, that is, the interface module with the second priority of "1" and the interface module with the second priority of "2" are arranged from left to right, and so on.

[0061] For the interface module whose third interface attribute is the third display attribute, the coordinates of the last interface module in the layout order of the first interface (LTR interface) are used as the display position starting point of the interface module with the third display attribute under the second interface (RTL interface), and the mirroring order of the second priority is used as the layout order of its interface modules, that is, the coordinates of the rightmost interface module in the LTR interface are used as the starting point of the first interface module with the third display attribute under the RTL interface, and the remaining interface modules with the third display attribute are arranged according to the mirroring order of the second priority (from right to left), that is, the interface modules with the second priority of "1" are arranged first from right to left, and then the interface modules with the second priority of "2", and so on.

[0062] Reference Figure 3 , which shows a schematic diagram of interface generation provided in an embodiment of the present invention, and may specifically include the following contents: Step S1, atomize the design elements of the LTR interface and determine the interface module; In the LTR interface of LTR language mode, Figure 3 The interface modules from left to right are: return button, text title, selection button, text description, favorite button, and delete button.

[0063] Step S2, obtaining the first interface attribute and the first priority of each interface module in the LTR interface; After determining the first interface attribute and the first priority of each interface module, each interface module is marked to obtain: return button (operation 1), text title (display 1), selection button (operation 2), text description (display 2), favorite button (operation 3), delete button (operation 4), among which: "operation" represents the first operation attribute in the first interface attribute, and "display" represents the first display attribute in the first interface attribute; "1", "2", and "3" represent the first priority of the modules corresponding to the first operation attribute and the first display attribute. Since the default reading order is from left to right in LTR language mode, the interface module with priority "1" is arranged first in the order of the first priority, followed by the interface module with priority "2", and so on.

[0064] Step S3, determining whether the interface modules in the LTR interface are relevant, merging the relevant interface modules to obtain a merged interface module, and setting the interface modules that are not relevant as unmerged interface modules; In step S4, the correlation between each interface module is determined in turn: the return button (operation 1) and the text title (display 1) have no correlation; the text title (display 1) and the selection button (operation 2) have no correlation; the selection button (operation 2) and the text description (display 2) have a correlation; the text description (display 2) and the favorite button (operation 3) have no correlation; the favorite button (operation 3) and the delete button (operation 4) have no correlation; Step S4, determining whether the first interface attributes included in the merged interface modules are consistent, determining the second interface attributes of the merged interface modules, and determining the second interface attributes of the unmerged interface modules; In step S4, the correlation between each interface module is determined in turn: the return button (operation 1) and the text title (display 1) have no correlation; the text title (display 1) and the selection button (operation 2) have no correlation; the text description (display 2) and the favorite button (operation 3) have no correlation; the favorite button (operation 3) and the delete button (operation 4) have no correlation. For interface modules without correlation, their original interface attributes are retained; the selection button (operation 2) and the text description (display 2) have a correlation, and they are merged into a merged interface module. The first interface attributes are inconsistent, one is "operation" and the other is "display", so the merged interface module is set to the second interface attribute of "operation", and the name of the same interface attribute in the merged module is matched according to the interface attribute, "select button", and it is used as the name of the merged interface module; Since merging related interface modules may result in the number of modules of the merged interface modules and the unmerged interface modules being inconsistent with the number of modules of the interface modules in the first interface, and the specific content of the final third interface attribute has not been determined, the priority of this step is not yet determined; after adjustment, the annotation results of the merged interface module can be obtained as follows: return button (operation), text title (display), selection button (operation), favorite button (operation), delete button (operation), among which: "operation" represents the second operation attribute in the second interface attribute, and "display" represents the second display attribute in the second interface attribute.

[0065] Step S5: Determine whether the interface module whose second interface attribute is the second operation attribute is the only interactive entrance or the high-frequency interactive entrance, set the third interface attribute of the interface module corresponding to the only interactive entrance or the high-frequency interactive entrance to the third operation attribute, and set the third interface attribute of the remaining interface modules to the third display attribute; In step S5, it is determined whether all interface modules with the second operation attribute are the only interactive entrance, and the third interface attribute of the interface module with the only interactive entrance is set to the third operation attribute; otherwise, it is determined whether it is a high-frequency interactive entrance. If so, the third interface attribute of the interface module is set to the third operation attribute; if not, the third interface attribute of the interface module is set to the third display attribute; after determining the third interface attribute of the merged interface module and the third interface attribute of the unmerged interface module, the first priority is adjusted based on the number of modules of the merged interface module and the unmerged interface module and the third interface attribute of the merged interface module to obtain the second priority of the merged interface module and the unmerged interface module. The final annotation results are: return button (display 1), text title (display 2), selection button (operation 1), favorite button (operation 2), delete button (operation 3), where "1", "2", and "3" represent the second priorities of modules corresponding to different third interface attributes of the merged interface module and the unmerged interface module.

[0066] Step S6, determining the display position and layout order of the merged interface modules according to the third interface attribute and the second priority; Determine the final display position and layout order based on the third interface attribute and the second priority of each interface module; For the back button (display 1) and text title (display 2), these interface modules are the third display attribute. Therefore, the coordinates of the rightmost interface module "Delete Button" in the LTR interface are used as the starting point of the first interface module "Back Button" with the third display attribute in the RTL interface, and the remaining interface modules with the third display attribute are arranged in the mirror order of the second priority (from right to left). That is, from right to left, the interface module with the second priority of "1" is arranged first, followed by the interface module with the second priority of "2", and so on.

[0067] For the Select button (operation 1), Favorites button (operation 2), and Delete button (operation 3), these interface modules have the third operation attribute. Therefore, the coordinates of the leftmost interface module "Back button" in the LTR interface are used as the starting point of the first interface module "Select button" with the third operation attribute in the RTL interface, and the remaining interface modules with the third operation attribute are arranged according to the second priority and the layout order in the first interface (from left to right). That is, from left to right, the interface module with the second priority of "1" is arranged first, and then the interface module with the second priority of "2", and so on.

[0068] Step S7: Generate a second interface according to the display position and layout order.

[0069] The final output RTL interface in RTL language mode is as follows Figure 3 shown.

[0070] In this embodiment, by defining and labeling the interface attributes of the interface modules, and determining the display position and layout order of the interface modules based on the third interface attribute and the second priority order between the final interface modules, it is possible to take into account the reading habits of the language corresponding to the interface module of the third display attribute in the RTL interface and the operation logic of the interface module of the third operation attribute without changing the operation path of the interface, thereby improving user experience and operation efficiency.

[0071] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0072] Reference Figure 4 , shows a structural block diagram of an interface generation system provided in an embodiment of the present invention, which may specifically include the following modules: An information acquisition module 401 is configured to acquire a first interface attribute and a first priority of an interface module in a first interface; A correlation determination module 402 is configured to determine the correlation between the interface modules in the first interface; A first determination module 403 is configured to determine a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module when the interface modules are merged into a merged interface module according to the correlation; A second determination module 404 is configured to determine a second interface attribute of the unmerged interface module based on the first interface attribute of the unmerged interface module when the interface module is determined as an unmerged interface module based on the correlation; A display position and layout order determining module 405 is configured to determine the display position and layout order of the merged interface module and the unmerged interface module in the second interface based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; The second interface generating module 406 is configured to generate a second interface according to the display position and the layout order.

[0073] In one embodiment of the present invention, the correlation determination module includes: a correlation score determination module, configured to determine correlation scores between interface modules based on the functional definitions of the interface modules; a first correlation determination submodule, configured to determine, when the correlation score is greater than or equal to a correlation score threshold, that there is a correlation between the interface modules; The second correlation determination submodule is configured to determine that there is no correlation between the interface modules when the correlation score is less than the correlation score threshold.

[0074] In one embodiment of the present invention, the first determination module includes: A merged interface module determination module is used to merge the interface modules into a merged interface module when there is correlation between the interface modules; a consistency determination module, configured to determine the consistency of the first interface attributes included in the merged interface module; The merged interface module second interface attribute determination module is configured to determine the second interface attribute of the merged interface module according to the consistency and the first interface attribute included in the merged interface module.

[0075] In one embodiment of the present invention, the first interface attribute includes: a first operation attribute and a first display attribute; the second interface attribute includes: a second operation attribute and a second display attribute; the second interface attribute determination module of the merged interface module includes: A first merged interface module interface attribute determination submodule, configured to determine, when there is no consistency in the first interface attributes included in the merged interface module, that the second interface attribute of the merged interface module is a second operation attribute; a second merged interface module interface attribute determination submodule, configured to determine, when the first interface attributes included in the merged interface module are consistent and the first interface attributes included in the merged interface module are the first operation attributes, the second interface attributes of the merged interface module are the second operation attributes; The third merged interface module interface attribute determination submodule is used to determine that the second interface attribute of the merged interface module is the second display attribute when the first interface attribute included in the merged interface module is consistent and the first interface attribute included in the merged interface module is the first display attribute.

[0076] In one embodiment of the present invention, the second determination module includes: an unmerged interface module determination module, configured to, when there is no correlation between the interface modules, determine an interface module as the unmerged interface module; an unmerged interface module second operation attribute determination module, configured to determine, when the first interface attribute of the unmerged interface module is the first operation attribute, that the second interface attribute of the unmerged interface module is the second operation attribute; The unmerged interface module second display attribute determination module is configured to determine that, when the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is the second display attribute.

[0077] In one embodiment of the present invention, the display position and layout order determination module includes: an interactive entry determination module, configured to determine, when the second interface attribute is the second operation attribute, a third interface attribute of the merged interface module and the unmerged interface module based on the number of interactive entries corresponding to the merged interface module and the unmerged interface module and the frequency of use of the entry; a third display attribute determining module, configured to set the third interface attributes of the merged interface module and the unmerged interface module to the third display attribute when the second interface attribute is the second display attribute; The display position and layout order determination submodule is used to determine the display position and layout order of the merged interface module and the unmerged interface module in the second interface according to the third interface attributes and second priorities corresponding to the merged interface module and the unmerged interface module.

[0078] In one embodiment of the present invention, the third interface attribute includes: a third operation attribute and a third display attribute, and the interactive entry determination module includes: a first interaction entry determination module, configured to set the third interface attribute of the merged interface module and the unmerged interface module to a third operation attribute when the number of interaction entries is equal to a preset number of interaction entries, or when the number of interaction entries is not equal to the preset number of interaction entries and an entry usage frequency is greater than or equal to an entry usage frequency threshold; The second interactive entrance determination module is configured to set the third interface attribute of the merged interface module and the unmerged interface module to a third display attribute when the number of interactive entrances is not equal to the preset number of interactive entrances and the entrance usage frequency is less than the entrance usage frequency threshold.

[0079] In one embodiment of the present invention, the display position and layout order determination submodule includes: a first display position and layout order determination submodule for determining, when the third interface attribute is the third operation attribute, the display position starting point of the merged interface modules and the unmerged interface modules of the third operation attribute on the second interface based on the coordinate information of the first interface module in the layout order of the first interface, and using the initial order of the second priority as the layout order of the merged interface modules and the unmerged interface modules of the third operation attribute; the initial order represents the layout order of the second priority in the first interface; The second display position and layout order determination submodule is used to determine the display position starting point of the merged interface module and the unmerged interface module of the third display attribute under the second interface according to the coordinate information of the last interface module in the layout order of the first interface when the third interface attribute is the third display attribute, and use the mirroring order of the second priority as the layout order of the merged interface module and the unmerged interface module of the third display attribute.

[0080] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0081] like Figure 5 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 601 is further provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the above embodiment is implemented.

[0082] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, 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 or data center that integrates one or more available media. The available medium can be magnetic media (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state disk (SSD)).

[0083] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0084] Each embodiment in this specification is described in a related manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiment is generally similar to the method embodiment, so the description is relatively simple. For related parts, refer to the description of the method embodiment.

[0085] The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention are included in the scope of protection of the present invention.

Claims

1. A method for generating an interface, characterized in that: The method comprises: Obtaining a first interface attribute and a first priority of an interface module in a first interface; Determining the correlation between the interface modules in the first interface; In the case where the interface modules are merged into a merged interface module according to the correlation, determining a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module; In the case where the interface module is regarded as an unmerged interface module according to the correlation, determining a second interface attribute of the unmerged interface module according to the first interface attribute of the unmerged interface module; determining, based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, a display position and a layout order of the merged interface module and the unmerged interface module in the second interface, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; A second interface is generated according to the display position and the layout order.

2. The method according to claim 1, characterized in that The determining the correlation between the interface modules in the first interface includes: Determining correlation scores between interface modules based on functional definitions of the interface modules; In the case where the relevance score is greater than or equal to a relevance score threshold, there is a relevance between the interface modules; When the correlation score is less than the correlation score threshold, there is no correlation between the interface modules.

3. The method according to claim 1, characterized in that In the case where the interface modules are merged into a merged interface module according to the correlation, determining the second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module includes: In the case of dependencies between interface modules, the interface modules are merged into a merged interface module; Determining consistency of first interface attributes included in the merged interface module; The second interface attribute of the merged interface module is determined according to the consistency and the first interface attribute included in the merged interface module.

4. The method according to claim 3, characterized in that The first interface attribute includes: a first operation attribute and a first display attribute; the second interface attribute includes: a second operation attribute and a second display attribute; The determining the second interface attribute of the merged interface module according to the consistency and the first interface attribute included in the merged interface module includes: In the case that the first interface attributes included in the merged interface module do not have consistency, the second interface attribute of the merged interface module is a second operation attribute; If the first interface attribute included in the merged interface module is consistent and the first interface attribute included in the merged interface module is the first operation attribute, the second interface attribute of the merged interface module is the second operation attribute; When the first interface attributes included in the merged interface module are consistent and the first interface attributes included in the merged interface module are the first display attributes, the second interface attributes of the merged interface module are the second display attributes.

5. The method according to claim 1, characterized in that: The determining, when the interface module is regarded as an unmerged interface module according to the correlation, the second interface attribute of the unmerged interface module according to the first interface attribute of the unmerged interface module includes: In the case where there is no correlation between the interface modules, the interface modules are used as the unmerged interface modules; In a case where the first interface attribute of the unmerged interface module is the first operation attribute, the second interface attribute of the unmerged interface module is the second operation attribute; In a case where the first interface attribute of the unmerged interface module is the first display attribute, the second interface attribute of the unmerged interface module is the second display attribute.

6. The method according to claim 1, characterized in that The determining, according to the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module and the second priority, the display position and layout order of the merged interface module and the unmerged interface module in the second interface includes: When the second interface attribute is the second operation attribute, determining the third interface attribute of the merged interface module and the unmerged interface module according to the number of interaction entrances corresponding to the merged interface module and the unmerged interface module and the frequency of use of the entrances; When the second interface attribute is the second display attribute, setting the third interface attribute of the merged interface module and the unmerged interface module to the third display attribute; The display positions and layout order of the merged interface module and the unmerged interface modules in the second interface are determined according to the third interface attributes and the second priorities corresponding to the merged interface module and the unmerged interface modules.

7. The method according to claim 6, characterized in that The third interface attribute includes: a third operation attribute and a third display attribute; The determining of the third interface attributes of the merged interface module and the unmerged interface module according to the number of interaction entrances and the usage frequency of the entrances corresponding to the merged interface module and the unmerged interface module includes: When the number of interaction entrances is equal to the preset number of interaction entrances, or when the number of interaction entrances is not equal to the preset number of interaction entrances and the entrance usage frequency is greater than or equal to the entrance usage frequency threshold, setting the third interface attribute of the merged interface module and the unmerged interface module to the third operation attribute; When the number of interactive entrances is not equal to the preset number of interactive entrances and the entrance usage frequency is less than the entrance usage frequency threshold, the third interface attribute of the merged interface module and the unmerged interface module is set to a third display attribute.

8. The method according to claim 7, characterized in that: The determining the display positions and layout order of the merged interface module and the unmerged interface module in the second interface according to the third interface attributes and the second priority corresponding to the merged interface module and the unmerged interface module includes: When the third interface attribute is a third operation attribute, determining the display position starting point of the merged interface module and the unmerged interface module of the third operation attribute on the second interface based on the coordinate information of the first interface module in the layout order of the first interface, and using the initial order of the second priority as the layout order of the merged interface module and the unmerged interface module of the third operation attribute; the initial order represents the layout order of the second priority in the first interface; When the third interface attribute is the third display attribute, the display position starting point of the merged interface module and the unmerged interface module of the third display attribute under the second interface is determined according to the coordinate information of the last interface module in the layout order of the first interface, and the mirroring order of the second priority is used as the layout order of the merged interface module and the unmerged interface module of the third display attribute.

9. An interface generation system, characterized in that: The system comprises: An information acquisition module, configured to acquire a first interface attribute and a first priority of an interface module in a first interface; a correlation determination module, configured to determine the correlation between the interface modules in the first interface; a first determining module configured to determine, when the interface modules are merged into a merged interface module according to the correlation, a second interface attribute of the merged interface module according to the first interface attribute included in the merged interface module; a second determining module, configured to determine, when the interface module is determined as an unmerged interface module based on the correlation, a second interface attribute of the unmerged interface module based on the first interface attribute of the unmerged interface module; a display position and layout order determination module, configured to determine the display position and layout order of the merged interface module and the unmerged interface module in the second interface based on the second interface attribute of the merged interface module, the second interface attribute of the unmerged interface module, and a second priority, wherein the second priority represents the priority of the merged interface module and the unmerged interface module after adjusting the first priority based on the number of modules of the merged interface module and the unmerged interface module and the second interface attribute of the merged interface module; A second interface generating module is configured to generate a second interface according to the display position and the layout order.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.