Content push method, device, processor and machine-readable storage medium

The content push method addresses inefficiencies in existing systems by using directional attributes and RoaringBitmap for efficient and accurate content retrieval and delivery, enhancing retrieval efficiency and reducing costs.

CN114238426BActive Publication Date: 2024-12-20CCB FINTECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111580424.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-12-20
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

Current content push methods face inefficiencies and low accuracy due to the limitations of the ElasticSearch (ES) inverted index algorithm, leading to increased costs and retrieval bottlenecks as the number of requests grows, and there is a need for improved retrieval efficiency and accuracy in content delivery.

Method used

A content push method that involves acquiring directional attributes of a target object, determining matching content IDs from a content ID table, constructing a target content ID query index table, and using RoaringBitmap for efficient storage and retrieval of content IDs, ensuring high accuracy and efficiency in content delivery.

Benefits of technology

The method enables quick and accurate retrieval and delivery of content information, supporting large-capacity requests with high retrieval efficiency and accuracy, reducing storage costs and improving system throughput.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114238426B_ABST
    Figure CN114238426B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a content push method device, a processor and a machine-readable storage medium, which relate to the field of information push technology. The method includes: obtaining all content IDs whose number of second directional attributes is not greater than the number of first directional attributes from a content ID table, the content ID table including different content IDs and their corresponding second directional attributes; determining that the content ID whose second directional attribute matches the first directional attribute is the target content ID to be pushed; obtaining the target content information to be pushed based on the target content ID to be pushed, and pushing the target content information to the target object. Through the above technical solution, the present application can quickly and accurately retrieve and query the content information that matches the directional attributes of the target object according to the directional attributes of the target object, and push the corresponding content information to the target object, can support large-capacity content retrieval requests, and has the advantages of high retrieval efficiency and high push accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of information push, and in particular to a content push method, a content push device, a processor and a machine-readable storage medium. Background Art

[0002] Content push is to return qualified content based on the traffic characteristics and user characteristics of each content request, so as to increase the click-through rate and conversion rate of content delivery. The current content push method is mainly based on the ES / TS inverted index algorithm. The content can be easily retrieved through ES (ElasticSearch), but with the increase of business, the retrieval efficiency of ES has become a bottleneck. The only way to cope with the increase in the number of requests is to increase the number of ES copies, and the cost is difficult to control. In addition, the current content push method still has the problems of low efficiency and low push accuracy. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a content push method, a content push device, a processor and a machine-readable storage medium.

[0004] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a content push method, comprising:

[0005] Acquire a first directional attribute of the target object, and determine the number of the first directional attributes;

[0006] Acquire all content IDs whose number of second directional attributes is not greater than the number of the first directional attributes from a content ID table, wherein the content ID table includes different content IDs and their corresponding second directional attributes;

[0007] Determine the content ID whose second directional attribute matches the first directional attribute as the target content ID to be pushed;

[0008] The target content information to be pushed is acquired according to the target content ID to be pushed, and the target content information is pushed to the target object.

[0009] Optionally, the method further comprises:

[0010] All content IDs obtained from the content ID table and their corresponding second directional attributes are sorted in order of the number of second directional attributes from low to high, and a target content ID query index table is constructed, wherein the target content ID query index table is composed of a set of content IDs with the same number of second directional attributes.

[0011] Optionally, determining that the content ID whose second directional attribute matches the first directional attribute is the target content ID to be pushed includes:

[0012] Matching the second directional attribute of the content ID in each set with the first directional attribute respectively, to determine the target content ID in each set;

[0013] The target content IDs in all the sets are used as the target content IDs to be pushed.

[0014] Optionally, if there is a set in the target content ID query index table in which the number of second directional attributes is the same as the number of first directional attributes, a content ID in which the second directional attribute is consistent with the first directional attribute in the set is used as the target content ID in the set.

[0015] Optionally, the number of the first directional attributes is N;

[0016] If there is no set in the target content ID query index table where the number of second directional attributes is the same as the number N of first directional attributes, for each set, the content ID with a second directional attribute that is consistent with any M of the N first directional attributes is used as the target content ID of the current set, where M is the number of second directional attributes of the content ID of the current set.

[0017] Optionally, the method further comprises:

[0018] Encode all content IDs in sequence;

[0019] For each content ID, use the encoded content ID as the key and the content ID as the value to obtain the bitmap data of the content ID;

[0020] The bitmap data of all content IDs are stored in a database based on RoaringBitmap in a coding order, and a content ID index table is constructed, wherein the content IDs in the content ID index table correspond one to one with the content IDs in the content ID table;

[0021] The step of acquiring all content IDs whose number of second directional attributes is not greater than that of the first directional attributes from the content ID table includes:

[0022] All content IDs in the content ID table whose number of second directional attributes is not greater than that of the first directional attributes are acquired through the content ID index table.

[0023] A second aspect of the present application provides a content push device, including:

[0024] A data acquisition module, configured to acquire a first directional attribute of a target object; and

[0025] acquiring a target content ID from a content ID table in which the number of second directional attributes is not greater than the number of the first directional attributes, the content ID table including different target content IDs and their corresponding second directional attributes;

[0026] A matching module, configured to determine a content ID whose second directional attribute matches the first directional attribute as a target content ID to be pushed;

[0027] The information push module is configured to obtain the target content information to be pushed according to the target content ID to be pushed, and push the target content information to the target object.

[0028] A third aspect of the present application provides a processor configured to execute the above-mentioned content push method.

[0029] A fourth aspect of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned content push method.

[0030] A fifth aspect of the present application provides a computer program product, including a computer program, which implements the above-mentioned content push method when executed by a processor.

[0031] Through the above technical scheme, the present application can quickly and accurately retrieve and query content information that matches the directional attributes of the target object based on the directional attributes of the target object, and push the corresponding content information to the target object. It can support large-capacity content retrieval requests and has the advantages of high retrieval efficiency and high push accuracy.

[0032] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0034] Figure 1 A method flow chart of a content push method according to an embodiment of the present application is schematically shown;

[0035] Figure 2 The following is a schematic diagram of the push process of the target advertisement in the embodiment of the present application;

[0036] Figure 3 A schematic block diagram of a content pushing device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0038] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0039] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0040] like Figure 1 As shown, in one embodiment of the present application, a content push method is provided, including:

[0041] S100, obtaining a first directional attribute of a target object, and determining the number of the first directional attributes;

[0042] S200, acquiring all content IDs whose number of second directional attributes is not greater than that of first directional attributes from a content ID table, wherein the content ID table includes different content IDs and their corresponding second directional attributes;

[0043] S300, determining that the content ID whose second directional attribute matches the first directional attribute is the target content ID to be pushed;

[0044] S400: Acquire target content information to be pushed according to the target content ID to be pushed, and push the target content information to the target object.

[0045] In this way, the present application can quickly and accurately retrieve content information that matches the directional attributes of the target object based on the directional attributes of the target object, and push the corresponding content information to the target object. It can support large-capacity content retrieval requests and has the advantages of high retrieval efficiency and high push accuracy.

[0046] It is understandable that the push of content information includes but is not limited to the push of product information, the push of news information, the push of literary works and the push of advertisements. This embodiment takes the push of advertisements as an example. At present, when pushing advertisements, the corresponding advertisement information is usually retrieved and queried based on the user's directional attributes for push. Among them, the user's directional attributes include but are not limited to region, client, mobile phone model, age, personal hobbies, etc. In step S100, the first directional attribute of the target object can be obtained based on a large amount of data generated by the user in the process of interaction between the electronic device and the server through legal collection. These data can characterize the user's preferences, financial status or travel mode, and then when pushing advertisements to the user, it can more accurately retrieve and query the advertisement information that fits the user's preferences for push. It is understandable that when this method is applied to advertisement push, the content ID table, content ID and content information can be the corresponding advertisement ID table, advertisement ID and advertisement information; and when this method is applied to news push, the content ID table, content ID and content information can be the corresponding news ID table, news ID and news information, and so on.

[0047] In step S200, the advertisement ID table is used to store the correspondence between the advertisement ID and the corresponding second directional attribute, wherein the second directional attribute corresponding to the advertisement ID is used to characterize that the push object of the advertisement information corresponding to the current advertisement ID is the target object matching the second directional attribute. Taking the advertisement ID table including advertisement IDs with advertisement IDs Ad1 to Ad6 as an example, as shown in Table 1, the second directional attributes corresponding to the advertisement with advertisement ID Ad1 include region, hobby and gender, and Size is the number of second directional attributes. Among them, in the second directional attribute corresponding to the advertisement with advertisement ID Ad1, the region value is Beijing, Shanghai, Wuhan, the hobby is badminton and football, and the gender is male, which characterizes that the push object of the advertisement with advertisement ID Ad1 is males in Beijing, Shanghai or Wuhan who are interested in badminton or football. It can be understood that the advertisement information corresponding to the advertisement ID can be pushed to all target objects without limitation.

[0048]

[0049] Table 1

[0050] In order to facilitate advertisement retrieval, a positive index can be constructed based on the advertisement ID table for the corresponding relationship between the advertisement ID and the second directional attribute, that is, the advertisement ID can be used as the index keyword to index all the second directional attributes corresponding to the advertisement ID, or Size can be used as the index keyword to index the corresponding advertisement ID and the second directional attribute. In a specific embodiment of the present application, the advertisement information is stored in a database, and each advertisement information is mapped to a corresponding advertisement ID, such as Figure 2 As shown in the figure, the push process of the target advertisement is as follows:

[0051] When the service starts, a forward index is built based on the advertisement data in the database;

[0052] When the advertisement data is updated, for example, when advertisement information is added or deleted, the index data is updated by means of full update, and the index data is updated and synchronized by means of incremental update through the message queue MQ;

[0053] Based on the constructed forward index, the advertisement ID is queried according to the advertisement search conditions to obtain the initial result set of the advertisement ID, the final result set is calculated according to the matching rules, and the corresponding advertisement information is retrieved from the database for push.

[0054] Among them, the advertisement search condition can be that the number of second directional attributes corresponding to the advertisement ID is not greater than the number of first directional attributes of the target object. For example, the first directional attributes of the target object include female, Beijing, and badminton, and the number thereof is 3. As can be seen from Table 1, the number of second directional attributes of Ad1 to Ad6 is not greater than 3, and the initial result set of the advertisement ID is {Ad1, Ad2, Ad3, Ad4, Ad5, Ad6}, and the initial result set obtained can fully cover the advertisement IDs whose second directional attributes include at least one of female, Beijing, and badminton. In step S300, the second directional attributes corresponding to each advertisement ID in the initial result set are matched with the first directional attributes according to the matching rules to filter out the final result set. Among them, the matching rules include but are not limited to at least one second directional attribute corresponding to the advertisement ID is consistent with any first directional attribute, or each second directional attribute corresponding to the advertisement ID is consistent with one of the first directional attributes.

[0055] The step of obtaining all advertisement IDs whose number of second directional attributes is not greater than that of first directional attributes from the advertisement ID table includes:

[0056] determining a number N of first directional attributes;

[0057] All advertisement IDs whose number of second directional attributes is N, N-1, ..., Ni are obtained in sequence through the advertisement ID table until i=N, and all advertisement IDs whose number of second directional attributes is not greater than that of first directional attributes are obtained.

[0058] Similarly, taking the first directional attributes of the target object including female, Beijing, and badminton as an example, first determine the number of first directional attributes N=3, and obtain the advertisement IDs with the second directional attribute number of 3 as {Ad1, Ad2, Ad3} through the advertisement ID table, and then obtain the advertisement ID with the second directional attribute number of 2 as {Ad5} through the advertisement ID table, and then obtain the advertisement ID with the second directional attribute number of 1 as {Ad4} through the advertisement ID table, and finally obtain the advertisement ID with the second directional attribute number of 0 as {Ad6} through the advertisement ID table, so that the initial result set of advertisement IDs is {Ad1, Ad2, Ad3, Ad4, Ad5, Ad6}.

[0059] In another specific embodiment of the present application, the method further includes:

[0060] All advertisement IDs obtained from the advertisement ID table and their corresponding second directional attributes are sorted in order of the number of second directional attributes from low to high, and a target advertisement ID query index table is constructed. The target advertisement ID query index table is composed of a set of advertisement IDs with the same number of second directional attributes.

[0061] Specifically, based on the number Size of the second directional attributes corresponding to each advertisement ID as the index keyword, a positive index of Size, the advertisement ID and the second directional attribute is constructed, and the corresponding advertisement ID and the second directional attribute are indexed to obtain a target advertisement ID query index table as shown in Table 2.

[0062]

[0063]

[0064] Table 2

[0065] In this embodiment, determining the advertisement ID whose second directional attribute matches the first directional attribute as the target advertisement ID to be pushed includes: matching the second directional attribute of the advertisement ID in each set with the first directional attribute respectively to determine the target advertisement ID in each set; and using the target advertisement IDs in all sets as the target advertisement IDs to be pushed.

[0066] Among them, if there is a set in the target advertising ID query index table in which the number of second directional attributes is the same as the number of first directional attributes, the advertising ID in which the second directional attributes are consistent with the first directional attributes in the set is used as the target advertising ID in the set; if there is no set in the target advertising ID query index table in which the number of second directional attributes is the same as the number N of first directional attributes, for each set, the advertising ID with a second directional attribute that is consistent with any M of the N first directional attributes is used as the target advertising ID of the current set, where M is the number of second directional attributes of the advertising ID of the current set.

[0067] Similarly, taking the first directional attributes of the target object including female, Beijing, and badminton as an example, first determine the number of first directional attributes N=3, query the target advertising ID query index table for the advertising ID whose second directional attribute quantity is 3, and obtain the first initial advertising ID data set as {Ad1, Ad2, Ad3}, then query the index table through the target advertising ID to obtain the advertising ID whose second directional attribute quantity is 2 as {Ad5}, then query the index table through the target advertising ID to obtain the advertising ID whose second directional attribute quantity is 1 as {Ad4}, and finally query the index table through the target advertising ID to obtain the advertising ID whose second directional attribute quantity is 0 as {Ad6}, thereby obtaining the initial result set of advertising IDs.

[0068] For the obtained advertising ID sets {Ad1, Ad2, Ad3}, {Ad5}, {Ad4} and {Ad6}, the advertising IDs are screened according to the matching rules to obtain the target advertising ID of each advertising ID set. Specifically, for the advertising ID set {Ad1, Ad2, Ad3} obtained when Size = 3, it is determined that the advertising ID with the second directional attribute consistent with the three first directional attributes in {Ad1, Ad2, Ad3} is the target advertising ID, that is, when Size = 3, the result set 1 = P (female) ∧ P (Beijing) ∧ P (badminton), and it can be obtained by querying the index table of the target advertising ID that when Size = 3, there is no target advertising ID that satisfies P (female) ∧ P (Beijing) ∧ P (badminton) at the same time.

[0069] For the advertising ID set {Ad5} obtained when Size = 2, determine that the advertising ID in {Ad5} that has a second directional attribute that is consistent with any two of the three first directional attributes is the target advertising ID, that is, when size = 2, result set 2 = [P(female) ∧P(Beijing)] ∨ [P(Beijing) ∧P(badminton)] ∨ [P(female) ∧P(badminton)], and by querying the index table of target advertising ID, it can be obtained that when Size = 2, there is no target advertising ID that simultaneously satisfies [P(female) ∧P(Beijing)] ∨ [P(Beijing) ∧P(badminton)] ∨ [P(female) ∧P(badminton)].

[0070] For the advertisement ID set {Ad4} obtained when Size=1, determine that the advertisement ID in {Ad4} that has a second directional attribute that is consistent with any one of the three first directional attributes is the target advertisement ID, that is, when size=1, the result set 3=P(female)∨P(Beijing)∨P(badminton). By querying the index table of the target advertisement ID, it can be obtained that when Size=1, the target advertisement ID that satisfies P(female)∨P(Beijing)∨P(badminton) is Ad4.

[0071] For the advertisement ID set {Ad6} obtained when Size=0, when size=0, result set 4=A(0), that is, all target advertisement IDs with size=0 are Ad6.

[0072] Then the final result set = result set 1 ∨ result set 2 ∨ result set 3 ∨ result set 4, and the target advertisement IDs to be pushed are Ad4 and Ad6.

[0073] In order to further improve query efficiency and compress data storage space, in another specific embodiment of the present application, the method further includes:

[0074] Encode all advertising IDs in sequence;

[0075] For each advertisement ID, use the encoded advertisement ID as a key and the advertisement ID as a value to obtain the bitmap data of the advertisement ID;

[0076] The bitmap data of all advertisement IDs are stored in a database based on RoaringBitmap in coding order, and an advertisement ID index table is constructed. The advertisement IDs in the advertisement ID index table correspond to the advertisement IDs in the advertisement ID table one by one.

[0077] Obtain all advertisement IDs in the advertisement ID table whose number of second targeting attributes is not greater than that of first targeting attributes, including:

[0078] All advertisement IDs in the advertisement ID table whose number of second targeting attributes is not greater than that of first targeting attributes are obtained through the advertisement ID index table.

[0079] Compared with ES, RoaringBitmap has higher query efficiency and space efficiency. Taking 10W data space as an example, after compressing the data using HashSet, SkipList and RoaringBitmap, the data size is 200K, 300K and 4K respectively. If it is stored directly by advertising ID, when there are many advertising IDs, the storage space will be very large. When the service is in a multi-threaded and high query request situation, the retrieval efficiency will be seriously affected, affecting the system throughput. This embodiment constructs a dictionary ID of the advertising ID based on RoaringBitmap, and uses RunContainer to further compress the storage space of the data when storing based on RoaringBitmap, which can effectively compress the data volume and improve query efficiency.

[0080] Specifically, all advertising IDs are encoded as long values ​​starting from 1. For example, if the advertising ID is Ad1 to Ad1000, then the advertising ID is encoded as a long value from 1 to 1000. Taking Ad1 as an example, it is stored in a key-value pair as [1, Ad1], where 1 is the key and Ad1 is the value, and [1, Ad1] is the obtained bitmap data. Furthermore, all the obtained bitmap data are arranged in order from small to large or from large to small according to the advertising ID to obtain an advertising ID index table, and the encoded long value is used as the index keyword to index the corresponding advertising ID and the second directional attribute. When a new advertisement needs to be added, the new advertisement will continue to be numbered from the current maximum number without the need to modify the previous advertisement order again. Then, when the first directional attribute of the target object is obtained, the advertisement ID can be queried through the advertisement ID index table constructed based on the dictionary ID, and the second directional attribute corresponding to each advertisement ID can be obtained from the advertisement ID table according to the advertisement ID, and then the advertisement ID query index table can be constructed according to the number of the second directional attributes. The initial result set is determined according to the matching rule based on the constructed advertisement ID query index table and the final result set is calculated, thereby determining the advertisement information pushed to the target object. At the same time, when obtaining the final result set, each dictionary ID data is an array, and the second directional attribute corresponding to the advertisement ID of the dictionary ID data is the element of the array. Since the dictionary ID is constructed based on RoaringBitmap, each array in the M arrays is ordered. The M arrays are formed into one array through quick sorting, and the first element and the Nth element in the array are compared to determine whether the element appears N times. Finally, the element that appears N times is found. The time complexity of the query process is O(Log(N)) and the space complexity is O(M*N). Compared with the traditional list query, which needs to traverse all data in all advertisement ID tables and record the number of advertisements that each element appears, it has better time efficiency.

[0081] like Figure 3 As shown, the second aspect of the present application provides a content push device, including:

[0082] A data acquisition module, configured to acquire a first directional attribute of a target object; and

[0083] acquiring a target content ID from a content ID table in which the number of second directional attributes is not greater than the number of first directional attributes, the content ID table including different target content IDs and their corresponding second directional attributes;

[0084] A matching module, configured to determine a content ID whose second directional attribute matches the first directional attribute as a target content ID to be pushed;

[0085] The information push module is configured to obtain target content information to be pushed according to the target content ID to be pushed, and push the target content information to the target object.

[0086] A third aspect of the present application provides a processor configured to execute the above-mentioned content push method.

[0087] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the above login authentication management method applied to the user end is implemented by adjusting kernel parameters.

[0088] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0089] A fourth aspect of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned content push method.

[0090] An embodiment of the present application provides a machine-readable storage medium, which stores instructions. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned login authentication management method applied to the server or the login authentication management method applied to the user.

[0091] Machine-readable storage media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of machine-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0092] A fifth aspect of the present application provides a computer program product, including a computer program, which implements the above-mentioned content push method when executed by a processor.

[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0095] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.

[0096] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0097] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0098] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A content push method, characterized in that: include: Acquire a first directional attribute of the target object, and determine the number of the first directional attributes; Acquire all content IDs whose number of second directional attributes is not greater than the number of the first directional attributes from a content ID table, wherein the content ID table includes different content IDs and their corresponding second directional attributes; Sorting all content IDs obtained from the content ID table and their corresponding second directional attributes in order of the number of second directional attributes from low to high, and constructing a target content ID query index table, wherein the target content ID query index table is composed of a set of content IDs having the same number of second directional attributes; Matching the second directional attribute of the content ID in each set with the first directional attribute respectively, to determine the target content ID in each set; Acquire target content information to be pushed according to the target content ID to be pushed, and push the target content information to the target object; The method further comprises: Encode all content IDs in sequence; For each content ID, use the encoded content ID as the key and the content ID as the value to obtain the bitmap data of the content ID; The bitmap data of all content IDs are stored in a database based on RoaringBitmap in a coding order, and a content ID index table is constructed, wherein the content IDs in the content ID index table correspond one to one with the content IDs in the content ID table; The step of acquiring all content IDs whose number of second directional attributes is not greater than that of the first directional attributes from the content ID table includes: All content IDs in the content ID table whose number of second directional attributes is not greater than that of the first directional attributes are acquired through the content ID index table.

2. The content push method according to claim 1, characterized in that: If there is a set in the target content ID query index table in which the number of second directional attributes is the same as the number of first directional attributes, the content ID in which the second directional attribute in the set is consistent with the first directional attribute is used as the target content ID in the set.

3. The content push method according to claim 1, characterized in that: The number of the first directional attributes is N; If there is no set in the target content ID query index table where the number of second directional attributes is the same as the number N of first directional attributes, for each set, the content ID with a second directional attribute that is consistent with any M of the N first directional attributes is used as the target content ID of the current set, where M is the number of second directional attributes of the content ID of the current set.

4. A content push device, characterized in that: include: A data acquisition module is configured to acquire a first directional attribute of a target object; as well as acquiring a target content ID from a content ID table in which the number of second directional attributes is not greater than the number of the first directional attributes, the content ID table including different target content IDs and their corresponding second directional attributes; a matching module configured to sort all content IDs obtained from the content ID table and their corresponding second directional attributes in order of the number of the second directional attributes from low to high, and construct a target content ID query index table, wherein the target content ID query index table is composed of a set of content IDs having the same number of second directional attributes; Matching the second directional attribute of the content ID in each set with the first directional attribute respectively, to determine the target content ID in each set; An information push module is configured to obtain target content information to be pushed according to the target content ID to be pushed, and push the target content information to the target object; The data acquisition module is further configured to encode all content IDs in sequence; For each content ID, use the encoded content ID as the key and the content ID as the value to obtain the bitmap data of the content ID; The bitmap data of all content IDs are stored in a database based on RoaringBitmap in a coding order, and a content ID index table is constructed, wherein the content IDs in the content ID index table correspond one to one with the content IDs in the content ID table; The step of acquiring all content IDs whose number of second directional attributes is not greater than that of the first directional attributes from the content ID table includes: All content IDs in the content ID table whose number of second directional attributes is not greater than that of the first directional attributes are acquired through the content ID index table.

5. A processor, characterized in that: The method is configured to execute the content pushing method described in any one of claims 1 to 3.

6. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the content pushing method as claimed in any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that The computer program implements the content pushing method according to any one of claims 1 to 3 when executed by a processor.

Citation Information

Patent Citations

  • Information pushing method and device

    CN112163150A

  • Information processing method based on block chain and cloud computing and digital financial service center

    CN112199733A

  • Push content determination method and device and equipment

    CN113744004A

  • Advertisement delivery system, advertisement delivery server, and program

    JP2016051285A