A method, device and computer equipment for controlling exposure of promotional content

By reading and updating the history of the storage space when receiving a promotional content request from the terminal, the new advertising content is determined and returned, which solves the problem of users seeing the same advertisement repeatedly in a short period of time and improves the effectiveness of the advertising freshness strategy and user experience.

CN111612530BActive Publication Date: 2025-09-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010372561.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-06
Publication Date
2025-09-16
Estimated Expiration
2040-05-06

AI Technical Summary

Technical Problem

In existing advertising freshness strategies, users may see the same ads repeatedly in a short period of time, resulting in poor effectiveness of the freshness strategy and poor user experience.

Method used

By receiving the promotion content exposure request of the terminal, reading the historical return record matching the target user identifier in the designated storage space, determining the second promotion content to be exposed from the promotion content library, generating the current return record, and updating the historical return record in the designated storage space.

Benefits of technology

It effectively avoids repeatedly exposing the same advertisement to users in a short period of time, improves the effectiveness of the freshness strategy, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111612530B_ABST
    Figure CN111612530B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, apparatus, and computer device for controlling the exposure of promotional content. The method comprises: receiving a promotional content exposure request from a first terminal, the promotional content exposure request carrying a target user identifier corresponding to the first terminal; reading a target historical return record matching the target user identifier from a designated storage space; the designated storage space storing a correspondence between the user identifier and the historical return record, the historical return record representing a first promotional content returned to the user corresponding to the user identifier within a preset historical time period; determining second promotional content to be exposed from a promotional content library based on the target historical return record; returning the second promotional content to the first terminal, generating a current return record corresponding to the return operation; and updating the target historical return record in the designated storage space based on the current return record. The present invention improves the effectiveness of freshness strategies and enhances user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for controlling exposure of promotional content, and a computer device. Background Art

[0002] Ad freshness strategies are designed to prevent users from being repeatedly exposed to the same or similar ads in a short period of time, thereby protecting the user experience. Currently, a common freshness strategy is based on a user's exposure history. Specifically, a user terminal requests an ad, the ad system responds, the terminal views the ad, and a record of the exposure is generated. The terminal then sends this record to the ad system, which then obtains the user's exposure history. The ad system can then use this history to avoid repeatedly displaying previously exposed ads to the user the next time it returns an ad.

[0003] However, in the above strategy, there is a certain delay in the exposure record flowing back to the advertising system. If the user's second request in a short period of time occurs before the advertisement corresponding to the first request is exposed, that is, the terminal's exposure process is: first advertisement exposure request → second advertisement exposure request → exposure of first advertisement → exposure of second advertisement. Since the advertising system cannot obtain the latest exposure record corresponding to the first request when receiving the second request (the terminal has not yet been exposed to the first advertisement, and no corresponding exposure record will be generated), the advertising system may return the same advertisement as the first request for the second request (that is, the second advertisement is the same as the first advertisement), causing the user to see the same advertisement in a short period of time, which is a freshness anomaly, resulting in poor effectiveness of the freshness strategy and poor user experience. Summary of the Invention

[0004] In order to solve the problems of the prior art, the embodiments of the present invention provide a method, apparatus, and computer device for controlling the exposure of promotional content. The technical solution is as follows:

[0005] In one aspect, a method for controlling exposure of promotional content is provided, the method comprising:

[0006] receiving a promotional content exposure request from a first terminal, wherein the promotional content exposure request carries a target user identifier corresponding to the first terminal;

[0007] Reading a target historical return record that matches the target user identifier from a designated storage space; the designated storage space stores a correspondence between user identifiers and historical return records, the historical return record representing a first promotional content returned to a user corresponding to the user identifier within a preset historical time period, the user identifier including the target user identifier;

[0008] Determining second promotional content to be exposed from a promotional content library according to the target history return record;

[0009] Returning the second promotional content to be exposed to the first terminal, and generating a current return record corresponding to the return operation;

[0010] The target historical return record in the designated storage space is updated according to the current return record.

[0011] In another aspect, a device for controlling exposure of promotional content is provided, the device comprising:

[0012] a receiving module, configured to receive a promotional content exposure request from a first terminal, wherein the promotional content exposure request carries a target user identifier corresponding to the first terminal;

[0013] a reading module configured to read a target historical response record matching the target user identifier from a designated storage space; the designated storage space storing a correspondence between the user identifier and the historical response record, the historical response record representing a first promotional content returned to the user corresponding to the user identifier within a preset historical time period;

[0014] a first determining module, configured to determine, from a promotional content library, second promotional content to be exposed based on the target history return record;

[0015] a record generating module, configured to return the second promotional content to be exposed to the first terminal and generate a current return record corresponding to the return operation;

[0016] An updating module is configured to update the target historical return record in the designated storage space according to the current return record.

[0017] Optionally, the record generation module includes:

[0018] A first acquisition module is configured to acquire a request timestamp of the promotion content exposure request to obtain a first request timestamp;

[0019] A second acquisition module is used to obtain identification information of the second promotional content to be exposed;

[0020] A generating submodule is used to generate the current return record according to the first request timestamp and the identification information.

[0021] Optionally, the update module includes:

[0022] a first determining module, configured to determine whether a request timestamp corresponding to the first promotional content is within a preset historical time period before the first request timestamp;

[0023] a second determining module, configured to determine, when the result of the determination by the first determining module is negative, that the record corresponding to the first promotional content is a record to be deleted;

[0024] A deletion module, configured to delete the record to be deleted from the target historical return record;

[0025] An adding module, configured to add the current return record as a new record to the target historical return record to obtain an updated target historical return record;

[0026] A writing module is used to rewrite the updated target historical return record into the designated storage space.

[0027] Optionally, the adding module includes:

[0028] An adding submodule, configured to add the current return record as a new record to the target historical return record to obtain a first target historical return record;

[0029] A statistics module, configured to count the total number of records in the first target historical return records;

[0030] a sorting module, configured to sort the records in the target historical return records in descending order according to the request timestamp in each record when the total number is greater than a preset threshold;

[0031] The third acquisition module is used to acquire a preset number of records that are sorted first as the updated target historical return records.

[0032] Optionally, the first determining module includes:

[0033] a third determining module, configured to determine a first promotional content in the promotional content library according to the target history return record;

[0034] a fourth determining module, configured to determine promotional content other than the first promotional content in the promotional content library as candidate promotional content;

[0035] The fifth determining module is configured to determine the second promotional content to be exposed from the candidate promotional content.

[0036] Optionally, the first determining module includes:

[0037] a sixth determining module, configured to determine a first promotional content in the promotional content library according to the target history return record;

[0038] A weight adjustment module, configured to reduce the weight corresponding to the first promotional content according to a preset weight reduction strategy to obtain a first weight;

[0039] The seventh determining module is configured to determine the second promotional content to be exposed in the promotional content library according to the first weight.

[0040] Optionally, the correspondence is a correspondence between a user identifier, an application identifier of a terminal, and a historical return record; the promotional content exposure request further carries a target application identifier of the first terminal;

[0041] Accordingly, the reading module includes:

[0042] A first correspondence determination module, configured to determine a correspondence in a specified storage space that matches the target user identifier, and obtain a first target correspondence;

[0043] A second correspondence determination module, configured to determine a second target correspondence in the first target correspondence that matches the target application identifier;

[0044] The reading submodule is configured to use the historical return record in the second target corresponding relationship as the target historical return record and read the target historical return record.

[0045] Optionally, the device further includes:

[0046] The second judgment module is used to judge whether the target application identifier matches a preset application identifier.

[0047] On the other hand, a computer device is provided, including a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the above-mentioned exposure control method of promotional content.

[0048] On the other hand, a computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the exposure control method of promotional content as described above.

[0049] In an embodiment of the present invention, upon receiving a promotional content exposure request from a first terminal, a target historical return record matching a target user identifier of the first terminal is read from a designated storage space. The designated storage space stores a correspondence between user identifiers and historical return records. The historical return record represents the first promotional content returned to the user with the corresponding user identifier within a preset historical time period. Second promotional content to be exposed is then determined from a promotional content library based on the target historical return record. The second promotional content to be exposed is returned to the first terminal, and a current return record corresponding to the return operation is generated. The target historical return record in the designated storage space is updated based on the current return record. In this way, the determination of the second promotional content is independent of the actual exposure of the terminal. Even if a second request from the terminal user occurs within a short period of time before the advertisement corresponding to the first request is exposed, the advertisement returned for the first request can be determined based on the user's historical return record in the designated storage space. Consequently, when returning an advertisement for the second request, it is possible to avoid repeatedly exposing an already exposed advertisement to the user within a short period of time, thereby improving the effectiveness of the freshness strategy and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;

[0052] Figure 2 This is a flow chart of a method for controlling exposure of promotional content provided by an embodiment of the present invention;

[0053] Figure 3 1 is a flow chart of another method for controlling exposure of promotional content provided by an embodiment of the present invention;

[0054] Figure 4 This is a flow chart of an advertisement exposure control method provided by an embodiment of the present invention;

[0055] Figure 5 yes Figure 4 A schematic diagram of an optional example of updating the historical return record in the CKV system involved in step S417;

[0056] Figure 6 1 is a schematic structural diagram of a promotional content exposure control device provided by an embodiment of the present invention;

[0057] Figure 7 This is a hardware structure block diagram of a server provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0059] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0060] See also Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present invention, which may include a terminal 110, a traffic terminal 120, a promotional content system 130, and a distributed cloud storage system 140. Promotional content refers to product or service information disseminated to users through media to promote products or services. For example, the promotional content may be an advertisement.

[0061] Terminal 110 may be, but is not limited to, a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, etc. Terminal 110 may be configured with a variety of client software, each of which may be used to implement one or more functions. The client software may be an application, which may include, but is not limited to, information applications, instant messaging applications, shopping applications, and the like.

[0062] The traffic end 120 can be connected to the terminal 110 for communication via a wireless network or a wired network. The traffic end 120 corresponds to the application in the terminal and is a server that provides background services for the application. For example, when the application is an information application, the traffic end 120 can be a server that provides background services for the information application. When the application is an instant messaging application, the traffic end 120 can be a server that provides background services for the instant messaging application. When the application is a shopping application, the traffic end 120 can be a server that provides background services for the shopping application. It is understandable that Figure 1 Only one traffic end 120 is illustrated. In actual applications, the traffic end 120 connected to and communicating with the terminal 110 is associated with the application actually configured in the terminal 110. When multiple applications are configured in the terminal 110, there may be multiple traffic ends 120 corresponding to the multiple applications connected to and communicating with the terminal 110.

[0063] In actual applications, the user of the terminal 110 can log in to an application using a pre-registered user account and password. When using the application, for example, entering a certain page of the application, if the application has pre-configured the display of promotional content such as advertisements on the page, the application can send a promotional content exposure request to the corresponding traffic end 120 (the application's server) based on the corresponding display configuration. After receiving the promotional content exposure request, the corresponding traffic end 120 (the application's server) can send the request to the promotional content system 130.

[0064] The promotional content system 130 may include an exposure control server 131 and a promotional content library 132, wherein the promotional content library 132 is used to store uploaded promotional content, and the exposure control server 131 is used to receive a promotional content exposure request from a first terminal sent by the traffic terminal 120; in response to the promotional content exposure request, the target historical return record matching the target user identifier of the first terminal is read from the distributed cloud storage system 140, wherein the distributed cloud storage system 140 stores a correspondence between the user identifier and the historical return record, and the historical return record represents the first promotional content returned to the user corresponding to the corresponding user identifier within a preset historical time period; then, based on the target historical return record, the second promotional content to be exposed is determined from the promotional content library 132, the second promotional content to be exposed is returned to the first terminal, and a current return record corresponding to the return operation is generated at the same time, and the target historical return record in the distributed cloud storage system 140 is updated based on the current return record. After receiving the returned second promotional content, the first terminal displays it, thereby exposing the second promotional content to the corresponding target user, and can effectively avoid repeatedly exposing the already exposed advertisement to the user in a short period of time, avoid freshness anomalies, improve the effectiveness of the freshness strategy, and enhance the user experience.

[0065] The server in the embodiments of the present invention can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal and the server can be connected directly or indirectly via wired or wireless communication, which is not limited in this application.

[0066] In one possible implementation, the terminal 110, the traffic terminal 120, the promotion content system 130, and the distributed cloud storage system 140 can all be node devices in the blockchain system, capable of sharing the acquired and generated information with other node devices in the blockchain system, thereby realizing information sharing among multiple node devices.

[0067] Embodiments of the present invention utilize cloud technology to control the exposure of promotional content. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. Cloud computing can form a resource pool for on-demand, flexible, and convenient use. Cloud computing technology will become a key support. Cloud computing refers to the delivery and usage model of IT infrastructure, enabling on-demand and scalable access to required resources over the network. In a broader sense, cloud computing refers to the delivery and usage model of services, enabling on-demand and scalable access to required services over the network. These services can be IT-related, software-related, internet-related, or other services. Cloud computing is the product of the integration of traditional computer and network technologies, including grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing. Driven by the growth of the internet, real-time data streams, and the diversification of connected devices, as well as the demands for search services, social networking, mobile commerce, and open collaboration, cloud computing has rapidly developed. Different from previous parallel distributed computing, the emergence of cloud computing will promote revolutionary changes in the entire Internet model and enterprise management model in terms of concept.

[0068] Cloud storage is a new concept that has evolved from the concept of cloud computing. A distributed cloud storage system (hereafter referred to as a storage system) is a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (also known as storage nodes) on a network through application software or application interfaces to work together and provide data storage and service access. Currently, storage systems create logical volumes. When creating a logical volume, physical storage space is allocated for each logical volume. This physical storage space may consist of disks on a single storage device or several storage devices. When a client stores data on a logical volume, it stores the data on a file system. The file system divides the data into multiple parts, each of which is an object. An object contains not only the data but also additional information such as the data identifier (ID). The file system writes each object to the physical storage space of the logical volume and records the storage location of each object. When a client requests data access, the file system can provide access based on the storage location information of each object. The storage system allocates physical storage space to logical volumes by pre-dividing the physical storage space into stripes based on the estimated capacity of the objects to be stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the Redundant Array of Independent Disks (RAID) groupings. A logical volume can be understood as a stripe, thereby allocating physical storage space to the logical volume.

[0069] See also Figure 2 , which is a flow chart of a method for controlling exposure of promotional content provided by an embodiment of the present invention, which can be applied to Figure 1 The exposure control server 131 in the embodiment. It should be noted that this specification provides the method operation steps as described in the embodiment or flowchart, but based on conventional or non-creative work, more or fewer operation steps may be included. The order of steps listed in the embodiment is only one way of executing the steps among many steps, and does not represent the only execution order. When the actual system or product is executed, it can be executed in sequence or in parallel according to the method shown in the embodiment or the accompanying drawings (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 2 As shown, the method may include:

[0070] S201: Receive a promotional content exposure request from a first terminal.

[0071] The promotional content exposure request carries a target user identifier corresponding to the first terminal. The first terminal refers to the terminal that sends the promotional content exposure request, and the target user identifier may be a user account used to log in to the target application in the first terminal.

[0072] In actual applications, before sending a promotional content exposure request, the first terminal needs to first obtain a promotional content exposure instruction. In one possible implementation, the first terminal may obtain the promotional content exposure instruction in the following three ways, including but not limited to:

[0073] Method 1: When the first terminal detects that the state has changed from the non-logged-in state to the logged-in state, that is, when the user successfully logs into the target application, the promotion content exposure instruction is automatically triggered. The first terminal then obtains the promotion content exposure instruction and sends a promotion content exposure request.

[0074] Method 2: When the first terminal detects that a new page is currently opened in the target application and the new page has a display configuration for promotional content, the promotional content exposure instruction is automatically triggered. The first terminal then obtains the promotional content exposure instruction and sends a promotional content exposure request.

[0075] Method 3: Preset a reference time interval for refreshing the displayed promotional content. The target application automatically triggers a promotional content exposure instruction every reference time interval. The reference time interval can be set according to actual conditions and is not specifically limited in this embodiment of the present invention.

[0076] S203: Read the target historical return record that matches the target user identifier from the designated storage space.

[0077] The designated storage space stores a correspondence between user identifiers and historical response records, each of which represents the first promotional content returned to a user corresponding to the user identifier within a preset historical time period. The user identifier includes the target user identifier. The user identifier uniquely identifies a user of an application on the terminal. Specifically, the user identifier may be a user account used by the user to log into the application on the terminal.

[0078] The historical return records may include records corresponding to return operations performed by the exposure control server in response to promotional content exposure requests within a preset historical time period. Each record may include identification information of the first promotional content returned to the user with the corresponding user identifier in the corresponding return operation. The identification information of the promotional content is used to uniquely identify the promotional content in the promotional content library. The preset historical time period may be set as needed, for example, the previous 5 minutes, the previous 10 minutes, etc.

[0079] In practical applications, the designated storage space may be a distributed cloud storage system, and the correspondence between the user identifier and the historical return record may be stored in the distributed cloud storage system in a key-value manner. The distributed cloud storage system may include, but is not limited to, KV storage service systems such as CKV system, Memcached system, and Redis system.

[0080] In one possible implementation, the key can be a user ID, and the corresponding value can be a historical return record. For example, the corresponding relationship can be expressed as User1-->[ad1, ad2, ad3], where User1 is the user ID, [ad1, ad2, ad3] is the historical return record for User1, and ad1, ad2, and ad3 are the records corresponding to the return operations performed by the exposure control server in response to the promotional content exposure request within a preset historical time period. The records include identification information of the promotional content (i.e., the first promotional content) returned to User1 in each return operation. When reading the target historical return record from the designated storage space, the exposure control server can read the value in the corresponding relationship with the target user ID as the key to obtain the target historical return record.

[0081] In another possible implementation, the key may also be the user identifier and the application identifier of the terminal, that is, the designated storage space stores the correspondence between the user identifier, the application identifier of the terminal, and the historical return record, wherein the application identifier is used to uniquely identify the application of the terminal. For example, the correspondence may be expressed as User1-->Site1-->[ad1, ad2, ad3], wherein User1 is the user identifier, Site1 is the application identifier of the terminal, and [ad1, ad2, ad3] is the historical return record corresponding to User1 and Site1. In the specific scenario of this correspondence, the promotional content exposure request also carries the target application identifier of the first terminal, which is used to identify the target application in the first terminal, and the target application is the application logged in by the target user identifier on the first terminal.

[0082] Correspondingly, the exposure control server reading the target historical return record from the designated storage space may include: determining a correspondence in the designated storage space that matches the target user identifier to obtain a first target correspondence; determining a second target correspondence in the first target correspondence that matches the target application identifier, using the historical return record in the second target correspondence as the target historical return record, and reading the target historical return record.

[0083] To facilitate updating of the corresponding historical return records during subsequent return operations, in one possible implementation, each record in the historical return records may also include a request timestamp for the promotional content exposure request corresponding to the return operation. This request timestamp indicates the time when the exposure control server received the promotional content exposure request. For example, in a case where the designated storage space stores the correspondence between user identifiers, terminal application identifiers, and historical return records, Table 1 below provides an example of the correspondence stored in the designated storage space.

[0084] Table 1

[0085] User ID Application ID of the terminal Historical return records User1 Site1 [(time1,ad1),(time2,ad2)] User2 Site1 [(time3,ad3),(time4,ad4)] User1 Site2 [(time5,ad5)] User3 Site3 [(time6,ad6),(time7,ad7),(time8,ad8)]

[0086] Taking the corresponding relationship User1-->Site1-->[(time1, ad1), (time2, ad2)] in Table 1 as an example, [(time1, ad1), (time2, ad2)] are the historical return records corresponding to User1 and Site1, (time1, ad1) and (time2, ad2) are respectively the records corresponding to the return operation of the exposure control server in response to the promotion content exposure request within a preset historical time period. The record includes the identification information (such as ad1 and ad2) of the promotion content (i.e., the first promotion content) of the user User1 returned to Site1 in the return operation and the request timestamp (such as time1 and time2) of the promotion content exposure request corresponding to the return operation. The request timestamp is the time when the exposure control server receives the promotion content exposure request.

[0087] It can be understood that the designated storage space can arrange the records in each historical return record in order according to the order of the request timestamps corresponding to the records in the historical return record.

[0088] S205: Determine second promotional content to be exposed from a promotional content library according to the target history return record.

[0089] Specifically, the exposure control server reads the target historical return record and can obtain the record in the target historical return record, and then obtain the identification information of the promotional content (i.e., the first promotional content) that the exposure control server has returned to the user corresponding to the target user identifier within a preset historical time period, so that the first promotional content in the promotional content library can be determined based on the identification information of the first promotional content, and the second promotional content to be exposed in the promotional content library can be determined based on the first promotional content.

[0090] In one possible implementation, the exposure control server may determine, from the promotional content library, the second promotional content to be exposed based on the target historical return records, by: determining, based on the target historical return records, the first promotional content in the promotional content library; identifying promotional content in the promotional content library other than the first promotional content as candidate promotional content; and then determining the second promotional content to be exposed from the candidate promotional content. Because the first promotional content is not included in the candidate promotional content, the second promotional content to be exposed determined based on the candidate promotional content will not overlap with the first promotional content. This avoids repeated exposure of promotional content to a user identified by the target user within a short period of time, thereby improving the effectiveness of the freshness strategy and enhancing the user experience.

[0091] In one possible implementation, a promotional content library may maintain a mapping relationship between promotional content and application identifiers. Each application identifier in the mapping relationship may correspond to at least one promotional content, indicating that the at least one promotional content can use the application corresponding to the application identifier as an exposure platform. In a specific implementation, the mapping relationship may be generated based on a delivery agreement between the provider of the promotional content and the application provider corresponding to the application identifier. Accordingly, the exposure control server may determine the second promotional content to be exposed from the candidate promotional content by: determining a candidate mapping relationship that matches the candidate promotional content in the mapping relationship between promotional content and application identifiers; obtaining a target application identifier carried in the promotional content exposure request; matching the target application identifier with the application identifier in the candidate mapping relationship to determine a matching target mapping relationship; and determining the second promotional content to be exposed from at least one target promotional content corresponding to the target mapping relationship. For example, a target promotional content may be randomly selected from the at least one target promotional content as the second promotional content to be exposed. The at least one target promotional content may also be sorted in descending order according to a score provided by the system, with the target promotional content ranked higher being the second promotional content to be exposed.

[0092] In actual applications, when determining the second promotional content to be exposed from the promotional content library, a weight score is generally calculated for each promotional content based on the weight of each promotional content in the promotional content library. The promotional content in the promotional content library is then sorted according to the weight score, and the promotional content with the highest ranking is selected as the second promotional content to be exposed. Based on this, in another possible embodiment, the exposure control server may determine the second promotional content to be exposed from the promotional content library based on the target historical return record, which may include: determining the first promotional content in the promotional content library based on the target historical return record, reducing the weight corresponding to the first promotional content according to a preset de-weighting strategy to obtain a first weight, and then determining the second promotional content to be exposed in the promotional content library based on the first weight. The preset de-weighting strategy can determine the percentage of weight reduction based on actual conditions, for example, it can be set to reduce the weight by 50%. Since the weight of the first promotional content is reduced, the weight score calculated based on the reduced weight is also reduced. When sorting based on the weight score, the probability of the first promotional content being ranked first can be greatly reduced, that is, the probability of the first promotional content being selected as the second promotional content to be exposed is greatly reduced, thereby greatly reducing the probability of repeatedly exposing the first promotional content to the user corresponding to the target user identifier in the short term, thereby effectively avoiding freshness anomalies and improving the effectiveness of the freshness strategy.

[0093] S207: Return the second promotional content to be exposed to the first terminal, and generate a current return record corresponding to the return operation.

[0094] Specifically, after determining the second promotional content to be exposed, the exposure control server returns the promotional content to be exposed to the first terminal, so that the first terminal can expose the received second promotional content to the user corresponding to the target user identifier.

[0095] In an embodiment of the present specification, when returning the second promotional content to be exposed, the exposure control server may synchronously generate a current return record corresponding to the return operation. Specifically, the information contained in the current return record matches the information contained in the historical return record stored in the designated storage space. That is, if the record in the historical return record is the identification information of the returned promotional content, then the current return record includes the identification information of the second promotional content returned corresponding to the current return operation. If the record in the historical return record includes the identification information of the returned promotional content and the corresponding request timestamp, then the current return record includes the identification information of the second promotional content returned corresponding to the current return operation and the request timestamp of the promotional content exposure request corresponding to the current return operation. In a specific implementation, the current return record may be a small text data (i.e., a cookie) of no more than 4KB.

[0096] Based on this, in a possible implementation, the exposure control server generates a current return record corresponding to the return operation, which may include: obtaining a request timestamp of a promotional content exposure request to obtain a first request timestamp, where the promotional content exposure request is a promotional content exposure request corresponding to the current return operation; obtaining identification information of the second promotional content to be exposed; and generating a current return record based on the first timestamp and the identification information of the second promotional content to be exposed.

[0097] S209: Update the target historical return record in the designated storage space according to the current return record.

[0098] The updating includes writing the current return record into the target historical return record in the designated storage space.

[0099] In order to ensure the exposure rate of the promotional content while avoiding freshness anomalies, in one possible implementation, the exposure control server may update the target historical return records in the designated storage space according to the current return records, including the following steps:

[0100] (1) Determine whether the request timestamp corresponding to the first promotional content is within a preset historical time period before the first request timestamp. Specifically, for each record in the target historical return records, determine whether the request timestamp in the record is within the preset historical time period before the first request timestamp. If not, it indicates that the time of the record is far from the current time, and step (2) can be executed.

[0101] (2) Determining the record corresponding to the first promotional content as a record to be deleted. When it is determined that the time of a certain record in the target historical return record is far away from the current time, it can be determined that the first promotional content in the record has been exposed to the corresponding user for a period of time, and subsequent exposure of the first promotional content to the user will not cause discomfort to the user, that is, it does not constitute repeated exposure in a short period of time. In this case, the record in the target historical return record corresponding to the first promotional content can be determined as a record to be deleted.

[0102] (3) Deleting the record to be deleted from the target history return record. After a record is deleted from the target history return record, the first promotional content corresponding to the deleted record can be used as the promotional content to be exposed in the subsequent promotional content exposure request, thereby ensuring the exposure rate of each promotional content in the promotional content library.

[0103] (4) Add the current return record as a new record to the target historical return record to obtain an updated target historical return record.

[0104] It can be understood that when the current return record is added as a new record to the target historical return record, the new record can be added to the header of the target historical return record.

[0105] In order to reduce the storage amount, in one possible implementation, the current return record is added as a new record to the target historical return record. The updated target historical return record may include:

[0106] The current return record is added as a new record to the target historical return record to obtain a first target historical return record; the total number of records in the first target historical return record is counted, and when the total number is greater than a preset threshold, the records in the target historical return record are sorted in descending order according to the request timestamp in each record. Specifically, in the descending order, the records in the target historical return record can be sorted in order from the request timestamp to the current system time. For example, assuming the current system time is 14:55, the records after descending order may be (14:54, ad1), (14:52, ad2), (14:50, ad3), (14:38, ad4). The preset threshold can be set according to actual needs, for example, 15 records; and the preset number of records ranked first are obtained as the updated target historical return record. It is understood that obtaining the preset number of records ranked first can be directly obtaining these records or deleting the records other than these records in the first target historical return record, with the remaining records being the updated target historical return record.

[0107] (5) Rewrite the updated target history return record into the designated storage space.

[0108] In the embodiments of this specification, in order to reduce excessive storage, one possible implementation method is to set an expiration date for the new record after the current return record is updated to the target historical return record. This expiration date is used to represent the effective storage duration of the record. In other words, each historical return record in the designated storage space has a corresponding expiration date. The designated storage space can monitor the expiration date of each record in the historical return record. When a record exceeds the expiration date, the record is determined to be expired data and deleted. The expiration date of the record can be set and adjusted based on the actual capacity of the designated storage space. For example, the expiration date can be set to 1 month, 3 months, etc.

[0109] In actual applications, in order to improve data storage efficiency, enable the historical return records in the designated storage space to be updated in a timely manner, and improve the accuracy of exposure control, a data channel can be added between the promotion content system and the designated storage space, and the data channel can be used to isolate the promotion content system and the write service. Specifically, the data channel can be a distributed message middleware (such as TDbank, Kafka, etc.). The promotion content system can write the current return record to the distributed message middleware with the target user identifier as the key or the target user identifier and the target application identifier as the key, and then consume the data in the distributed message middleware in real time through the streaming computing service, read the target historical return record in the designated storage space according to the key in the consumed data, and update the read target historical return record according to the current return record corresponding to the key in the consumed data, and rewrite the updated target historical return record to the designated storage space.

[0110] Considering that some applications in actual applications do not need to control the exposure of promotional content to their users due to their own particularities, that is, they are allowed to repeatedly expose the same or similar promotional content to their users in a short period of time, such as the application corresponding to the search ad slot. Based on this, in order to improve the flexibility of the exposure control of promotional content in the embodiments of the present invention, in a possible implementation method, Figure 3 A flowchart of another method for controlling exposure of promotional content is provided, which may include:

[0111] S301: Receive a promotion content exposure request from a first terminal.

[0112] The promotion content exposure request carries the target user identifier corresponding to the first terminal and the target application identifier of the first terminal. The target application identifier is used to identify the target application in the first terminal, and the target application is the application logged in by the target user identifier on the first terminal.

[0113] S303: Determine whether the target application identifier matches a preset application identifier.

[0114] The preset application identifier is an application identifier corresponding to a preconfigured application requiring exposure control. The exposure control server may preconfigure a preset application identifier list through the configuration center. Upon receiving a promotional content exposure request from a first terminal, the exposure control server extracts the target application identifier carried in the promotional content exposure request and matches the target application identifier with the preset application identifier list. If a preset application identifier matching the target application identifier exists in the preset application identifier list, it indicates that exposure control is required for users of the target application corresponding to the target application identifier, and steps S305 to S311 may be executed. Conversely, if a preset application identifier matching the target application identifier does not exist in the preset application identifier list, it indicates that there is no exposure control requirement for the target application corresponding to the target application identifier, and step S313 may be executed.

[0115] S305 : Read the target historical return record that matches the target user identifier and the target application identifier from the designated storage space.

[0116] The designated storage space stores a correspondence between user identifiers, terminal application identifiers, and historical response records. For an example of this correspondence, see Table 1 above in the embodiments of this specification. The historical response records represent the first promotional content returned by the exposure control server to users who meet both the corresponding user identifier and application identifier within a preset historical time period. The user identifier includes a target user identifier, and the application identifier includes a target application identifier. Specifically, the user identifier can be the user account used to log in to the corresponding application on the terminal, and the application identifier uniquely identifies the terminal application.

[0117] Specifically, the historical return records may include records corresponding to return operations by the exposure control server within a preset historical time period. Each record may include identification information of the first promotional content returned to the corresponding user in the corresponding return operation, as well as the request timestamp of the promotional content exposure request corresponding to the return operation. The identification information of the promotional content is used to uniquely identify the promotional content in the promotional content library. The preset historical time period can be set as needed, for example, the previous 5 minutes, the previous 10 minutes, etc.

[0118] When executing step S305, the exposure control server can first determine the correspondence relationship that matches the target user identifier in the specified storage space to obtain a first target correspondence relationship, and then determine a second target correspondence relationship that matches the target application identifier in the first target correspondence relationship, and use the historical return record in the second target correspondence relationship as the target historical return record, and read the target historical return record.

[0119] S307: Determine second promotional content to be exposed from a promotional content library according to the target history return record.

[0120] S309: Return the second promotional content to be exposed to the first terminal, and generate a current return record corresponding to the return operation.

[0121] S311 : Update the target historical return record in the designated storage space according to the current return record.

[0122] For more details about step S301, and steps S305 to S311, please refer to the aforementioned Figure 2 The relevant contents in the illustrated method embodiment will not be repeated here.

[0123] S313: Determine third promotional content to be exposed from the promotional content library, and return the third promotional content to be exposed to the first terminal.

[0124] In an embodiment of the present specification, after the exposure control server returns the second promotional content to be exposed to the first terminal and synchronously generates a current return record corresponding to the current return operation, the target historical return record in the designated storage space is updated according to the current return record, so that the historical return record is associated with the promotional content exposure request received by the promotional content system (the promotional content exposure request corresponds to a return operation), and has nothing to do with the actual exposure of the promotional content in the terminal. Even if the second promotional content exposure request of the user is received before the promotional content corresponding to the first promotional content exposure request is exposed, the promotional content returned for the first promotional content exposure request can be found in the historical return record, so that the same promotional content can be avoided from being returned to the user again when returning the second promotional content exposure request, thereby avoiding the occurrence of freshness anomalies, improving the effectiveness of the freshness strategy, and improving the user experience of the application.

[0125] In addition, compared with the prior art of waiting for the terminal's exposure records to flow back to the advertising system, since the embodiments of the present invention directly read the corresponding historical return records from the designated storage space, the overall link can be shortened, thereby shortening the link latency and development volume, and can improve the stability and accuracy of the stored data, thereby improving the accuracy of exposure control.

[0126] In addition, in an embodiment of the present invention, the promotional content system stores a return record of promotional content returned to the user in a designated storage space based on a received promotional content exposure request, and determines the promotional content to be exposed based on the historical return records in the designated storage space. Compared with storing the user's request data on the terminal side corresponding to the application and requiring the request data to be carried when the next request is initiated, the embodiment of the present invention can avoid the occurrence of freshness anomalies caused by the loss of data stored in the memory (such as cookie data) due to actions such as the terminal exiting the application; in addition, storing the user's request data on the terminal side corresponding to the application also has the problem of data communication failure, that is, when different pages of the same application are maintained by different development teams, the different pages cannot share cookie data, which leads to freshness anomalies when the user switches between different pages. However, in an embodiment of the present invention, the promotional content system stores a return record of promotional content returned to the user in a designated storage space based on the exposure request, and determines the promotional content to be exposed based on the historical return records in the designated storage space, which can effectively avoid the occurrence of this problem.

[0127] In addition, storing the user's request data on the terminal side corresponding to the application and requiring the request data to be carried when the next request is initiated requires separate support from each traffic end (each traffic end needs to support the processing of cookie data), which increases the development cost of each traffic end and the implementation cost of exposure control, and reduces the efficiency of the traffic end in accessing the promotion content system. In the embodiment of the present invention, exposure control is implemented on the promotion content system side, and there is no need for additional cooperation from the traffic end for the exposure control, which is beneficial to improving the efficiency of the traffic end in accessing the promotion content system.

[0128] The following describes the exposure control method according to an embodiment of the present invention by taking the promotional content as an advertisement and the distributed cloud storage system as a CKV system.

[0129] See also Figure 4 , which is a flow chart of an advertisement exposure control method provided by the present invention, the method may include:

[0130] S401: A first terminal sends a first advertisement exposure request to a traffic end of a target application.

[0131] Among them, the traffic end is the background server of the target application, and the first advertisement exposure request carries the target user identifier and the target application identifier. The target user identifier can be the user account of the user of the first terminal logging into the target application.

[0132] Correspondingly, the traffic end of the target application receives the first advertisement exposure request.

[0133] S403: The traffic end sends the first advertisement exposure request to the advertisement system.

[0134] Correspondingly, the advertising system receives the first advertisement exposure request.

[0135] S405, the advertising system determines that it is the first time to receive the first advertising exposure request, determines the first advertisement to be exposed from the advertising library, returns the first advertisement to be exposed to the traffic end, and generates a current return record cookie 1 corresponding to the current return operation, which includes the identification information of the first advertisement and the request timestamp of the first advertising exposure request.

[0136] S407, the advertising system writes the current return record cookie 1 into the CKV system, and stores the target correspondence between the target user identifier, the target application identifier and the historical return record (cookie 1) in the CKV system.

[0137] S409: The traffic end sends the first advertisement to the first terminal, so that the first terminal is exposed to the first advertisement.

[0138] S411: The first terminal sends a second advertisement exposure request to the traffic end of the target application.

[0139] S413: The traffic end sends the second advertisement exposure request to the advertisement system.

[0140] S415, the advertising system reads the historical return record [cookie1] in the above-mentioned target correspondence from the CKV system, determines the second advertisement to be exposed based on the cookie1, returns the second advertisement to be exposed to the traffic end, and generates a current return record cookie2 corresponding to the current return operation, which includes the identification information of the second advertisement and the request timestamp of the second advertisement exposure request.

[0141] S417, the advertising system updates the current return record cookie2 to the above-mentioned historical return record, obtains the updated historical return record [cookie1, cookie2], and rewrites the updated historical return record [cookie1, cookie2] into the CKV system to update the historical return record in the above-mentioned target correspondence stored in the CKV system.

[0142] S419: The traffic end sends the second advertisement to the first terminal, so that the first terminal is exposed to the second advertisement.

[0143] When the first terminal sends a third advertisement exposure request, a fourth advertisement exposure request, and so on to the traffic end of the target application, the above steps S409 to S417 may be repeatedly executed. Figure 2 The relevant steps of the method embodiment shown are updated and will not be repeated here.

[0144] See also Figure 5 , which is shown as Figure 4 An optional example of updating the historical return records in the CKV system involved in step S417. In this example, a distributed message middleware TDbank is set as a data channel between the advertising system and the CKV system. After generating the current return record cookie, the advertising system can write the current return record into the distributed message middleware TDbank with the target user identifier and target application identifier as the key through the advertising playback protocol adaptation module, and then consume the data in the distributed message middleware in real time through the transfer service, that is, the streaming computing service, read the corresponding historical return record in the CKV system according to the key in the consumed data, and update the current return record cookie corresponding to the key in the consumed data to the corresponding historical return record, and then rewrite the updated historical return record into the target corresponding relationship of the CKV system, thereby realizing the update of the historical return record in the target corresponding relationship stored in the CKV system. In subsequent advertising exposure requests, the advertising system can read the historical return records in the target correspondence in the CKV system through the advertising selection module, and then determine the advertisement to be exposed based on the target historical return records, and send the advertisement to be exposed to the advertising playback protocol adaptation module. The advertising protocol adaptation module generates a cookie corresponding to the subsequent advertising exposure request based on the identification information of the advertisement to be exposed.

[0145] Corresponding to the exposure control methods for promotional content provided in the above-mentioned embodiments, an embodiment of the present invention further provides an exposure control device for promotional content. Since the exposure control device for promotional content provided in the embodiment of the present invention corresponds to the exposure control methods for promotional content provided in the above-mentioned embodiments, the implementation methods of the aforementioned exposure control methods for promotional content are also applicable to the exposure control device for promotional content provided in this embodiment and will not be described in detail in this embodiment.

[0146] See also Figure 6 , which is a schematic diagram of the structure of a promotional content exposure control device provided by an embodiment of the present invention. The functions described can be implemented by hardware or by hardware executing corresponding software. Figure 6 As shown, the device may include:

[0147] A receiving module 610 is configured to receive a promotional content exposure request from a first terminal, wherein the promotional content exposure request carries a target user identifier corresponding to the first terminal;

[0148] A reading module 620 is configured to read a target historical response record that matches the target user identifier from a designated storage space; the designated storage space stores a correspondence between user identifiers and historical response records, wherein the historical response record represents the first promotional content returned to the user corresponding to the user identifier within a preset historical time period;

[0149] A first determining module 630 is configured to determine, from a promotional content library, second promotional content to be exposed based on the target history return record;

[0150] A record generating module 640 is configured to return the second promotional content to be exposed to the first terminal and generate a current return record corresponding to the return operation;

[0151] The updating module 650 is configured to update the target historical return record in the designated storage space according to the current return record.

[0152] In one possible implementation, the record generation module 640 may include:

[0153] A first acquisition module is configured to acquire a request timestamp of the promotion content exposure request to obtain a first request timestamp;

[0154] A second acquisition module is used to obtain identification information of the second promotional content to be exposed;

[0155] A generating submodule is used to generate the current return record according to the first request timestamp and the identification information.

[0156] In one possible implementation, the update module 650 may include:

[0157] a first determining module, configured to determine whether a request timestamp corresponding to the first promotional content is within a preset historical time period before the first request timestamp;

[0158] a second determining module, configured to determine, when the result of the determination by the first determining module is negative, that the record corresponding to the first promotional content is a record to be deleted;

[0159] A deletion module, configured to delete the record to be deleted from the target historical return record;

[0160] An adding module, configured to add the current return record as a new record to the target historical return record to obtain an updated target historical return record;

[0161] A writing module is used to rewrite the updated target historical return record into the designated storage space.

[0162] In one possible implementation, the adding module may include:

[0163] An adding submodule, configured to add the current return record as a new record to the target historical return record to obtain a first target historical return record;

[0164] A statistics module, configured to count the total number of records in the first target historical return records;

[0165] a sorting module, configured to sort the records in the target historical return records in descending order according to the request timestamp in each record when the total number is greater than a preset threshold;

[0166] The third acquisition module is used to acquire a preset number of records that are sorted first as the updated target historical return records.

[0167] In one possible implementation, the first determining module 630 may include:

[0168] a third determining module, configured to determine a first promotional content in the promotional content library according to the target history return record;

[0169] a fourth determining module, configured to determine promotional content other than the first promotional content in the promotional content library as candidate promotional content;

[0170] The fifth determining module is configured to determine the second promotional content to be exposed from the candidate promotional content.

[0171] In another possible implementation, the first determining module 630 may include:

[0172] a sixth determining module, configured to determine a first promotional content in the promotional content library according to the target history return record;

[0173] A weight adjustment module, configured to reduce the weight corresponding to the first promotional content according to a preset weight reduction strategy to obtain a first weight;

[0174] The seventh determining module is configured to determine the second promotional content to be exposed in the promotional content library according to the first weight.

[0175] In a possible implementation, the correspondence is a correspondence between a user identifier, an application identifier of a terminal, and a historical return record; the promotional content exposure request also carries a target application identifier of the first terminal;

[0176] Accordingly, the reading module 620 may include:

[0177] A first correspondence determination module, configured to determine a correspondence in a specified storage space that matches the target user identifier, and obtain a first target correspondence;

[0178] A second correspondence determination module, configured to determine a second target correspondence in the first target correspondence that matches the target application identifier;

[0179] The reading submodule is configured to use the historical return record in the second target corresponding relationship as the target historical return record and read the target historical return record.

[0180] In one possible embodiment, the device may further include:

[0181] The second judgment module is used to judge whether the target application identifier matches a preset application identifier.

[0182] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0183] An embodiment of the present invention provides a computer device, which may be a terminal or server, etc. The computer device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program. The at least one instruction or at least one program is loaded and executed by the processor to implement the exposure control method for promotional content provided in the above-mentioned method embodiment.

[0184] The memory can be used to store software programs and modules. The processor executes the software programs and modules stored in the memory to perform various functional applications and control the exposure of promotional content. The memory may primarily include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for functions, etc.; the data storage area can store data generated based on the use of the device. In addition, the memory may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.

[0185] The method embodiments provided in the embodiments of the present invention can be executed in a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 7 is a hardware structure block diagram of a server running a promotional content exposure control method provided by an embodiment of the present invention, such as Figure 7 As shown, the server 700 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) 710 (the processor 710 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 730 for storing data, and one or more storage media 720 (such as one or more mass storage devices) for storing application programs 723 or data 722. Among them, the memory 730 and the storage medium 720 can be temporary storage or permanent storage. The program stored in the storage medium 720 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the central processing unit 710 can be configured to communicate with the storage medium 720 to execute a series of instruction operations in the storage medium 720 on the server 700. The server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input and output interfaces 740, and / or one or more operating systems 721, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0186] The input / output interface 740 can be used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communication provider of the server 700. In one embodiment, the input / output interface 740 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one embodiment, the input / output interface 740 can be a radio frequency (RF) module for wirelessly communicating with the Internet.

[0187] It can be understood by those skilled in the art that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components than shown, or with Figure 7 Different configurations shown.

[0188] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in a computer device to store at least one instruction or at least one program related to implementing a method for controlling exposure of promotional content. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method for controlling exposure of promotional content provided in the above-mentioned method embodiment.

[0189] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0190] It should be noted that the order in which the embodiments of the present invention are described above is for illustrative purposes only and does not represent the superiority or inferiority of the embodiments. The above description is of specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0191] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences from other embodiments. In particular, the device embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0192] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0193] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling exposure of promotional content, characterized in that: The method comprises: receiving a promotional content exposure request from a first terminal, wherein the promotional content exposure request carries a target user identifier corresponding to the first terminal; Reading a target historical return record that matches the target user identifier from a designated storage space; the designated storage space stores a correspondence between user identifiers and historical return records, the historical return record representing a first promotional content returned to a user corresponding to the user identifier within a preset historical time period, the user identifier including the target user identifier; Determining second promotional content to be exposed from a promotional content library according to the target history return record; Returning the second promotional content to be exposed to the first terminal; obtaining a request timestamp of the promotional content exposure request to obtain a first request timestamp; obtaining identification information of the second promotional content to be exposed; and generating a current return record corresponding to the return operation based on the first request timestamp and the identification information; Determine whether the request timestamp corresponding to the first promotional content is within a preset historical time period before the first request timestamp; when the result of the judgment is no, determine that the record corresponding to the first promotional content is a record to be deleted; delete the record to be deleted from the target historical return record; add the current return record as a new record to the target historical return record to obtain an updated target historical return record; and rewrite the updated target historical return record into the designated storage space.

2. The exposure control method for promotional content according to claim 1, characterized in that: The step of adding the current return record as a new record to the target historical return record to obtain an updated target historical return record comprises: Adding the current return record as a new record to the target history return record to obtain a first target history return record; Counting the total number of records in the first target historical return record; When the total number is greater than a preset threshold, the records in the target historical return records are sorted in descending order according to the request timestamp in each record; A preset number of records that are sorted first are obtained as the updated target history return records.

3. The exposure control method for promotional content according to claim 1, characterized in that: Determining the second promotional content to be exposed from the promotional content library according to the target history return record includes: determining, according to the target history return record, a first promotional content in the promotional content library; determining the promotional content in the promotional content library other than the first promotional content as candidate promotional content; The second promotional content to be exposed is determined from the candidate promotional content.

4. The exposure control method for promotional content according to claim 1, characterized in that: Determining the second promotional content to be exposed from the promotional content library according to the target history return record includes: determining, according to the target history return record, a first promotional content in the promotional content library; reducing the weight corresponding to the first promotional content according to a preset weight reduction strategy to obtain a first weight; A second promotional content to be exposed in the promotional content library is determined according to the first weight.

5. The exposure control method for promotional content according to claim 1, characterized in that: The correspondence is a correspondence between a user identifier, a terminal application identifier, and a historical return record; the promotional content exposure request also carries a target application identifier of the first terminal; Correspondingly, reading the target history return record matching the target user identifier from the designated storage space includes: Determining a corresponding relationship in a specified storage space that matches the target user identifier to obtain a first target corresponding relationship; Determining a second target correspondence relationship in the first target correspondence relationship that matches the target application identifier; The historical return record in the second target corresponding relationship is used as the target historical return record, and the target historical return record is read.

6. The exposure control method for promotional content according to claim 5, characterized in that: Before reading the target history return record matching the target user identifier from the designated storage space, the method further includes: Determining whether the target application identifier matches a preset application identifier; When the result of the judgment is yes, the step of reading the target history return record matching the target user identifier from the designated storage space is executed.

7. An exposure control device for promotional content, characterized in that: The device comprises: a receiving module, configured to receive a promotional content exposure request from a first terminal, wherein the promotional content exposure request carries a target user identifier corresponding to the first terminal; a reading module configured to read, from a designated storage space, a target historical response record that matches the target user identifier; the designated storage space storing a correspondence between user identifiers and historical response records, the historical response record representing a first promotional content returned to a user corresponding to the user identifier within a preset historical time period, the user identifier including the target user identifier; a first determining module, configured to determine, from a promotional content library, second promotional content to be exposed based on the target history return record; a record generation module configured to return the second promotional content to be exposed to the first terminal; obtain a request timestamp of the promotional content exposure request to obtain a first request timestamp; obtain identification information of the second promotional content to be exposed; and generate a current return record corresponding to the return operation based on the first request timestamp and the identification information; An update module is configured to determine whether the request timestamp corresponding to the first promotional content is within a preset historical time period before the first request timestamp; if the result of the determination is negative, determine that the record corresponding to the first promotional content is a record to be deleted; delete the record to be deleted from the target historical return record; add the current return record as a new record to the target historical return record to obtain an updated target historical return record; and rewrite the updated target historical return record into the designated storage space.

8. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the exposure control method of the promotional content according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • A content push method, system and device

    CN101262497A

  • Advertisement serving system, advertisement serving device and advertisement server

    CN103124263A