Method, device, electronic device and medium for adjusting user interface of application program

By detecting the application user interface category and browsing data, and adjusting the background color or brightness of the user interface, the problem that the user interface background in the prior art cannot be adaptable is solved, and the user experience and visual comfort are improved.

CN113535281BActive Publication Date: 2025-04-15BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010277172.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-10
Publication Date
2025-04-15
Estimated Expiration
2040-04-10

AI Technical Summary

Technical Problem

The background color and brightness of the user interface of existing applications cannot be adaptable, resulting in visual fatigue when users browse for a long time and inflexible background changes.

Method used

By detecting the application's user interface category and number of views, record the browsing time in real time, and adjust the background color or background brightness of the user interface based on this data.

Benefits of technology

The background adjustment of the user interface is more user-friendly, reducing user visual fatigue, and the background brightness can be adaptively adjusted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113535281B_ABST
    Figure CN113535281B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for adjusting the user interface of an application, including: after a user starts the application, detecting the category of the user interface of the application, and recording the number of views of each category of the user interface; recording the browsing time of the application in real time; adjusting the background color or background brightness of the user interface of the application according to the number of views and the browsing time, so that the background color or background brightness of the user interface is adjusted in this way, which is more humane, and when the user stays for a long time browsing the application, it is effectively avoided that the user is visually fatigued and ignores some content displayed in the user interface. Moreover, the background brightness of the user interface can also be adaptively adjusted according to the number of views and the browsing time. The present disclosure also provides a device, electronic device and medium for adjusting the user interface of an application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of the Internet, and more particularly to a method, device, electronic device, and medium for adjusting a user interface of an application. Background Art

[0002] With the rapid development of Internet technology, various application programs have also been produced. Users can use applications to shop, learn, watch videos, listen to audio, browse news, etc. At present, when developers develop applications, they generally set the background color of the application's user interface to white by default. Of course, they can also set the corresponding fixed background of the application according to the user's preferences. For example, users can set the background color of the application's theme user interface according to their preferences. However, after the setting, other categories of user interfaces of the application will also change to the same background color as the theme user interface. This setting method is too fixed. When users browse the application for a long time, it is easy to cause visual fatigue and ignore the content displayed in some user interfaces. In addition, the background brightness of the current application's user interface cannot be adaptive and can only change with the system properties of the terminal device. Summary of the invention

[0003] In view of this, the present disclosure provides a method, apparatus, electronic device, and medium for adjusting a user interface of an application, thereby at least partially solving one or more problems caused by limitations and defects of related technologies.

[0004] A first aspect of the present disclosure provides a method for adjusting the user interface of an application, comprising: after a user launches the application, detecting the category of the application's user interface and recording the number of views of each category of the user interface; recording the browsing time of the application in real time; and adjusting the background color or background brightness of the application's user interface based on the number of views and the browsing time.

[0005] According to an embodiment of the present disclosure, adjusting the background color or background brightness of the user interface of an application program according to the number of views and the browsing duration includes: determining the number of views of the user interface to be adjusted according to a preset number of weights and the number of views of each category of user interfaces; and adjusting the background color or background brightness of the user interface to be adjusted according to the browsing duration and the number of views of the user interface to be adjusted.

[0006] According to an embodiment of the present disclosure, a user interface includes one or more objects, and the method includes: detecting a user's operation on an object of the user interface and recording the category of the operation; and adjusting the background color or background brightness of the object under each operation category according to the category of the operation and the browsing time of the application.

[0007] According to an embodiment of the present disclosure, the method also includes: determining the number of operations on objects of each category based on the user's operations on objects of the user interface; determining the object category that the user prefers based on the number of operations on objects of each category; and adjusting the background color or background brightness of specific objects under the object category that the user prefers based on the category of operation, the browsing time of the application and the object category that the user prefers.

[0008] According to an embodiment of the present disclosure, the method further includes: if the user interface includes a recommended object, determining the background color or background brightness of the recommended object according to the category of the recommended object or the information of the recommended object.

[0009] The second aspect of the present disclosure provides a device for adjusting the user interface of an application, including: a first detection module, which detects the category of the user interface of the application after the user starts the application, and records the number of views of the user interface of each category; a recording module, which is used to record the browsing time of the application in real time; and a first adjustment module, which is used to adjust the background color or background brightness of the user interface of the application according to the number of views and the browsing time.

[0010] According to an embodiment of the present disclosure, the above-mentioned first adjustment module includes: a first determination module, used to determine the number of views of the user interface to be adjusted according to a preset number of weights and the number of views of user interfaces of each category; a sub-module of the first adjustment module, used to adjust the background color or background brightness of the user interface to be adjusted according to the browsing time and the number of views of the user interface to be adjusted.

[0011] According to an embodiment of the present disclosure, the user interface includes one or more objects, and the device includes: a second detection module, used to detect the user's operation on the objects of the user interface and record the category of the operation; a second adjustment module, used to adjust the background color or background brightness of the objects under each operation category according to the category of the operation and the browsing time of the application.

[0012] According to an embodiment of the present disclosure, the device also includes: a second determination module, used to determine the number of operations on objects of each category based on the user's operations on objects of the user interface; a third determination module, used to determine the object category of the user's preference based on the number of operations on objects of each category; and a third adjustment module, used to adjust the background color or background brightness of specific objects under the object category of the user's preference based on the category of operation, the browsing time of the application and the object category of the user's preference.

[0013] According to an embodiment of the present disclosure, the device further includes: a fourth adjustment module, which adjusts the background color or background brightness of the recommended object according to the category of the recommended object or the information of the recommended object if the user interface includes a recommended object.

[0014] The third aspect of the present disclosure provides an electronic device, comprising: one or more processors, and a storage device. The storage device is used to store one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors execute the method of adjusting the user interface of the application as described above.

[0015] A fourth aspect of the present disclosure provides a computer-readable medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method for identifying competing products as described above.

[0016] A fifth aspect of the present disclosure provides a computer program, which includes computer executable instructions, and the instructions are used to implement a method for adjusting a user interface of an application when executed.

[0017] The method for adjusting the user interface of an application provided by the present disclosure has the following beneficial effects:

[0018] The technical solution provided by the embodiment of the present disclosure can detect the category of the user interface of the application after the user starts the application, record the number of views of each category of the user interface, and record the browsing time of the application in real time, and then adjust the background color or background brightness of the user interface of the application according to the number of views and browsing time. In this way, the background color or background brightness of the user interface is adjusted more humanely, and when the user browses the application for a long time, it effectively avoids visual fatigue to the user and ignores the content displayed in some user interfaces. Moreover, the background brightness of the user interface can also be adaptively adjusted according to the number of views and browsing time.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart schematically illustrates a method for adjusting a user interface of an application according to an embodiment of the present disclosure;

[0021] Figure 2 A flowchart schematically illustrates a method for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0022] Figure 3 A flowchart schematically illustrates a method for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0023] Figure 4 A flowchart schematically illustrates a method for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0024] Figure 5 A schematic diagram schematically illustrates a method for adjusting a user interface of an application according to an embodiment of the present disclosure;

[0025] Figure 6 A block diagram schematically shows a device for adjusting a user interface of an application according to an embodiment of the present disclosure;

[0026] Figure 7 A block diagram schematically shows a device for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0027] Figure 8 A block diagram schematically shows a device for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0028] Fig. 9 A block diagram schematically shows a device for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0029] Fig.10 A block diagram schematically shows a device for adjusting a user interface of an application according to another embodiment of the present disclosure;

[0030] Fig.11 A block diagram of a computer system of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0031] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0032] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0033] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0034] When using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted according to the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). Those skilled in the art should also understand that any transitional conjunctions and / or phrases that essentially represent two or more optional items, whether in the specification, claims, or drawings, should be understood to give the possibility of including one of these items, either of these items, or both of these items. For example, the phrase "A or B" should be understood to include the possibility of "A" or "B", or "A and B".

[0035] Figure 1 The flowchart of the method for adjusting the user interface of an application according to an embodiment of the present disclosure is schematically shown.

[0036] like Figure 1 As shown, the method for adjusting the user interface of an application includes steps S110 to S130.

[0037] In step S110 , after the user starts the application, the category of the user interface of the application is detected, and the number of views of the user interface of each category is recorded.

[0038] In step S120, the browsing time of the application is recorded in real time.

[0039] In step S130 , the background color or background brightness of the user interface of the application is adjusted according to the number of browsing times and the browsing duration.

[0040] After the user starts the application, the method can detect the category of the user interface of the application, record the number of views of each category of the user interface, and record the browsing time of the application in real time, and then adjust the background color or background brightness of the user interface of the application according to the number of views and browsing time. In this way, the background color or background brightness of the user interface is adjusted more humanely, and when the user browses the application for a long time, it effectively avoids visual fatigue to the user and ignores some contents displayed in the user interface. Moreover, the background brightness of the user interface can also be adaptively adjusted according to the number of views and browsing time.

[0041] In some embodiments of the present disclosure, the above-mentioned application may be an application with functions such as shopping, learning, playing videos, playing audio, browsing news, etc. Among them, the user interface of the above-mentioned application may be a user interface of an application with functions such as shopping, learning, playing videos, playing audio, browsing news, etc. For example, the user interface may be a user interface of each category of any of the above-mentioned applications. The user interface of each category may be a theme user interface, a user interface for product display, a user interface for learning content display, a user interface for video display, a user interface for audio display, a user interface for news display, etc., but is not limited thereto.

[0042] In some embodiments of the present disclosure, after the user launches the above-mentioned application, the category of the user interface of the application can be automatically detected, and then the number of views of each category of user interface can be recorded. For example, after the user launches an application, the user browses 20 user interfaces. In the process of browsing the user interfaces, the category of each user interface is detected, and the number of views of each category of user interface is recorded according to the browsing category. For example, when the user browses user interface A, the number of views of user interface A is recorded as 1, and when user interface A is detected again, 1 is added to the previous record, and iteration is performed in this way.

[0043] In some embodiments of the present disclosure, after the user starts the above application, the browsing time of the above application can be recorded in real time. In this embodiment, a time weight can be added according to the browsing time, which is convenient for adjusting the background color or background brightness of the user interface according to the browsing time. The time weight can be set according to the type of application or the category of application. For example, the color value level corresponding to the set time period can be set. The details are shown in the following table:

[0044] Time period (min) T<30 30<T<60 T>60 Color value grade 0 1 2

[0045] The color value levels in the table may indicate that the color value levels are getting higher as the browsing time increases. For example, the background color of the user interface of the application program is getting darker as the browsing time increases.

[0046] In some embodiments of the present disclosure, the background color or background brightness of the user interface of the application can be adjusted according to the above-mentioned number of views and the above-mentioned browsing duration. For example, after the application is started for a period of time, the application can adaptively adjust the background color or background brightness of the user interface of the application according to the number of views of the user interface of each category and the browsing duration of the application. Adjusting the background color or background brightness of the user interface in this way is more humane, and when the user stays for a long time browsing the application, it can effectively avoid visual fatigue to the user and ignoring some content displayed in the user interface. In addition, the background brightness of the user interface can also be adaptively adjusted according to the number of views and browsing duration.

[0047] Figure 2 The flowchart of a method for adjusting a user interface of an application according to another embodiment of the present disclosure is schematically shown.

[0048] like Figure 2 As shown, the above step S130 may specifically include step S210 and step S220.

[0049] In step S210, the number of views of the user interface to be adjusted is determined according to a preset number of weights and the number of views of user interfaces of each category.

[0050] In step S220, the background color or background brightness of the user interface to be adjusted is adjusted according to the browsing time and the number of browsing times of the user interface to be adjusted.

[0051] The method can determine the number of views of the user interface to be adjusted according to the preset number of weights and the number of views of each category of user interface, so that some user interfaces that are not necessary to be adjusted can be effectively filtered out, thereby improving processing efficiency. Then, the background color or background brightness of the user interface to be adjusted can be adjusted according to the browsing time and the number of views of the user interface to be adjusted through the first formula, so that the background color or background brightness of some user interfaces can be adjusted in a targeted manner.

[0052] In some embodiments of the present disclosure, the above-mentioned preset number weights can be set according to the category of the user interface. For example, the weight of the user interface that is frequently displayed to the user is set higher, and the weight of the user interface that is not frequently displayed to the user is set lower. Among them, the user interface that is frequently displayed to the user can be a user interface that displays the main content of the application, such as a user interface for displaying goods, a user interface for displaying learning content, a user interface for displaying videos, a user interface for displaying audio, a user interface for displaying news, and the like. The user interface that is not frequently displayed to the user can be a user interface of the setting class of the application, such as a user interface for theme settings, a user interface for reminder settings, a user interface for positioning settings, and the like.

[0053] In some embodiments of the present disclosure, the number of views of the user interface to be adjusted is determined based on the preset number of weights and the number of views of each category of user interface. For example, the preset number of weights can be set to Wp. The number of views of user interface A is 5 times, the number of views of user interface B is 8 times, the number of views of user interface C is 10 times, the number of views of user interface D is 12 times, and the number of views of user interface E is 15 times. The Wp set for user interfaces A, B, C, D, and E is 90%, 50%, 40%, 80%, and 90%, respectively. In this case, the number of views of user interfaces A, B, C, D, and E can be determined by multiplying the number of views of user interfaces A, B, C, D, and E by the corresponding Wp to determine which of user interfaces A, B, C, D, and E is the user interface to be adjusted. For example, the number of views of user interfaces A and D as the user interfaces to be adjusted is determined by calculation.

[0054] In some embodiments of the present disclosure, adjusting the background color or background brightness of the user interface to be adjusted according to the browsing time and the number of views of the user interface to be adjusted includes adjusting the background color or background brightness of the user interface to be adjusted according to the browsing time and the number of views of the user interface to be adjusted using a first formula.

[0055] In some embodiments of the present disclosure, the first formula is:

[0056] F1=T*n i / ∑ i=0 (n i -B p )

[0057] Where F1 is the background color or background brightness of the adjusted user interface, T is the browsing time of the application, i is the category of the user interface to be adjusted, n i is the number of views of the user interface to be adjusted, B p The bias value can be set according to historical user erroneous operations.

[0058] In some embodiments of the present disclosure, F1 calculated by the above first formula may be a color in the background color list, or a brightness in the background brightness list. In this embodiment, after adjusting the background color or background brightness of the user interface, the method may further include displaying the adjusted background color or background brightness of the user interface, so as to timely buffer the user's fatigue level at the current time.

[0059] In some embodiments of the present disclosure, the user interface of the above-mentioned application may be a user interface that displays one or more objects. In this case, the user may operate one or more objects in the user interface. Among them, the multiple objects in the user interface may be displayed in the form of a list, or may also be displayed in a personalized form. In this embodiment, the object may be a commodity, a learning course, a video, an audio, a news headline, etc.

[0060] Figure 3 The flowchart of a method for adjusting a user interface of an application according to another embodiment of the present disclosure is schematically shown.

[0061] like Figure 3 As shown, the above method may further include step S310 and step S320.

[0062] In step S310, the user's operation on the object of the user interface is detected, and the type of the operation is recorded.

[0063] In step S320, the background color or background brightness of the objects under each operation category is adjusted according to the operation category and the browsing time of the application program.

[0064] The method can detect the user's operation on the object of the user interface and record the category of the operation, and then adjust the background color or background brightness of the object under each operation category according to the category of the operation and the browsing time of the application through the second formula. In this way, the background color or background brightness of the object after the user's operation can be intelligently adjusted, which helps to improve the adhesion between the user and the application, thereby improving the user experience.

[0065] In some embodiments of the present disclosure, after the user starts the application, it can be automatically detected whether the user performs a preset operation on the object in the user interface, and if so, the category of the operation is recorded. For example, the operation of the user clicking on the object in the user interface to enter the object homepage, the operation of the user adding the object to the favorites in the user interface, the operation of the user adding the object to the shopping cart in the user interface, the operation of the user downloading the video or audio to the local in the user interface, the operation of the user sharing the object in the user interface, etc.

[0066] In some embodiments of the present disclosure, if the user performs the above-mentioned operation on an object in the user interface, the background color or background brightness of the object under each operation category is adjusted according to the category of the above-mentioned operation and the browsing time of the application. In this way, the background color or background brightness of the object after the user performs the operation can be intelligently adjusted, which helps to enhance the adhesion between the user and the application, thereby improving the user experience.

[0067] In some embodiments of the present disclosure, adjusting the background color or background brightness of objects under each operation category according to the category of operation and the browsing time of the application includes adjusting the background color or background brightness of objects under each operation category according to the category of operation and the browsing time of the application through a second formula.

[0068] In some embodiments of the present disclosure, the second formula is:

[0069] F2=T*A i / ∑ i=0 (A i -B)

[0070] Among them, F2 is the background color or background brightness of the objects under each operation category after adjustment, T is the browsing time of the application, and A i is the category of each operation, and B is other degree factors. The other degree factors may be degrees related to the precise category of calculation, the keyword of the calculation object, etc.

[0071] In some embodiments of the present disclosure, F2 calculated by the second formula may be a color in the background color list or a brightness in the background brightness list. In this embodiment, after adjusting the background color or background brightness of objects under each operation category, the method may further include displaying the adjusted background color or background brightness of objects under each operation category, so as to timely buffer the user's fatigue level at the current time.

[0072] Figure 4 The flowchart of a method for adjusting a user interface of an application according to another embodiment of the present disclosure is schematically shown.

[0073] like Figure 4 As shown, the above method may further include steps S410 to S430.

[0074] In step S410, the number of operations on each category of objects is determined according to the user's operations on the objects of the user interface.

[0075] In step S420, the object category preferred by the user is determined according to the number of operations on the objects of each category.

[0076] In step S430, the background color or background brightness of a specific object under the object category preferred by the user is adjusted according to the type of operation, the browsing time of the application program, and the object category preferred by the user.

[0077] The method can determine the number of operations on objects of each category based on the user's operations on objects in the user interface, and determine the object category that the user prefers based on the number of operations on objects of each category, so that the object category that the user prefers can be accurately and quickly screened out, and then the background color or background brightness of specific objects under the object category that the user prefers can be adjusted according to the category of operation, the browsing time of the application and the object category that the user prefers through a third formula, thereby adjusting the background color or background brightness of objects under the object category that the user prefers.

[0078] In some embodiments of the present disclosure, the number of operations on each category of objects is determined based on the user's operations on the objects in the user interface. For example, the user's operations on the objects in the user interface include the user clicking on the object in the user interface to enter the object homepage, the user adding the object to favorites in the user interface, the user adding the object to a shopping cart in the user interface, the user downloading a video or audio to a local in the user interface, the user sharing the object in the user interface, etc. In this case, the number of operations on each category of objects can be determined based on the user's operations on the objects in the user interface.

[0079] In some embodiments of the present disclosure, the object category that the user tends to be is determined based on the number of operations on each category of objects. For example, the number of operations on category A objects is 10, the number of operations on category B objects is 5, and the number of operations on category C objects is 15. At this time, it can be determined which category is the object category that the user tends to be based on a preset threshold. In this embodiment, the preset threshold can be set based on the category of the object or the category of the operation.

[0080] In some embodiments of the present disclosure, adjusting the background color or background brightness of specific objects under an object category that the user prefers based on the category of operation, the browsing time of the application, and the object category that the user prefers includes adjusting the background color or background brightness of specific objects under an object category that the user prefers based on the category of operation, the browsing time of the application, and the object category that the user prefers through a third formula.

[0081] In some embodiments of the present disclosure, the third formula is:

[0082] F3=T*A i / ∑ i=0 (C i -B)

[0083] Among them, F3 is the background color or background brightness of the specific object under the object category preferred by the user after adjustment, T is the browsing time of the application, and A i is the category of each operation, C iis the object category that the user prefers, and B is other degree factors. The other degree factors can be degrees related to calculating precise categories, calculating object keywords, etc.

[0084] In some embodiments of the present disclosure, F3 calculated by the third formula may be a color in the background color list or a brightness in the background brightness list. In this embodiment, after adjusting the background color or background brightness of a specific object under the object category that the user prefers, the method may further include displaying the background color or background brightness of the specific object under the object category that the user prefers, so that the user's fatigue level at the current time can be buffered in time, and the object that the user prefers can be highlighted.

[0085] In some embodiments of the present disclosure, the above method further includes: if the user interface includes a recommended object, adjusting the background color or background brightness of the recommended object according to the category of the recommended object or the information of the recommended object. For example, if the category of the pushed object or the information of the recommended object in the user interface matches the category of the preset object or the information of the preset object, the background color or background brightness of the recommended object is adjusted according to the matching result, so that the background color or background brightness of some recommended objects can be adjusted in a targeted manner.

[0086] Figure 5 The following is a schematic diagram of a method for adjusting the user interface of an application according to an embodiment of the present disclosure. The method for adjusting the user interface of an application is described below using a shopping application, which is illustrative and has no limiting effect.

[0087] like Figure 5 As shown, when a user starts an application, a timer can be used to record the browsing time of the application in real time. When the user browses the application, the category of each user interface browsed by the user is automatically detected, for example, user interface 1, user interface 2, user interface 3, and so on. The number of times each category of user interface is browsed is recorded, and the background color or background brightness of the user interface is adjusted according to the number of views of each category of user interface and the browsing time of the application. For example, the background color or background brightness of user interface 1, user interface 2, or user interface 3 is adjusted according to the number of views of user interface 1, user interface 2, and user interface 3 and the browsing time of the application. As shown in FIG. Figure 5As shown, the background color or background brightness of the user interface 2 is adjusted, for example, the background color of the user interface 2 - white is adjusted to gray. Or the background brightness - bright color of the user interface 2 is adjusted to dark light (not shown in the figure), etc. Further, if the user operates the object in the user interface, the category of each user operation is detected. For example, five commodities are displayed in the form of a list in the user interface 2, namely GoodsItem1-1, GoodsItem2-1, GoodsItem1-3, GoodsItem4-1, and GoodsItem4-2. When the user operates GoodsItem1-1 in the user interface 2 (for example, adding GoodsItem1-1 to the shopping cart), the category of the operation is detected. If the category of the operation matches the category of the preset operation, the background color or background brightness of GoodsItem1-1 is adjusted according to the category of the operation and the browsing time of the application. As Figure 5 As shown, the background color of GoodsItem1-1 - black is adjusted to yellow (not shown in the figure), or the background brightness of GoodsItem1-1 - bright is adjusted to dark-bright (not shown in the figure), and so on.

[0088] Figure 6 A block diagram schematically shows an apparatus for adjusting a user interface of an application according to an embodiment of the present disclosure.

[0089] like Figure 6 As shown, the apparatus 600 for adjusting the user interface of an application program includes a first detection module 610 , a recording module 620 and a first adjustment module 630 .

[0090] Specifically, after the user starts the application, the first detection module 610 detects the category of the user interface of the application and records the number of views of each category of the user interface.

[0091] The recording module 620 is used to record the browsing time of the application in real time.

[0092] The first adjustment module 630 is used to adjust the background color or background brightness of the user interface of the application according to the number of browsing times and browsing duration.

[0093] The device 600 for adjusting the user interface of an application can detect the category of the user interface of the application after the user starts the application, record the number of views of each category of the user interface, and record the browsing time of the application in real time, and then adjust the background color or background brightness of the user interface of the application according to the number of views and browsing time. In this way, the background color or background brightness of the user interface is adjusted more humanely, and when the user browses the application for a long time, it effectively avoids visual fatigue to the user and ignores the content displayed in some user interfaces. Moreover, the background brightness of the user interface can also be adaptively adjusted according to the number of views and browsing time.

[0094] According to an embodiment of the present disclosure, the device 600 for adjusting the user interface of an application is used to implement Figure 1 The embodiment describes a method for adjusting a user interface of an application.

[0095] Figure 7 A block diagram schematically shows an apparatus for adjusting a user interface of an application according to another embodiment of the present disclosure.

[0096] like Figure 7 As shown, the first adjustment module 630 may specifically include a first determination module 631 and a submodule 632 of the first adjustment module.

[0097] Specifically, the first determining module 631 is used to determine the number of views of the user interface to be adjusted according to a preset number of weights and the number of views of user interfaces of each category.

[0098] The submodule 632 of the first adjustment module is used to adjust the background color or background brightness of the user interface to be adjusted according to the browsing time and the number of browsing times of the user interface to be adjusted by using a first formula.

[0099] The first adjustment module 630 can determine the number of views of the user interface to be adjusted according to the preset number of weights and the number of views of each category of user interface, so that some user interfaces that are not necessary to be adjusted can be effectively filtered out, thereby improving processing efficiency. Then, the background color or background brightness of the user interface to be adjusted can be adjusted according to the browsing time and the number of views of the user interface to be adjusted through the first formula, so that the background color or background brightness of some user interfaces can be adjusted in a targeted manner.

[0100] According to an embodiment of the present disclosure, the first adjustment module 630 is used to implement Figure 2 The embodiment describes a method for adjusting a user interface of an application.

[0101] Figure 8 A block diagram schematically shows an apparatus for adjusting a user interface of an application according to another embodiment of the present disclosure.

[0102] like Figure 8 As shown, the apparatus 600 for adjusting the user interface of an application may further include a second detection module 640 and a second adjustment module 650 .

[0103] Specifically, the second detection module 640 is used to detect the user's operation on the object of the user interface and record the type of the operation.

[0104] The second adjustment module 650 is used to adjust the background color or background brightness of the objects under each operation category according to the operation category and the browsing time of the application program by using a second formula.

[0105] The device 600 for adjusting the user interface of the application can detect the user's operation on the objects of the user interface and record the category of the operation, and then adjust the background color or background brightness of the objects under each operation category according to the category of the operation and the browsing time of the application through the second formula. In this way, the background color or background brightness of the object after the user's operation can be intelligently adjusted, which helps to improve the adhesion between the user and the application, and thus improve the user experience.

[0106] According to an embodiment of the present disclosure, the device 600 for adjusting the user interface of an application is used to implement Figure 3 The embodiment describes a method for adjusting a user interface of an application.

[0107] Fig. 9 A block diagram schematically shows an apparatus for adjusting a user interface of an application according to another embodiment of the present disclosure.

[0108] like Fig. 9 As shown, the apparatus 600 for adjusting the user interface of an application may further include a second determining module 660 , a third determining module 670 and a third adjusting module 680 .

[0109] Specifically, the second determining module 660 is used to determine the number of operations on each category of objects according to the user's operations on the objects of the user interface.

[0110] The third determination module 670 is used to determine the object category that the user prefers according to the number of operations on objects of each category.

[0111] The third adjustment module 680 is used to adjust the background color or background brightness of a specific object under the object category preferred by the user according to the operation category, the browsing time of the application and the object category preferred by the user through a third formula.

[0112] The device 600 for adjusting the user interface of the application can determine the number of operations on each category of objects based on the user's operations on the objects of the user interface, and determine the object category that the user prefers based on the number of operations on each category of objects. In this way, the object categories that the user prefers can be screened out accurately and quickly, and then the background color or background brightness of specific objects under the object category that the user prefers can be adjusted according to the category of operation, the browsing time of the application and the object category that the user prefers through a third formula, thereby achieving the adjustment of the background color or background brightness of objects under the object category that the user prefers.

[0113] According to an embodiment of the present disclosure, the device 600 for adjusting the user interface of an application is used to implement Figure 4 The embodiment describes a method for adjusting a user interface of an application.

[0114] Fig.10 A block diagram schematically shows an apparatus for adjusting a user interface of an application according to another embodiment of the present disclosure.

[0115] like Fig.10 As shown, the apparatus 600 for adjusting the user interface of an application may further include a fourth adjustment module 690 .

[0116] Specifically, the fourth adjustment module 690 adjusts the background color or background brightness of the recommended object according to the category of the recommended object or the information of the recommended object if the user interface includes the recommended object. For example, if the category of the pushed object or the information of the recommended object in the user interface matches the category of the preset object or the information of the preset object, the background color or background brightness of the recommended object is adjusted according to the matching result, so that the background color or background brightness of some recommended objects can be adjusted in a targeted manner.

[0117] It is understandable that the first detection module 610, the recording module 620, the first adjustment module 630, the first determination module 631, the submodule 632 of the first adjustment module, the second detection module 640, the second adjustment module 650, the second determination module 660, the third determination module 670, the third adjustment module 680, and the fourth adjustment module 690 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present invention, at least one of the first detection module 610, the recording module 620, the first adjustment module 630, the first determination module 631, the sub-module 632 of the first adjustment module, the second detection module 640, the second adjustment module 650, the second determination module 660, the third determination module 670, the third adjustment module 680, and the fourth adjustment module 690 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware such as any other reasonable way of integrating or packaging circuits, or in an appropriate combination of software, hardware and firmware. Alternatively, at least one of the first detection module 610, the recording module 620, the first adjustment module 630, the first determination module 631, the sub-module 632 of the first adjustment module, the second detection module 640, the second adjustment module 650, the second determination module 660, the third determination module 670, the third adjustment module 680, and the fourth adjustment module 690 can be at least partially implemented as a computer program module, and when the program is run by a computer, the functions of the corresponding module can be executed.

[0118] Reference below Fig.11 , which shows a schematic diagram of the structure of a computer system 700 of an electronic device suitable for implementing an embodiment of the present invention. Fig.11 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0119] like Fig.11As shown, computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. Various programs and data required for system operation are also stored in RAM 703. CPU 701, ROM 702 and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to bus 704.

[0120] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0121] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present application are executed.

[0122] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0123] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0124] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0125] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method for adjusting the user interface of the application as described in the above embodiment.

[0126] For example, the electronic device can implement Figure 1 As shown in: In step S110, after the user starts the application, the category of the user interface of the application is detected, and the number of views of the user interface of each category is recorded. In step S120, the browsing time of the application is recorded in real time. In step S130, the background color or background brightness of the user interface of the application is adjusted according to the number of views and the browsing time.

[0127] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0128] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present invention.

[0129] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0130] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for adjusting a user interface of an application, comprising: After the user starts the application, detecting the category of the user interface of the application, and recording the number of views of each category of the user interface; Record the browsing time of the application in real time; adjusting the background color or background brightness of the user interface of the application according to the number of browsing times and the browsing duration; Among them, adjusting the background color or background brightness of the user interface of the application according to the number of views and the browsing duration includes: setting a preset number of weights according to the category of the user interface, filtering out user interfaces that are not necessary to be adjusted according to the preset number of weights and the number of views of user interfaces of each category, and obtaining the user interface to be adjusted, and determining the number of views of the user interface to be adjusted; adjusting the background color or background brightness of the user interface to be adjusted according to the browsing duration and the number of views of the user interface to be adjusted.

2. The method according to claim 1, wherein: The user interface includes one or more objects, and the method includes: Detecting a user's operation on an object of the user interface and recording a category of the operation; The background color or background brightness of the object under each operation category is adjusted according to the category of the operation and the browsing time of the application.

3. The method according to claim 2, wherein: The method further includes: Determining the number of operations on each category of objects according to the user's operations on the objects of the user interface; Determining the object category preferred by the user according to the number of operations on the objects of each category; The background color or background brightness of a specific object under the object category preferred by the user is adjusted according to the category of the operation, the browsing time of the application and the object category preferred by the user.

4. The method according to any one of claims 1 to 3, wherein: The method further includes: If the user interface includes a recommended object, the background color or background brightness of the recommended object is adjusted according to the category of the recommended object or the information of the recommended object.

5. A device for adjusting a user interface of an application, comprising: A first detection module, after the user starts the application, detects the category of the user interface of the application and records the number of views of each category of the user interface; A recording module, used to record the browsing time of the application in real time; The first adjustment module includes: A first determination module is used to set a preset number of weights according to the categories of user interfaces, filter out user interfaces that are not necessary to be adjusted according to the preset number of weights and the number of views of user interfaces of each category, obtain user interfaces to be adjusted, and determine the number of views of the user interfaces to be adjusted; The submodule of the first adjustment module is used to adjust the background color or background brightness of the user interface to be adjusted according to the browsing time and the number of browsing times of the user interface to be adjusted.

6. The device according to claim 5, wherein: The user interface includes one or more objects, and the device includes: A second detection module, used to detect the user's operation on the object of the user interface and record the type of the operation; The second adjustment module is used to adjust the background color or background brightness of the objects under each operation category according to the category of the operation and the browsing time of the application.

7. The device according to claim 6, wherein: The device also includes: A second determining module, configured to determine the number of operations on objects of each category according to the user's operations on the objects of the user interface; A third determination module is used to determine the object category preferred by the user according to the number of operations on the objects of each category; The third adjustment module is used to adjust the background color or background brightness of a specific object under the object category preferred by the user according to the category of the operation, the browsing time of the application and the object category preferred by the user.

8. The device according to any one of claims 5 to 7, wherein: The device also includes: The fourth adjustment module adjusts the background color or background brightness of the recommended object according to the category of the recommended object or the information of the recommended object if the user interface includes a recommended object.

9. An electronic device, comprising: one or more processors; as well as A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 4.

10. A computer-readable medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Browse object display method and device

    CN105786878A

  • Brightness and color temperature adjustment method and device of mobile terminal

    CN106502605A

  • Web page processing method, device, electronic device and storage medium

    CN109285059A