Display style adjustment method and device of interface content, equipment and storage medium

By automatically adjusting the chromosome data of the interface content using genetic algorithms, the inefficiency caused by manual operation is solved, resulting in a display style that better suits user preferences and achieves higher exposure.

CN121597090APending Publication Date: 2026-03-03BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411170389.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, adjusting the display style of interface content relies on manual operation, resulting in low efficiency.

Method used

A genetic algorithm is used to automatically adjust multiple chromosome data in the initial chromosome set. By obtaining the exposure data corresponding to the chromosome data, the genetic algorithm is used to perform random selection, crossover and mutation operations on the chromosome data to generate target chromosome data to determine the final display style.

Benefits of technology

It enables automated adjustment of chromosome data, improves adjustment efficiency and the convenience of parameter adjustment, ensures that the display style of interface content is more in line with user preferences, and enhances the exposure effect of interface content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121597090A_ABST
    Figure CN121597090A_ABST
Patent Text Reader

Abstract

The invention discloses an interface content display style adjustment method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps that an initial chromosome group of interface content is obtained, the initial chromosome group comprises multiple pieces of chromosome data, each piece of chromosome data comprises N display parameters, and the N display parameters are used for determining a display style of the interface content; obtaining exposure data corresponding to the multiple pieces of chromosome data, wherein the exposure data corresponding to the chromosome data is used for indicating an exposure effect based on chromosome data display interface content; based on a genetic algorithm, according to the exposure data corresponding to the multiple chromosome data, the multiple chromosome data are adjusted, target chromosome data are obtained, and the target chromosome data are used for defining a finally determined display style of the interface content. According to the method, the genetic algorithm is adopted to adjust the multiple pieces of chromosome data, so that automatic adjustment of the chromosome data is realized, and the adjustment efficiency of the chromosome data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for adjusting the display style of interface content. Background Technology

[0002] Applications typically display various types of interface content. Generally, each interface consists of an image or video, an action control, and a piece of text. A well-designed interface provides users with a comfortable visual experience and can increase clicks and conversions.

[0003] In related technologies, various combinations of display styles for interface content are manually configured. These display styles include basic elements such as image size, action control size, and text font. After the interface content is deployed, the performance of different display style combinations is collected. Based on metrics such as CTR (Click-Through-Rate), several display style combinations with better performance are selected. These combinations are then further adjusted, and the adjusted combinations are deployed again. CTR and other metrics are collected repeatedly. After multiple rounds of selection and adjustment, the optimal display style combination is found.

[0004] However, the evolution of the interface content display style in the above method is set by humans, which relies too much on manual operation and easily leads to low efficiency in adjusting the display style of the interface content. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for adjusting the display style of interface content. The technical solution provided by this application is as follows:

[0006] According to one aspect of the embodiments of this application, a method for adjusting the display style of interface content is provided, the method comprising:

[0007] Obtain the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. The N display parameters include at least one adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content. N is a positive integer.

[0008] Obtain the exposure data corresponding to each of the multiple chromosome data, and use the exposure data corresponding to the chromosome data to indicate the exposure effect of displaying the interface content based on the chromosome data;

[0009] Based on the exposure data corresponding to the multiple chromosome data, the genetic algorithm is used to adjust the multiple chromosome data to obtain target chromosome data, which is used to define the final display style of the interface content.

[0010] According to one aspect of the embodiments of this application, an apparatus for adjusting the display style of interface content is provided, the apparatus comprising:

[0011] The chromosome set acquisition module is used to acquire the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. The N display parameters include at least one adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content. N is a positive integer.

[0012] An exposure data acquisition module is used to acquire the exposure data corresponding to the multiple chromosome data respectively, and the exposure data corresponding to the chromosome data is used to indicate the exposure effect of displaying the interface content based on the chromosome data;

[0013] The data adjustment module is used to adjust the multiple chromosome data based on the exposure data corresponding to each chromosome data according to the genetic algorithm, so as to obtain target chromosome data. The target chromosome data is used to define the final display style of the interface content.

[0014] According to one aspect of the embodiments of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-described method for adjusting the display style of interface content.

[0015] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-described method for adjusting the display style of interface content.

[0016] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program, the computer program being loaded and executed by a processor to implement the above-described method for adjusting the display style of interface content.

[0017] The technical solution provided in this application can bring the following beneficial effects:

[0018] Compared to related technologies that rely on manual adjustment of chromosome data, this method uses a genetic algorithm to adjust multiple chromosomes within an initial chromosome set, achieving automated chromosome data adjustment. This reduces the time required for adjustment and improves efficiency. Furthermore, by refining the chromosome data into N display parameters, the display style of the interface content can be adjusted by modifying these parameters, enhancing the convenience of parameter adjustment. The effect of parameter adjustments is intuitively perceived through the exposure data corresponding to the chromosome data. Based on the exposure data corresponding to multiple chromosomes, the genetic algorithm enables more detailed adjustments to the chromosome data, making the interface display style more aligned with user preferences and improving the overall effectiveness of chromosome data adjustment, thereby enhancing the exposure of the interface content. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the implementation environment of a solution provided in one embodiment of this application;

[0020] Figure 2 This is a flowchart of a method for adjusting the display style of interface content according to an embodiment of this application;

[0021] Figure 3 This is a schematic diagram of the interface content provided in one embodiment of this application;

[0022] Figure 4 This is a flowchart of a method for adjusting chromosome data according to an embodiment of this application;

[0023] Figure 5 This is a flowchart of the various parts of the method for adjusting the display style of interface content provided in one embodiment of this application;

[0024] Figure 6 This is a flowchart of a method for adjusting the display style of interface content in the advertising field, provided in one embodiment of this application;

[0025] Figure 7 This is a flowchart of a method for adjusting the display style of interface content in the video field, provided in one embodiment of this application;

[0026] Figure 8 This is a block diagram of an interface content display style adjustment device provided in one embodiment of this application;

[0027] Figure 9 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0029] Please refer to Figure 1 This diagram illustrates an implementation environment provided by an embodiment of this application. This implementation environment can be implemented as a user interface display system. The implementation environment may include: a terminal device 10 and a server 20.

[0030] There may be one or more terminal devices 10. Terminal devices 10 may be electronic devices such as mobile phones, tablets, laptops, desktop computers, game consoles, e-book readers, multimedia playback devices, wearable devices, smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc.

[0031] The terminal device 10 can install a client of the target application. The target application has the function of displaying interface content, and users can click on the interface content within the target application to display a detailed interface of that content. This application does not limit the type of the target application, including but not limited to utility applications, information applications, social applications, game applications, etc. Optionally, the target application can be an application that requires downloading and installation, or it can be an application that can be used instantly; this application does not limit either option.

[0032] Server 20 provides background services for clients of the target application installed and running on terminal device 10. For example, server 20 can be a background server for the aforementioned application. Server 20 can be a standalone physical server, a server cluster consisting of multiple servers, or a cloud computing service center. Optionally, server 20 can simultaneously provide background services for applications on multiple terminal devices 10. Terminal devices 10 and server 20 can communicate with each other via a network.

[0033] In this embodiment, the terminal device displays interface content with various display styles. The display style of the interface content is determined by the chromosome data of the interface content, with different chromosome data corresponding to different display styles. The target chromosome data of the interface content is determined by the server or terminal device, i.e., the final display style of the interface content is determined. First, the server or terminal device obtains the initial chromosome set of the interface content, i.e., obtains multiple initial chromosome data. Second, the multiple chromosome data are applied to the interface content. The server or terminal device obtains the exposure data corresponding to the interface content displayed based on the multiple chromosome data. Finally, the server or terminal device uses a genetic algorithm to adjust the multiple chromosome data according to the exposure data corresponding to the multiple chromosome data, and determines the target chromosome data from the adjusted multiple chromosome data.

[0034] Please refer to Figure 2This document illustrates a flowchart of a method for adjusting the display style of interface content according to an embodiment of this application. The execution entity for each step of this method can be a computer device. The method may include at least one of the following steps 210 to 230:

[0035] Step 210: Obtain the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. Among the N display parameters, at least one is an adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content. N is a positive integer.

[0036] Interface content refers to any content displayed on the interface of a target application by a terminal device. For example, interface content can be recommended content, such as advertisements, videos, images, and text. It can also be decorative content, such as decorative widgets or patterns. Optionally, interface content can be a responsive link; clicking the content will redirect the user to the corresponding display interface. For example, if the content is an advertisement, clicking it will redirect the user to the advertisement's details page. Optionally, interface content can also be an embedded link; clicking it will directly display the content's information. For example, if the content is a video, clicking it will play the video, and the target application will have the function of playing the video. Optionally, interface content can also be display-oriented content, where the user cannot perform any operations on it. For example, if the content is decorative, the user can see it while browsing the interface, but clicking it will not trigger a response.

[0037] Chromosome data for interface content is used to indicate the display style of the interface content. Different chromosome data defines different display styles for the interface content, and different display styles can reflect different display characteristics. For example, for interface content 'a', if chromosome data 1 is configured for interface content 'a', then interface content 'a' will be displayed in the display style corresponding to chromosome data 1. If chromosome data 2 is configured for interface content 'a', then interface content 'a' will be displayed in the display style corresponding to chromosome data 2. The display characteristics of the display styles corresponding to chromosome data 1 and chromosome data 2 are different.

[0038] Each chromosome data entry includes N display parameters, at least one of which is adjustable, meaning the display parameter's value can be changed. These N display parameters determine the display style of the interface content. One of the N display parameters determines a portion of the interface content's display style; for example, one parameter might determine the size of the displayed content, another might determine its color, and so on.

[0039] For example, chromosome data 1 can be represented as CH1 = [A1, B1, C1, D1, E1, F1], chromosome data 2 can be represented as CH2 = [A2, B2, C2, D2, E2, F2], and chromosome data n can be represented as CHn = [An, Bn, Cn, Dn, En, Fn]. Based on the n chromosome data, the initial chromosome set can be represented as {CH1, CH2, ..., CHn}.

[0040] Optionally, the multiple chromosome data in the initial chromosome set can be obtained based on the display styles of the interface content in the big data. By obtaining the display styles of various interface contents in the big data, and based on the display styles used more frequently, the N display parameters for each of the multiple chromosome data are determined. Optionally, the multiple chromosome data in the initial chromosome set can also be set by the technical personnel themselves, who can set the N display parameters for each of the multiple chromosome data.

[0041] In some embodiments, the interface content includes at least one interface element, and the N display parameters include display parameters corresponding to at least one interface element, and the display parameters corresponding to the interface element are used to determine the display style of the interface element.

[0042] Interface elements refer to a portion of the content displayed on a user interface. Different interface elements correspond to different portions of displayed content. Interface elements include, but are not limited to, images, videos, text, and controls. Controls are used to navigate to more detailed screens within the interface content. For example... Figure 3 As shown, the interface content 300 includes an image 301, text 302, and controls 303.

[0043] Each UI element corresponds to at least one display parameter. The number of display parameters corresponding to each UI element is not necessarily the same, but the sum of the number of display parameters corresponding to each UI element is N. At least one display parameter corresponding to each UI element is used to determine the display style of the UI element, and one display parameter corresponding to each UI element is used to determine a part of the display style of the UI element. For example, one display parameter corresponding to the UI element is used to determine the display size of the UI element, another display parameter corresponding to the UI element is used to determine the display color of the UI element, and so on.

[0044] The various display parameters of the interface content can be represented in any encoding form such as binary, octal, or hexadecimal, and this application does not impose any restrictions.

[0045] By dividing the interface content into at least one interface element, the N display parameters include the display parameters corresponding to at least one interface element. This allows for targeted adjustment of the display style of the interface element by adjusting the display parameters corresponding to the interface element, providing a more intuitive understanding of the adjustment effect, improving the convenience of parameter adjustment, and enhancing the adjustment effect.

[0046] In some embodiments, when the interface element is an image, the display parameters corresponding to the interface element include at least one of the following: the width of the image, the height of the image, and the radius of the rounded corners of the image border.

[0047] For example, the image can be referenced Figure 3 As shown in image 301, the width of the image can be represented as A1 = 800 pixels, the height of the image can be represented as B1 = 600 pixels, and the rounded corner radius of the image border can be represented as C1 = 0 degrees.

[0048] In some embodiments, when the interface element is a video, the display parameters corresponding to the interface element include at least one of the following: the width of the video, the height of the video, and the radius of the rounded corners of the video border.

[0049] For example, the width of the video can be represented as D1 = 1920 pixels, the height of the video can be represented as E1 = 1080 pixels, and the rounded corner radius of the video border can be represented as F1 = 0 degrees.

[0050] In some embodiments, when the interface element is text, the display parameters corresponding to the interface element include at least one of the following: the font of the text, the font size of the text, the color of the text, and the spacing between the text.

[0051] The spacing between characters mentioned here can refer to the spacing between adjacent characters, the line spacing between each line of characters, or both the spacing between adjacent characters and the line spacing between each line of characters.

[0052] For example, the text can be referenced Figure 3 As shown in text 302, the font of the text can be represented as G1 = Songti, the font size of the text can be represented as H1 = 12, the color of the text can be represented as I1 = yellow (hexadecimal representation is FFF000), the spacing between adjacent text can be represented as J1 = 0 points, and the line spacing between each line of text can be represented as K1 = 20 points.

[0053] In some embodiments, when the interface element is a control, the display parameters corresponding to the interface element include at least one of the following: the font of the text contained in the control, the font size of the text contained in the control, the color of the text contained in the control, the spacing between the text contained in the control, and the radius of the control's border corners.

[0054] The spacing between text within a control, as mentioned here, can refer to the spacing between adjacent characters within the control, the line spacing between each line of text within the control, or both. Typically, the text within a control does not span multiple lines; therefore, the spacing between text within a control refers specifically to the spacing between adjacent characters within the control.

[0055] For example, the control can refer to Figure 3 As shown in control 303, the font of the text contained in the control can be represented as L1 = bold, the font size of the text contained in the control can be represented as M1 = 10, the color of the text contained in the control can be represented as N1 = red, the spacing between adjacent text contained in the control can be represented as O1 = 0 points, and the radius of the control's border corner can be represented as P1 = 5 degrees.

[0056] Based on the display parameters corresponding to at least one interface element included in the interface content, N display parameters are obtained, and chromosome data is generated. For example, as shown... Figure 3 As shown, if the interface content includes image 301, text 302, and control 303, and the display parameters of image 301 include the image width and image height, the display parameters of text 302 include the text font, and the display parameters of control 303 include the font size of the text contained in the control, the text color contained in the control, and the rounded corner radius of the control's border, then chromosome data can be represented as CH1 = [A1, B1, C1, D1, E1, F1], where A1 represents the image width, B1 represents the image height, C1 represents the text font, D1 represents the font size of the text contained in the control, E1 represents the text color contained in the control, and F1 represents the rounded corner radius of the control's border. For example, chromosome data can be represented as CH1 = [800, 600, SimSun, 12, FFF000, 0].

[0057] By setting corresponding display parameters for each display detail of interface elements, the display style of interface elements can be adjusted in a more detailed manner, making the display style of interface elements more in line with user preferences and improving the adjustment effect of the display style of interface content.

[0058] Step 220: Obtain the exposure data corresponding to each of the multiple chromosome data. The exposure data corresponding to the chromosome data is used to indicate the exposure effect of the content displayed on the chromosome data-based interface.

[0059] Multiple chromosome data points are applied to the interface content, allowing each piece of content to be displayed with its own set of chromosome data. The exposure data for each chromosome data point is then obtained, representing the exposure data for each individual chromosome data point. The exposure data values ​​are positively correlated with the display effect of the interface content: the higher the exposure data value for each chromosome data point, the better the exposure effect; conversely, the lower the exposure data value, the worse the exposure effect.

[0060] In some embodiments, exposure data includes at least one of the following: click-through rate of interface content, exposure duration of interface content, and conversion rate of interface content.

[0061] The click-through rate (CTR) of interface content is calculated as: (Number of clicks on the interface content) / (Number of impressions of the interface content). For example, for interface content configured with chromosome data 1, the number of times the content is displayed on the target application's screen is denoted as ch1_ad_impression. When a user clicks on this content, the click information, including the number of clicks, is recorded as ch1_ad_click. Therefore, the CTR of the interface content configured with chromosome data 1 is expressed as ch1_ad_click / ch1_ad_impression. Similarly, the CTR of interface content configured with other chromosome data can be collected.

[0062] The exposure duration of interface content refers to the duration for which the interface content is displayed on the target application's screen. For example, for interface content configured with chromosome data 1, the interface content is exposed, and the timer starts when the content begins to appear on the target application's screen and stops when it leaves. This exposure duration is denoted as ch1_ad_time. Similarly, the exposure duration of interface content configured with other chromosome data can be collected.

[0063] The conversion rate of interface content measures the shift from passive browsing to active action by a user on a target application. The conversion rate is calculated as: Number of conversions / Number of clicks. For example, for interface content configured with chromosome data 1, after a user clicks on this content and performs a conversion based on it, the conversion information, including the number of conversions (denoted as ch1_ad_conversion), is recorded. Therefore, the conversion rate of the interface content configured with chromosome data 1 is expressed as ch1_ad_conversion / ch1_ad_click. Similarly, the conversion rates of interface content configured with other chromosome data can be collected.

[0064] Optionally, the exposure data may contain only one data point. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by using only this one data point. For example, the exposure data may refer to the click-through rate (CTR) of the interface content. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by obtaining only the CTR of the interface content. Optionally, the exposure data may contain two data points. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by using both of these two data points. For example, the exposure data may include the CTR of the interface content and the exposure duration of the interface content. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by obtaining both of these data points. Optionally, the exposure data may contain three data points. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by using all three data points. For example, the exposure data may include the CTR of the interface content, the exposure duration of the interface content, and the conversion rate of the interface content. In this case, the exposure effect of the interface content displayed based on chromosome data is determined by obtaining all three data points.

[0065] If the exposure data contains only one data point, then the value of that single data point is determined as the exposure data value. If the exposure data contains multiple data points, then the multiple data points can be weighted and the exposure data value can be calculated comprehensively. This application does not limit the weights of the multiple data points included in the exposure data; these weights can be set by those skilled in the art.

[0066] Step 230: Based on the exposure data corresponding to multiple chromosome data, adjust the multiple chromosome data according to the genetic algorithm to obtain the target chromosome data. The target chromosome data is used to define the final display style of the interface content.

[0067] Genetic algorithms are a type of stochastic global search optimization algorithm. By randomly selecting, crossing over, and mutating the input data, they generate adjusted data that can produce better results in the environment. After multiple rounds of adjustment, they converge to obtain the data that best adapts to the environment, thus obtaining the optimal solution.

[0068] In this embodiment, multiple chromosome data are randomly selected, crossovered, and mutated to generate adjusted chromosome data. This adjusted chromosome data corresponds to better exposure effects. After multiple rounds of adjustment using a genetic algorithm, the chromosome data with the best exposure effects is converged. The chromosome data corresponding to the exposure data with the largest value is then selected as the target chromosome data. The target chromosome data is used to define the final display style of the interface content.

[0069] The technical solution provided in this application, compared to related technologies that rely on manual adjustment of chromosome data, achieves automated adjustment of chromosome data by using a genetic algorithm to adjust multiple chromosomes in the initial chromosome set. This shortens the time required for adjusting chromosome data and improves the efficiency of chromosome data adjustment. Furthermore, by refining the chromosome data into N display parameters, the display style of the interface content can be adjusted by adjusting these parameters, improving the convenience of parameter adjustment. The effect of adjusting the display parameters can be intuitively perceived through the exposure data corresponding to the chromosome data. Therefore, based on the exposure data corresponding to multiple chromosomes, the genetic algorithm can achieve more detailed adjustments to the chromosome data, making the display style of the interface content more in line with user preferences, improving the adjustment effect of chromosome data, and thus improving the exposure effect of the interface content.

[0070] For the determination of target chromosome data based on genetic algorithms in step 230 above, please refer to... Figure 4 This document illustrates a flowchart of a method for adjusting chromosome data according to an embodiment of this application. The execution entity for each step of this method can be a computer device. The method may include at least one of the following steps 410-440:

[0071] Step 410: Based on the exposure data corresponding to the multiple chromosome data, determine the first part of chromosome data, the second part of chromosome data, and the third part of chromosome data from the multiple chromosome data. The first part of chromosome data is used as the chromosome data to be retained in the genetic algorithm, the second part of chromosome data is used as the chromosome data to be used for crossover in the genetic algorithm, and the third part of chromosome data is used as the chromosome data to be used for mutation in the genetic algorithm.

[0072] The first part of the chromosome data represents the chromosome data at a first proportion among multiple chromosome data sets; the second part represents the chromosome data at a second proportion among multiple chromosome data sets; and the third part represents the chromosome data at a third proportion among multiple chromosome data sets. This application does not limit the magnitude of the first, second, and third proportions, which can be set by those skilled in the art according to the convergence requirements of the genetic algorithm.

[0073] In some embodiments, the sum of the first ratio, the second ratio, and the third ratio is 1. For example, the first ratio, the second ratio, and the third ratio are all 1 / 3. Alternatively, the first ratio is 1 / 2, the second ratio and the third ratio are 1 / 4, and so on.

[0074] In some embodiments, if the sum of the first ratio, the second ratio, and the third ratio is less than 1, then the first part of chromosome data, the second part of chromosome data, and the third part of chromosome data are determined from a subset of the multiple chromosome data.

[0075] The first part of the chromosome data serves as the chromosome data to be preserved in the genetic algorithm; that is, the chromosome data in the first part is the data that is not manipulated or modified in the genetic algorithm. The second part of the chromosome data serves as the chromosome data used for crossover in the genetic algorithm. This means that the genetic algorithm randomly swaps the corresponding display parameters of the paired chromosome data in the second part to obtain the crossover chromosome data. The third part of the chromosome data serves as the chromosome data used for mutation in the genetic algorithm. This means that the genetic algorithm adjusts the display parameters of the chromosome data in the third part within positive and negative ranges to obtain the mutated chromosome data.

[0076] In some embodiments, step 410 includes at least one of sub-steps 411 to 414 (not shown in the figures).

[0077] Sub-step 411: Sort the multiple chromosome data according to the exposure data corresponding to each chromosome data, and obtain sorted chromosome data. The sorted chromosome data are arranged in descending order of exposure data.

[0078] Based on the numerical values ​​of the exposure data corresponding to each chromosome, the chromosome data are sorted in descending order of exposure data value to obtain sorted chromosome data. For example, if the numerical values ​​of the exposure data corresponding to each chromosome are arranged in descending order as ch1_value>ch2_value>…>chn_value, then the sorted chromosome data will be arranged as CH1, CH2, …, CHn.

[0079] In some embodiments, if the exposure data only includes the click-through rate of the interface content, the multiple chromosome data are sorted in descending order of click-through rate based on the click-through rate of each chromosome data point, resulting in sorted chromosome data. For example, if the click-through rates of the multiple chromosome data points are arranged in descending order as ch1_ctr>ch2_ctr>…>chn_ctr, then the sorted chromosome data are sequentially arranged as CH1, CH2, …, CHn.

[0080] Sub-step 412: The chromosome data with the highest order among the sorted chromosome data is determined as the first part of the chromosome data.

[0081] For example, if multiple chromosome data are arranged in the order of CH1, CH2, CH3, CH4, CH5, CH6, and the first ratio is 1 / 3, then the chromosome data in the first part includes CH1 and CH2.

[0082] Sub-step 413: The chromosome data in the second proportion that are sorted after the chromosome data in the first part are determined as the chromosome data in the second part.

[0083] For example, if multiple chromosome data are arranged in the order of CH1, CH2, CH3, CH4, CH5, CH6, and the second ratio is 1 / 3, then the chromosome data in the second part includes CH3 and CH4.

[0084] Sub-step 414: The chromosome data in the third proportion that are sorted after the chromosome data in the second part are determined as the chromosome data in the third part.

[0085] For example, if multiple chromosome data are arranged in the order of CH1, CH2, CH3, CH4, CH5, CH6, and the third ratio is 1 / 3, then the chromosome data in the third part includes CH5 and CH6.

[0086] By using the above method of dividing chromosome data, chromosome data corresponding to exposure data with larger values ​​are retained, chromosome data corresponding to exposure data with intermediate values ​​are cross-referenced, and chromosome data corresponding to exposure data with smaller values ​​are mutated. This allows the adjusted chromosome data to achieve better exposure results based on the initial chromosome data, thereby improving the adjustment effect of chromosome data.

[0087] Step 420: Based on the genetic algorithm, generate adjusted chromosome data from the chromosome data in the first part, the chromosome data in the second part, and the chromosome data in the third part.

[0088] Based on a genetic algorithm, the chromosome data in the first part is preserved, a crossover operation is performed on the chromosome data in the second part to obtain crossover chromosome data, and a mutation operation is performed on the chromosome data in the third part to obtain mutated chromosome data. Based on the chromosome data in the first part, the crossover chromosome data, and the mutated chromosome data, adjusted chromosome data is obtained.

[0089] In some embodiments, step 420 includes at least one of sub-steps 421 to 423 (not shown in the figures).

[0090] Sub-step 421 involves performing a crossover operation on the chromosome data in the second part to obtain the crossover chromosome data.

[0091] Crossover operation refers to the operation of randomly exchanging the display parameters of paired chromosome data in the second part of the chromosome data.

[0092] In some embodiments, for the first chromosome data and the second chromosome data in the second part of the chromosome data, a position exchange operation is performed on the fourth ratio display parameter in the first chromosome data and the fourth ratio display parameter at the corresponding position in the second chromosome data to obtain the crossed first chromosome data and the crossed second chromosome data. The fourth ratio display parameter is at least one display parameter randomly selected from N display parameters.

[0093] The first chromosome data and the second chromosome data are paired chromosome data from the chromosome data in the second part. Optionally, the first chromosome data and the second chromosome data can be paired chromosome data from the chromosome data in the second part in the order of their arrangement. For example, if the chromosome data in the second part is arranged sequentially as CH1, CH2, CH3, CH4, CH5, CH6, then the paired chromosome data will sequentially include CH1 and CH2, CH3 and CH4, CH5 and CH6, and the first chromosome data and the second chromosome data can be any one of CH1 and CH2, CH3 and CH4, CH5 and CH6. Optionally, the first chromosome data and the second chromosome data can also be two randomly distributed chromosome data from the chromosome data in the second part, which are then paired together to form the chromosome data. For example, if the chromosome data in the second part are arranged sequentially as CH1, CH2, CH3, CH4, CH5, CH6, then any two chromosome data in the second part can be randomly selected to form a pair of chromosome data. For example, the pair of chromosome data can include CH1 and CH4, CH2 and CH6, CH3 and CH5, and the first chromosome data and the second chromosome data can be any one of CH1 and CH4, CH2 and CH6, CH3 and CH5.

[0094] The position swap operation refers to the operation of exchanging the display parameters of the first chromosome data and the second chromosome data at corresponding positions. That is, placing the display parameters of the corresponding positions in the first chromosome data into the corresponding positions in the second chromosome data, and placing the display parameters of the corresponding positions in the second chromosome data into the corresponding positions in the first chromosome data.

[0095] The fourth ratio is at least one randomly selected display parameter from N display parameters. This application does not limit the size of the fourth ratio; it can be set by a technician according to the convergence requirements of the genetic algorithm. For example, the fourth ratio can be 1 / 2, in which case a position swap operation is performed on 1 / 2 of the display parameters at corresponding positions in the first and second chromosome data.

[0096] Optionally, the display parameters of the fourth ratio can be display parameters with a distribution pattern among the N display parameters. For example, the display parameters of the fourth ratio can be display parameters that are distributed at intervals among the N display parameters. For example, if the first chromosome is CH3 = [A3,B3,C3,D3,E3,F3,G3,H3,I3,J3], the second chromosome is CH4 = [A4,B4,C4,D4,E4,F4,G4,H4,I4,J4], and the fourth ratio is 1 / 2, then the first chromosome after the crossover can be CH3 = [A4,B3,C4,D3,E4,F3,G4,H3,I4,J3], and the corresponding second chromosome after the crossover is CH4 = [A3,B4,C3,D4,E3,F4,G3,H4,I3,J4].

[0097] Optionally, the display parameters of the fourth ratio can also be display parameters that do not have a distribution pattern among the N display parameters. For example, if the first chromosome is CH3 = [A3,B3,C3,D3,E3,F3,G3,H3,I3,J3], the second chromosome is CH4 = [A4,B4,C4,D4,E4,F4,G4,H4,I4,J4], and the fourth ratio is 1 / 2, then the first chromosome after the crossover can be CH3 = [A4,B4,C3,D4,E3,F3,G3,H4,I4,J3], and the corresponding second chromosome after the crossover is CH4 = [A3,B3,C4,D3,E4,F4,G4,H3,I3,J4].

[0098] By swapping at least one display parameter at the corresponding position in the paired chromosome data in the second part of the chromosome data, the swapped chromosome data is used as new chromosome data in the next round of exposure testing. The new chromosome data may produce better exposure results, thereby gradually generating the target chromosome data with the best exposure effect in the genetic rounds and improving the adjustment effect of chromosome data.

[0099] Sub-step 422 involves performing a mutation operation on the chromosome data in the third part to obtain the mutated chromosome data.

[0100] Mutation operations refer to the operation of adjusting the values ​​of the display parameters in the chromosome data of the third part, within the positive and negative ranges of each display parameter adjustment range.

[0101] In some embodiments, for the third chromosome data in the third part of the chromosome data, adjustment operations are performed on at least one display parameter in the third chromosome data to obtain the mutated third chromosome data. The mutated third chromosome data includes at least one adjusted display parameter, the adjustment range of which is used to indicate the magnitude of the change in the value of the adjusted display parameter relative to the display parameter, and the adjustment range of the adjusted display parameter is less than or equal to a preset maximum threshold value.

[0102] The third chromosome data refers to any chromosome data in the third part of the chromosome data. An adjustment operation refers to the operation of adjusting the value of at least one display parameter in the third chromosome data within the positive and negative ranges corresponding to each display parameter. In other words, it involves increasing or decreasing the value of at least one display parameter in the third chromosome data, with the increase or decrease occurring within the corresponding adjustment range.

[0103] The adjustment range of the adjusted display parameters refers to the difference in value between the adjusted and unadjusted display parameters, representing the magnitude of the change relative to the unadjusted display parameters. The adjustment range of the adjusted display parameters = |value of the adjusted display parameter - value of the unadjusted display parameter| / value of the unadjusted display parameter. Different display parameters can have the same or different adjustment ranges. If different display parameters have different adjustment ranges, then different preset maximum threshold values ​​can be set for the adjustment range of each parameter. For example, the maximum threshold value for the adjustment range of display parameter 1 can be set to 10%, and the maximum threshold value for the adjustment range of display parameter 2 can be set to 15%.

[0104] This application does not limit the preset maximum threshold value mentioned above, and it can be set by technicians according to the convergence requirements of the genetic algorithm.

[0105] Optionally, adjustment operations can be performed on a portion of the display parameters in the third chromosome data to obtain third chromosome data with some display parameters mutated. For example, if the third chromosome data is CH1 = [800, 600, SimSun, 12, FFF000, 0], and adjustment operations are performed on a portion of the display parameters, the mutated third chromosome data will be [810, 610, SimSun, 12, FFF001, 0].

[0106] Optionally, adjustment operations can be performed on each of the N display parameters in the third chromosome data to obtain the third chromosome data after the N display parameters are mutated. For example, the third chromosome data is CH1 = [800, 600, SimSun, 12, FFF000, 0]. By performing adjustment operations on a portion of the display parameters, the mutated third chromosome data is [810, 610, SimSun, 13, FFF001, 1].

[0107] By adjusting the display parameters of each chromosome in the chromosome data in Part 3, the mutated chromosome data can participate in the next round of exposure testing. The new chromosome data may produce better exposure results, thereby gradually generating the target chromosome data with the best exposure effect in the genetic rounds and improving the adjustment effect of chromosome data.

[0108] Sub-step 423: Based on the chromosome data from the first part, the crossover chromosome data, and the mutated chromosome data, obtain the adjusted chromosome data.

[0109] Based on the chromosome data from Part 1, the crossover chromosome data, and the mutated chromosome data, an adjusted chromosome set is obtained. This adjusted chromosome set includes the chromosome data from Part 1, the crossover chromosome data, and the mutated chromosome data. These adjusted chromosome sets will be used in the next round of exposure testing to obtain the exposure data corresponding to each of the adjusted chromosome sets.

[0110] By cross-referencing the chromosome data in the second part and mutating the chromosome data in the third part, different operational changes are made to the initial multiple chromosome data, so that the adjusted chromosome data can achieve better exposure based on the initial chromosome data, thereby improving the adjustment effect of chromosome data.

[0111] Step 430: If the adjustment process of the genetic algorithm meets the termination condition, the chromosome data corresponding to the exposure data with the largest value among the adjusted chromosome data is determined as the target chromosome data.

[0112] If the adjustment process of the genetic algorithm meets the termination condition, the adjusted chromosome data are arranged in descending order of exposure data, resulting in a series of arranged adjusted chromosome data. The chromosome data that ranks first among the arranged adjusted chromosome data is determined as the target chromosome data.

[0113] By employing a genetic algorithm to perform multiple rounds of adjustments on chromosome data, the adjustments to the chromosome data are made more refined. This allows the target chromosome data to be determined based on the exposure data corresponding to the adjusted chromosome data. This makes the display style of the interface content more in line with user preferences and improves the adjustment effect of chromosome data.

[0114] The adjustment process of a genetic algorithm will go through at least one adjustment round. The adjustment process of a genetic algorithm satisfies the termination condition, which can mean that the final adjustment result of at least one adjustment round of the genetic algorithm satisfies the termination condition, or it can mean that the number of adjustment rounds of the genetic algorithm satisfies the termination condition.

[0115] In some embodiments, the termination condition includes at least one of the following:

[0116] 1. The number of adjustment rounds included in the adjustment process is equal to the first number.

[0117] The first quantity is the maximum number of rounds that the adjustment process can go through. If the number of adjustment rounds in the adjustment process is equal to the first quantity, it means that the number of adjustment rounds that the adjustment process has gone through has reached the maximum number of rounds. In this case, the iterative adjustment of the genetic algorithm needs to be stopped, that is, the adjustment process of the genetic algorithm has met the termination condition.

[0118] This application does not limit the size of the first quantity; it can be set by the technicians according to the iterative requirements of the genetic algorithm.

[0119] For example, the first number can be 5, meaning the maximum number of rounds the adjustment process can go through is 5. If the adjustment process has not yet reached 5 rounds, the adjusted chromosome data obtained in this round will continue to undergo exposure testing to obtain the exposure data corresponding to each of the adjusted chromosome data. Then, based on the genetic algorithm, the chromosome data will be further adjusted according to the exposure data corresponding to each of the adjusted chromosome data. This process continues until the number of adjustment rounds has reached 5.

[0120] 2. The number of adjustment rounds included in the adjustment process is equal to the second number, and among the exposure data corresponding to the adjusted chromosome data obtained from the third consecutive number of adjustment rounds in the adjustment process, the maximum value of the exposure data is less than or equal to the first threshold. The second number is less than the first number, and the third number is less than or equal to the second number.

[0121] If the second quantity is less than the first quantity, it means that the number of adjustment rounds included in the adjustment process has not yet reached the maximum number of rounds that the adjustment process can go through. If the third quantity is less than or equal to the second quantity, it means that among the adjustment rounds included in the second quantity, there are multiple chromosome data obtained after the third consecutive adjustment rounds, and the maximum value of the exposure data is less than or equal to the first threshold.

[0122] This application does not limit the size of the first threshold, the second quantity, and the third quantity; these can be set by technicians according to the iterative requirements of the genetic algorithm.

[0123] If the number of adjustment rounds included in the adjustment process has not reached the maximum number of rounds that the adjustment process can go through, and if in the third consecutive adjustment rounds, the maximum value of the exposure data corresponding to the adjusted chromosome data of each of the multiple chromosome data is less than or equal to the first threshold, it means that the third consecutive adjustment rounds of the genetic algorithm have not achieved the expected adjustment effect, and the adjustment process of the genetic algorithm is determined to meet the termination condition.

[0124] For example, if the first threshold is 10%, the second quantity is 4, and the third quantity is 3, and the maximum value of the exposure data corresponding to the adjusted chromosome data obtained in the first adjustment round is 11%, the maximum value of the exposure data corresponding to the adjusted chromosome data obtained in the second adjustment round is 8%, the maximum value of the exposure data corresponding to the adjusted chromosome data obtained in the third adjustment round is 7%, and the maximum value of the exposure data corresponding to the adjusted chromosome data obtained in the fourth adjustment round is 9%, then there are three consecutive adjustment rounds in which the maximum value of the exposure data corresponding to the adjusted chromosome data is less than 10%. This indicates that the genetic algorithm has not achieved the expected adjustment effect in three consecutive adjustment rounds, and the adjustment process of the genetic algorithm meets the termination condition. If, in the first adjustment round, the maximum exposure value of the exposure data corresponding to the adjusted chromosome data is 10%; in the second adjustment round, the maximum exposure value is 11%; in the third adjustment round, the maximum exposure value is 7%; and in the fourth adjustment round, the maximum exposure value is 9%, then among the exposure data corresponding to the adjusted chromosome data in three consecutive adjustment rounds, there exists a maximum exposure value greater than 10% in the second adjustment round. This indicates that the genetic algorithm has achieved the expected adjustment effect in one of the three consecutive adjustment rounds, and the adjustment process of the genetic algorithm does not meet the termination condition.

[0125] 3. The number of adjustment rounds included in the adjustment process is equal to the second number, and among the exposure data corresponding to the multiple chromosome data obtained in the fourth consecutive adjustment rounds in the adjustment process, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

[0126] If the fourth quantity is less than or equal to the second quantity, it means that among the second quantity of adjustment rounds included in the adjustment process, there are multiple chromosome data obtained after the fourth consecutive adjustment rounds, and the chromosome data corresponding to the exposure data with the largest value has not changed.

[0127] This application does not limit the size of the fourth quantity, which can be set by those skilled in the art according to the iterative requirements of the genetic algorithm. Optionally, the fourth quantity can be equal to the third quantity, less than the third quantity, or greater than the third quantity and less than or equal to the second quantity. This application does not limit the relationship between the fourth and third quantities.

[0128] If the number of adjustment rounds included in the adjustment process has not reached the maximum number of rounds that the adjustment process can go through, and if, among the exposure data corresponding to the adjusted chromosome data obtained in the fourth consecutive adjustment round, the chromosome data corresponding to the exposure data with the largest value has not changed, it means that the fourth consecutive adjustment round of the genetic algorithm has not produced any adjustment, and the adjustment process of the genetic algorithm is determined to meet the termination condition.

[0129] For example, if the second quantity is 4 and the fourth quantity is 3, and if the chromosome data corresponding to the exposure data corresponding to the adjusted chromosome data obtained in the first adjustment round is chromosome data 1, the chromosome data corresponding to the exposure data corresponding to the adjusted chromosome data obtained in the second adjustment round is chromosome data 1, and the chromosome data corresponding to the exposure data corresponding to the adjusted chromosome data obtained in the third adjustment round is chromosome data 1, then the chromosome data corresponding to the exposure data corresponding to the exposure data corresponding to the adjusted chromosome data obtained in the three consecutive adjustment rounds has not changed, indicating that the adjustment process of the genetic algorithm meets the termination condition. If, in the first adjustment round, the chromosome data corresponding to the exposure data of the adjusted chromosome data is chromosome 1, in the second adjustment round, the chromosome data corresponding to the exposure data of the adjusted chromosome data is chromosome 2, in the third adjustment round, the chromosome data corresponding to the exposure data of the adjusted chromosome data is chromosome 1, and in the fourth adjustment round, the chromosome data corresponding to the exposure data of the adjusted chromosome data is chromosome 1, then the chromosome data corresponding to the exposure data of the adjusted chromosome data has changed in three consecutive adjustment rounds, and the adjustment process of the genetic algorithm does not meet the termination condition.

[0130] By setting the above termination conditions, when the number of adjustment rounds reaches the upper limit, or multiple adjustment rounds fail to achieve the expected adjustment effect, or multiple adjustment rounds fail to produce any adjustment, the chromosome data corresponding to the exposure data with the largest value among the multiple adjusted chromosome data obtained after multiple adjustment rounds is determined as the target chromosome data, thus avoiding over-adjustment and wasting computing resources.

[0131] Step 440: If the adjustment process of the genetic algorithm does not meet the termination condition, if the maximum value of the exposure data corresponding to the multiple adjusted chromosome data is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

[0132] The second threshold is greater than the first threshold. For example, if the first threshold is 10% and the second threshold is 15%, then if the maximum value of the exposure data corresponding to the adjusted multiple chromosome data is greater than or equal to 15%, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

[0133] In some embodiments, the adjustment process of the genetic algorithm does not meet the termination condition, including at least one of the following:

[0134] 1. The number of adjustment rounds included in the adjustment process is less than the first number.

[0135] 2. The number of adjustment rounds included in the adjustment process is equal to the second number, and there is no third consecutive number of adjustment rounds in the adjustment process. Among the exposure data corresponding to the multiple chromosome data obtained after adjustment, the maximum value of the exposure data is less than or equal to the first threshold, the second number is less than the first number, and the third number is less than or equal to the second number.

[0136] For example, in the third consecutive adjustment rounds included in the adjustment process, there is at least one adjustment round in which the maximum value of the exposure data corresponding to the multiple chromosome data obtained after adjustment is greater than the first threshold.

[0137] 3. The number of adjustment rounds included in the adjustment process is equal to the second number, and there is no fourth consecutive adjustment round in the adjustment process. Among the exposure data corresponding to the multiple chromosome data obtained after adjustment, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

[0138] For example, in the fourth consecutive adjustment rounds included in the adjustment process, there is at least one adjustment round in which the chromosome data corresponding to the exposure data of the multiple chromosome data obtained after adjustment is different from the chromosome data corresponding to the exposure data of the largest value obtained in other adjustment rounds.

[0139] In some embodiments, if, after step 220 and before step 230, the maximum value of the exposure data corresponding to the multiple chromosome data obtained in step 220 is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is directly determined as the target chromosome data, without needing to go through step 230.

[0140] By setting the maximum value of the exposure data to be greater than or equal to a second threshold, the chromosome data corresponding to the exposure data with the largest value can be identified as the target chromosome data. This reduces the number of steps required to determine the target chromosome data, avoids unnecessary iterative calculations, and saves computational resources.

[0141] Figure 5 The flowchart of the method for adjusting the display style of interface content is shown. The first part is used to initialize chromosome data, including steps S1 and S2. The second part is used to sort chromosome data according to exposure effect, including steps S3 and S4. The third part is used to adjust chromosome data based on genetic algorithm, including steps S5 to S9.

[0142] Step S1: Select N display parameters for the chromosome data.

[0143] Step S2: Based on the N display parameters of each of the multiple chromosome data, set the initial chromosome set for the interface content.

[0144] Step S3: Collect exposure data corresponding to the content of the display interface based on multiple chromosome data.

[0145] Step S4: Based on the exposure data corresponding to each chromosome, sort the chromosome data to obtain sorted chromosome data. Then, determine whether the termination condition is met based on the sorted chromosome data. If the termination condition is met, the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data. If the termination condition is not met, a genetic algorithm is used to iteratively adjust the chromosome data.

[0146] Step S5: Based on the sorted chromosome data, group the chromosome data into three parts: the first part, the second part, and the third part.

[0147] Step S6: Retain the chromosome data from the first part.

[0148] Step S7: Perform a crossover operation on the chromosome data in the second part to obtain the crossover chromosome data.

[0149] Step S8: Perform a mutation operation on the chromosome data in the third part to obtain the mutated chromosome data.

[0150] Step S9: Based on the chromosome data from the first part, the crossover chromosome data, and the mutated chromosome data, obtain adjusted chromosome data. Then, based on the adjusted chromosome data, execute step S3 to collect the exposure data corresponding to each of the adjusted chromosome data, and continue iteratively downwards in this manner.

[0151] The adjustment effect of this application can be seen in Table 1 and Table 2 below. Table 1 shows the values ​​of various display parameters of the initial chromosome data, and Table 2 shows the values ​​of various display parameters of the final target chromosome data.

[0152] Table 1

[0153]

[0154]

[0155] Table 2

[0156] Display parameters numerical values Control text color #43ae60 Control text size 14 control corner radius 5 degrees Text font Song typeface Image width 1200 pixels Image height 680 pixels

[0157] Application scenario examples:

[0158] The interface content display style adjustment method provided in this application embodiment can be applied to advertising, video, image, and game fields. Below, the task creation method applied to advertising and video fields will be introduced.

[0159] Applications in the advertising field:

[0160] In one application scenario, the method for adjusting the display style of interface content can be applied to the advertising field. Figure 6 A flowchart illustrating a method for adjusting the display style of interface content applied in the advertising field, according to an embodiment of this application, is shown. The execution entity for each step of this method can be a computer device. The method may include at least one of the following steps 610 to 630.

[0161] Step 610: Obtain the initial chromosome set of the advertising content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. Among the N display parameters, at least one is adjustable. The N display parameters are used to determine the display style of the advertising content. Different chromosome data are used to define different display styles of the advertising content. N is a positive integer.

[0162] In some embodiments, the advertising content includes at least one advertising element, and the N display parameters include the display parameters corresponding to at least one advertising element, and the display parameters corresponding to the advertising element are used to determine the display style of the advertising element.

[0163] In some embodiments, when the advertising element is an image, the display parameters corresponding to the advertising element include at least one of the following: image width, image height, and image border rounded corner radius. When the advertising element is a video, the display parameters corresponding to the advertising element include at least one of the following: video width, video height, and video border rounded corner radius. When the advertising element is text, the display parameters corresponding to the advertising element include at least one of the following: text font, text size, text color, and spacing between text elements. When the advertising element is a control, the display parameters corresponding to the advertising element include at least one of the following: text font contained in the control, text size contained in the control, text color contained in the control, spacing between text elements contained in the control, and control border rounded corner radius.

[0164] Step 620: Obtain the exposure data corresponding to each of the multiple chromosome data. The exposure data corresponding to the chromosome data is used to indicate the exposure effect of displaying advertising content based on chromosome data.

[0165] Step 630: Based on the exposure data corresponding to multiple chromosome data, adjust the multiple chromosome data according to the genetic algorithm to obtain the target chromosome data. The target chromosome data is used to define the final display style of the advertising content.

[0166] In some embodiments, based on the exposure data corresponding to each of the multiple chromosome data sets, a first part of chromosome data, a second part of chromosome data, and a third part of chromosome data are determined from the multiple chromosome data sets. The first part of chromosome data serves as the chromosome data to be preserved in the genetic algorithm, the second part of chromosome data serves as the chromosome data to be used for crossover in the genetic algorithm, and the third part of chromosome data serves as the chromosome data to be used for mutation in the genetic algorithm. Based on the genetic algorithm, adjusted multiple chromosome data sets are generated according to the first part, second part, and third part of chromosome data. If the adjustment process of the genetic algorithm meets the termination condition, the chromosome data corresponding to the exposure data with the largest value among the adjusted multiple chromosome data sets is determined as the target chromosome data.

[0167] In some embodiments, the multiple chromosome data are sorted according to the exposure data corresponding to each chromosome, resulting in sorted chromosome data arranged in descending order of exposure data. The first proportion of chromosome data appearing at the top of the sorted chromosome data set is defined as the first part of the chromosome data. The second proportion of chromosome data appearing after the first part is defined as the second part of the chromosome data. The third proportion of chromosome data appearing after the second part is defined as the third part of the chromosome data.

[0168] In some embodiments, a crossover operation is performed on the chromosome data in the second part to obtain crossover chromosome data; a mutation operation is performed on the chromosome data in the third part to obtain mutated chromosome data; and multiple adjusted chromosome data are obtained based on the chromosome data in the first part, the crossover chromosome data, and the mutated chromosome data.

[0169] In some embodiments, for the first chromosome data and the second chromosome data in the second part of the chromosome data, a position exchange operation is performed on the fourth ratio display parameter in the first chromosome data and the fourth ratio display parameter at the corresponding position in the second chromosome data to obtain the crossed first chromosome data and the crossed second chromosome data. The fourth ratio display parameter is at least one display parameter randomly selected from N display parameters.

[0170] In some embodiments, for the third chromosome data in the third part of the chromosome data, an adjustment operation is performed on at least one display parameter in the third chromosome data to obtain the mutated third chromosome data. The mutated third chromosome data includes at least one adjusted display parameter. The adjustment range of the adjusted display parameter is used to indicate the magnitude of the change in the value of the adjusted display parameter relative to the display parameter. The adjustment range of the adjusted display parameter is less than or equal to a preset maximum threshold value.

[0171] In some embodiments, the termination condition includes at least one of the following: the number of adjustment rounds included in the adjustment process is equal to a first number; the number of adjustment rounds included in the adjustment process is equal to a second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the third consecutive number of adjustment rounds in the adjustment process, the maximum value of the exposure data is less than or equal to a first threshold, the second number is less than the first number, and the third number is less than or equal to the second number; the number of adjustment rounds included in the adjustment process is equal to a second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the fourth consecutive number of adjustment rounds in the adjustment process, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

[0172] In some embodiments, if the adjustment process of the genetic algorithm does not meet the termination condition, if the maximum value of the exposure data corresponding to the multiple adjusted chromosome data is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

[0173] The method for adjusting the display style of interface content in the advertising field provided in this application uses a genetic algorithm to adjust multiple chromosome data in an initial chromosome set. This achieves automated adjustment of chromosome data, shortens the time required for adjusting chromosome data, and improves the efficiency of chromosome data adjustment. Furthermore, by using the exposure data corresponding to the chromosome data, the effect of the display parameter adjustment can be intuitively perceived. This allows for more detailed adjustments to the chromosome data based on the genetic algorithm, making the display style of the advertising content more in line with user preferences, improving the adjustment effect of chromosome data, and thus improving the exposure effect of the advertising content.

[0174] Applications in the video field:

[0175] In one application scenario, the method for adjusting the display style of interface content can be applied to the video field. Figure 7 A flowchart illustrating a method for adjusting the display style of interface content in the video field, according to an embodiment of this application, is shown. The execution entity for each step of this method can be a computer device. The method may include at least one of the following steps 710-730.

[0176] Step 710: Obtain the initial chromosome set of the video content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. Among the N display parameters, at least one is adjustable. The N display parameters are used to determine the display style of the video content. Different chromosome data are used to define different display styles of the video content. N is a positive integer.

[0177] In some embodiments, the video content includes at least one video element, and the N display parameters include display parameters corresponding to at least one video element, and the display parameters corresponding to the video element are used to determine the display style of the video element.

[0178] In some embodiments, when the video element is an image, the display parameters corresponding to the video element include at least one of the following: image width, image height, and image border rounded corner radius. When the video element is a video, the display parameters corresponding to the video element include at least one of the following: video width, video height, and video border rounded corner radius. When the video element is text, the display parameters corresponding to the video element include at least one of the following: text font, text size, text color, and spacing between text elements. When the video element is a control, the display parameters corresponding to the video element include at least one of the following: text font contained in the control, text size contained in the control, text color contained in the control, spacing between text elements contained in the control, and control border rounded corner radius.

[0179] Step 720: Obtain the exposure data corresponding to each of the multiple chromosome data. The exposure data corresponding to the chromosome data is used to indicate the exposure effect of the video content displayed based on the chromosome data.

[0180] Step 730: Based on the exposure data corresponding to multiple chromosome data, adjust the multiple chromosome data according to the genetic algorithm to obtain the target chromosome data. The target chromosome data is used to define the final display style of the video content.

[0181] In some embodiments, based on the exposure data corresponding to each of the multiple chromosome data sets, a first part of chromosome data, a second part of chromosome data, and a third part of chromosome data are determined from the multiple chromosome data sets. The first part of chromosome data serves as the chromosome data to be preserved in the genetic algorithm, the second part of chromosome data serves as the chromosome data to be used for crossover in the genetic algorithm, and the third part of chromosome data serves as the chromosome data to be used for mutation in the genetic algorithm. Based on the genetic algorithm, adjusted multiple chromosome data sets are generated according to the first part, second part, and third part of chromosome data. If the adjustment process of the genetic algorithm meets the termination condition, the chromosome data corresponding to the exposure data with the largest value among the adjusted multiple chromosome data sets is determined as the target chromosome data.

[0182] In some embodiments, the multiple chromosome data are sorted according to the exposure data corresponding to each chromosome, resulting in sorted chromosome data arranged in descending order of exposure data. The first proportion of chromosome data appearing at the top of the sorted chromosome data set is defined as the first part of the chromosome data. The second proportion of chromosome data appearing after the first part is defined as the second part of the chromosome data. The third proportion of chromosome data appearing after the second part is defined as the third part of the chromosome data.

[0183] In some embodiments, a crossover operation is performed on the chromosome data in the second part to obtain crossover chromosome data; a mutation operation is performed on the chromosome data in the third part to obtain mutated chromosome data; and multiple adjusted chromosome data are obtained based on the chromosome data in the first part, the crossover chromosome data, and the mutated chromosome data.

[0184] In some embodiments, for the first chromosome data and the second chromosome data in the second part of the chromosome data, a position exchange operation is performed on the fourth ratio display parameter in the first chromosome data and the fourth ratio display parameter at the corresponding position in the second chromosome data to obtain the crossed first chromosome data and the crossed second chromosome data. The fourth ratio display parameter is at least one display parameter randomly selected from N display parameters.

[0185] In some embodiments, for the third chromosome data in the third part of the chromosome data, an adjustment operation is performed on at least one display parameter in the third chromosome data to obtain the mutated third chromosome data. The mutated third chromosome data includes at least one adjusted display parameter. The adjustment range of the adjusted display parameter is used to indicate the magnitude of the change in the value of the adjusted display parameter relative to the display parameter. The adjustment range of the adjusted display parameter is less than or equal to a preset maximum threshold value.

[0186] In some embodiments, the termination condition includes at least one of the following: the number of adjustment rounds included in the adjustment process is equal to a first number; the number of adjustment rounds included in the adjustment process is equal to a second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the third consecutive number of adjustment rounds in the adjustment process, the maximum value of the exposure data is less than or equal to a first threshold, the second number is less than the first number, and the third number is less than or equal to the second number; the number of adjustment rounds included in the adjustment process is equal to a second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the fourth consecutive number of adjustment rounds in the adjustment process, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

[0187] In some embodiments, if the adjustment process of the genetic algorithm does not meet the termination condition, if the maximum value of the exposure data corresponding to the multiple adjusted chromosome data is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

[0188] The method for adjusting the display style of interface content in the advertising field provided in this application uses a genetic algorithm to adjust multiple chromosome data in an initial chromosome set, achieving automated adjustment of chromosome data, shortening the time required for adjusting chromosome data, and improving the efficiency of chromosome data adjustment. Furthermore, by using the exposure data corresponding to the chromosome data, the effect of the display parameter adjustment can be intuitively perceived, enabling more detailed adjustments to the chromosome data based on the genetic algorithm. This makes the display style of video content more in line with user preferences, improves the adjustment effect of chromosome data, and thus improves the exposure effect of the video content.

[0189] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0190] Please refer to Figure 8 This diagram illustrates a block diagram of an interface content display style adjustment device according to an embodiment of this application. The device has the function of implementing the aforementioned interface content display style adjustment method; this function can be implemented in hardware or by hardware executing corresponding software. The device can be the computer device described above, or it can be installed within a computer device. For example... Figure 8 As shown, the device 800 may include: a chromosome set acquisition module 810, an exposure data acquisition module 820, and a data adjustment module 830.

[0191] The chromosome set acquisition module 810 is used to acquire the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data, and each chromosome data includes N display parameters. The N display parameters include at least one adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content, and N is a positive integer.

[0192] The exposure data acquisition module 820 is used to acquire the exposure data corresponding to the multiple chromosome data respectively. The exposure data corresponding to the chromosome data is used to indicate the exposure effect of displaying the interface content based on the chromosome data.

[0193] The data adjustment module 830 is used to adjust the multiple chromosome data based on the exposure data corresponding to the multiple chromosome data according to the genetic algorithm, so as to obtain target chromosome data. The target chromosome data is used to define the final display style of the interface content.

[0194] In some embodiments, the data adjustment module 830 includes:

[0195] A partial data determination unit is used to determine a first part of chromosome data, a second part of chromosome data, and a third part of chromosome data from the multiple chromosome data based on the exposure data corresponding to each of the multiple chromosome data. The first part of chromosome data is used as the chromosome data to be retained in the genetic algorithm, the second part of chromosome data is used as the chromosome data to be used for crossover in the genetic algorithm, and the third part of chromosome data is used as the chromosome data to be used for mutation in the genetic algorithm.

[0196] The data adjustment unit is used to generate adjusted chromosome data based on the genetic algorithm, according to the chromosome data of the first part, the chromosome data of the second part, and the chromosome data of the third part.

[0197] The target data determination unit is used to determine the chromosome data corresponding to the exposure data with the largest value among the adjusted multiple chromosome data as the target chromosome data when the adjustment process of the genetic algorithm meets the termination condition.

[0198] In some embodiments, the partial data determining unit is configured to:

[0199] Based on the exposure data corresponding to each of the multiple chromosome data, the multiple chromosome data are sorted to obtain sorted multiple chromosome data, which are arranged in descending order of the exposure data.

[0200] The chromosome data that ranks first among the sorted chromosome data is determined as the first part of the chromosome data.

[0201] The chromosome data that are ranked after the chromosome data in the first part in the sorted multiple chromosome data are determined as the chromosome data in the second part.

[0202] The chromosome data in the third proportion that are sorted after the chromosome data in the second part are determined as the chromosome data in the third part.

[0203] In some embodiments, the data adjustment unit is configured to:

[0204] Perform a crossover operation on the chromosome data in the second part to obtain the crossover chromosome data;

[0205] Perform a mutation operation on the chromosome data in the third part to obtain the mutated chromosome data;

[0206] Based on the chromosome data in the first part, the chromosome data after the crossover, and the chromosome data after the mutation, the adjusted multiple chromosome data are obtained.

[0207] In some embodiments, the data adjustment unit is configured to:

[0208] For the first chromosome data and the second chromosome data in the second part of the chromosome data, a position exchange operation is performed on the fourth ratio display parameter in the first chromosome data and the fourth ratio display parameter at the corresponding position in the second chromosome data to obtain the crossover first chromosome data and the crossover second chromosome data. The fourth ratio display parameter is at least one display parameter randomly selected from the N display parameters.

[0209] In some embodiments, the data adjustment unit is configured to:

[0210] For the third chromosome data in the third part of the chromosome data, an adjustment operation is performed on at least one display parameter in the third chromosome data to obtain the mutated third chromosome data. The mutated third chromosome data includes at least one adjusted display parameter. The adjustment range of the adjusted display parameter is used to indicate the magnitude of the change in the value of the adjusted display parameter relative to the display parameter. The adjustment range of the adjusted display parameter is less than or equal to a preset maximum threshold value.

[0211] In some embodiments, the termination condition includes at least one of the following:

[0212] The number of adjustment rounds included in the adjustment process is equal to the first quantity;

[0213] The number of adjustment rounds included in the adjustment process is equal to the second number, and in the exposure data corresponding to the multiple chromosome data obtained by the third consecutive number of adjustment rounds in the adjustment process, the maximum value of the exposure data is less than or equal to the first threshold, the second number is less than the first number, and the third number is less than or equal to the second number.

[0214] The number of adjustment rounds included in the adjustment process is equal to the second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the fourth consecutive adjustment rounds in the adjustment process, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

[0215] In some embodiments, the target data determining unit is further configured to:

[0216] If the adjustment process of the genetic algorithm does not meet the termination condition, and if the maximum value of the exposure data corresponding to the multiple adjusted chromosome data is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

[0217] In some embodiments, the interface content includes at least one interface element, and the N display parameters include display parameters corresponding to the at least one interface element, wherein the display parameters corresponding to the interface element are used to determine the display style of the interface element.

[0218] In some embodiments, when the interface element is an image, the display parameters corresponding to the interface element include at least one of the following: the width of the image, the height of the image, and the radius of the corners of the image's border.

[0219] When the interface element is a video, the display parameters corresponding to the interface element include at least one of the following: the width of the video, the height of the video, and the radius of the corner of the video's border.

[0220] When the interface element is text, the display parameters corresponding to the interface element include at least one of the following: the font of the text, the font size of the text, the color of the text, and the spacing between the text.

[0221] When the interface element is a control, the display parameters corresponding to the interface element include at least one of the following: the font of the text contained in the control, the font size of the text contained in the control, the color of the text contained in the control, the spacing between the text contained in the control, and the radius of the corner of the control's border.

[0222] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0223] Please refer to Figure 9 This diagram illustrates a structural block diagram of a computer device 900 according to an embodiment of this application. The computer device 900 can be any electronic device capable of data calculation, processing, and storage. The computer device 900 can be used to implement the interface content display style adjustment method provided in the above embodiments.

[0224] Typically, computer device 900 includes a processor 901 and a memory 902.

[0225] Processor 901 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 901 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 901 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 901 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 901 may also include an AI processor for handling computational operations related to machine learning.

[0226] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 902 are used to store a computer program configured to be executed by one or more processors to implement the above-described method for adjusting the display style of interface content.

[0227] Those skilled in the art will understand that Figure 9 The structure shown does not constitute a limitation on the computer device 900, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0228] In an illustrative embodiment, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor of a computer device, implements the aforementioned method for adjusting the display style of the interface content. Optionally, the aforementioned computer-readable storage medium may be a ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, or optical data storage device, etc.

[0229] In an exemplary embodiment, a computer program product is also provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the aforementioned method for adjusting the display style of the interface content.

[0230] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform users that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without receiving confirmation from the user), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected by this application is processed strictly in accordance with the requirements of relevant national laws and regulations. The informed consent or separate consent of the data subject is obtained only with the user's consent and authorization. Subsequent data use and processing are conducted within the scope of laws, regulations, and the data subject's authorization, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0231] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.

[0232] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for adjusting the display style of interface content, characterized in that, The method includes: Obtain the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data. Each chromosome data includes N display parameters. The N display parameters include at least one adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content. N is a positive integer. Obtain the exposure data corresponding to each of the multiple chromosome data, and use the exposure data corresponding to the chromosome data to indicate the exposure effect of displaying the interface content based on the chromosome data; Based on the exposure data corresponding to the multiple chromosome data, the genetic algorithm is used to adjust the multiple chromosome data to obtain target chromosome data, which is used to define the final display style of the interface content.

2. The method according to claim 1, characterized in that, The step of adjusting the multiple chromosome data based on the exposure data corresponding to each chromosome data point using a genetic algorithm to obtain the target chromosome data includes: Based on the exposure data corresponding to the multiple chromosome data, a first part of chromosome data, a second part of chromosome data, and a third part of chromosome data are determined from the multiple chromosome data. The first part of chromosome data is used as the chromosome data to be retained in the genetic algorithm, the second part of chromosome data is used as the chromosome data to be used for crossover in the genetic algorithm, and the third part of chromosome data is used as the chromosome data to be used for mutation in the genetic algorithm. Based on the genetic algorithm, adjusted chromosome data are generated according to the chromosome data in the first part, the chromosome data in the second part, and the chromosome data in the third part. If the adjustment process of the genetic algorithm meets the termination condition, the chromosome data corresponding to the exposure data with the largest value among the adjusted chromosome data is determined as the target chromosome data.

3. The method according to claim 2, characterized in that, The step of determining the first part of chromosome data, the second part of chromosome data, and the third part of chromosome data from the multiple chromosome data based on the exposure data corresponding to each of the multiple chromosome data includes: Based on the exposure data corresponding to each of the multiple chromosome data, the multiple chromosome data are sorted to obtain sorted multiple chromosome data, which are arranged in descending order of the exposure data. The chromosome data that ranks first among the sorted chromosome data is determined as the first part of the chromosome data. The chromosome data that are ranked after the chromosome data in the first part in the sorted multiple chromosome data are determined as the chromosome data in the second part. The chromosome data in the third proportion that are sorted after the chromosome data in the second part from the sorted multiple chromosome data are determined as the chromosome data in the third part.

4. The method according to claim 2 or 3, characterized in that, Based on the genetic algorithm, adjusted chromosome data is generated according to the chromosome data in the first part, the chromosome data in the second part, and the chromosome data in the third part, including: Perform a crossover operation on the chromosome data in the second part to obtain the crossover chromosome data; Perform a mutation operation on the chromosome data in the third part to obtain the mutated chromosome data; Based on the chromosome data in the first part, the chromosome data after the crossover, and the chromosome data after the mutation, the adjusted multiple chromosome data are obtained.

5. The method according to claim 4, characterized in that, The process of performing a crossover operation on the second part of the chromosome data to obtain the crossover chromosome data includes: For the first chromosome data and the second chromosome data in the second part of the chromosome data, a position exchange operation is performed on the fourth ratio display parameter in the first chromosome data and the fourth ratio display parameter at the corresponding position in the second chromosome data to obtain the crossover first chromosome data and the crossover second chromosome data. The fourth ratio display parameter is at least one display parameter randomly selected from the N display parameters.

6. The method according to claim 4 or 5, characterized in that, The mutation operation performed on the third part of the chromosome data to obtain the mutated chromosome data includes: For the third chromosome data in the third part of the chromosome data, an adjustment operation is performed on at least one display parameter in the third chromosome data to obtain the mutated third chromosome data. The mutated third chromosome data includes at least one adjusted display parameter. The adjustment range of the adjusted display parameter is used to indicate the magnitude of the change in the value of the adjusted display parameter relative to the display parameter. The adjustment range of the adjusted display parameter is less than or equal to a preset maximum threshold value.

7. The method according to any one of claims 2 to 6, characterized in that, The termination condition includes at least one of the following: The number of adjustment rounds included in the adjustment process is equal to the first quantity; The number of adjustment rounds included in the adjustment process is equal to the second number, and in the exposure data corresponding to the multiple chromosome data obtained by the third consecutive number of adjustment rounds in the adjustment process, the maximum value of the exposure data is less than or equal to the first threshold, the second number is less than the first number, and the third number is less than or equal to the second number. The number of adjustment rounds included in the adjustment process is equal to the second number, and among the exposure data corresponding to the adjusted multiple chromosome data obtained in the fourth consecutive adjustment rounds in the adjustment process, the chromosome data corresponding to the exposure data with the largest value has not changed, and the fourth number is less than or equal to the second number.

8. The method according to any one of claims 2 to 7, characterized in that, The method further includes: If the adjustment process of the genetic algorithm does not meet the termination condition, and if the maximum value of the exposure data corresponding to the multiple adjusted chromosome data is greater than or equal to the second threshold, then the chromosome data corresponding to the exposure data with the largest value is determined as the target chromosome data.

9. The method according to any one of claims 1 to 8, characterized in that, The interface content includes at least one interface element, and the N display parameters include the display parameters corresponding to the at least one interface element. The display parameters corresponding to the interface element are used to determine the display style of the interface element.

10. The method according to claim 9, characterized in that, When the interface element is an image, the display parameters corresponding to the interface element include at least one of the following: the width of the image, the height of the image, and the radius of the corners of the image's border. When the interface element is a video, the display parameters corresponding to the interface element include at least one of the following: the width of the video, the height of the video, and the radius of the corner of the video's border. When the interface element is text, the display parameters corresponding to the interface element include at least one of the following: the font of the text, the font size of the text, the color of the text, and the spacing between the text. When the interface element is a control, the display parameters corresponding to the interface element include at least one of the following: the font of the text contained in the control, the font size of the text contained in the control, the color of the text contained in the control, the spacing between the text contained in the control, and the radius of the corner of the control's border.

11. A device for adjusting the display style of interface content, characterized in that, The device includes: The chromosome set acquisition module is used to acquire the initial chromosome set of the interface content. The initial chromosome set contains multiple chromosome data, and each chromosome data includes N display parameters. The N display parameters include at least one adjustable display parameter. The N display parameters are used to determine the display style of the interface content. Different chromosome data are used to define different display styles of the interface content. N is a positive integer. An exposure data acquisition module is used to acquire the exposure data corresponding to the multiple chromosome data respectively, and the exposure data corresponding to the chromosome data is used to indicate the exposure effect of displaying the interface content based on the chromosome data; The data adjustment module is used to adjust the multiple chromosome data based on the exposure data corresponding to each chromosome data according to the genetic algorithm, so as to obtain target chromosome data. The target chromosome data is used to define the final display style of the interface content.

12. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program, which is loaded and executed by the processor to implement the method for adjusting the display style of interface content as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method for adjusting the display style of interface content as described in any one of claims 1 to 10.

14. A computer program product, characterized in that, The computer program product includes a computer program that is loaded and executed by a processor to implement the method for adjusting the display style of interface content as described in any one of claims 1 to 10.