Item recommendation method and device, equipment and storage medium
By labeling business modules in government services and matching recommendation conditions, the problem of high cost and low accuracy of personalized recommendations in government services is solved, accurate personalized recommendations in a low data volume environment are achieved, and operation costs are reduced. dimension cost.
Patent Information
- Application Number
- CN202410361157.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2024-08-30
AI Technical Summary
The existing personalized recommendation model in the field of government services has high development and operation and maintenance costs, and has low accuracy for inactive users, making it impossible to implement personalized recommendations conveniently.
By tagging business modules, we match real-time hotspots, most popular and user access habit tags based on users' historical access data to determine recommendation conditions. If they are met, relevant items will be pushed. If not, only basic items will be pushed to avoid large-scale problems. Data analysis.
Provide accurate personalized recommendations on platforms with small amounts of user behavior data or low activity, reducing development and operation and maintenance costs, simplifying data structure and optimization iterations.
Smart Images

Figure CN118568334A
Abstract
Description
Technical Field
[0001] The present application relates to the field of government service technology, and in particular to a method, device, equipment and storage medium for recommending matters. Background Art
[0002] Government services refer to administrative services such as licensing, confirmation, adjudication, rewards, and penalties provided by relevant departments and institutions at all levels of government to social groups, enterprises, institutions, and individuals in accordance with laws and regulations.
[0003] In the field of government services, personalized recommendations for users of government services are mainly made based on big data analysis of users' historical behaviors, interests and hobbies, and then personalized recommendations are made.
[0004] In this way, the traditional big data analysis personalized recommendation model has high development and operation costs, and due to the lack of flexibility and pertinence in the personalized needs of users, the personalized recommendation accuracy for a large number of inactive users is low. Therefore, the existing technology cannot easily and accurately implement personalized recommendations for users. Summary of the invention
[0005] The present application provides a method, device, equipment and storage medium for recommending items, so as to solve the problem that the prior art cannot conveniently and accurately realize personalized recommendations for users.
[0006] In a first aspect, the present application provides a method for recommending items, comprising: in response to an operation of a target user accessing a target business module, pushing a basic item triggered by the target user accessing the target business module; determining whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habits; if there is a business module recommendation tag matching the target business module, then based on the target user's historical access information, when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, obtaining the target item corresponding to the business module recommendation tag matching the target business module, and recommending the target item to the target user; if there is no business module recommendation tag matching the target business module or when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met, determining not to perform the operation of recommending items other than the basic item to the target user.
[0007] In a possible design, the historical access information includes: access data of each visit to the business module; the access data includes at least one of the following: access order, access duration, and access frequency; the target item corresponding to the business module recommendation tag matching the target business module is obtained when determining, based on the historical access information of the target user, that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, including: determining whether the target user is a first-time visitor; determining the grade of the business module visited by the target user based on the access data of the target user and the initial grade of the business module visited by the target user; determining whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met based on the access data of the target user, whether the target user is a first-time visitor, and the grade of the business module visited by the target user; if met, obtaining the target item corresponding to the business module recommendation tag matching the target business module.
[0008] In a possible design, the step of determining the grade of the business modules visited by the target user based on the access data of the target user and the initial grade of the business modules visited by the target user includes: determining a first weight corresponding to the access sequence, a second weight corresponding to the access duration, and a third weight corresponding to the access frequency based on the access sequence, access duration, and access frequency of the business modules visited by the target user; and obtaining the grade of the business modules visited by the target user by performing weighted calculation on the first weight, the second weight, and the third weight based on the initial grade.
[0009] In a possible design, the recommendation condition corresponding to the real-time hot business module label includes at least one of the following: the first-time visiting user, the number of visits to the relevant business module corresponding to the real-time hot business module label is greater than the first number of visits threshold, the activity of the target user in a preset time period is greater than the first activity threshold, the statistical activity of users who visit the business module corresponding to the real-time hot business module label in a preset time period is greater than the second activity threshold, and the grade of the business module corresponding to the real-time hot business module label visited by the target user is higher than the first grade threshold; the recommendation condition corresponding to the most popular business module label includes at least one of the following: the first-time visiting user, the relevant business module corresponding to the most popular business module label The number of visits to the service module is greater than the second visit volume threshold, the target user's activity within the preset time period is greater than the third activity threshold, the statistical user activity of visiting the service module corresponding to the real-time hot service module label within the preset time period is greater than the fourth activity threshold, and the target user's visit to the service module corresponding to the most popular service module label is higher than the second level score threshold; the recommendation condition corresponding to the user access habit label includes at least one of the following: non-first-time visiting users, the statistical number of visits to the service module corresponding to the user access habit label within the preset time period is higher than the first visit number threshold, and the target user's visit to the service module corresponding to the user access habit label is higher than the third level score threshold.
[0010] In a possible design, the method of determining whether a recommendation condition corresponding to a business module recommendation tag matching the target business module is met based on the access data of the target user, whether the target user is a first-time visitor, and the rating of the business modules visited by the target user includes: if the business module recommendation tag matching the target business module is a real-time hot business module tag and / or the most popular business module tag, determining the target user's activity and the number of visits to related business modules within a preset time period based on the access sequence and the access frequency; determining the target user's activity and the number of visits to related business modules within a preset time period based on the target user's activity and the number of visits to related business modules, the statistical user activity of the business modules visited within the preset time period, and whether the target user is The grades of the business modules visited by the first-time visiting users and the target users are used to determine whether the recommendation conditions corresponding to the business module recommendation tag matching the target business module are met; if the business module recommendation tag matching the target business module is the user access habit tag, the number of visits to the business module corresponding to the user access habit tag within a preset time period is counted based on the access frequency; based on the fact that the target user is not a first-time visiting user, the number of visits to the business module corresponding to the user access habit tag within a preset time period is counted, and the grade of the business module visited by the target user corresponding to the user access habit tag, it is determined whether the recommendation conditions corresponding to the business module recommendation tag matching the target business module are met.
[0011] In one possible design, the method further includes: calculating recommended labels for business modules in the current period according to a preset period based on a trained label model; or obtaining recommended labels for business modules in the current period through weighted calculation based on the statistical access sequence, access duration, and access frequency of each user accessing the business module in the current period.
[0012] In one possible design, the method further includes: for each business module recommendation tag, determining the association relationship between the visited business modules and the matters corresponding to each business module based on the order of accessing the business module corresponding to the business module recommendation tag and the related business modules each time the user accesses the business module; and generating a mapping relationship between the business module recommendation tag and the matters based on the association relationship between the business modules corresponding to the business module recommendation tag and the matters corresponding to the business modules.
[0013] In one possible design, obtaining the target item corresponding to the business module recommendation tag matching the target business module includes: obtaining the target item to be recommended through the mapping relationship between the business module recommendation tag and the item based on the business module recommendation tag matching the target business module.
[0014] In a second aspect, the present application provides an event recommendation device, comprising: a first recommendation module, for pushing basic events triggered by the target user's access to the target business module in response to the target user's operation of accessing the target business module; a judgment module, for determining whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habit; a second recommendation module, for, when there is a business module recommendation tag matching the target business module, based on the target user's historical access information, when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, obtaining a business module analysis that matches the target business module; a fourth processing module, for determining not to perform the operation of recommending other events to the target user except the basic events if there is no business module recommendation tag matching the target business module or when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the matter recommendation method described in the first aspect and various possible designs of the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for recommending matters as described in the first aspect and various possible designs of the first aspect is implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for recommending matters as described in the first aspect and various possible designs of the first aspect.
[0018] The item recommendation method, apparatus, device and storage medium provided in the present application push the basic items triggered by the target user's access to the target business module in response to the operation of the target user accessing the target business module; determine whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag and a tag for each user's access habits; if there is a business module recommendation tag matching the target business module, then based on the target user's historical access information, when it is determined that the recommendation conditions corresponding to the business module recommendation tag matching the target business module are met, obtain the target item corresponding to the business module recommendation tag matching the target business module, and recommend the target item to the target user; if there is no business module recommendation tag matching the target business module or when it is determined that the recommendation conditions corresponding to the business module recommendation tag matching the target business module are not met, determine not to perform the operation of recommending other items to the target user except the basic items. Since the business modules are labeled, based on the user's triggering operations on the business modules, hot tags, most popular tags and user personalized tags are matched, and based on the recommendation conditions, it is determined whether to recommend. If it is recommended, the items corresponding to the recommended matching tags are determined. There is no need to analyze the big data generated based on each user. It can provide a more complete and accurate personalized recommendation service on platforms with less user behavior data or lower activity. At the same time, the data structure is simple, which is convenient for optimization, iteration and operation and maintenance, and the development and maintenance costs are low. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] Figure 1 An application scenario diagram of a method for recommending matters applicable to embodiments of the present application;
[0021] Figure 2 A flowchart of a method for recommending items provided in an embodiment of the present application;
[0022] Figure 3 Examples of methods for recommending items provided in embodiments of the present application Figure 1 ;
[0023] Figure 4 Examples of methods for recommending items provided in embodiments of the present application Figure 2 ;
[0024] Figure 5 A schematic diagram of the structure of the item recommendation device provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0026] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0028] It should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0029] In the prior art, the traditional big data analysis personalized recommendation model has high development and operation costs, and due to the lack of flexibility and pertinence in the personalized needs of users, the personalized recommendation accuracy for a large number of inactive users is low. Therefore, the prior art cannot easily and accurately implement personalized recommendations for users.
[0030] In response to the above technical problems, the present application proposes the following technical ideas: label the business modules, match the hot tags, the most popular tags and the user's personalized tags based on the user's triggering operations on the business modules, and determine whether to recommend based on the recommendation conditions. If it is determined to be recommended, determine the items corresponding to the recommended matching tags. There is no need to analyze the big data generated based on each user. It can provide a more complete and accurate personalized recommendation service on platforms with less user behavior data or lower activity. At the same time, the data structure is simple, which is convenient for optimization, iteration and operation and maintenance, and the development and maintenance costs are low.
[0031] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0032] The method for recommending items in the embodiment of the present application can be applied to any application scenario including business functions. The following takes the government service scenario as an example. Figure 1 This is an application scenario diagram of the recommended method applicable to the embodiment of the present application. Figure 1 As shown, the application scenario adopts a personalized recommendation system, which includes: a government channel end, a label library and a personalized recommendation device. Among them, the government channel end refers to a client that provides government services, through which various business modules can be provided. The client can be installed on electronic devices such as mobile phones, tablets, computers, etc., and is not specifically limited here. The label library is used to store business module labels corresponding to the business modules provided by the government channel end, such as real-time hot business module labels, the most popular business module labels, and custom labels such as each user's access habit labels. The maintenance of the label library can be based on regular business module label updates, and then synchronize the labels to the label library; the personalized recommendation device (here refers to the matter recommendation device, which will not be repeated below) is used to make personalized recommendations based on the determined labels and user IDs, that is, based on the automatic label and label matter mapping, combined with the user's usage habits, to provide users with real-time hot label (here refers to the real-time hot business module label), the most popular label (here refers to the most popular business module label), and personalized label (here refers to the user's access habit label) matter push services.
[0033] For example, the current user (i.e., the target user) accesses the target business module through the government channel, for example, clicks on the social security business module, and sends a service request to the personalized recommendation module. The personalized recommendation device pushes the basic matters of the social security business module to the current user through the service request. The current user can continue to access the business modules or business units of interest or demand based on the basic matters, such as social security payment details. At the same time, based on the trigger operation or service request, determine whether there is a business module recommendation tag that matches the target business module. For example, the target business module matches at least one of the real-time hot business module tags, the most popular business module tags, and each user's access habit tags. According to the user's historical access information, if the recommendation conditions of the corresponding business module recommendation tag are met, the mapping relationship between the tag and the item (for example, the tag and item mapping library) is used to capture items based on the determined tags, that is, items that the user may like or want to visit in the future are obtained from the tag library (that is, combining the tag + user ID to obtain the corresponding item from the tag library), and the item is pushed to the target user as a recommended item (here referring to the target item), which can provide more accurate personalized push and provide users with convenient item search, navigation, and processing services.
[0034] based on Figure 1 In the application scenario shown, the embodiment of the present application also provides a method for recommending matters. Figure 2A flowchart of a method for recommending items provided in an embodiment of the present application. Figure 2 As shown, the recommended methods for this matter include:
[0035] S201. In response to an operation of a target user accessing a target business module, a basic matter triggered by the target user accessing the target business module is pushed.
[0036] The execution subject of the method of this embodiment may be Figure 1 The personalized recommendation device shown in .
[0037] In this embodiment, if the target user accesses the target business module through a trigger operation such as clicking or voice control on the government channel side, a service request is sent to the personalized recommendation device. Based on the service request, the personalized recommendation device displays the basic matters corresponding to the target business module visited by the target user on the government channel side.
[0038] S202, determining whether there is a business module recommendation tag that matches the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habits.
[0039] In this embodiment, the personalized recommendation device searches for a business module recommendation tag that matches the target business module from the tag library formed by the custom tags based on the service request. For example, whether the target business module belongs to at least one or at least one of the real-time hot business module tags, the most popular business module tags, and each user's access habit tags. The custom tags here are flexibly configured or custom configured, and the specific tag name or content is not specifically limited.
[0040] S303. If there is a business module recommendation tag that matches the target business module, then based on the historical access information of the target user, when it is determined that the recommendation condition corresponding to the business module recommendation tag that matches the target business module is met, obtain the target item corresponding to the business module recommendation tag that matches the target business module, and recommend the target item to the target user.
[0041] S303: If there is no business module recommendation tag matching the target business module or when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met, determine not to perform the operation of recommending other items except the basic items to the target user.
[0042] In this embodiment, if there is a business module recommendation tag that matches the target business module in the tag library, for example, the target business module is a social security business module, and the social security business module in the tag library is labeled as the most popular business module tag, combined with the historical access information of the target user, it is determined whether the threshold for recommending other matters to the target user is reached, that is, based on the historical access information of the target user, it is determined whether the recommendation conditions corresponding to the business module recommendation tag that matches the target business module are met, and through the tag and matter mapping library, matters are captured according to the tags. If they are met, the acquired matters (for example, provident fund business matters, etc.) are recommended, and the recommended matters are displayed on the government affairs channel.
[0043] If the tag of the target business module is not satisfied or does not match, no other related matters will be recommended to the target user this time. If the target user visits other business modules, the above S201 to S204 can be re-executed, which will not be repeated here.
[0044] This embodiment pushes the basic items triggered by the target user's access to the target business module in response to the target user's operation of accessing the target business module; determines whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habits; if there is a business module recommendation tag matching the target business module, then based on the target user's historical access information, when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, the target item corresponding to the business module recommendation tag matching the target business module is obtained, and the target item is recommended to the target user; if there is no business module recommendation tag matching the target business module or when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met, it is determined not to perform the operation of recommending other items to the target user except the basic items. Since the business modules are labeled, based on the user's triggering operations on the business modules, hot tags, most popular tags and user personalized tags are matched, and based on the recommendation conditions, it is determined whether to recommend. If it is recommended, the items corresponding to the recommended matching tags are determined. There is no need to analyze the big data generated based on each user. It can provide a more complete and accurate personalized recommendation service on platforms with less user behavior data or lower activity. At the same time, the data structure is simple, which is convenient for optimization, iteration and operation and maintenance, and the development and maintenance costs are low.
[0045] Optionally, the recommendation condition corresponding to the real-time hot business module label includes at least one of the following: the user is visiting for the first time, the number of visits to the relevant business module corresponding to the real-time hot business module label is greater than a first number of visits threshold, the activity of the target user within a preset time period is greater than a first activity threshold, the statistical activity of users who visit the business module corresponding to the real-time hot business module label within a preset time period is greater than a second activity threshold, and the grade point of the target user visiting the business module corresponding to the real-time hot business module label is higher than the first grade point threshold;
[0046] The recommendation condition corresponding to the most popular business module label includes at least one of the following: the first-time visitor, the visit volume of the relevant business module corresponding to the most popular business module label is greater than the second visit volume threshold, the target user activity within a preset time period is greater than the third activity threshold, the statistical activity of users who visit the business module corresponding to the real-time hot business module label within a preset time period is greater than the fourth activity threshold, and the target user's visit to the business module corresponding to the most popular business module label is higher than the second level threshold;
[0047] The recommendation conditions corresponding to the user access habit label include at least one of the following: the user is not visiting for the first time, the number of visits to the business module corresponding to the user access habit label within a preset time period is higher than a first visit number threshold, and the target user's grade point for visiting the business module corresponding to the user access habit label is higher than a third grade point threshold.
[0048] In this embodiment, different tags correspond to different recommendation conditions. A recommendation threshold is set for each type of recommendation tag. The recommendation thresholds for real-time hot services and most popular service tags include: first-time users, related service module visits, recent user activity, user access service module rating, etc.; the recommendation thresholds for user access habit tags include: non-first-time users, user access service module rating (for example, higher than 10), and the number of visits in the last two weeks (for example, higher than 2 times).
[0049] Exemplarily, the recommendation conditions corresponding to the real-time hot business module label and the most popular business module label are configured as follows: if it is a first-time visiting user, the recommendation operation can be performed; if the number of visits to the relevant business module corresponding to the real-time hot business module label is greater than the set number of visits threshold, the recommendation operation can be performed; if the target user's activity level is greater than the set activity threshold within a preset time period, the recommendation operation can be performed; if the statistical activity level of users who visit the business module corresponding to the label within a preset time period is greater than the set activity threshold, the recommendation operation can be performed; if the target user's access score of the business module corresponding to the label is higher than the set score threshold, the recommendation operation can be performed.
[0050] The recommendation conditions corresponding to the configured user access habit tags are as follows: if it is not the first time visiting user, the recommended operation can be performed; if the number of visits to the business module corresponding to the user access habit tag within the preset time period is higher than the set visit number threshold, the recommended operation can be performed; if the target user's grade point of visiting the business module corresponding to the user access habit tag is higher than the set grade point threshold, the recommended operation can be performed.
[0051] It should be noted that the thresholds of the same type set for different tags can be the same or different, and can be configured according to specific scenarios. For example, the visit threshold set corresponding to the real-time hot business module tag can be the same as or different from the visit threshold set corresponding to the most popular business module tag, and no specific limitation is made here.
[0052] Optionally, when determining, based on the historical access information of the target user, that a recommendation condition corresponding to the business module recommendation tag matching the target business module is met, obtaining a target item corresponding to the business module recommendation tag matching the target business module includes:
[0053] Step a1: determine whether the target user is a first-time visitor;
[0054] Step a2, determining the rating of the service module accessed by the target user according to the access data of the target user and the initial rating of the service module accessed by the target user;
[0055] Step a3: determine whether the recommendation conditions corresponding to the business module recommendation tag matching the target business module are met based on the access data of the target user, whether the target user is a first-time visitor, and the rating of the business modules visited by the target user; if so, obtain the target item corresponding to the business module recommendation tag matching the target business module.
[0056] In this embodiment, the matter recommendation method can be applied to any client that provides business functions, such as a government channel terminal (business modules include social security business, provident fund business and other modules). If the recommendation condition includes whether the current user (i.e., the target user) is a first-time visitor, then the method for determining whether the target user is a first-time visitor is: if the access data of the target user is empty or the access data of the target user is not found, the target user is determined to be a first-time visitor.
[0057] The access sequence, access duration, and access frequency of each user accessing the service module are counted, and the rating of the service module accessed by each user is obtained through weighted calculation. Then, based on the access data, whether the target user is a first-time user, and the rating of the service module accessed by the target user, it is determined whether the recommendation condition corresponding to the service module recommendation tag matching the target service module is met.
[0058] Optionally, determining the rating of the service module accessed by the target user according to the access data of the target user and the initial rating of the service module accessed by the target user includes:
[0059] Step b1, according to the access sequence, access duration and access frequency of the target user to the service module, determine a first weight corresponding to the access sequence, a second weight corresponding to the access duration and a third weight corresponding to the access frequency;
[0060] Step b2: According to the initial grade score, the grade score of the service module accessed by the target user is obtained by performing weighted calculation on the first weight, the second weight and the third weight.
[0061] In this embodiment, the rating of each business module is first initialized (the initialized rating can be the same or different; if different, the average rating of historical users in a certain period can be counted, etc., which is not specifically limited here). Based on the initial rating after initialization, the corresponding weights are determined according to the access order, access time and access frequency of the current business module in the access data. Exemplarily, assuming that the access order is the second of the five accessed business modules, the weight is (1-2 / 5=3 / 5), the access time is within the time threshold corresponding to the weight of 3 / 5, then the weight corresponding to the access time of the current business module is 3 / 5, and the access frequency is within the access frequency threshold corresponding to the weight of 2 / 5, then the weight corresponding to the access frequency of the current business module is 2 / 5, therefore, the sum of the weights is 8 / 5, assuming that the initial rating is 10, then the rating of the business module accessed by the target user obtained by weighted calculation is 10*8 / 5=16. If the rating threshold is 10, the rating of the business module accessed by the target user is higher than the rating threshold, and the target item can be recommended to the target user.
[0062] Optionally, determining whether a recommendation condition corresponding to a business module recommendation tag matching the target business module is met according to the access data of the target user, whether the target user is a first-time access user, and the rating of the business modules accessed by the target user includes:
[0063] If the business module recommendation tag matching the target business module is a real-time hot business module tag and / or the most popular business module tag, determine the target user activity and the number of visits to the relevant business modules within a preset time period according to the access sequence and the access frequency; determine whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met according to the target user activity within the preset time period, the number of visits to the relevant business modules, the statistical user activity of the business modules visited within the preset time period, whether the target user is a first-time visitor, and the rating of the business modules visited by the target user;
[0064] If the business module recommendation tag matching the target business module is the user access habit tag, the number of visits to the business module corresponding to the user access habit tag within a preset time period is counted based on the access frequency; based on the fact that the target user is not a first-time visiting user, the number of visits to the business module corresponding to the user access habit tag within the preset time period is counted, and the level of the target user's visits to the business module corresponding to the user access habit tag, it is determined whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met.
[0065] In this embodiment, based on the target user's access frequency in the preset time period, the target user activity corresponding to the target user can be calculated, and based on the access frequency of all users in the preset time period, the overall user activity of the time period can be calculated. According to the access sequence, the access to the relevant business module in the preset time period can be determined, and combined with the corresponding access frequency to the relevant business module, the access volume to the relevant business module in the preset time period can be determined. By judging with the recommendation condition, it is determined whether the recommendation condition is met.
[0066] Optionally, the method further includes:
[0067] Step c1: According to the trained label model, the recommended labels of the business modules in the current period are calculated according to the preset period; or,
[0068] Step c2: according to the statistics of the access sequence, access duration and access frequency of each user accessing the service module in the current cycle, a recommended label for the service module in the current cycle is obtained through weighted calculation.
[0069] In this embodiment, the method of generating labels may include: Method 1, regularly calculating the real-time hot business module labels, the most popular business module labels, and each user's access habit labels according to the data model; wherein the data model here may be a machine learning model, such as a deep learning model, etc., which is not specifically limited here. The machine learning model is trained through training samples to obtain the data model, which is used to generate custom labels corresponding to the business modules, and the label library is maintained after regular calculation.
[0070] Method 2, through weighted calculation: based on the weights corresponding to the determined access order, access duration, and access frequency, determine the business modules that conform to or match the real-time hot business module labels, the most popular business module labels, and each user's access habit labels, and label the determined business modules.
[0071] For example, see Figure 3 As shown, Figure 3 Recommended examples for this application Figure 1 First, we obtain the access data generated by the user through the user device (with the government channel terminal installed), process the user access data, and obtain the signed access data, that is, label the access data, such as hot tags, most popular tags, and user personalized tags, etc., generate tags through regular calculations, form a tag library, and regularly update and maintain the tag library.
[0072] Optionally, the method further includes:
[0073] Step d1: for each business module recommendation tag, determine the association between the visited business modules and the matters corresponding to each business module according to the order of accessing the business module corresponding to the business module recommendation tag and the related business modules each time the user accesses the business module;
[0074] Step d2: Generate a mapping relationship between the business module recommendation tags and the items according to the association relationship between the business modules corresponding to the business module recommendation tags and the items corresponding to the business modules.
[0075] In this embodiment, the mapping relationship between labels and matters is calculated or established periodically: first, a label is recommended for each business module, and the priority of the related business modules and the related business modules subsequently accessed during the access of the current business module is determined based on the order of access to the business modules and related business modules corresponding to the recommended label of the business module by the secondary user; based on the business module recommended label corresponding to the current business module and the priority of the related business modules associated with the current business module, a mapping relationship between the business module recommended label corresponding to the current business module and the matters corresponding to the corresponding related business modules is established, thereby forming a label and matter mapping library, the mapping relationship can be maintained by business personnel, or it can be automatically updated or maintained by detecting label changes or matter changes, etc.
[0076] Optionally, the acquiring a target item corresponding to a business module recommendation tag matching the target business module includes:
[0077] According to the business module recommendation tag matching the target business module, the target item to be recommended is obtained through the mapping relationship between the business module recommendation tag and the item.
[0078] In this embodiment, combined with Figure 4 As shown, Figure 4 Recommended examples for this application Figure 2 When a user accesses a business module through the government channel (installed on the user's device), personalized event push is triggered. First, according to the business module currently accessed by the user, the hot tags, the most popular tags, and the user's personalized tags are matched. If none of them can be matched, no recommendation is made; if the hot tags and / or the most popular tags can be matched, the user's historical access situation is calculated to see if it reaches the recommendation threshold (i.e., whether the recommendation conditions corresponding to the tags are met). If the recommendation threshold is reached, the tag library and event mapping are obtained, and the event is pushed; if the recommendation threshold is not reached, no recommendation is made.
[0079] Therefore, this application labels the business modules, matches hot tags, most popular tags and user personalized tags based on the user's triggering operation on the business modules, and determines whether to recommend based on the recommendation conditions. If it is determined to be recommended, the items corresponding to the recommended matching tags are determined. There is no need to analyze the large amount of data generated by each user, and the development and maintenance costs are low. Compared with building a big data platform, it is small in size, resource occupancy is small, and business operation personnel are less involved. At the same time, the data structure is simple, which is convenient for optimization iteration and operation and maintenance. At the same time, combined with the user's own historical access information, it can provide complete personalized recommendation services on platforms with less user behavior data or lower activity. For example, for platform users with lower activity, it can provide more accurate personalized push, and provide users with convenient item search, navigation, and processing services.
[0080] Figure 5 This is a schematic diagram of the structure of the item recommendation device provided in the embodiment of the present application. Figure 5 As shown, the event recommendation device includes: a first recommendation module 501, a judgment module 502, a second recommendation module 503 and an analysis module 504;
[0081] The first recommendation module 501 is used to push the basic items triggered by the target user's access to the target business module in response to the target user's access to the target business module;
[0082] A judgment module 502 is used to determine whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habits;
[0083] The second recommendation module 503 is used for, when there is a business module recommendation tag matching the target business module, according to the historical access information of the target user, when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, obtaining the target item corresponding to the business module recommendation tag matching the target business module, and recommending the target item to the target user;
[0084] The analysis module 504 is used to determine not to recommend other items except the basic items to the target user if there is no business module recommendation tag matching the target business module or if it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met.
[0085] In some embodiments, the historical access information includes: access data of each visit to the business module; the access data includes at least one of the following: access order, access duration, and access frequency; the second recommendation module 503 obtains the target item corresponding to the business module recommendation tag matching the target business module based on the historical access information of the target user, when determining that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, specifically including: determining whether the target user is a first-time visitor; determining the grade of the business module visited by the target user based on the access data of the target user and the initial grade of the business module visited by the target user; determining whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met based on the access data of the target user, whether the target user is a first-time visitor, and the grade of the business module visited by the target user; if met, obtaining the target item corresponding to the business module recommendation tag matching the target business module.
[0086] In some embodiments, the second recommendation module determines the rating of the business module visited by the target user according to the access data of the target user and the initial rating of the business module visited by the target user, specifically including: the initial rating, determining the rating of the business module visited by the target user, including:
[0087] According to the access order, access duration and access frequency of the target user to the business modules, a first weight corresponding to the access order, a second weight corresponding to the access duration and a third weight corresponding to the access frequency are determined; according to the initial grade points, the grade points of the business modules visited by the target user are obtained by weighted calculation of the first weight, the second weight and the third weight.
[0088] In some embodiments, the recommendation conditions corresponding to the real-time hot business module label include at least one of the following: first-time visiting users, the number of visits to the relevant business module corresponding to the real-time hot business module label is greater than a first visit volume threshold, the activity of the target user within a preset time period is greater than a first activity threshold, the statistical activity of users who visit the business module corresponding to the real-time hot business module label within a preset time period is greater than a second activity threshold, and the target user's visit grade of the business module corresponding to the real-time hot business module label is higher than the first grade threshold; the recommendation conditions corresponding to the most popular business module label include at least one of the following: first-time visiting users, the relevant business module corresponding to the most popular business module label The module access volume is greater than the second access volume threshold, the target user activity within the preset time period is greater than the third activity threshold, the statistical user activity of accessing the business module corresponding to the real-time hot business module label within the preset time period is greater than the fourth activity threshold, and the target user's access to the business module corresponding to the most popular business module label is higher than the second grade threshold; the recommendation condition corresponding to the user access habit label includes at least one of the following: non-first-time visiting user, the statistical number of visits to the business module corresponding to the user access habit label within the preset time period is higher than the first visit number threshold, and the target user's access to the business module corresponding to the user access habit label is higher than the third grade threshold.
[0089] In some embodiments, the second recommendation module 503 determines whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met according to the access data of the target user, whether the target user is a first-time visitor, and the rating of the business modules visited by the target user, specifically including: if the business module recommendation tag matching the target business module is a real-time hot business module tag and / or the most popular business module tag, determining the target user activity and the number of visits to related business modules within a preset time period according to the access sequence and the access frequency; determining the target user activity and the number of visits to related business modules within a preset time period according to the target user activity, the number of visits to related business modules, the statistical user activity of the business modules visited within the preset time period, and the target user Whether the target user is a first-time visitor and the grade of the business modules visited by the target user, determine whether the recommendation condition corresponding to the business module recommendation label matching the target business module is met; if the business module recommendation label matching the target business module is the user access habit label, according to the access frequency, count the number of visits to the business module corresponding to the user access habit label within a preset time period; based on whether the target user is a non-first-time visitor, the number of visits to the business module corresponding to the user access habit label within a preset time period, and the grade of the business module visited by the target user, determine whether the recommendation condition corresponding to the business module recommendation label matching the target business module is met.
[0090] In some embodiments, the device also includes: a label generation module 505; the label generation module 505 is used to calculate the recommended labels for the business modules in the current period according to a preset period based on a trained label model; or, based on the statistics of the access sequence, access duration, and access frequency of each user accessing the business module in the current period, obtain the recommended labels for the business modules in the current period through weighted calculation.
[0091] In some embodiments, the device also includes: a mapping relationship generation module 506; the mapping relationship generation module 506 is used to recommend tags for each business module, and determine the association relationship between the visited business modules and the matters corresponding to each business module based on the business module corresponding to the business module recommendation tag and the access order of related business modules each time the user visits the business module; based on the association relationship between the business modules corresponding to the business module recommendation tag and the matters corresponding to each business module, generate a mapping relationship between the business module recommendation tag and the matters.
[0092] In some embodiments, the second recommendation module 503 obtains the target item corresponding to the business module recommendation tag matching the target business module, specifically including: according to the business module recommendation tag matching the target business module, obtaining the target item to be recommended through the mapping relationship between the business module recommendation tag and the item.
[0093] The event recommendation device provided in the embodiment of the present application can be used to execute the technical solution of the event recommendation method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0094] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, label generation 505 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above label generation 505. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in software form.
[0095] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device may include: a transceiver 61 , a processor 62 , and a memory 63 .
[0096] The processor 62 executes the computer execution instructions stored in the memory, so that the processor 62 executes the scheme in the above embodiment. The processor 62 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0097] The memory 63 is connected to the processor 62 via a system bus and completes communication between them. The memory 63 is used to store computer program instructions.
[0098] The transceiver 61 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.
[0099] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0100] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.
[0101] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the method for recommending matters in the above embodiment.
[0102] An embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the method for recommending matters in the above embodiment.
[0103] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the method for recommending matters in the above embodiment.
[0104] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0105] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0106] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0107] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0108] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0109] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0110] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0111] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0112] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0113] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, 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 recommending items, characterized in that: include: In response to the target user's operation of accessing the target business module, pushing the basic matters triggered by the target user's access to the target business module; Determine whether there is a business module recommendation tag matching the target business module; the business module recommendation tag includes at least one of the following: a real-time hot business module tag, a most popular business module tag, and a tag for each user's access habits; If there is a business module recommendation tag matching the target business module, then based on the historical access information of the target user, when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, the target item corresponding to the business module recommendation tag matching the target business module is obtained, and the target item is recommended to the target user; If there is no business module recommendation tag matching the target business module or when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met, it is determined not to perform the operation of recommending other items except the basic items to the target user.
2. The method according to claim 1, characterized in that The historical access information includes: access data of each access to the business module; the access data includes at least one of the following: access sequence, access duration, and access frequency; when determining that a recommendation condition corresponding to a business module recommendation tag matching the target business module is met based on the historical access information of the target user, obtaining a target item corresponding to the business module recommendation tag matching the target business module includes: Determine whether the target user is a first-time visitor; Determining the rating of the service module accessed by the target user according to the access data of the target user and the initial rating of the service module accessed by the target user; Determining whether a recommendation condition corresponding to a business module recommendation tag matching the target business module is met according to the target user's access data, whether the target user is a first-time access user, and the rating of the business modules accessed by the target user; If so, the target item corresponding to the business module recommendation tag matching the target business module is obtained.
3. The method according to claim 2, characterized in that The step of determining the grade of the service module accessed by the target user according to the access data of the target user and the initial grade of the service module accessed by the target user comprises: According to the access order, access duration and access frequency of the target user to the business module, determine a first weight corresponding to the access order, a second weight corresponding to the access duration and a third weight corresponding to the access frequency; According to the initial grade score, the grade score of the service module accessed by the target user is obtained by performing weighted calculation on the first weight, the second weight and the third weight.
4. The method according to claim 2, characterized in that: The recommendation condition corresponding to the real-time hot business module label includes at least one of the following: the first-time visitor, the visit volume of the relevant business module corresponding to the real-time hot business module label is greater than the first visit volume threshold, the activity of the target user in the preset time period is greater than the first activity threshold, the statistical activity of the users who visit the business module corresponding to the real-time hot business module label in the preset time period is greater than the second activity threshold, and the grade point of the business module corresponding to the real-time hot business module label visited by the target user is higher than the first grade point threshold; The recommendation condition corresponding to the most popular business module label includes at least one of the following: the first-time visitor, the visit volume of the relevant business module corresponding to the most popular business module label is greater than the second visit volume threshold, the target user activity within a preset time period is greater than the third activity threshold, the statistical activity of users who visit the business module corresponding to the real-time hot business module label within a preset time period is greater than the fourth activity threshold, and the target user's visit to the business module corresponding to the most popular business module label is higher than the second level threshold; The recommendation conditions corresponding to the user access habit label include at least one of the following: the user is not visiting for the first time, the number of visits to the business module corresponding to the user access habit label within a preset time period is higher than a first visit number threshold, and the target user's grade point for visiting the business module corresponding to the user access habit label is higher than a third grade point threshold.
5. The method according to claim 4, characterized in that The determining, based on the access data of the target user, whether the target user is a first-time access user, and the rating of the service modules accessed by the target user, whether a recommendation condition corresponding to the service module recommendation tag matching the target service module is met includes: If the business module recommendation tag matching the target business module is a real-time hot business module tag and / or the most popular business module tag, determine the target user activity and the number of visits to the relevant business modules within a preset time period according to the access sequence and the access frequency; determine whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met according to the target user activity within the preset time period, the number of visits to the relevant business modules, the statistical user activity of the business modules visited within the preset time period, whether the target user is a first-time visitor, and the rating of the business modules visited by the target user; If the business module recommendation tag matching the target business module is the user access habit tag, the number of visits to the business module corresponding to the user access habit tag within a preset time period is counted based on the access frequency; based on the fact that the target user is not a first-time visiting user, the number of visits to the business module corresponding to the user access habit tag within the preset time period is counted, and the level of the target user's visits to the business module corresponding to the user access habit tag, it is determined whether the recommendation condition corresponding to the business module recommendation tag matching the target business module is met.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: According to the trained label model, the recommended labels of the business modules in the current period are calculated according to the preset period; or, According to the statistics of the access sequence, access duration and access frequency of each user accessing the business module in the current cycle, a weighted calculation is performed to obtain the recommended tags of the business modules in the current cycle.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: For each business module recommendation tag, determine the association between the visited business modules and the matters corresponding to each business module according to the business module corresponding to the business module recommendation tag and the access order of the related business modules each time the user visits the business module; According to the association relationship between the business modules corresponding to the business module recommendation tags and the matters corresponding to the business modules, a mapping relationship between the business module recommendation tags and the matters is generated.
8. The method according to claim 7, characterized in that The acquiring of a target item corresponding to a business module recommendation tag matching the target business module includes: According to the business module recommendation tag matching the target business module, the target item to be recommended is obtained through the mapping relationship between the business module recommendation tag and the item.
9. A device for recommending items, characterized in that: include: A first recommendation module, configured to push basic items triggered by a target user's access to a target business module in response to the target user's access to the target business module; A judgment module, used to determine whether there is a business module recommendation tag matching the target business module; The service module recommendation tag includes at least one of the following: a real-time hot service module tag, a most popular service module tag, and a tag for each user's access habits; A second recommendation module is used for, when there is a business module recommendation tag matching the target business module, obtaining a target item corresponding to the business module recommendation tag matching the target business module based on the historical access information of the target user and when it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is met, and recommending the target item to the target user; The analysis module is used to determine not to perform the operation of recommending other items except the basic items to the target user if there is no business module recommendation tag matching the target business module or if it is determined that the recommendation condition corresponding to the business module recommendation tag matching the target business module is not met.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.
