Method, apparatus, terminal and server for user interface display

By obtaining terminal scene information and cursor movement data, predicting the most likely components in the user interface and highlighting it, the problem of low component search efficiency in the user interface is solved and user interaction efficiency is improved.

CN116302261BActive Publication Date: 2025-08-01SHENZHEN HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310209458.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-27
Publication Date
2025-08-01
Estimated Expiration
2043-02-27

AI Technical Summary

Technical Problem

The component layout in the existing user interface is solidified, and users are inefficient in finding target components among many components and lack interaction efficiency.

Method used

By obtaining the current scene information of the terminal, using the server to predict the components that users are most likely to use, and highlight them in the user interface, and using the cursor movement information to predict the component usage trend for optimized display.

Benefits of technology

It improves the efficiency of users' component search in the user interface and enhances the interaction efficiency between users and interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302261B_ABST
    Figure CN116302261B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, terminal and server for user interface display, belonging to the technical field of user interfaces. The method includes: obtaining first scene information currently corresponding to this device; determining components to be used in the user interface according to the first scene information; and prominently displaying the components to be used in the user interface. Using the present application can improve the efficiency of interaction between the user and the user interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of user interfaces, and particularly to a method, apparatus, terminal, and server for user interface display. Background Art

[0002] With the development of Internet technology, the graphical user interfaces (GUIs) of various applications, web pages, and systems are constantly improving.

[0003] Currently, most GUIs are fixed. Only when the application is updated, the web page is revised, or the system is updated, will its GUI be optimized and the layout of each component in the GUI may change. However, a GUI usually may contain multiple components. When a user wants to click on a certain component, it takes time to search among numerous components. Thus, the interaction efficiency between the user and the user interface is low. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, terminal, and server for user interface display, which can improve the interaction efficiency between the user and the user interface. The corresponding technical solutions are as follows:

[0005] In a first aspect, a method for user interface display is provided. The method includes: obtaining first scene information corresponding to the current device, and determining a to-be-used component in the user interface according to the first scene information. Highlight the to-be-used component in the user interface.

[0006] In the solution provided by this application, the terminal predicts the component in the user interface that is most likely to be used currently according to the current scene, and then highlights the component so that the user can find the component faster and operate on the component. In this way, the interaction efficiency between the user and the user interface can be effectively improved.

[0007] In a possible implementation, the first scene information includes first time information and first location information.

[0008] In the solution provided by this application, the time information may be the current moment, such as 10 o'clock, 10:30, etc. The location information may include the type of the place where the first terminal is located. The types of places include airports, high-speed railway stations, stadiums, office buildings, residential buildings, etc.

[0009] In a possible implementation, the terminal can interact with the server to determine the to-be-used component. Correspondingly, the processing can be as follows:

[0010] The terminal sends the first scenario information to the server and receives the usage possibility indication information corresponding to each component in the user interface. Among them, the usage possibility indication information corresponding to each component is determined by the server based on the first scenario information, and the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component. Furthermore, the terminal determines the component with the highest usage possibility corresponding to the user interface based on the usage possibility indication information corresponding to each component, and uses it as the component to be used in the user interface.

[0011] In the solution provided by this application, there can be multiple components that need to be displayed in the user interface, such as a taxi-hailing function component, a shopping function component, a navigation function component, a calendar function component, a food delivery function component, and so on. At different times and in different locations, the user's usage requirements for these components are also different. The first terminal can predict the component with the highest current usage possibility according to the current scenario and use it as the component to be used.

[0012] In order to more accurately predict the component to be used, the terminal can interact with the server and rely on the server's storage and computing capabilities to determine the usage possibility of each component. In this way, the terminal can prominently display the component with the highest usage possibility.

[0013] In a possible implementation manner, in order to improve the accuracy of the server's calculation of the usage possibility of each component, the terminal can report the operation situation of the user on each component in the user interface to the server. Specifically, after the user performs an operation on a component in the user interface, the terminal can send the current scenario information of the terminal, the operation information corresponding to the component, and the identifier of the first account to the server, where the first account is the account currently logged in to the terminal.

[0014] In the solution provided by this application, the terminal can periodically report the operation situation of the user on each component in the user interface. For example, the period is 1 hour. At 14:00, the terminal can report to the server the operation situation of the user on each component in the user interface within the 1 hour from 13:00 to 14:00. Specifically, the reported operation situation can include the number of operations of the user on each component in the user interface within this 1 hour, the location of the terminal within this 1 hour, and the time information. Here, the time information can be 14:00.

[0015] In a possible implementation manner, there can be various ways to prominently display the component to be used in the user interface, as long as the component to be used is distinguished from other components so that the user can discover the component to be used more quickly.

[0016] In the solution provided by this application, the terminal can display a first replacement component corresponding to the component to be used in the user interface, where the size of the first replacement component is larger than the size of other components in the user interface.

[0017] In a second aspect, a method for user interface display is provided. In this method, the server receives first scenario information currently corresponding to the terminal sent by the terminal, determines usage possibility indication information corresponding to each component in the user interface according to the first scenario information, and sends the usage possibility indication information corresponding to each component to the terminal, where the usage possibility indication information corresponding to each component is used to represent the possibility of each component being used currently.

[0018] In a possible implementation manner, the first scenario information includes first time information and first location information.

[0019] In a possible implementation manner, the server may receive second scenario information sent by the terminal, operation information corresponding to components in the user interface, and an identifier of a first account, where the first account is the account currently logged in to the terminal. On this basis, the server may use the second scenario information and the operation information as historical behavior information corresponding to the user interface and associated with the first account.

[0020] In a possible implementation manner, when the server stores historical behavior information corresponding to the user interface and associated with the first account, the server may determine usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information corresponding to the user interface and associated with the first account.

[0021] In the solution provided by this application, the server predicts the usage possibility of each component in the user interface by the current user according to the operation situation of the user on the user interface. In this way, it is more in line with the user's usage habits and the prediction accuracy is higher.

[0022] In a possible implementation manner, the processing for the server to determine usage possibility indication information corresponding to each component in the user interface may include:

[0023] Determine scores corresponding to each component in the user interface under each time information and each scenario information according to the historical behavior information corresponding to the user interface and associated with the first account. Determine scores corresponding to each component in the user interface under the first scenario information according to the scores corresponding to each component in the user interface under each time information and each scenario information. Determine usage possibility indication information corresponding to each component in the user interface according to the scores corresponding to each component in the user interface under the first scenario information.

[0024] In the solution provided by this application, the server predicts the usage possibility of each component in the user interface by the current user according to the operations of the user on the user interface at each time and location. In this way, it is more in line with the user's usage habits and the prediction accuracy is higher.

[0025] In a possible implementation, determining the usage possibility indication information corresponding to each component in the user interface according to the first scenario information includes:

[0026] Determining the usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information of multiple accounts corresponding to the user interface.

[0027] In the solution provided by this application, considering that the user may go to a certain location for the first time, in this case, the server does not store the historical behavior information of the user's operations on the user interface at this location, then the historical behavior information of other users can be combined to predict the components that the user may currently use.

[0028] In a third aspect, a method for displaying a user interface is provided, and the method includes:

[0029] When the cursor moves in the user interface, obtain the movement information of the cursor. According to the movement information, determine the component to be used in the user interface. Highlight the component to be used in the user interface.

[0030] In the solution provided by this application, the movement information may include the direction, speed, acceleration, etc. of the cursor movement. Since the user selects a component in the user interface through the cursor, the movement trend of the cursor reflects to a certain extent the user's usage trend of the component. Furthermore, during the cursor movement, the terminal can predict the component to be used by the user according to the movement information of the cursor and highlight the component to be used, enabling the user to find the component to be used faster and improving the interaction efficiency between the user and the user interface.

[0031] In a possible implementation, determining the component to be used in the user interface according to the movement information includes:

[0032] According to the movement information, determine the estimated stop area of the cursor in the user interface. Among the components included in the estimated stop area, determine the component to be used.

[0033] In the solution provided by this application, considering that the estimation of the estimated stop point of the cursor may be inaccurate, the estimation range can be expanded, and the estimated stop area is used to represent the range where the cursor may finally stop. Thus, determining the component to be used within this range will be relatively accurate.

[0034] In a possible implementation, among the components in the estimated stop area, determining the component to be used includes:

[0035] Determine all the components included in the estimated stop area as the components to be used.

[0036] In a possible implementation, among the components included in the estimated stop area, determining the component to be used includes:

[0037] Obtaining the usage probability corresponding to each component included in the estimated stop area. The component with the maximum usage probability is used as the component to be used.

[0038] In the solution provided by this application, in order to more accurately predict the component to be used, the usage probability of each component in the user interface can be combined for prediction.

[0039] In a possible implementation, highlighting the component to be used in the user interface includes:

[0040] In the user interface, increasing the size of the component to be used.

[0041] In the solution provided by this application, by increasing the size of the component to be used, the cursor can quickly move to the component to be used, improving the interaction efficiency between the user and the user interface.

[0042] In a possible implementation, highlighting the component to be used in the user interface includes:

[0043] In the user interface, controlling the component to be used to move towards the cursor.

[0044] In the solution provided by this application, by controlling the component to be used and the cursor to move towards each other, the moving distance between the cursor and the component to be used is shortened, improving the interaction efficiency between the user and the user interface.

[0045] Fourthly, a device for user interface display is provided. The device includes:

[0046] An obtaining module, configured to obtain first scenario information corresponding to the current device;

[0047] A determining module, configured to determine the component to be used in the user interface according to the first scenario information;

[0048] A display module, configured to highlight the component to be used in the user interface.

[0049] In a possible implementation, the first scenario information includes first time information and first location information.

[0050] In a possible implementation, the determining module is configured to:

[0051] Send the first scenario information to the server;

[0052] Receive the usage possibility indication information corresponding to each component in the user interface sent by the server, where the usage possibility indication information corresponding to each component is determined by the server according to the first scenario information, and the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component;

[0053] Determine the component with the highest usage possibility in the user interface corresponding to the usage possibility indication information of each component as the component to be used in the user interface.

[0054] In a possible implementation manner, the device further includes a sending module, configured to:

[0055] In response to an operation on a component in the user interface;

[0056] Send the second scenario information of the current location of the device, the operation information corresponding to the component, and the identifier of the first account to the server, where the first account is the account currently logged in to the terminal.

[0057] In a possible implementation manner, the display module is configured to:

[0058] Display a first replacement component corresponding to the component to be used in the user interface, where the size of the first replacement component is larger than the sizes of other components in the user interface.

[0059] In a fifth aspect, a device for displaying a user interface is provided, where the device includes:

[0060] A receiving module, configured to receive the first scenario information corresponding to the terminal sent by the terminal;

[0061] A determining module, configured to determine the usage possibility indication information corresponding to each component in the user interface according to the first scenario information;

[0062] A sending module, configured to send the usage possibility indication information corresponding to each component to the terminal, where the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component.

[0063] In a possible implementation manner, the first scenario information includes first time information and first location information.

[0064] In a possible implementation manner, the receiving module is further configured to:

[0065] Receive the second scenario information sent by the terminal, the operation information corresponding to the component in the user interface, and the identifier of the first account, where the first account is the account currently logged in to the terminal;

[0066] Use the second scenario information and the operation information as historical behavior information corresponding to the user interface and associated with the first account.

[0067] In a possible implementation, the determining module is configured to:

[0068] Determine usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information corresponding to the user interface and associated with the first account.

[0069] In a possible implementation, the determining module is configured to:

[0070] Determine scores corresponding to each component in the user interface under each time information and each scenario information according to the historical behavior information corresponding to the user interface and associated with the first account;

[0071] Determine scores corresponding to each component in the user interface under the first scenario information according to the scores corresponding to each component in the user interface under each time information and each scenario information;

[0072] Determine usage possibility indication information corresponding to each component in the user interface according to the scores corresponding to each component in the user interface under the first scenario information.

[0073] In a possible implementation, the determining module is configured to:

[0074] Determine usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information of multiple accounts corresponding to the user interface.

[0075] In a sixth aspect, a device for user interface display is provided, the device includes:

[0076] An obtaining module, configured to obtain movement information of the cursor when the cursor moves in the user interface;

[0077] A determining module, configured to determine a component to be used in the user interface according to the movement information;

[0078] A display module, configured to prominently display the component to be used in the user interface.

[0079] In a possible implementation, the determining module is configured to:

[0080] Determine a predicted stop area of the cursor in the user interface according to the movement information;

[0081] Among the components included in the predicted stop area, determine the component to be used.

[0082] In a possible implementation, the determining module is configured to:

[0083] Determine all the components included in the predicted stop area as the components to be used.

[0084] In a possible implementation, the determining module is configured to:

[0085] Obtain the usage probabilities corresponding to the respective components included in the predicted stop area;

[0086] Use the component with the highest usage probability as the component to be used.

[0087] In a possible implementation, the display module is configured to:

[0088] In the user interface, increase the size of the component to be used.

[0089] In a possible implementation, the display module is configured to:

[0090] In the user interface, control the component to be used to move towards the cursor.

[0091] In a seventh aspect, a terminal is provided. The communication device includes a processor and a memory. At least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method provided in the first aspect or any optional manner of the first aspect or the third aspect or any optional manner of the third aspect.

[0092] In an eighth aspect, a server is provided. The server includes a processor and a memory. At least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method provided in the second aspect or any optional manner of the second aspect.

[0093] In a ninth aspect, a computer-readable storage medium is provided. At least one instruction is stored in the computer-readable storage medium. When the at least one instruction runs on a terminal, the terminal is caused to execute the method provided in the first aspect or any optional manner of the first aspect or the third aspect or any optional manner of the third aspect.

[0094] In a tenth aspect, a computer-readable storage medium is provided. At least one instruction is stored in the computer-readable storage medium. When the at least one instruction runs on a server, the server is caused to execute the method provided in the second aspect or any optional manner of the second aspect.

[0095] In an eleventh aspect, there is provided a computer program product comprising at least one instruction which, when running on a terminal, causes the terminal to execute the method provided in the first aspect or any optional manner of the first aspect or the third aspect or any optional manner of the third aspect as described above.

[0096] In a twelfth aspect, there is provided a computer program product comprising at least one instruction which, when running on a server, causes the server to execute the method provided in the second aspect or any optional manner of the second aspect as described above. Description of the Drawings

[0097] Figure 1 is a flowchart of a method for displaying a user interface provided by this application;

[0098] Figure 2 is a flowchart of a method for displaying a user interface provided by this application;

[0099] Figure 3 is a schematic diagram of a replacement component provided by this application;

[0100] Figure 4 is a schematic diagram of a user interface provided by this application;

[0101] Figure 5 is a schematic diagram of a user interface provided by this application;

[0102] Figure 6 is a flowchart of a method for displaying a user interface provided by this application;

[0103] Figure 7 is a schematic diagram of a user interface provided by this application;

[0104] Figure 8 is a schematic diagram of a user interface provided by this application;

[0105] Figure 9 is a schematic diagram of a user interface provided by this application;

[0106] Figure 10 is a schematic diagram of a user interface provided by this application;

[0107] Figure 11 is a schematic diagram of a user interface provided by this application;

[0108] Figure 12 is a schematic diagram of a user interface provided by this application;

[0109] Figure 13 is a schematic diagram of a device for displaying a user interface provided by this application;

[0110] Figure 14 It is a schematic diagram of a device for user interface display provided by this application;

[0111] Figure 15 It is a schematic diagram of the structure of a terminal provided by this application;

[0112] Figure 16 It is a schematic diagram of the structure of a server provided by this application. Specific implementation manners

[0113] This application provides a method for user interface display. This method can be implemented by a terminal, where the terminal can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc. This method can be applied to various user interfaces, such as the user interface of an application program, the user interface of a web page, the user interface of an operating system, and so on.

[0114] The method for user interface display provided by this application can predict the most likely component to be used in the user interface according to the current scenario of the user's terminal, and then highlight this component so that the user can find this component faster and operate on this component. In this way, the interaction efficiency between the user and the user interface can be effectively improved.

[0115] The following will describe the method for user interface display provided by this application with reference to the accompanying drawings. See Figure 1 , and the processing flow of this method can include the following steps:

[0116] Step 101: The first terminal obtains the first scenario information corresponding to this device currently.

[0117] Among them, the first scenario information may include time information and location information. The time information may refer to the current moment, such as 10 o'clock, 10:30, etc., and the location information may include the type of the place where the first terminal is located. The types of places include airports, high-speed railway stations, stadiums, office buildings, residential buildings, etc.

[0118] In implementation, when the first terminal detects an access request for a target user interface, it obtains the first scenario information corresponding to the current situation.

[0119] Taking the user interface of an application program as an example of the target user interface, when the user wants to access the target user interface, the user can click on the application program icon. After the user clicks on the application program icon, an access request for the target user interface is triggered. The first terminal obtains the access request and obtains the first scenario information of the current scenario where it is located.

[0120] Taking the user interface of the operating system as the target user interface as an example, when the first terminal is in the locked screen state, if the user wants to access the target user interface, the first terminal can be unlocked. In response to the unlocking operation of the first terminal, an access request for the target user interface is triggered. The first terminal obtains the access request and obtains the first scene information of the current scene.

[0121] Step 102: The first terminal determines the components to be used in the target user interface according to the first scene information.

[0122] In implementation, there can be multiple components that need to be displayed in the target user interface, such as a taxi-hailing function component, a shopping function component, a navigation function component, a calendar function component, a food delivery function component, and so on.

[0123] At different times and in different locations, the user's usage requirements for these components are also different. The first terminal can predict the component with the highest current usage possibility according to the current scene as the component to be used.

[0124] For example, the current scene is: 11:30, location is the office building. Then, in the current scene, the component that the user wants to use is most likely the food delivery component. Furthermore, the first terminal takes the food delivery component as the component to be used.

[0125] In a possible implementation, in order to more accurately predict the component to be used, the server can be combined to implement the prediction of the component to be used. Among them, the server can be the background server of the system or application program to which the target user interface belongs. The server can be in the form of a single server, a server cluster, etc. Correspondingly, as Figure 2 shown, the processing of step 102 can be as follows:

[0126] S1021: The first terminal sends the first scene information to the server.

[0127] After obtaining the first scene information, the first terminal sends the first scene information to the server. When sending the first scene, the first terminal can also send the interface identifier of the target user interface and the account identifier of the first account currently logged in on the first terminal. For the first account logged in on the first terminal, taking the user interface of the application program as an example, the first account can be the account logged in to the application program. Taking the user interface of the operating system as an example, the first account can be the account currently logged in to the operating system.

[0128] S1022: The server determines the usage possibility indication information corresponding to each component in the target user interface according to the first scene information.

[0129] The server can determine the usage possibility indication information corresponding to each component in the target user interface based on the first scenario information and the historical behavior information corresponding to the target user interface. Among them, the historical behavior information can include the scenario information of the scenario where the first terminal is located when the user operates the target user interface and the operation information of the operations performed by the user on the components in the target user interface. The operations can include clicking, dragging, etc., and the operation information can be the number of operations. The following explains the historical behavior information corresponding to the target user interface.

[0130] When the user operates the target user interface, the first terminal can obtain the scenario information of the current scenario where it is located and the operation information of the operations performed by the user on the components in the target user interface, and use the obtained information as the historical behavior information corresponding to the target user interface and associated with the first account.

[0131] For the obtained historical behavior information corresponding to the target user interface and associated with the first account, the first terminal can report it to the server. When reporting the historical behavior information, the account identifier of the first account can also be reported, so that the server can associate the first account with the historical behavior information corresponding to the target user interface and establish a corresponding relationship between the two.

[0132] Referring to Table 1, an exemplary correspondence between the first account and the historical behavior information corresponding to the target user interface is shown.

[0133] Table 1

[0134]

[0135] In Table 1, the precision of the time information can be configured according to actual needs. For example, if the precision is 1 hour, then 13:00 in the time information refers to the one-hour period from exactly 13:00 to 14:00; another example, if the precision is 1 minute, then it refers to the one-minute period from 13:00 to 13:01. Correspondingly, when the first terminal reports the historical behavior information to the server, it can also report it according to this precision. For example, if the precision is 1 hour, then the first terminal can report the historical behavior information once an hour. At this time, the reported historical behavior information includes the number of operations performed by the user on each component in the user interface within this one hour and the location of the first terminal within this one hour; another example, if the precision is 1 minute, then the first terminal can report the historical behavior information once a minute. At this time, the reported historical behavior information includes the operation information of the operations performed by the user on each component in the user interface within this one minute and the location information of the location of the first terminal within this one minute.

[0136] Taking the accuracy as 1 hour as an example, assuming that the target user interface needs to display function component A, function component B, and function component C, the meaning expressed in Table 1 above is as follows: The first terminal was in the stadium between 13:00 and 14:00. During this period, the user operated function component A in the user interface once, did not operate function component B, and operated function component C twice.

[0137] The above only exemplarily provides several ways for the first terminal to report the historical behavior information corresponding to the target user interface. This application does not limit the timing for the first terminal to report the historical behavior information corresponding to the target user interface. In a possible implementation, when the target user interface is the user interface of an application, the first terminal can also report the historical behavior information corresponding to the target user interface each time the application is started.

[0138] The server determines the usage possibility indication information corresponding to each component in the target user interface based on the first scenario information and the historical behavior information corresponding to the target user interface. There can be multiple determination methods. Several of them are exemplarily described below:

[0139] Determination method 1:

[0140] The server determines the usage possibility indication information corresponding to each component in the target user interface based on the first scenario information sent by the first terminal and the historical behavior information corresponding to the target user interface and associated with the first account.

[0141] In this determination method 1, the server can summarize the historical behavior information sent by the first terminal and corresponding to the target user interface and associated with the first account. The summarization method can be: For each component in the target user interface, the server adds up the operation times of the component corresponding to the same time information and the same location information in the above historical behavior information.

[0142] For example, on January 30, 2022, the first terminal reported the following historical behavior information to the server: the time information was 13:00, the location information was the stadium, and the operation times of function component A was 1. On January 31, 2022, the first terminal reported the following historical behavior information to the server: the time information was 13:00, the location information was the stadium, and the operation times of function component A was 3. In this case, the server summarizes the historical behavior information sent by the first terminal and obtains the summarized historical behavior information including: the time information was 13:00, the location information was the stadium, and the operation times of function component A was 4.

[0143] For each component in the target user interface, the server can determine the score corresponding to the component under each time information and each location information according to the historical behavior information corresponding to the target user interface and associated with the first account, and record the corresponding relationship among the first account, the component, the time information, the location information, and the score. The score can reflect the possibility of the component being used, and the higher the score, the higher the possibility of being used. For example, see Table 2 below.

[0144] Table 2

[0145]

[0146]

[0147] For each component, the score corresponding to the component under any time information and any location information is related to the number of operations of the component under this time information and this location information. For example, when the number of operations is 0, the score is 0. For each increase of the first preset value in the number of operations, the score increases by the second preset value. Exemplarily, the first preset value is 10 and the second preset value is 1.

[0148] On this basis, after receiving the first scenario information sent by the first terminal, for each component in the target user interface, the server queries the corresponding relationship among the components, time information, location information, and scores associated with the first account, and obtains the first score corresponding to the component, the first time information, and the first location information. Then, the first scores corresponding to each component are reduced by the same multiple to obtain the second scores corresponding to each component, which are used as the usage possibility indication information corresponding to each component. Among them, the second score is a value less than 1.

[0149] Alternatively, after obtaining the first scores corresponding to each component, the server can assign a priority to each first score in the order from largest to smallest of the first scores. The larger the value of the first score, the higher the assigned priority. Furthermore, the priorities corresponding to each component are used as the usage possibility indication information corresponding to each component.

[0150] In a possible implementation, in the first determination method, after receiving the historical behavior information corresponding to the target user interface reported by the first terminal, the server can also query the weather information at the current location of the first terminal as the weather information corresponding to the historical behavior information corresponding to the target user interface currently reported by the first terminal. Exemplarily, the weather information can be cloudy, sunny, rainy, snowy, windy, etc., and can also be normal weather and bad weather. For example, bad weather includes strong wind, heavy rain, heavy snow, etc. The specific determination of bad weather and normal weather can be set according to actual needs and is not limited here. In this application, the weather information includes normal weather and bad weather as an example for illustration.

[0151] When the server summarizes the historical behavior information corresponding to the target user interface sent by the first terminal, it can also consider the weather information at the same time. Accordingly, the summarization method can be: for each component in the target user interface, the server adds up the number of operations under the same time information, the same location information, and the same weather information corresponding to the component in the above historical behavior information.

[0152] For example, on January 30, 2022, the first terminal reported the following historical behavior information to the server: the time information was 13:00, the location information was the stadium, the number of operations on the A function component was 1, and the weather information queried by the server was normal weather. On January 31, 2022, the first terminal reported the following behavior information to the server: the time information was 13:00, the location information was the stadium, the number of operations on the A function component was 3, and the weather information queried by the server was normal weather. Then the server summarizes the historical behavior information sent by the first terminal, and the obtained summarized historical behavior information includes: the time information is 13:00, the location information is the stadium, the weather information is normal weather, and the number of operations on the A function component is 4.

[0153] For each component in the target user interface, the server can determine the score corresponding to the component under each time information, each location information, and each weather information according to the historical behavior information corresponding to the target user interface and associated with the first account, as well as the weather information, and record the corresponding relationship between the component, the time information, the location information, the weather information, and the score, and associate this corresponding relationship with the first account. The score can reflect the possibility of the component being used, and the higher the score, the higher the possibility of being used. For example, see Table 3 below.

[0154] Table 3

[0155]

[0156]

[0157] For each component, the score corresponding to the component under any time information, any location information, and any weather information is related to the number of operations of the component under this time information, this location information, and this weather information.

[0158] On this basis, after receiving the first scenario information sent by the first terminal, the server queries the first weather information of the location where the first terminal is currently located. Then, for each component in the target user interface, the server queries the corresponding relationship between the component associated with the first account, time information, location information, weather information, and score, and obtains the first score corresponding to the component, the first time information, the first location information, and the first weather. Then, the first scores corresponding to each component are reduced by the same multiple to obtain the second scores corresponding to each component, which are used as the usage possibility indication information corresponding to each component. Among them, the second score is a value less than 1.

[0159] Alternatively, after obtaining the first scores corresponding to each component, the server can assign a priority to each first score in descending order of the first score. The larger the value of the first score, the higher the assigned priority. Furthermore, the priorities corresponding to each component are used as the usage possibility indication information corresponding to each component.

[0160] Determination method two:

[0161] The server determines the usage possibility indication information corresponding to each component in the target user interface according to the first scenario information sent by the first terminal and the historical behavior information of each account corresponding to the target user interface.

[0162] In this determination method two, the server can summarize the historical behavior information of each account corresponding to the target user interface. The summarization method can be: for each component in the target user interface, the server adds up the operation times of the component corresponding to the same time information and location information in the historical behavior information reported by each terminal for the target user interface.

[0163] For example, on January 30, 2022, the first terminal logged in to the first account reported the following behavior information to the server: the time information was 13:00, the location information was the stadium, and the operation times of the A function component were 1. On January 30, 2022, the second terminal logged in to the second account reported the following historical behavior information to the server: the time information was 13:00, the location information was the stadium, and the operation times of the A function component were 2. On January 31, 2022, the third terminal logged in to the third account reported the following historical behavior information to the server: the time information was 13:00, the location information was the stadium, and the operation times of the A function component were 3. In this case, the server summarizes the historical behavior information reported by each terminal for the target user interface and obtains the summarized historical behavior information including: the time information was 13:00, the location information was the stadium, and the operation times of the A function component were 6.

[0164] For each component in the target user interface, the server can determine the score corresponding to the component under each time information and each location information based on the historical behavior information of each account corresponding to the target user interface, and record the corresponding relationship between the component, the time information, the location information, and the score. The score can reflect the possibility of the component being used, and the higher the score, the higher the possibility of being used.

[0165] For each component, the score corresponding to the component under any time information and any location information is related to the number of operations of the component under this time information and this location information. For example, when the number of operations is 0, the score is 0, and for every increase of the third preset value in the number of operations, the score increases by the fourth preset value. Exemplarily, the third preset value is 100 and the second preset value is 1.

[0166] On this basis, after the server receives the first scenario information sent by the first terminal, for each component in the target user interface, the server queries the corresponding relationship between the component, the time information, the location information, and the score, and obtains the first score jointly corresponding to the component, the first time information, and the first location information. Then, the first scores corresponding to each component are reduced by the same multiple to obtain the second scores corresponding to each component, which are used as the usage possibility indication information corresponding to each component. Among them, the second score is a value less than 1.

[0167] Alternatively, after obtaining the first scores corresponding to each component, the server can assign a priority to each first score in descending order of the first score. The larger the value of the first score, the higher the assigned priority. Furthermore, the priorities corresponding to each component are used as the usage possibility indication information corresponding to each component.

[0168] In the second determination method, weather information can also be considered. The specific processing is similar to that in the first determination method above and will not be elaborated here.

[0169] Determination method three:

[0170] In this method three, the first location information sent by the first terminal can also include an indication information of the city where the terminal is currently located. Correspondingly, the location information in the historical behavior information corresponding to the target user interface reported by each terminal can also include an indication information of the city where the terminal is located. Correspondingly, after the server receives the first location information reported by the first terminal, it first determines whether the city where the first terminal is currently located is a familiar city or an unfamiliar city for the user. If it is a familiar city, the historical behavior information of the target user interface corresponding to the first account in this city can be used to determine the usage possibility indication information corresponding to each component in the target user interface. If it is an unfamiliar city, the historical behavior information of each account corresponding to the target user interface in this city can be used to determine the usage possibility indication information corresponding to each component in the target user interface.

[0171] In the third method, the server can summarize the historical behavior information corresponding to the target user interface and associated with the first account sent by the first terminal, and can also summarize the historical behavior information corresponding to each account of the target user interface sent by each terminal.

[0172] When the server summarizes the historical behavior information corresponding to the target user interface and associated with the first account, the summarization method can be: for each component in the target user interface, the server adds up the number of operations under the same time information and the same location information corresponding to this component in the historical behavior information corresponding to the target user interface and associated with the first account.

[0173] For example, on January 30, 2022, the first terminal reported the following historical behavior information to the server: the time information was 13:00, the location information was City X, Stadium, and the number of operations on the A function component was 1. On January 31, 2022, the first terminal reported the following behavior information to the server: the time information was 13:00, the location information was City X, Stadium, and the number of operations on the A function component was 3. In this case, the server summarizes the historical behavior information sent by the first terminal, and the obtained summarized historical behavior information includes: the time information is 13:00, the location information is City X, Stadium, and the number of operations on the A function component is 4.

[0174] For each component in the target user interface, the server can determine the score corresponding to this component under each time information and each location information according to the historical behavior information corresponding to the target user interface and associated with the first account, record the first correspondence relationship of the first account, the component, the time information, the location information and the score, and associate the first correspondence relationship with the first account. The score can reflect the possibility of the component being used, and the higher the score, the higher the possibility of being used. For example, see Table 4 below.

[0175] Table 4

[0176]

[0177] When the server summarizes the historical behavior information corresponding to each account of the target user interface sent by each terminal, the summarization method can be: for each component in the target user interface, the server adds up the number of operations under the same time information and location information corresponding to this component in the historical behavior information reported by each terminal for the target user interface.

[0178] For example, on January 30, 2022, the first terminal logged in to the first account reported the following behavior information to the server: the time information was 13:00, the location information was Gymnasium, X City, and the number of operations on the A function component was 1. On January 30, 2022, the second terminal logged in to the second account reported the following behavior information to the server: the time information was 13:00, the location information was Gymnasium, X City, and the number of operations on the A function component was 2. On January 31, 2022, the third terminal logged in to the third account reported the following behavior information to the server: the time information was 13:00, the location information was Gymnasium, Y City, and the number of operations on the A function component was 3. In this case, the server summarized the historical behavior information corresponding to the target user interface reported by each terminal, and the summarized historical behavior information included: the time information was 13:00, the location information was Gymnasium, X City, and the number of operations on the A function component was 3; the time information was 13:00, the location information was Gymnasium, Y City, and the number of operations on the A function component was 3.

[0179] For each component, the score corresponding to the component at any time information and any location information is related to the number of operations of the component at this time information and this location information. For example, when the number of operations is 0, the score is 0, and for each increase of the third preset value in the number of operations, the score increases by the fourth preset value. Exemplarily, the third preset value is 100 and the second preset value is 1.

[0180] After the server receives the first scenario information sent by the first terminal, it determines whether the target city indicated by the first location information is a familiar city or an unfamiliar city of the user. The specific determination method can be: if the server determines that the city indicated by the location information in the historical behavior information corresponding to the target user interface reported by the first terminal for N days or more is the target city, then the target city is determined as a familiar city. If it is determined that the number of days when the city indicated by the location information in the continuously reported historical behavior information of the first terminal logged in is the target city is less than N days, the target city is determined as an unfamiliar city. Among them, N is a positive integer and can be set according to actual needs. For example, it can be set to 3 days, 5 days, etc.

[0181] If it is determined that the target city is a familiar city, then query the above first corresponding relationship associated with the first account to obtain the first score corresponding to each component. If it is determined that the target city is an unfamiliar city, then query the above second corresponding relationship to obtain the first score corresponding to each component. Then, reduce each first score by the same multiple to obtain the second score corresponding to each component, where each second score corresponding to each component is a number less than 1. The server uses the second score corresponding to each component as the indication information of the usage possibility corresponding to each component.

[0182] Alternatively, after obtaining the first scores corresponding to each component, the server may assign a priority to each first score in descending order of the first scores. The larger the value of the first score, the higher the assigned priority. Furthermore, the priorities corresponding to each component can be obtained, and then, the priorities corresponding to each component can be used as the usage possibility indication information corresponding to each component.

[0183] S1023. The server sends the usage possibility indication information corresponding to each component in the target user interface to the first terminal.

[0184] S1024. The first terminal determines the component to be used according to the usage possibility indication information corresponding to each component.

[0185] When the usage possibility indication information is the second score, the terminal takes the component corresponding to the highest second score as the component to be used. When the usage possibility indication information is the priority, the component with the highest priority is taken as the component to be used.

[0186] Step 103. The first terminal highlights the component to be used in the user interface.

[0187] In implementation, there are various ways of highlighting. Exemplarily, highlighting may include changing the color of the component to be used to distinguish it from other components, or making the component to be used the largest-sized component in the user interface to distinguish it from other components.

[0188] The following takes the way of highlighting by size as an example to illustrate this step:

[0189] For each component to be displayed in the user interface, multiple replacement components of different sizes can be prefabricated. For example, three replacement components of different sizes corresponding to each component. Exemplarily, as Figure 3 shown, for the taxi-hailing function component, three replacement components of different sizes can be prefabricated.

[0190] Taking the example that each component corresponds to three replacement components of different size levels, the sizes of the replacement components with the largest size level corresponding to different components are the same or similar, the sizes of the replacement components with the medium size level corresponding to each are the same or similar, and the sizes of the replacement components with the smallest size level corresponding to each are the same or similar.

[0191] When the usage possibility indication information is a score, the target replacement component corresponding to each component can be selected for display according to the second score corresponding to each component. There can be various selection methods, and several of them are exemplarily described below.

[0192] Selection method one:

[0193] For each component, there is a corresponding score range for the replacement components of each dimension of the component. Correspondingly, after the first terminal receives the second score corresponding to each component, for each component, it determines the target score range in which the second score corresponding to the component is located, and displays the target replacement component corresponding to the target score range in the user interface. If the target replacement components corresponding to multiple components and the target replacement component corresponding to the component to be used belong to the same size level, then re-select the target replacement components of these multiple components. Exemplarily, the target replacement components of a smaller size level corresponding to them can be selected for display. Additionally, if the target replacement component corresponding to the target component to be used is of the smallest size level, then re-select the target replacement component of the target component to be used. Exemplarily, the target replacement components of a larger size level can be selected for display.

[0194] Selection method two:

[0195] For the component to be used, select the target replacement component of the corresponding largest size level for display. For other components, according to the corresponding second score, select the target replacement component from the replacement components of the size levels other than the largest size level corresponding to each of them for display. Exemplarily, taking a total of three size levels as an example, assuming that in the target user interface, at most S components of the medium size level are allowed to be displayed, then for other components except the component to be used, determine the S components with the largest corresponding second scores. For these S components, select the target replacement components of their corresponding medium size levels for display. For the components other than these S components among other components, select the target replacement components of the smallest size level for display.

[0196] In the case where the usage possibility indication information is priority, the target replacement components corresponding to each component can be selected for display according to the priority corresponding to each component. There can be multiple selection methods. Here, one of them is exemplarily described below.

[0197] For the component to be used, select the target replacement component of the corresponding largest size level for display. For other components, according to the corresponding priority, select the target replacement component from the replacement components of the size levels other than the largest size level corresponding to each of them for display. Exemplarily, taking a total of three size levels as an example, assuming that in the target user interface, at most S components of the medium size level are allowed to be displayed, then for other components except the component to be used, determine the S components with the highest corresponding priority. For these S components, select the target replacement components of their corresponding medium size levels for display. For the components other than these S components among other components, select the target replacement components of the smallest size level for display.

[0198] For the display effect of the target user interface, from Figure 4 andFigure 5 From the comparison, it can be seen that Figure 4 shows the target user interface in which each component is fixedly displayed in the prior art. Figure 5 shows that, on the basis of Figure 4 , according to the method provided in this application, after determining the component to be used, the target user interface that highlights the component to be used. It can be seen that in Figure 5 , the size of the component to be used is larger than that of other components. In this way, by predicting the component to be used that the user is most likely to use currently and highlighting it, the user can find the component to be used faster, improving the interaction efficiency between the user and the user interface.

[0199] This application also provides a method for displaying a user interface. This method can determine the component that the user may use according to the movement information when the cursor moves in the user interface, and highlight the component.

[0200] The following describes the method for displaying a user interface provided in this application with reference to the accompanying drawings. Refer to Figure 6 , the processing flow of this method may include the following steps:

[0201] Step 501: When the cursor moves in the target user interface, the terminal obtains the movement information of the cursor.

[0202] Among them, the movement information may include the direction, speed, acceleration, etc. of the cursor movement.

[0203] In implementation, record the coordinate of the current point where the cursor is located as x0, sample two points x′0 and x″0 on the cursor movement trajectory at a preset time interval. Among them, the time taken for the cursor to move from x″0 to x′0 is Δt, and the time taken for the cursor to move from x′0 to x0 is also Δt, and Δt is the above-mentioned preset time interval.

[0204] The speed of the cursor movement is:

[0205]

[0206] Among them, |x0x′0| represents the distance between x0 and x′0.

[0207] The acceleration of the cursor movement is:

[0208]

[0209] Step 502: The terminal determines the component to be used in the target user interface according to the movement information.

[0210] Among them, the component is an interactive component, and the component to be used refers to the component with a relatively high current usage possibility by the user.

[0211] In implementation, there are various methods for determining the component to be used. Here, several of them are exemplarily described:

[0212] Method 1: Take the first component pointed to by the moving direction of the cursor as the component to be used.

[0213] Refer to Figure 7 , which shows the moving trajectory of the cursor and the current moving direction of the cursor. In the target user interface, there are components A, B, C, and D. Take the component A pointed to by the current moving direction of the cursor as the component to be used.

[0214] Method 2: According to the movement information, determine the estimated stop area of the cursor in the user interface, and determine the component to be used among the components included in the estimated stop area.

[0215] There are various methods for determining the estimated stop area. Here, several of them are exemplarily described:

[0216] Determination method 1: Assume that the cursor starts from x0 and moves in a uniform straight line along the current moving direction. Then, the point x1 at a distance of x from x0 along the current moving direction is the estimated stop point. Among them, the calculation formula of x is as follows:

[0217]

[0218]

[0219] Take the estimated stop point as the corner point or the center point to generate a target rectangle, and take the area where the target rectangle is located as the estimated stop area. Among them, the length and width of the target rectangle can be preset values, such as the length is 5 cm and the width is 4 cm. In addition, the two adjacent sides of the target rectangle are respectively parallel to the two adjacent boundaries of the target user interface.

[0220] Refer to Figure 8 , which shows the estimated stop point x1 of the cursor and the target rectangle with x1 as the center point. This target rectangle is the estimated stop area.

[0221] Determination method 2: First, determine the estimated stop point according to the above determination method 1. Then, at x0, take the current moving direction of the cursor as the tangent direction, and generate a first arc and a second arc on both sides of the tangent according to a preset radius. Take the estimated stop point as the first corner point to generate a target rectangle, and take the area where the target rectangle is located as the estimated stop area. Among them, the two corner points adjacent to the first corner point in the target rectangle are respectively on the first arc and the second arc, and the cursor movement trajectory does not pass through the target rectangle.

[0222] Refer to Figure 9 , which shows the estimated stop point x1 of the cursor, the first arc, the second arc, and the estimated stop area.

[0223] After determining the estimated stop area, there are also multiple methods for determining the components to be used among the components included in the estimated stop area. Here, two of them are exemplarily listed below.

[0224] I. Determine all the components within the estimated stop area as the components to be used.

[0225] II. The terminal obtains the usage probabilities corresponding to the respective components included in the estimated stop area, and takes the component with the highest usage probability as the component to be used.

[0226] The usage probabilities corresponding to the respective components can be statistically calculated by the server. The calculation method for the usage probability of any component can be as follows: The server statistically calculates the usage times of each component in the target user interface by each terminal, adds up the usage times of each component to obtain the total usage times. Then, for each component, divides the usage times corresponding to this component by the total usage times to obtain the usage probability corresponding to this component.

[0227] When the terminal enters the target user interface, it can obtain the usage probabilities corresponding to the respective components in this target user interface from the server. Furthermore, after determining the estimated stop area according to the movement information of the cursor, it determines the usage probabilities corresponding to the respective components included in the estimated stop area, and takes the component with the highest usage probability as the component to be used.

[0228] Method III. According to the movement information, determine the estimated stop area of the cursor in the user interface, determine the target function area that overlaps with the estimated stop area, and determine the components to be used among the components included in the target function area. The function areas can be divided by relevant personnel when designing the target user interface. The target user interface can be divided into multiple function areas, and each function area can include at least one component.

[0229] Exemplarily, among the components included in the target function area, the method for determining the components to be used can be as follows: The terminal obtains the usage probabilities corresponding to the respective components included in the target function area, and takes the component with the highest usage probability as the component to be used.

[0230] See Figure 10 which shows the estimated stop area and the target function area.

[0231] Step 503. The terminal highlights the component to be used in the target user interface.

[0232] In implementation, there are various ways of highlighting. As long as the component to be used is distinguished from other components so that the user can find the component to be used faster. For example, making the component to be used move in the opposite direction of the cursor movement direction, that is, making the component to be used and the cursor move towards each other. In this way, the moving distance from the cursor to the component to be used can be shortened, the cursor can move to the component to be used faster, and the interaction efficiency between the user and the user interface can be improved. For another example, the component to be used can be highlighted by changing the color, flashing, changing the transparency, etc. For still another example, a combination of multiple highlighting methods can be used. For example, while making the component to be used move in the opposite direction of the cursor movement direction, the size of the component to be used is increased.

[0233] See Figure 11 , the components to be used are component A and component B within the estimated stop area. Both component A and component B move in the opposite direction of the cursor movement direction and their sizes become larger. In addition, the target function area can also be extended towards the cursor direction, and the components other than the component to be used within the target function area will also move along with the extension of the target function area.

[0234] See Figure 12 , the usage probability of component A is the highest and it is used as the component to be used. Both component A and component B move in the opposite direction of the cursor movement direction, and the size of component A becomes larger. In addition, the target function area can also be extended towards the cursor direction, and the components other than the component to be used within the target function area will also move along with the extension of the target function area.

[0235] In the solution provided in the embodiment of the present application, according to the movement information of the cursor, the component to be used that the user may use is predicted and the component to be used is highlighted, so that the user can find the component to be used faster, improving the interaction efficiency between the user and the user interface.

[0236] Based on the same technical concept, the embodiment of the present application also provides a device for user interface display. The device 900 can be applied to the above-mentioned first terminal, as Figure 13 shown, the device 900 includes:

[0237] An acquisition module 910, configured to acquire the first scene information corresponding to the current device;

[0238] A determination module 920, configured to determine the component to be used in the user interface according to the first scene information;

[0239] A display module 930, configured to highlight the component to be used in the user interface.

[0240] In a possible implementation manner, the first scene information includes first time information and first position information.

[0241] In a possible implementation, the determining module 920 is configured to:

[0242] Send the first scenario information to the server;

[0243] Receive the usage possibility indication information corresponding to each component in the user interface sent by the server, where the usage possibility indication information corresponding to each component is determined by the server according to the first scenario information, and the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component;

[0244] Determine the component with the highest usage possibility corresponding to the user interface according to the usage possibility indication information corresponding to each component, and use it as the component to be used in the user interface.

[0245] In a possible implementation, the device further includes a sending module, configured to:

[0246] Respond to an operation on a component in the user interface;

[0247] Send the second scenario information where the device is currently located, the operation information corresponding to the component, and the identifier of the first account to the server, where the first account is the account currently logged in to the terminal.

[0248] In a possible implementation, the display module 930 is configured to:

[0249] Display a first replacement component corresponding to the component to be used in the user interface, where the size of the first replacement component is larger than the sizes of other components in the user interface.

[0250] In addition, the above device 900 can also perform the following processing:

[0251] The obtaining module 910 is further configured to obtain the movement information of the cursor when the cursor moves in the user interface;

[0252] The determining module 920 is further configured to determine the component to be used in the user interface according to the movement information;

[0253] The display module 930 is further configured to highlight the component to be used in the user interface.

[0254] In a possible implementation, the determining module 920 is further configured to:

[0255] Determine the estimated stop area of the cursor in the user interface according to the movement information;

[0256] Among the components included in the predicted stop area, determine the components to be used.

[0257] In a possible implementation, the determining module 920 is further configured to:

[0258] Determine all the components included in the predicted stop area as the components to be used.

[0259] In a possible implementation, the determining module 920 is further configured to:

[0260] Obtain the usage probabilities corresponding to the respective components included in the predicted stop area;

[0261] Use the component with the maximum usage probability as the component to be used.

[0262] In a possible implementation, the display module 930 is further configured to:

[0263] In the user interface, increase the size of the component to be used.

[0264] In a possible implementation, the display module 930 is further configured to:

[0265] In the user interface, control the component to be used to move towards the cursor.

[0266] It should be noted that: when the device for displaying the user interface provided in the above embodiments executes the user interface display, only the above-mentioned division of each functional module is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for displaying the user interface provided in the above embodiments and the method embodiments for displaying the user interface belong to the same concept, and the specific implementation process is detailed in the method embodiments and will not be repeated here.

[0267] Based on the same technical concept, an embodiment of the present application further provides a device for displaying a user interface. The device 1000 can be applied to the above-mentioned server, such as Figure 14 As shown, the device 1000 includes:

[0268] A receiving module 1010, configured to receive the first scene information corresponding to the terminal currently sent by the terminal;

[0269] A determining module 1020, configured to determine the usage possibility indication information corresponding to each component in the user interface according to the first scene information;

[0270] A sending module 1030, configured to send the usage possibility indication information corresponding to each component to the terminal, where the usage possibility indication information corresponding to each component is used to indicate the current usage possibility of each component.

[0271] In a possible implementation, the first scenario information includes first time information and first location information.

[0272] In a possible implementation, the receiving module 1010 is further configured to:

[0273] Receive second scenario information, operation information corresponding to components in the user interface, and an identifier of a first account sent by the terminal, where the first account is the account currently logged in to the terminal;

[0274] Use the second scenario information and the operation information as historical behavior information corresponding to the user interface and associated with the first account.

[0275] In a possible implementation, the determining module 1020 is configured to:

[0276] Determine the usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information corresponding to the user interface and associated with the first account.

[0277] In a possible implementation, the determining module 1020 is configured to:

[0278] Determine the scores corresponding to each component in the user interface at each time information and each scenario information according to the historical behavior information corresponding to the user interface and associated with the first account;

[0279] Determine the scores corresponding to each component in the user interface under the first scenario information according to the scores corresponding to each component in the user interface at each time information and each scenario information;

[0280] Determine the usage possibility indication information corresponding to each component in the user interface according to the scores corresponding to each component in the user interface under the first scenario information.

[0281] In a possible implementation, the determining module 1020 is configured to:

[0282] Determine the usage possibility indication information corresponding to each component in the user interface according to the first scenario information and the historical behavior information of multiple accounts corresponding to the user interface.

[0283] It should be noted that when the device for displaying a user interface provided in the above embodiments executes user interface display, only the division of the above functional modules is used for illustration. In actual applications, the above functions may be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for displaying a user interface provided in the above embodiments and the method embodiments for displaying a user interface belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.

[0284] Referring to Figure 15 , the present application provides a schematic structural diagram of a terminal. The terminal 800 may optionally be implemented by a general bus architecture. The terminal 800 includes at least one processor 801, a communication bus 802, a memory 803, and at least one network interface 804.

[0285] The processor 801 is, for example, a general-purpose central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), a neural-network processing unit (NPU), a data processing unit (DPU), a microprocessor, or one or more integrated circuits for implementing the solution of the present application. For example, the processor 801 includes an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0286] The communication bus 802 is used to transfer information between the above components. The communication bus 802 can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 15 only a thick line is used to represent it in []. However, it does not mean that there is only one bus or one type of bus.

[0287] The memory 803 is, for example, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, such as a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, such as an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 803 exists independently, for example, and is connected to the processor 801 through the communication bus 802. The memory 803 can also be integrated with the processor 801.

[0288] Optionally, the memory 803 can be used to store the default access mode list described later. When the terminal 800 needs to use the default access mode list, the processor 801 accesses the memory 803 to obtain the default access mode list stored in the memory 803.

[0289] The network interface 804 uses any device such as a transceiver for communicating with other devices or communication networks. The network interface 804 includes a wired network interface and can also include a wireless network interface. Among them, the wired network interface can be, for example, an Ethernet interface. The Ethernet interface can be an optical interface, an electrical interface, or a combination thereof. The wireless network interface can be a wireless local area network (WLAN) interface, a network interface of a cellular network, or a combination thereof, etc.

[0290] In a specific implementation, as an example, the processor 801 can include one or more CPUs.

[0291] In a specific implementation, as an example, the terminal 800 can include multiple processors. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). Here, the processor can refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0292] In a specific implementation, as an example, the terminal 800 may further include an output device and an input device. The output device communicates with the processor 801 and can display information in various ways. For example, the output device may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device communicates with the processor 801 and receives user input in various ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensing device, etc.

[0293] In some embodiments, the memory 803 is used to store the program code 8031 for implementing the user interface display in this application, and the processor 801 executes the program code 8031 stored in the memory 803. That is, the terminal 800 can implement the method for user interface display provided by the method embodiments through the processor 801 and the program code 8031 in the memory 803.

[0294] This application also provides a server 1300. As Figure 16 shown, the server 1300 includes: a bus 1302, a processor 1304, a memory 1306, and a communication interface 1308. The processor 1304, the memory 1306, and the communication interface 1308 communicate with each other through the bus 1302. It should be understood that this application does not limit the number of processors and memories in the server 1300.

[0295] The bus 1302 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 3 only one line is shown in the figure, but it does not mean that there is only one bus or one type of bus. The bus 1302 may include a path for transmitting information between various components of the server 1300 (for example, the memory 1306, the processor 1304, and the communication interface 1308).

[0296] The processor 1304 may include any one or more of processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0297] The memory 1306 may include a volatile memory, such as a random access memory (RAM). The memory 1306 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0298] The memory 1306 stores executable program codes, and the processor 1304 executes the executable program codes to respectively implement the functions of the foregoing receiving module, determining module, and sending module, thereby implementing the method for user interface display. That is, the memory 1306 stores instructions for executing the method for user interface display.

[0299] The communication interface 1303 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement the communication between the server 1300 and other devices or communication networks.

[0300] The embodiment of the present application also provides a computer program product containing instructions. The computer program product may be a software or program product containing instructions that can run on a communication device or be stored in any available medium. When the computer program product runs on at least one communication device, at least one communication device is caused to execute the method for route selection.

[0301] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be stored by a communication device or a data storage device such as a data center containing one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state drive). The computer-readable storage medium includes instructions that instruct the communication device to execute the method for route selection.

[0302] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0303] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for user interface display, characterized in that, The method includes: Obtain first scene information corresponding to the device currently, where the first scene information includes first time information and first location information, and the first location information includes indication information of the city where the device is currently located; Send the first scene information to the server; Receive the usage possibility indication information corresponding to each component in the user interface sent by the server. Among them, the determination method of the usage possibility indication information corresponding to each component includes that if the server determines that the number of days including the indication information of the first city in the scene information reported by the device is greater than N days, then according to the first scene information, the first weather information, the historical behavior information corresponding to the user interface and associated with the first account, and the weather information corresponding to the historical behavior information corresponding to the user interface and associated with the first account, determine the usage possibility indication information corresponding to each component in the user interface. If it is determined that the number of days including the indication information of the first city in the scene information reported by the terminal is less than N days, then according to the first scene information, the historical behavior information corresponding to the user interface and associated with each account, and the weather information corresponding to the historical behavior information corresponding to the user interface and associated with each account, determine the usage possibility indication information corresponding to each component in the user interface; the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component; According to the usage possibility indication information corresponding to each component, determine the component with the highest usage possibility corresponding to the user interface as the component to be used in the user interface; Highlight the component to be used in the user interface; Respond to the operation on the component in the user interface; Send the second scene information where the device is currently located, the operation information corresponding to the component, and the identifier of the first account to the server, where the first account is the account currently logged in to the terminal.

2. The method according to claim 1, wherein The highlighting the component to be used in the user interface includes: Display a first replacement component corresponding to the component to be used in the user interface, where the size of the first replacement component is larger than the sizes of other components in the user interface.

3. A method for user interface display, characterized in that, The method includes: Receive the first scene information corresponding to the terminal currently sent by the terminal, where the first scene information includes first time information and first location information, and the first location information includes indication information of the first city where the terminal is currently located; Query the first weather information corresponding to the first time information and the first location information jointly; If the number of days including the indication information of the first city in the scene information reported by the terminal is greater than N days, then determine the first city as familiar and mature, and according to the first scene information, the first weather information, the historical behavior information corresponding to the user interface and associated with the first account, and the weather information corresponding to the historical behavior information, determine the usage possibility indication information corresponding to each component in the user interface; If the number of days in which the scene information reported by the terminal includes the indication information of the first city is less than N days, then determine the first city as an unfamiliar city, and determine the usage possibility indication information corresponding to each component in the user interface according to the first scene information, the first weather information, the historical behavior information associated with each account corresponding to the user interface, and the weather information corresponding to the historical behavior information; Send the usage possibility indication information corresponding to each component to the terminal, where the usage possibility indication information corresponding to each component is used to indicate the current usage possibility of each component; Receive the second scene information, the operation information corresponding to the component in the user interface, and the identifier of the first account sent by the terminal, where the first account is the account currently logged in to the terminal; Use the second scene information and the operation information as the historical behavior information corresponding to the user interface and associated with the first account.

4. The method according to claim 3, characterized in that, The determining the usage possibility indication information corresponding to each component in the user interface according to the first scene information, the historical behavior information corresponding to the user interface and associated with the first account, and the weather information corresponding to the historical behavior information includes: Determine the scores corresponding to each component in the user interface under each time information, each scene information, and each weather information according to the historical behavior information corresponding to the user interface and associated with the first account; Determine the scores corresponding to each component in the user interface under the first scene information and the first weather information according to the scores corresponding to each component in the user interface under each time information, each scene information, and each weather information; Determine the usage possibility indication information corresponding to each component in the user interface according to the scores corresponding to each component in the user interface under the first scene information and the first weather information.

5. A method for user interface display, characterized in that The method includes: When the cursor moves in the user interface, obtain the movement information of the cursor, where the movement information of the cursor includes the direction, speed, and acceleration of the cursor movement; Determine the estimated stop point of the cursor according to the movement information of the cursor including the direction, speed, and acceleration of the cursor movement; At the current position of the cursor, with the current moving direction of the cursor as the tangent direction, generate a first arc and a second arc on both sides of the tangent direction according to a preset radius, generate a target rectangle with the estimated stop point as the first corner point, and use the area where the target rectangle is located as the estimated stop area, where the two corner points adjacent to the first corner point in the target rectangle are respectively on the first arc and the second arc; Determine the component to be used among the components included in the estimated stop area; Highlight the component to be used in the user interface.

6. The method according to claim 5, wherein The determining the component to be used among the components included in the estimated stop area includes: Determine the estimated stop area of the cursor in the user interface according to the movement information; Determine the component to be used among the components included in the estimated stop area.

7. The method according to claim 6, wherein Among the components included in the predicted stop area, determining the component to be used includes: Determining all the components included in the predicted stop area as the components to be used.

8. The method according to claim 7, wherein Among the components included in the predicted stop area, determining the component to be used includes: Obtaining the usage probabilities respectively corresponding to the components included in the predicted stop area; Taking the component with the maximum usage probability as the component to be used.

9. The method according to any one of claims 5-8, characterized in that, Highlighting the component to be used in the user interface includes: In the user interface, increasing the size of the component to be used.

10. The method according to any one of claims 5-8, characterized in that, Highlighting the component to be used in the user interface includes: In the user interface, controlling the component to be used to move towards the cursor.

11. A device for user interface display, characterized in that, The device includes: An obtaining module, configured to obtain first scenario information corresponding to the current device, where the first scenario information includes first time information and first location information. The determining method for the usage possibility indication information corresponding to each component includes; A determining module, configured to send the first scenario information to the server; receiving the usage possibility indication information corresponding to each component in the user interface sent by the server. The determining method for the usage possibility indication information corresponding to each component includes that if the server determines that the number of days including the indication information of the first city in the scenario information reported by the device is greater than N days, then according to the first scenario information, the first weather information, the historical behavior information corresponding to the user interface and associated with the first account, and the weather information corresponding to the historical behavior information corresponding to the user interface and associated with the first account, determining the usage possibility indication information corresponding to each component in the user interface; if it is determined that the number of days including the indication information of the first city in the scenario information reported by the terminal is less than N days, then according to the first scenario information, the historical behavior information corresponding to the user interface and associated with each account, and the weather information corresponding to the historical behavior information corresponding to the user interface and associated with each account, determining the usage possibility indication information corresponding to each component in the user interface. The usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component; according to the usage possibility indication information corresponding to each component, determining the component with the maximum usage possibility in the user interface as the component to be used in the user interface; A display module, configured to highlight the component to be used in the user interface.

12. A device for user interface display, characterized in that, The device includes: A receiving module, configured to receive the first scenario information corresponding to the current terminal sent by the terminal, where the first scenario information includes first time information and first location information, and the first location information includes the indication information of the first city where the terminal is currently located; A determination module, configured to query the first weather information corresponding to the first time information and the first location information; if the number of days in which the indication information of the first city is included in the scenario information reported by the terminal is greater than N days, determine the first city as a familiar and mature city, and determine the usage possibility indication information corresponding to each component in the user interface according to the first scenario information, the first weather information, the historical behavior information corresponding to the user interface and associated with the first account, and the weather information corresponding to the historical behavior information; if the number of days in which the indication information of the first city is included in the scenario information reported by the terminal is less than N days, determine the first city as an unfamiliar city, and determine the usage possibility indication information corresponding to each component in the user interface according to the first scenario information, the first weather information, the historical behavior information corresponding to the user interface and associated with each account, and the weather information corresponding to the historical behavior information; A sending module, configured to send the usage possibility indication information corresponding to each component to the terminal, where the usage possibility indication information corresponding to each component is used to represent the current usage possibility of each component.

13. A device for displaying a user interface, characterized in that, The device includes: An acquisition module, configured to acquire the movement information of the cursor when the cursor moves in the user interface, where the movement information of the cursor includes the direction, speed, and acceleration of the cursor movement; A determination module, configured to determine the estimated stop point of the cursor according to the movement information of the cursor including the direction, speed, and acceleration of the cursor movement; at the current position of the cursor, generate a first arc and a second arc on both sides of the tangent direction in accordance with a preset radius with the current moving direction of the cursor as the tangent direction, generate a target rectangle with the estimated stop point as the first corner point, and use the area where the target rectangle is located as the estimated stop area, where the two corner points adjacent to the first corner point in the target rectangle are respectively on the first arc and the second arc; determine the component to be used among the components included in the estimated stop area; A display module, configured to highlight the component to be used in the user interface.

14. A terminal, characterized in that, The terminal includes a processor and a memory, and at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method for displaying a user interface according to any one of claims 1 to 2 or 5 to 10.

15. A server, characterized in that, The server includes a processor and a memory, and at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method for displaying a user interface according to any one of claims 3 to 4.

16. A computer-readable storage medium, characterized in that, At least one instruction is stored in the computer-readable storage medium, and when the at least one instruction runs on the terminal, the terminal is caused to execute the method for displaying a user interface according to any one of claims 1 to 2 or 5 to 10.

17. A computer-readable storage medium, characterized in that, At least one instruction is stored in the computer-readable storage medium, and when the at least one instruction runs on the server, the server is caused to execute the method for displaying a user interface as described in any one of claims 3 to 4.

18. A computer program product, characterized in that, The computer program product includes at least one instruction, and when the at least one instruction runs on the terminal, the terminal is caused to execute the method for displaying a user interface as described in any one of claims 1 to 2 or 5 to 10.

Citation Information

Patent Citations

  • Predicting user navigation events

    CN103635896A

  • Application program recommendation method and corresponding device

    CN105635480A

  • Method for starting application program and terminal

    CN106055261A

  • Application icon display method and mobile terminal

    CN106126210A

  • Application recommendation method and device and mobile terminal

    CN109189282A