Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic flow chart of an article pushing method according to an embodiment of the present invention, where the embodiment is applicable to a situation where a target article pushed to a client may be used in cooperation with a current article, and the method may be executed by an article pushing apparatus, where the apparatus may be implemented in a form of software and/or hardware, where the hardware may be an electronic device, and the electronic device may be a mobile terminal, a PC terminal, and the like. The execution of the technical scheme can be executed by the server, the terminal equipment or the cooperation of the server and the terminal equipment.
Before the technical solution of the present embodiment is introduced, an application scenario may be exemplarily described. The user can download the corresponding application program on the terminal device in advance, and can browse the corresponding article in the application program, and meanwhile, the server can recommend the matched article for the user according to the currently browsed article. If the application scene is a medicine purchasing scene, the target medicine attribute matched with the medicine attribute for use can be determined according to the currently browsed medicine attribute, and the target medicine corresponding to the target medicine attribute is pushed to the client and displayed.
As shown in fig. 1, the method includes:
and S110, acquiring the current article attribute of the current article.
The current item may be an item currently being browsed by the user, or an item currently being searched by the user, or the like. The current item attribute may be a predefined item identification corresponding to the current item, such as an SPU (Standard Product Unit) of the item, an item ID.
In this embodiment, before the obtaining the current item attribute of the current item, the method further includes: the current item may be determined by at least one of the following. Optionally, determining a current article according to the text content edited in the content search control; determining a current article according to the content displayed on the current page; and determining the current item according to the corresponding item link when jumping to the current page.
The current display page can display a plurality of articles and can also display a search content editing control. The search content editing control is used for editing corresponding search content. When a 'confirm' button corresponding to the search content editing control is triggered, the item matching the search content can be searched, and the item matching the search content can be used as the current item. The item with the highest frequency of appearance in the page can be used as the current item. Or, when a user triggers a certain item link, the user may jump to a corresponding item detail page, and then the item corresponding to the item link may be used as the current item, for example, the current page includes a plurality of items, and if the user triggers the item a, that is, the user triggers the item link corresponding to the item a, at this time, the user may jump to the item detail page of the item a, and then the item a is the current item. In this embodiment, the item attribute includes an item identifier, and the acquiring the current item attribute of the current item includes: and determining the current article identifier of the current article according to the predetermined corresponding relation among the article name, the article identifier and the article class of the third grade.
The item name may be a name of a current item, and the item identifier may be a predetermined item identifier corresponding to the item name, and optionally, a predetermined item ID, SPU. The item tertiary category may be the SKU of the item. That is, the item ID corresponding to each item name may be defined in advance, and one item ID may correspond to a plurality of item classes. The reason why one article ID corresponds to a plurality of tertiary categories is that: the same item ID can correspond to a plurality of shop names and manufacturers, and correspondingly, the SKUs of different items in the shops and the manufacturers are different. As shown in FIG. 2, one item name corresponds to one item ID and one item ID corresponds to multiple SKUs.
Specifically, the item identifier corresponding to the current item name may be determined according to the corresponding relationship, or the item identifier of the item may be determined according to the SKU of the item. If the current item is determined according to the item link, indicating that the SKU of the item has been determined, then the item identification can be determined based on the SKU and the corresponding relationship of the item; if the current item is determined from the item name, then the item identification may be determined based on the item name and the correspondence.
In the practical application process, if the name of the article is not clear, the article may correspond to a plurality of article identifications, for example, the name of the article is "Ganling", and the name of the article including three words of "Ganling" may include a plurality of articles. Correspondingly, at least one article identifier to be determined corresponding to the Ganmaoling can be determined according to the corresponding relation. In order to accurately determine the current item identifier of the current item, the first item identifier corresponding to the third item class of the item can be determined according to the third item class of the current item and the corresponding relationship. If the at least one identifier to be determined includes a first item identifier, the first item identifier may be used as the current item identifier.
Optionally, the determining the current item identifier of the current item according to the predetermined corresponding relationship among the item name, the item identifier, and the three-level item class of the item includes: if the corresponding relation comprises at least one item identifier to be determined corresponding to the item name of the current item, determining a first item identifier corresponding to the item class of the third level of the item according to the corresponding relation; and if the at least one item identifier to be determined comprises the first item identifier, taking the first item identifier as the current item identifier.
In this embodiment, the advantage of determining the current item identifier in this way is that, if only one item identifier determined by the item name is included, the associated item identifier may be determined according to the item identifier; if the number of the target objects is multiple, the target objects matched with the current objects can be further accurately determined according to the object identifiers corresponding to the three classes of the objects, and the target objects are displayed at the target terminal, so that the technical effect of user experience is improved.
Of course, it should be further noted that the article name and the article identifier corresponding to the article class of the third level may also be determined at the same time, and if the determined article identifiers are consistent, the determined article identifier at this time may be used as the current article identifier; if the current item identifier is inconsistent with the item identifier corresponding to the third-level item, the item identifier corresponding to the third-level item is unique, so that the current item identifier of the current item can be used as the item identifier corresponding to the third-level item.
And S120, determining at least one to-be-selected item attribute matched with the current item attribute according to the predetermined item attribute association degree relation.
And determining the item attribute association degree relation according to each item in each historical item acquisition task list. The historical item acquisition task list comprises item names and corresponding item attributes. It should be noted that, in a general application scenario of purchasing medicine, if a certain medicine is needed, a medicine name or a medicine identifier corresponding to the medicine name is selected, where the medicine identifier may be an article attribute, and the medicine name may be an article name. And obtaining the item name and the item attribute in the task list according to the historical item, and determining the association degree association between the item attributes. The to-be-selected item attribute is the item attribute which is determined according to the association degree relation and is associated with the current item attribute.
Specifically, at least one associated item attribute associated with the current item attribute may be determined according to the item attribute association degree relationship. A corresponding item attribute to be selected may be screened from the at least one associated item attribute.
On the basis, the determining of the to-be-selected item attribute from the at least one associated item attribute may be: the determining at least one article attribute to be selected matched with the current article attribute according to the predetermined article attribute association degree relationship comprises: determining at least one to-be-displayed item attribute associated with the current item attribute according to the item attribute association degree relation; and determining the attribute of the article to be selected from the at least one attribute of the article to be displayed according to the preset display quantity.
The item attribute association degree relation not only comprises a plurality of groups of associated item attributes, but also comprises association degree values of each group of associated item attributes. Two item attributes are included in each set of associated item attributes. The attribute of the article to be displayed is the article attribute which is different from the current article attribute in the multiple groups of associated article attributes determined according to the association degree relation. The number of items displayed on the display interface may be predefined and used as the preset display number. The number of the attributes of the items to be selected is consistent with the display number. Then the item attribute to be selected is an item attribute that is selected from the at least one item attribute to be displayed and corresponds to the displayed number.
Specifically, at least one group of article attributes including the current article attribute can be determined according to the article attribute association degree relationship, and the current article attribute different from the article attributes in each group is used as the article attribute to be displayed. Further, the attribute of the article to be selected, which is consistent with the preset display quantity, can be screened from the at least one attribute of the article to be displayed.
In this embodiment, the attribute of the to-be-selected item, which matches the preset display quantity, may be randomly screened out from the at least one attribute of the to-be-displayed item, or the attribute of the to-be-selected item may be screened out according to a corresponding screening rule.
Optionally, the determining, according to the preset display number, the attribute of the article to be selected from the at least one attribute of the article to be displayed includes: and determining the attributes of the articles to be selected with the same display quantity from high to low according to the target relevance value of the at least one attribute of the articles to be displayed.
Wherein the relevance value may characterize a correlation between the set of article attributes. The higher the relevance value is, the higher the probability that the two item attributes in the group appear in the same task list is, and the higher the degree of engagement of the two item attributes is. The target relevance value is a relevance value of an item attribute to be displayed associated with the current item attribute.
Specifically, according to the relationship of the item attribute relevance, the relevance value between each item attribute to be displayed and the current item attribute can be determined, and the relevance value is used as a target relevance value. And selecting a preset number of attributes of the articles to be selected from high to low according to the target relevance value corresponding to the attributes of the articles to be displayed.
It should be noted that, in the relationship of the article attribute association degree, the target number of the article attributes to be displayed associated with the current article attribute may be greater than the preset display number, or may be smaller than the preset display number.
In this embodiment, if the target number of the attributes of the to-be-displayed item is smaller than the display number, at least one attribute of the to-be-selected item is determined from the items with the similar attributes to the current item according to the target number and the display number.
The commonalities of all the articles can be determined according to the articles corresponding to the historical browsing records, and then similar articles are determined according to the commonalities of the articles and serve as the attributes of the articles to be selected.
Specifically, if the target number of the attributes of the articles to be displayed is smaller than the display number, the number to be searched can be determined according to the target number and the display number. And determining the articles matched with the quantity to be searched according to the similarity of the attributes of the current articles, and taking the articles as the attributes of the articles to be selected.
S130, determining a target article according to the at least one article attribute to be selected, and pushing the information of the target article to a target client so as to display the target article at the target client.
The attribute of the item to be selected may be an item identifier of the item to be selected, such as an item ID. According to the predetermined corresponding relation, one to-be-selected item attribute can correspond to a plurality of item three-level categories, namely SKUs, the target item three-level category, namely the target SKU can be determined according to the item three-level categories of the to-be-selected item attribute, and the item corresponding to the target SKU is used as the target item.
Specifically, after the target item is determined, the target item may be fed back to the target client, so that the target client displays the corresponding target item, thereby facilitating a technical effect of a user selecting the target item matched with the current item.
In this embodiment, the determining the target item according to the at least one attribute of the item to be selected includes: and determining at least one item three-level class associated with the current to-be-selected item attribute according to the corresponding relation aiming at each to-be-selected item attribute, and determining a target item according to the task execution amount corresponding to the at least one item three-level class.
The task execution amount may be the occurrence frequency of each item tertiary class in each historical item acquisition task list, and optionally, the sales volume of the item a in a certain application program.
Specifically, the number of the to-be-selected item attributes may include a plurality of items, and for each to-be-selected item attribute, at least one item tertiary class associated with the current to-be-selected item attribute may be determined according to the correspondence. And determining the target object according to the selling amount corresponding to each three-level class of the object, for example, taking the object corresponding to the three-level class of the object with the highest selling amount as the target object.
In this embodiment, determining the target item according to the task execution amount corresponding to the at least one item class includes: determining the task execution amount corresponding to each three-level class of the articles, and taking the three-level class of the articles with the highest task execution amount as the three-level class of the target articles; and taking the object corresponding to the target tertiary class as a target object.
The historical item acquisition task list may include a plurality of item attributes. The occurrence frequency of each tertiary item of the article can be determined according to the tertiary item of the article corresponding to each attribute of the article, and the frequency is used as the task execution amount. And taking the item class with the highest task execution amount as the target item class. Correspondingly, the target item is an item corresponding to the tertiary item class of the target item.
Illustratively, the attribute of the item to be selected is ID1, the three-level item of the item associated with the attribute ID1 of the item to be selected includes ten items, which are SKU1 and SKU2 … SKU10, and the task amount corresponding to each three-level item of the item is determined, that is, the occurrence frequency of each three-level item of the item in the historical item acquisition task list is determined, for example, SKU1 is 1 ten thousand, and SKU2 is 3 ten thousand … SKU10 is 0.5 ten thousand, it is known that the task execution amount corresponding to SKU2 is the largest, and the item corresponding to SKU2 may be taken as the target item at this time.
According to the technical scheme of the embodiment of the invention, after the current article attribute of the current article is obtained, the attribute of each article to be selected, which is matched with the current article attribute, can be determined according to the article attribute association degree relation determined by the articles in the task obtained based on the historical articles in advance, the target article can be determined according to the attribute of the article to be selected, and the determined target article can be pushed to the client side.
Example two
As an alternative embodiment of the foregoing embodiment, fig. 3 is a schematic flow chart of an article pushing method according to a second embodiment of the present invention. On the basis of the foregoing embodiment, the relationship of the item attribute association degree may be determined in advance, and a specific determination manner thereof may refer to the technical solution of this embodiment. The technical terms that are the same as or corresponding to the above embodiments are not repeated herein.
As shown in fig. 3, the method includes:
s201, acquiring a plurality of historical item acquisition task lists.
The number of the historical item acquisition task lists can be multiple, so that the accuracy of the association value in the item attribute association degree relation is improved. The historical item acquisition task list can be a prescription list issued by a certain consultation platform, and the prescription list comprises a medicament name and a medicament identifier.
Specifically, a plurality of historical item acquisition task lists can be acquired, so that the association value between the item attributes can be determined according to the item attributes and the item names in the historical item acquisition task lists.
S202, acquiring a task list aiming at each historical article, determining the attribute of the to-be-processed article of each to-be-processed article in the current historical article acquisition task list, respectively establishing the corresponding relation between the attribute of each to-be-processed article and the attributes of other to-be-processed articles, and obtaining at least one group of the attribute of the to-be-determined article and the attribute relevance value of the group of the attribute of the to-be-determined article.
It should be noted that the data in the task list may be acquired for each historical item in advance and processed. Namely, the relationship of the article attribute relevance in the same task list is determined.
Each historical item acquisition task list comprises a plurality of item attributes and item names. The historical item acquisition task list may be a prescribed order, the prescribed order includes at least one item name, the item name may be a medicine name, the item attribute may be an item identifier, and the item identifier may be a medicine identifier. Each item attribute in the historical item acquisition task list can be used as the attribute of the item to be processed. Any two to-be-processed item attributes in the same historical item acquisition task list can be used as a set of to-be-determined item attributes. Each group of item attributes to be determined has an attribute relevance value corresponding to it.
Specifically, a task list is acquired for each historical item, and the to-be-processed item attribute of each to-be-processed item in the current historical item acquisition task list is determined. And respectively establishing corresponding relations between the attributes of other articles to be processed and the attributes of the current articles to be processed aiming at each article attribute to be processed to obtain at least one group of article attributes to be determined and the attribute relevance values of the group of article attributes to be determined. Wherein, for one attribute of the object to be processed, the number of the attributes of the object to be determined in the group is the same as the number of the attributes of other objects to be processed.
Optionally, determining the attribute of the to-be-processed item of each to-be-processed item in the current historical item acquisition task list, and respectively establishing a corresponding relationship between the attribute of each to-be-processed item and the attributes of other to-be-processed items to obtain at least one group of the attributes of the to-be-determined items and the attribute relevance value of the group of the to-be-determined items, including: determining the to-be-processed article identification of each to-be-processed article in the current historical article acquisition task list; aiming at each to-be-processed article identifier, establishing a corresponding relation between the current to-be-processed article identifier and other to-be-processed article identifiers to obtain at least one group of to-be-determined article attributes; the group to-be-determined article attributes comprise two different to-be-processed article identifications; and respectively determining an attribute association value of each group of the article attributes to be determined.
Each historical item acquisition task list comprises a plurality of to-be-processed items, and item attributes of each to-be-processed item, namely to-be-processed item identifiers, such as medicament identifiers, can be determined.
Specifically, the attribute of each to-be-processed article in a historical article is obtained, and the corresponding relation between the current to-be-processed medicament identifier and other medicament identifiers is established to obtain at least one group of to-be-determined article attribute; the group of to-be-determined item attributes include two different to-be-processed item identifications. Meanwhile, the association degree of two article attributes in each group of article attributes to be determined can be determined, and the association degree is used as an attribute association degree value.
On the basis of the above technical solution, after the establishing of the corresponding relationship between the current to-be-processed item identifier and the other to-be-processed item identifiers to obtain the attribute of at least one group of to-be-determined items, the method further includes: and when detecting that two groups of to-be-determined article attributes with the same to-be-processed article attributes exist in the at least one group of to-be-determined article attributes, rejecting one group of to-be-determined article attributes.
Specifically, after the corresponding relationship between each identifier of the article to be processed and the identifiers of other articles to be processed is established to obtain at least one attribute of the article to be determined in the group, it may be determined whether the attributes of the article to be determined in the group include two identical attributes of the article to be processed, and if yes, one of the attributes of the article to be determined in the group is rejected.
For example, the historical item acquisition order is an issued prescription order, and the data structure of the prescription order may be, as shown in fig. 4, a task order identifier (prescription order ID) of the historical item acquisition order, and an item attribute (medicament identifier, medicament ID) of each medicament name in the prescription order. Determining the association degree relationship between every two item attributes in the historical item acquisition task list may be: a task sheet is acquired for each historical item, and a medicament identifier (medicament ID) in the current prescription sheet (prescription ID-1001) is determined, optionally, a medicament identifier a, a medicament identifier B, and a medicament identifier C, see fig. 5. And determining the attributes of a plurality of groups of articles to be determined by adopting a Cartesian product mode, and referring to fig. 6. According to a preset constraint condition, for example, repeated associated data in the same prescription list is removed, such as a and a associated data, a B and B associated data, a C and C associated data, and a group of a and B associated data, a group of a and C associated data, and a group of B and C associated data, are retained, so as to obtain at least one group of to-be-determined item attribute and attribute association value corresponding to the current historical item acquisition task list, as shown in fig. 7.
S203, processing the attribute relevance values of the attributes of all groups of articles to be determined to obtain a target relevance value of the attribute of at least one group of articles to be used.
Wherein the same attribute of the article to be processed in the set of the article attributes to be determined is taken as a set of the article attributes to be used. Meanwhile, the relevance value of the group of article attributes to be determined in the group of article attributes to be used can be processed to obtain the target relevance value of the group of article attributes to be used. Namely, the target relevance value is a final item relevance value determined according to the item attributes in the historical item acquisition task list.
Specifically, after the group determination article attribute corresponding to each historical article acquisition task list is obtained, the relevance value of the group to-be-determined article attribute with the same article attribute to be processed may be processed to obtain the target relevance value of the article attribute to be used by each group.
Optionally, the obtaining a target relevance value of the attribute of the at least one group of articles to be used by processing the attribute relevance values of all groups of the attributes of the articles to be determined includes: determining two to-be-processed article attributes in the to-be-determined article attributes of each group, and classifying at least one group of to-be-determined article attribute with the same two to-be-processed article attributes into one class to obtain at least one group of to-be-used article attributes; and accumulating the attribute relevance values of the attributes of the articles to be determined belonging to the group of one class to obtain the target relevance value of the attribute of the article to be used in each group.
Specifically, each group of to-be-determined article attributes includes two to-be-processed article attributes, and at least one group of to-be-determined article attributes having the same to-be-determined article attribute may be classified into one class, so as to obtain at least one group of to-be-used article attribute. And determining attribute relevance values of the attributes of the articles to be determined of each group aiming at a plurality of the attributes of the articles to be used belonging to the group of the same type, and accumulating the attribute relevance values to obtain target relevance values of the attributes of the articles to be used of the group.
As an alternative embodiment of S202 to S203, see fig. 8. And acquiring a historical article acquisition task list (prescription list), and performing self-association (namely self-association of a prescription information table) on the attributes of the articles to be processed in the prescription list to obtain the attributes of a plurality of groups of articles to be determined. Rejecting the set of invalid associations for an item attribute to be determined (filtering the invalid associations). The invalid association may be: if the attribute associations in the attributes of the articles to be determined in the groups are the same, or if the attribute associations in the attributes of the articles to be determined in the two groups are the same, one of the groups can be removed. And after the attributes of the articles to be determined of the groups in each historical article acquisition task list are obtained, classifying the attributes of the articles to be determined of the groups to obtain a plurality of groups of attributes of the articles to be used. The to-be-used article attributes comprise a plurality of groups of to-be-determined article attributes, and the to-be-processed article attributes in each group of to-be-determined article attributes are the same. And accumulating the attribute relevance degrees of the attributes of the articles to be determined in the group (summarizing and calculating the relevance degrees) to obtain a target relevance degree value of the attributes of the articles to be used in each group. The target object attribute can be determined from the attributes of the objects to be used matched with the current object attribute based on the target attribute relevance value, and then the target object is determined.
And S204, obtaining an article attribute association degree relation based on two article attributes to be processed in each group of article attributes to be used and the corresponding target association degree value.
Specifically, the relationship of the item attribute relevance may be obtained according to two to-be-processed item attributes in the group of to-be-used item attributes and the corresponding target relevance values. Based on the relationship of the item attribute association degree, the attribute of the item to be selected associated with the current item attribute can be obtained.
And S205, acquiring the current article attribute of the current article.
The system architecture diagram of the technical solution of the present embodiment is implemented. As shown in fig. 9, the system includes a storage layer, an interface layer, and a service layer. The interface layer can receive the current item attribute of the current item and transmit the target item which is determined by the service layer and is associated with the current item attribute, so that the access party can call the target item and display the target item on the display interface. The service layer includes an association relation determination module. And the association relation determining module is used for obtaining the articles in the list according to each historical article task and determining the association relation between the two article attributes, namely determining the association relation of the article attributes. The service layer also comprises a pushing and sorting module which is used for determining the attributes of the articles to be selected which are associated with the current attributes according to the target relevance values in the relevance relation and sorting the attributes of the articles to be selected according to the target relevance values of the attributes of the articles to be selected. Further, the task execution quantity of the three-level item class of the article corresponding to the attribute of the same article to be selected can be sequenced according to a screening rule set by preselection, so that the target article is obtained. And the storage layer is used for storing the historical item acquisition task list.
Illustratively, a medicament identification of a current medicament is obtained.
S206, determining at least one to-be-selected article attribute matched with the current article attribute according to the predetermined article attribute association degree relation.
Illustratively, at least one medicament identifier to be displayed associated with the current medicament identifier is determined according to a predetermined article attribute association degree relation. And screening at least one to-be-selected medicament identifier from the at least one to-be-displayed medicament identifier according to the predetermined display quantity of the target articles pushed to the client and the relevance value of each to-be-displayed medicament identifier.
S207, determining a target article according to the at least one article attribute to be selected, and pushing the information of the target article to a target client so as to display the target article at the target client.
Illustratively, according to the selling amount of at least one SKU corresponding to each medicament identifier to be selected, the SKU with the highest selling amount is used as the SKU of the target item displayed to the client. After the target object is determined, the target object can be sent to the target client side to be displayed at the target client side, so that the user can select the target object conveniently. At this time, the determined target item is a medicine matching the currently viewed medicine.
According to the technical scheme of the embodiment of the invention, after the current article attribute of the current article is obtained, the attribute of each article to be selected, which is matched with the current article attribute, can be determined according to the article attribute association degree relation determined by the articles in the task obtained based on the historical articles in advance, the target article can be determined according to the attribute of the article to be selected, and the determined target article can be pushed to the client side.
EXAMPLE III
Fig. 10 is a schematic structural diagram of an apparatus for determining a target object according to a fifth embodiment of the present invention. As shown in fig. 10, the apparatus includes: an item attribute determination module 310, a to-be-selected item attribute determination module 320, and a target item determination module 330.
The item attribute determining module 310 is configured to obtain a current item attribute of a current item; a to-be-selected item attribute determining module 320, configured to determine, according to a predetermined item attribute association degree relationship, at least one to-be-selected item attribute that matches the current item attribute; the item attribute association degree relation is determined according to each item in each historical item acquisition task list; a target item determining module 330, configured to determine a target item according to the at least one attribute of the item to be selected, and push information of the target item to a target client, so as to display the target item at the target client
On the basis of the above technical solution, the item attribute determining module, before being configured to obtain the current item attribute of the current item, is further configured to:
determining the current item by at least one of: determining a current article according to the text content edited in the content search control; determining a current article according to the content displayed on the current page; and determining the current item according to the corresponding item link when jumping to the current page.
On the basis of the above technical solution, the item attribute determining module is further configured to determine the current item identifier of the current item according to a predetermined correspondence between the item name, the item identifier, and the three-level item class of the item.
On the basis of the above technical solution, the item attribute determining module includes: a first identifier determining unit, configured to determine, according to the correspondence, a first item identifier corresponding to the item class of the item class if the correspondence includes at least one to-be-determined item identifier corresponding to the item name of the current item;
and the current item identification determining unit is used for taking the first item identification as the current item identification if the at least one item identification to be determined comprises the first item identification.
On the basis of the above technical solution, the apparatus further includes an association relation determining module, configured to: and determining the association degree relation of the article attributes.
The relevancy relationship determination module comprises:
the task list determining unit is used for acquiring a plurality of historical article acquisition task lists;
the attribute relevance value determining unit is used for acquiring a task list aiming at each historical article, determining the attribute of the article to be processed of each article to be processed in the current historical article acquisition task list, respectively establishing the corresponding relation between the attribute of each article to be processed and the attributes of other articles to be processed to obtain at least one group of the article attributes to be determined, and the attribute relevance value target relevance value determining unit of the group of the article attributes to be determined is used for processing the attribute relevance values of all the groups of the article attributes to be determined to obtain the target relevance value of at least one group of the article attributes to be used; and the association relation determining unit is used for obtaining the item attribute association relation based on two to-be-processed item attributes in each group of to-be-used item attributes and the corresponding target association value.
On the basis of the above technical solutions, the attribute relevance value determining unit includes:
the article identification determining subunit is used for determining the article identification to be processed of each article to be processed in the current historical task list; the group to-be-processed article identifier determining subunit is used for establishing a corresponding relation between the current to-be-processed article identifier and other to-be-processed article identifiers aiming at each to-be-processed article identifier to obtain at least one group to-be-determined article attribute; the group of to-be-determined article attributes comprise two different to-be-processed article identifiers; and the attribute relevance value determining subunit is used for respectively determining the attribute relevance value of the attribute of each group of the articles to be determined.
On the basis of the above technical solutions, the group to-be-processed item identifier determining subunit is further configured to, after being configured to establish a correspondence between the current to-be-processed item identifier and the other to-be-processed item identifiers, and obtain at least one group to-be-processed item attribute: and when detecting that two groups of to-be-determined article attributes with the same to-be-processed article attributes exist in the at least one group of to-be-determined article attributes, rejecting one group of to-be-determined article attributes.
On the basis of the foregoing technical solutions, the target relevance value determining unit is further configured to:
the group to-be-used article attribute determining subunit is used for determining two to-be-processed article attributes in the to-be-determined article attributes of each group, and classifying at least one group to-be-determined article attribute with the same two to-be-processed article attributes into one class to obtain at least one group of to-be-used article attributes; and the target relevance value determining subunit is used for accumulating the attribute relevance values of the attributes of the articles to be determined belonging to the group of one class to obtain the target relevance value of the attribute of the article to be used in each group.
On the basis of the above technical solutions, the module for determining the attribute of the article to be selected further includes: the to-be-displayed article attribute determining unit is used for determining at least one to-be-displayed article attribute associated with the current article attribute according to the article attribute association degree relation; and the to-be-selected article attribute determining unit is used for determining the to-be-selected article attribute from the at least one to-be-displayed article attribute according to the preset display quantity.
On the basis of the above technical solutions, the to-be-selected item attribute determining unit is configured to: and determining the attributes of the articles to be selected with the same display quantity from high to low according to the target relevance value of the at least one attribute of the articles to be displayed.
On the basis of the above technical solutions, the to-be-selected item attribute determining unit is further configured to:
and if the target quantity of the at least one attribute of the article to be displayed is smaller than the display quantity, determining at least one article to be selected from the articles similar to the current article according to the target quantity and the display quantity.
On the basis of the above technical solutions, the target item determination module is configured to: and determining at least one item three-level class associated with the current to-be-selected item attribute according to the corresponding relation aiming at each to-be-selected item attribute, and determining a target item according to the task amount corresponding to the at least one item three-level class.
On the basis of the above technical solutions, the target item determination module is configured to: determining the task execution amount corresponding to each three-level class of the articles, and taking the three-level class of the articles with the highest task execution amount as a target three-level class; and taking the object corresponding to the target tertiary class as a target object.
On the basis of the technical schemes, the historical item acquisition task list is a prescription list which is provided, the prescription list comprises at least one item name, the item name is a medicament name, and the item attribute is a medicament identifier.
According to the technical scheme of the embodiment of the invention, after the current article attribute of the current article is obtained, the attribute of each article to be selected, which is matched with the current article attribute, can be determined according to the article attribute association degree relation determined by the articles in the task obtained based on the historical articles in advance, the target article can be determined according to the attribute of the article to be selected, and the determined target article can be pushed to the client side.
The device for determining the target object, provided by the embodiment of the invention, can execute the object pushing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
Example four
Fig. 11 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 11 illustrates a block diagram of an exemplary electronic device 40 suitable for use in implementing embodiments of the present invention. The electronic device 40 shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 11, electronic device 40 is embodied in the form of a general purpose computing device. The components of electronic device 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
Bus 403 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 40 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 40 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The electronic device 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 11, and commonly referred to as a "hard drive"). Although not shown in FIG. 11, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), with one or more devices that enable a user to interact with the electronic device 40, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, the electronic device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 412. As shown, the network adapter 412 communicates with the other modules of the electronic device 40 over the bus 403. It should be appreciated that although not shown in FIG. 11, other hardware and/or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 401 executes various functional applications and data processing by executing programs stored in the system memory 402, for example, to implement the item pushing method provided by the embodiment of the present invention.
EXAMPLE five
The fifth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are used for executing the item pushing method when executed by a computer processor.
The method comprises the following steps:
acquiring the current article attribute of the current article;
determining at least one article attribute to be selected matched with the current article attribute according to a predetermined article attribute association degree relation; the item attribute association degree relation is determined according to each item in each historical item acquisition task list;
and determining a target article according to the attribute of the at least one article to be selected, and pushing the information of the target article to a target client so as to display the target article at the target client.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.