Category display method, device, electronic device and storage medium in application

By calculating the target user's real-time search keyword preference probability, and using the Naive Bayes formula and click-through rate for category sorting, the problem of poor category sorting effect in the existing technology is solved, and personalized display and better quality are achieved. user experience.

CN110363570BActive Publication Date: 2024-10-25BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910533779.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-19
Publication Date
2024-10-25
Estimated Expiration
2039-06-19

AI Technical Summary

Technical Problem

The existing technology lacks a personalized display method for categories, and the conventional sorting methods are not effective when sorting categories, and cannot meet the attribute differentiation needs of different objects.

Method used

By obtaining the target user's real-time search keyword set, calculate their preference probability for various categories, and determine the category display order based on the preference probability, and use the Naive Bayes formula combined with the click pass rate and confidence parameters to sort, and achieve category personality display.

Benefits of technology

It realizes personalized display of categories and sorting based on users' real-time search behavior, providing a better user experience and being able to quickly respond to changes in users' emerging hobbies without relying on long-term historical preferences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110363570B_ABST
    Figure CN110363570B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and storage medium for displaying categories in an application. The method includes: obtaining a real-time search keyword set of a target user; calculating the target user's preference probability for each category in the application based on the real-time search keyword set; determining the category display order based on the preference probability, and displaying category identifications corresponding to at least some categories in a designated page of the application according to the category display order; the application jumps from the designated page to the page of the category corresponding to the target category identification in response to the triggering of the target category identification. The beneficial effect is that, focusing on the category, which is an object neglected in the prior art, the personalized display of the category is realized, and the sorting is realized based on the user's real-time search behavior. For example, the category can be sorted according to the keywords searched by the new user on the same day, and it does not rely on the user's long-term historical offline preferences, providing a better experience for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for displaying categories in an application. Background Art

[0002] Personalized services can bring users a better experience and help increase the benefits of the service provider, which can be described as a win-win model. Therefore, for service providers that provide a variety of optional services / products, displaying the services / products that users prefer more in the front is a solution, which requires a highly accurate sorting method. However, due to the different attributes of different objects, the details of the sorting method vary greatly. Often, a certain sorting method is effective for Class A products, but it is difficult to achieve a good effect on Class B services.

[0003] In addition, services / goods can often be divided into multiple categories through clustering and other methods. On the one hand, the existing technology has not yet involved personalized display of categories; on the other hand, as mentioned above, the attributes of categories are different from those of services / goods, and the conventional sorting methods may not necessarily produce good results when directly applied to category sorting. Therefore, an effective method for personalized display of categories is needed. Summary of the invention

[0004] In view of the above problems, the present application is proposed to provide a category display method, device, electronic device and storage medium in an application that overcomes the above problems or at least partially solves the above problems.

[0005] According to one aspect of the present application, a method for displaying categories in an application is provided, comprising:

[0006] Obtain the real-time search keyword set of target users;

[0007] Calculate the target user's preference probability for each category in the application according to the real-time search keyword set;

[0008] Determining a category display order according to the preference probability, and displaying category logos corresponding to at least some of the categories on a designated page of the application according to the category display order;

[0009] The application jumps from the designated page to a page of a category corresponding to the target category identifier in response to being triggered by the target category identifier.

[0010] Optionally, the search keywords in the real-time search keyword set include:

[0011] The search keywords used by the target user in the application within the current natural day.

[0012] Optionally, calculating the probability of preference of the target user for each category in the application according to the real-time search keyword set includes:

[0013] Determining the preference probability of each search keyword in the historical search keyword set under each category according to the historical user data of the application;

[0014] The preference probability of each search keyword in the real-time search keyword set under each category is substituted into the preset naive Bayes formula to calculate the preference probability of the target user for each category.

[0015] Optionally, determining the preference probability of each search keyword in the historical search keyword set under each category according to the historical user data of the application includes:

[0016] According to the historical user data of the application, the click-through rate of each search keyword in the historical search keyword set under each category is obtained by statistics;

[0017] The click-through rate is smoothed to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0018] Optionally, the smoothing process of the click-through rate to obtain the preference probability of each search keyword in the historical search keyword set under each category includes:

[0019] The click-through rate of each search keyword in the historical search keyword set under each category is multiplied by the corresponding confidence parameter to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0020] Optionally, the confidence parameter Z corresponding to the click-through rate of a specified search keyword in the historical search keyword set under a specified category is obtained by the following formula:

[0021] n=p(1-p)Z 2 / D 2 ;

[0022] Among them, n is the display volume of each user who clicks on the specified category through the specified search keyword determined according to the historical user data; p is the estimated parameter; D is the preset accuracy; and the confidence parameter Z is a positive number.

[0023] Optionally, the step of substituting the preference probability of each search keyword in the real-time search keyword set under each category into a preset naive Bayes formula to calculate the preference probability of the target user for each category includes:

[0024] Based on the formula Calculate the probability of user U's preference for category C;

[0025] Among them, Odds(C,U) is calculated by the following formula:

[0026]

[0027] Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The probability of preference under category C.

[0028] According to another aspect of the present application, a category display device in an application is provided, including:

[0029] A search data acquisition unit, used to acquire a real-time search keyword set of a target user;

[0030] A preference probability calculation unit, used to calculate the target user's preference probability for each category in the application according to the real-time search keyword set;

[0031] a display unit, configured to determine a category display order according to the preference probability, and display category logos corresponding to at least some of the categories in a designated page of the application according to the category display order;

[0032] The application jumps from the designated page to a page of a category corresponding to the target category identifier in response to being triggered by the target category identifier.

[0033] Optionally, the search keywords in the real-time search keyword set include:

[0034] The search keywords used by the target user in the application within the current natural day.

[0035] Optionally, the preference probability calculation unit is used to determine the preference probability of each search keyword in the historical search keyword set under each category based on the historical user data of the application; substitute the preference probability of each search keyword in the real-time search keyword set under each category into a preset naive Bayes formula to calculate the preference probability of the target user for each category.

[0036] Optionally, the preference probability calculation unit is used to obtain, based on historical user data of the application, statistics of the click-through rate of each search keyword in the historical search keyword set under each category; and smooth the click-through rate to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0037] Optionally, the preference probability calculation unit is used to multiply the click-through rate of each search keyword in the historical search keyword set under each category by a corresponding confidence parameter to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0038] Optionally, the confidence parameter Z corresponding to the click-through rate of a specified search keyword in the historical search keyword set under a specified category is obtained by the following formula:

[0039] n=p(1-p)Z 2 / D 2 ;

[0040] Among them, n is the display volume of each user who clicks on the specified category through the specified search keyword determined according to the historical user data; p is the estimated parameter; D is the preset accuracy; and the confidence parameter Z is a positive number.

[0041] Optionally, the preference probability calculation unit is used to calculate the probability of preference based on the formula The probability of user U's preference for category C is calculated; Odds(C,U) is calculated using the following formula: Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The probability of preference under category C.

[0042] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes any of the above methods.

[0043] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, they implement any of the methods described above.

[0044] From the above, it can be seen that the technical solution of the present application obtains the target user's real-time search keyword set, calculates the target user's preference probability for each category in the application, and then determines the category display order according to the preference probability, and displays the category identification corresponding to at least part of the categories in the specified page of the application according to the category display order, so that the application jumps from the specified page to the page of the category corresponding to the target category identification in response to the triggering of the target category identification. The beneficial effect of this technical solution is that it focuses on the category, which is ignored in the prior art, and realizes the personalized display of the category, and the sorting is based on the user's real-time search behavior. For example, the category can be sorted according to the keywords that the new user has searched for that day, which does not rely on the user's long-term historical offline preferences, providing users with a better experience.

[0045] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0047] Figure 1 A schematic diagram showing a flow chart of a category display method in an application according to an embodiment of the present application is shown;

[0048] Figure 2 A schematic diagram of the structure of a category display device in an application according to an embodiment of the present application is shown;

[0049] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown;

[0050] Figure 4 A schematic diagram showing the structure of a computer-readable storage medium according to an embodiment of the present application is shown;

[0051] Figure 5 A schematic diagram of the main application interface according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0052] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0053] Figure 1 FIG. 1 is a flow chart showing a method for displaying categories in an application according to an embodiment of the present application. Figure 1 As shown, the method includes:

[0054] Step S110, obtaining the target user's real-time search keyword set. The real-time search keyword set here can be understood in a narrow sense as only including the user's current search keywords, and in a broad sense, it can also be considered to include the search keywords used by the user in the recent period of time (such as the same day, or within a few hours).

[0055] Step S120, calculating the target user's preference probability for each category in the application according to the real-time search keyword set.

[0056] The categories in this application can be obtained by clustering certain goods or services with the same attributes. For example, men's clothing, women's clothing, etc. can all belong to the clothing category; hot pot, Japanese food, etc. all belong to the catering category. Categories can be divided into multiple levels, for example, men's clothing and women's clothing can both be subcategories of clothing.

[0057] As for step S120, the probability of preference for categories can be calculated for the categories that need to be displayed. For example, for the categories on the main interface, which have a higher level, the target user's preference for high-level categories such as hotels, restaurants, and entertainment is calculated based on the search keywords; for the categories on the sub-interface, which have a relatively low level, the target user's preference for low-level categories such as long skirts, short skirts, and culottes is calculated based on the search keywords. In a specific embodiment, the category is a secondary category under the category to which the current page belongs. The secondary category is usually ignored by the technical solutions in the prior art, but in fact it is closer to the real needs of users. Therefore, it is of great significance to optimize the display order of the secondary categories.

[0058] Step S130, determining a category display order according to the preference probability, and displaying category logos corresponding to at least part of the categories in a designated page of the application according to the category display order.

[0059] Figure 5 FIG. 1 shows a schematic diagram of the main application interface according to an embodiment of the present application. Figure 5As shown, the main interface includes entertainment, catering, hairdressing, training, hotel, performance categories and other recommended content, and each category corresponds to an icon and text. In the embodiment of the present application, the category identification includes at least one of text, icon, and symbol, and can also be in other forms.

[0060] The application responds to the trigger of the target category identification and jumps from the specified page to the page of the category corresponding to the target category identification. Figure 5 If you click the icon of the entertainment category in the navigation bar, the app will jump to the entertainment category page, which will display sub-categories such as KTV, swimming, and escape room, as well as new recommended content.

[0061] visible, Figure 1 The method shown focuses on categories, which are neglected in the prior art, and realizes personalized display of categories. The sorting is based on the user's real-time search behavior. For example, categories can be sorted according to keywords that new users have searched for that day. It does not rely on the user's long-term historical offline preferences, providing users with a better experience.

[0062] In one embodiment of the present application, in the above method, the search keywords in the real-time search keyword set include: search keywords used by the target user in the application within the current natural day.

[0063] Many applications support in-app searches. For example, users can search for "spring clothes," "cinemas," "hot pot," etc. The application will provide a search results page based on the user's search and display related products or services.

[0064] The search keywords used by the target user within the same natural day can be considered as real-time user behavior data in some business scenarios, which is different from the search keywords used by the user before, which is also called historical behavior data or offline behavior data in some business scenarios. The advantage of this is that it can be closer to the user's current needs. For example, in the case of users lending their mobile phones to others, users developing new hobbies, etc., the ranking can be changed quickly. Using the search keywords used in the application can provide better recommendation effects based on the strong correlation between search behavior and the application.

[0065] In one embodiment of the present application, in the above method, calculating the target user's preference probability for each category in the application based on the real-time search keyword set includes: determining the preference probability of each search keyword in the historical search keyword set under each category based on the historical user data of the application; substituting the preference probability of each search keyword in the real-time search keyword set under each category into a preset naive Bayes formula to calculate the target user's preference probability for each category.

[0066] Here, the historical user data may be user data of all users or a portion of users (e.g., high-quality users) using the application obtained through log records or the like, which also includes search keywords used by each user in the past, so that a historical search keyword set can be determined, the purpose of which is to determine the preference probability of each search keyword in the historical search keyword set under each category through big data analysis. In one embodiment of the present application, the above method determines the preference probability of each search keyword in the historical search keyword set under each category based on the historical user data of the application, including: obtaining the click-through rate of each search keyword in the historical search keyword set under each category based on the historical user data of the application; and smoothing the click-through rate to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0067] CTR (Click-Through-Rate) in the field of Internet advertising refers to the actual number of clicks divided by the number of advertisements displayed. In the search scenario involved in this application, similar to the previous introduction, when a user enters a search keyword in the application, the application will provide a search result page based on the user's search, displaying related goods or services. When users click on these goods or services, they will reach the details page of the corresponding goods or services, and this click behavior can be recorded. It can be determined which categories the corresponding goods or services belong to. Therefore, the CTR of each search keyword in the historical search keyword set under each category can be determined through the search-related data of the application within a period of time (for example, half a year). In order to further improve the accuracy, a smoothing process can be used to determine the preference probability of each search keyword in the historical search keyword set under each category.

[0068] In one embodiment of the present application, in the above method, the click-through rate is smoothed to obtain the preference probability of each search keyword in the historical search keyword set under each category, including: multiplying the click-through rate of each search keyword in the historical search keyword set under each category by the corresponding confidence parameter to obtain the preference probability of each search keyword in the historical search keyword set under each category. Specifically, in one embodiment of the present application, in the above method, the confidence parameter Z corresponding to the click-through rate of a specified search keyword in the historical search keyword set under a specified category is obtained by the following formula: n = p(1-p)Z 2 / D 2 ; Where n is the number of impressions of each user reaching the specified category by clicking on the specified search keyword determined based on historical user data; p is the estimated parameter; D is the preset accuracy; and the confidence parameter Z is a positive number.

[0069] The above embodiment uses the statistical confidence parameter to smooth the click-through rate. In statistics, when one is interested in a certain proportion in a population (such as the proportion of males), one needs to face a problem: how much sample size should be drawn from the population.

[0070] Formula n=p(1-p)Z 2 / D 2 By using the standard deviation formula of the ratio, the sample size can be obtained. p can be the proportion of the sample in the previous sampling. In practical application, it can be conservatively estimated as 0.5.

[0071] Analogously to the scenario of the embodiment of the present application, when a combination (search keyword + category) is given, the question is: how much sample size (exposure PV) should be taken when interested in the overall click ratio. Since the exposure PV is a known quantity that can be obtained through log data, etc., we can use the above formula to infer the confidence parameter.

[0072] In one embodiment of the present application, in the above method, the preference probability of each search keyword in the real-time search keyword set under each category is substituted into a preset naive Bayes formula to calculate the preference probability of the target user for each category, including: based on the formula The probability of user U's preference for category C is calculated; Odds(C,U) is calculated using the following formula: Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The preference probability under category C. The above formula can be used to calculate the user's preference probability for each category for sorting. The prior probability of the category can also be determined by searching data. For example, if there are many categories in all the results and the user clicks on some categories, the prior probability of these categories is higher. Of course, other methods can also be used to determine the prior probability in other embodiments, such as promotion priority, etc.

[0073] The embodiments of the present application are applicable to the recommendation of categories. After a comparative test on the display of secondary categories, the icon click rate increased by 0.06PT. Based on this, material recommendations of corresponding categories can be further performed.

[0074] Figure 2 FIG. 1 is a schematic diagram showing a structure of a category display device in an application according to an embodiment of the present application. Figure 2 As shown, the category display device 200 in the application includes:

[0075] The search data acquisition unit 210 is used to acquire a real-time search keyword set of a target user.

[0076] The preference probability calculation unit 220 is used to calculate the target user's preference probability for each category in the application according to the real-time search keyword set.

[0077] The display unit 230 is used to determine the category display order according to the preference probability, and display the category logos corresponding to at least part of the categories in the specified page of the application according to the category display order.

[0078] In response to the triggering of the target category identification, the application jumps from the specified page to the page of the category corresponding to the target category identification.

[0079] visible, Figure 2 The device shown focuses on categories, which are neglected in the prior art, and realizes personalized display of categories. The sorting is based on the user's real-time search behavior. For example, the categories can be sorted according to the keywords that the new user has searched for that day. It does not rely on the user's long-term historical offline preferences, providing users with a better experience.

[0080] In one embodiment of the present application, in the above-mentioned device, the search keywords in the real-time search keyword set include: the search keywords used by the target user in the application within the current natural day.

[0081] In one embodiment of the present application, in the above-mentioned device, the preference probability calculation unit 220 is used to determine the preference probability of each search keyword in the historical search keyword set under each category based on the historical user data of the application; the preference probability of each search keyword in the real-time search keyword set under each category is substituted into the preset naive Bayes formula to calculate the preference probability of the target user for each category.

[0082] In one embodiment of the present application, in the above-mentioned device, the preference probability calculation unit 220 is used to obtain statistically the click-through rate of each search keyword in the historical search keyword set under each category based on the historical user data of the application; and smooth the click-through rate to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0083] In one embodiment of the present application, in the above-mentioned device, the preference probability calculation unit 220 is used to multiply the click-through rate of each search keyword in the historical search keyword set under each category by the corresponding confidence parameter to obtain the preference probability of each search keyword in the historical search keyword set under each category.

[0084] In one embodiment of the present application, in the above device, the confidence parameter Z corresponding to the click-through rate of a specified search keyword in the historical search keyword set under a specified category is obtained by the following formula: n = p (1-p) Z 2 / D 2 ; Where n is the number of impressions of each user reaching the specified category by clicking on the specified search keyword determined based on historical user data; p is the estimated parameter; D is the preset accuracy; and the confidence parameter Z is a positive number.

[0085] In one embodiment of the present application, in the above device, the preference probability calculation unit 220 is used to calculate the probability of preference based on the formula The probability of user U's preference for category C is calculated; Odds(C,U) is calculated using the following formula: Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The probability of preference under category C.

[0086] It should be noted that the specific implementation of the above-mentioned device embodiments can be carried out with reference to the specific implementation of the above-mentioned corresponding method embodiments, which will not be repeated here.

[0087] In summary, the technical solution of the present application obtains the target user's real-time search keyword set, calculates the target user's preference probability for each category in the application, and determines the category display order according to the preference probability, and displays the category identifications corresponding to at least some of the categories in the specified page of the application according to the category display order, so that the application jumps from the specified page to the page of the category corresponding to the target category identification in response to the triggering of the target category identification. The beneficial effect of this technical solution is that it focuses on the category, which is an object neglected in the prior art, and realizes the personalized display of the category, and the sorting is based on the user's real-time search behavior. For example, the category can be sorted according to the keywords searched by the new user on the same day, which does not rely on the user's long-term historical offline preferences, providing users with a better experience.

[0088] It should be noted that:

[0089] The algorithm and display provided herein are not inherently related to any particular computer, virtual device or other equipment. Various general purpose devices can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of device. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of the application.

[0090] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0091] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0092] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0093] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0094] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the category display device in the application according to the embodiment of the present application. The present application can also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0095] For example, Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. The electronic device 300 includes a processor 310 and a memory 320 arranged to store computer executable instructions (computer readable program code). The memory 320 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 320 has a storage space 330 for storing a computer readable program code 331 for executing any method step in the above method. For example, the storage space 330 for storing computer readable program code may include individual computer readable program codes 331 for implementing various steps in the above method respectively. The computer readable program code 331 can be read from or written to one or more computer program products. These computer program products include program code carriers such as a hard disk, a compact disk (CD), a memory card or a floppy disk. Such a computer program product is usually, for example Figure 4 The computer-readable storage medium. Figure 4 A schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 400 stores a computer-readable program code 331 for executing the method steps according to the present application, which can be read by the processor 310 of the electronic device 300. When the computer-readable program code 331 is executed by the electronic device 300, the electronic device 300 executes the various steps in the method described above. Specifically, the computer-readable program code 331 stored in the computer-readable storage medium can execute the method shown in any of the above embodiments. The computer-readable program code 331 can be compressed in an appropriate form.

[0096] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

Claims

1. A category display method in an application, characterized in that: The method includes: Obtain the real-time search keyword set of target users; Calculate the target user's preference probability for each category in the application according to the real-time search keyword set; Determining a category display order according to the preference probability, and displaying category logos corresponding to at least some of the categories on a designated page of the application according to the category display order; The application jumps from the designated page to a page of a category corresponding to the target category identification in response to the triggering of the target category identification; Calculating the target user's preference probability for each category in the application according to the real-time search keyword set includes: Determining the preference probability of each search keyword in the historical search keyword set under each category according to the historical user data of the application; Substitute the preference probability of each search keyword in the real-time search keyword set under each category into the preset naive Bayes formula to calculate the preference probability of the target user for each category; Substituting the preference probability of each search keyword in the real-time search keyword set under each category into the preset naive Bayes formula to calculate the preference probability of the target user for each category includes: Based on the formula Calculate the probability of user U's preference for category C; Among them, Odds(C,U) is calculated by the following formula: Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The probability of preference under category C.

2. The method according to claim 1, characterized in that The search keywords in the real-time search keyword set include: The search keywords used by the target user in the application within the current natural day.

3. The method according to claim 1, characterized in that Determining the preference probability of each search keyword in the historical search keyword set under each category according to the historical user data of the application includes: According to the historical user data of the application, the click-through rate of each search keyword in the historical search keyword set under each category is obtained by statistics; The click-through rate is smoothed to obtain the preference probability of each search keyword in the historical search keyword set under each category.

4. The method according to claim 3, characterized in that The smoothing process of the click-through rate to obtain the preference probability of each search keyword in the historical search keyword set under each category includes: The click-through rate of each search keyword in the historical search keyword set under each category is multiplied by the corresponding confidence parameter to obtain the preference probability of each search keyword in the historical search keyword set under each category.

5. The method according to claim 4, characterized in that The confidence parameter Z corresponding to the click-through rate of a specified search keyword in the historical search keyword set under a specified category is obtained by the following formula: n=p(1-p)Z 2 / D 2 ; Among them, n is the display volume of each user who clicks on the specified category through the specified search keyword determined according to the historical user data; p is the estimated parameter; D is the preset accuracy; and the confidence parameter Z is a positive number.

6. A category display device in an application, characterized in that: The device includes: A search data acquisition unit, used to acquire a real-time search keyword set of a target user; The preference probability calculation unit is used to calculate the preference probability of the target user for each category in the application according to the real-time search keyword set, specifically including: determining the preference probability of each search keyword in the historical search keyword set under each category according to the historical user data of the application, substituting the preference probability of each search keyword in the real-time search keyword set under each category into a preset naive Bayes formula, and calculating the preference probability of the target user for each category, and based on the formula The probability of user U's preference for category C is calculated, where Odds(C,U) is calculated using the following formula: Where P(C=1) is the prior probability of category C; P(C=1|W j ) is the search keyword W j The probability of preference under category C; a display unit, configured to determine a category display order according to the preference probability, and display category logos corresponding to at least some of the categories in a designated page of the application according to the category display order; The application jumps from the designated page to a page of a category corresponding to the target category identifier in response to being triggered by the target category identifier.

7. An electronic device, characterized in that: The electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method according to any one of claims 1 to 5 is implemented.