Time intersection-based ad slot allocation method, apparatus, device, and medium

By using a time-intersection-based ad placement allocation method, ad information is extracted and analyzed, pre-sale time periods are matched, and effective time periods are calculated. This solves the problem of low flexibility in ad placement allocation and improves user experience and the flexibility of ad placement allocation.

CN119693059BActive Publication Date: 2025-12-26SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411566532.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-12-26
Estimated Expiration
2044-11-05

AI Technical Summary

Technical Problem

The existing ad placement allocation method has low flexibility in operation, resulting in a fragmented user experience and affecting user experience.

Method used

By using an ad placement allocation method based on time intersection, current and scheduled ad information is extracted, strategy analysis is performed, ad pre-sale time periods are matched, effective time periods are calculated, and ad placements are allocated within non-intersecting time periods to avoid users experiencing disjointed ad switching.

Benefits of technology

It improves the flexibility and consistency of ad placement allocation, enhances user experience, avoids messy ad strategy deployment, and achieves seamless switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119693059B_ABST
    Figure CN119693059B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data promotion, and discloses an advertisement position allocation method and device based on time intersection, equipment and medium, wherein the method comprises the following steps: extracting current advertisement information and scheduled advertisement information from a preset advertisement information database according to a current advertisement name; performing strategy analysis on the current advertisement information to obtain a current advertisement allocation strategy and acquire a current advertisement allocation strategy time period; matching a current strategy advertisement pre-sale time period set corresponding to the current advertisement allocation strategy, and calculating a current strategy effective time period; calculating the effective time of the scheduled advertisement information according to a pre-sale configuration file to obtain a scheduled strategy effective time period; and allocating advertisement positions according to the current strategy effective time period and the scheduled strategy effective time period. The application can realize advertisement position switching without feeling and improve the flexibility of advertisement position allocation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data promotion, and in particular to an advertisement position allocation method and device based on time intersection, equipment and medium. BACKGROUND

[0002] With the rapid development of information society, more and more users use mobile applications to obtain information, entertainment, shopping and socializing, and mobile applications have become an indispensable part of users' daily life. In order to realize user promotion, the allocation of advertisement positions for application pages has become increasingly common.

[0003] The existing advertisement position allocation is mostly based on the allocation mode of ordinary pre-sale, that is, the advertisement position of future time is allocated, and the advertisement position allocation strategy and mode need to be dynamically adjusted in the operation process. In actual application, because the pre-sale form is adopted, if the effective time selected by the operation is relatively close to the current time, the user experience will be affected, resulting in fragmented user experience, which may result in low flexibility in allocating advertisement positions. SUMMARY

[0004] The present application provides an advertisement position allocation method and device based on time intersection and computer readable storage medium, which mainly aims to solve the problem of low flexibility in allocating advertisement positions.

[0005] To achieve the above purpose, the present application provides an advertisement position allocation method based on time intersection, which comprises:

[0006] Obtain the current advertising name from the preset advertising delivery process, extract the current advertising information and the scheduled advertising information of the advertising to be delivered after the current advertising from the preset advertising information database according to the current advertising name;

[0007] Perform strategy analysis on the current advertising information to obtain the current advertising allocation strategy, and obtain the current advertising allocation strategy time period corresponding to the current advertising allocation strategy;

[0008] Match the current strategy advertising pre-sale time period set corresponding to the current advertising allocation strategy from the preset pre-sale configuration file, and calculate the current strategy effective time period according to the current strategy advertising pre-sale time period set and the current advertising allocation strategy time period;

[0009] Match the scheduled strategy advertising pre-sale time period set corresponding to the scheduled advertising information from the pre-sale configuration file, and calculate the scheduled strategy effective time period of the scheduled advertising information according to the scheduled strategy advertising pre-sale time period set;

[0010] According to the current strategy effective time period and the scheduling strategy effective time period, an advertisement position is allocated.

[0011] Optionally, the strategy analysis on the current advertising information is performed to obtain a current advertising allocation strategy, including:

[0012] The current advertising information is analyzed in format to obtain an advertising information format;

[0013] According to the advertising information format, the current advertising information is parsed to obtain current advertising parsed information;

[0014] The current advertising parsed information is extracted in time period strategy to obtain a current advertising time period strategy;

[0015] The current advertising parsed information is extracted in allocation mode to obtain a current advertising allocation mode;

[0016] According to the current advertising time period strategy and the current advertising allocation mode, a current advertising allocation strategy is generated.

[0017] Optionally, the current strategy advertising pre-sale time period set corresponding to the current advertising allocation strategy is matched from a preset pre-sale configuration file, including:

[0018] The pre-sale configuration file is parsed to obtain pre-sale advertising information;

[0019] From the pre-sale advertising information, current strategy pre-sale information corresponding to the current advertising allocation strategy is matched;

[0020] The current strategy pre-sale information is matched in pre-sale time to obtain a pre-sale effective start time set and a pre-sale effective cycle set;

[0021] According to the pre-sale effective start time set and the pre-sale effective cycle set, a current strategy advertising pre-sale time period set is generated.

[0022] Optionally, the

[0023] According to the current strategy advertising pre-sale time period set and the current advertising allocation strategy time period, a current strategy effective time period is calculated, including:

[0024] From the current advertising allocation strategy time period, a current advertising strategy start time and a current advertising strategy end time are extracted;

[0025] The current strategy advertising pre-sale time period set in the current strategy advertising pre-sale time period set is selected one by one, and from the selected current strategy advertising pre-sale time period, a pre-sale effective start time and a pre-sale effective end time are extracted;

[0026] judging whether the current advertising strategy end time is before the pre-sale effective start time;

[0027] If yes, returning to the step of selecting the current strategy advertising pre-sale time period in the current strategy advertising pre-sale time period set one by one;

[0028] If no, judging whether the current advertising strategy start time is after the pre-sale effective end time;

[0029] If yes, returning to the step of selecting the current strategy advertising pre-sale time period in the current strategy advertising pre-sale time period set one by one;

[0030] If no, generating a target effective time period according to the current advertising strategy start time, the current advertising strategy end time, the pre-sale effective start time and the pre-sale effective end time, and collecting target effective time periods corresponding to all current strategy advertising pre-sale time periods in the current strategy advertising pre-sale time period set into a current strategy effective time period.

[0031] Optionally, the generating a target effective time period according to the current advertising strategy start time, the current advertising strategy end time, the pre-sale effective start time and the pre-sale effective end time comprises:

[0032] acquiring a current time, and taking a time node farthest from the current time between the current advertising strategy start time and the pre-sale effective start time as a target effective start time;

[0033] taking a time node closest to the current time between the current advertising strategy end time and the pre-sale effective end time as a target effective end time;

[0034] generating a target effective time period according to the target effective start time and the target effective end time.

[0035] Optionally, the matching the schedule strategy advertising pre-sale time period set corresponding to the schedule advertising information from the pre-sale configuration file comprises:

[0036] performing strategy analysis on the schedule advertising information to obtain a future distribution strategy;

[0037] matching the schedule strategy advertising pre-sale time period set corresponding to the future distribution strategy from the pre-sale configuration file.

[0038] Optionally, the extracting the current advertising information and the schedule advertising information from a preset advertising information database according to the current advertising name comprises:

[0039] acquire a current time, generate a current information query instruction according to the current time and the current advertising name;

[0040] query the current advertising information from the preset advertising information database according to the current information query instruction;

[0041] generate a scheduled advertising query instruction according to the current time;

[0042] query a target scheduled starting time from the advertising information database according to the scheduled advertising query instruction according to a nearest principle, and take an advertising name corresponding to the target scheduled starting time as a scheduled advertising name;

[0043] generate a scheduled information query instruction according to the scheduled advertising name and the target scheduled starting time;

[0044] query the scheduled advertising information from the advertising information database according to the scheduled information query instruction.

[0045] To solve the above problems, the application further provides an advertising position allocation device based on time intersection, which comprises:

[0046] an information acquisition module, configured to acquire a current advertising name from a preset advertising allocation process, extract current advertising information and scheduled advertising information of an advertising to be allocated from a preset advertising information database according to the current advertising name, and acquire the scheduled advertising information of the advertising to be allocated after the current advertising;

[0047] a strategy analysis module, configured to perform strategy analysis on the current advertising information, obtain a current advertising allocation strategy, and acquire a current advertising allocation strategy time period corresponding to the current advertising allocation strategy;

[0048] a real-time matching module, configured to match a current strategy advertising pre-sale time period set corresponding to the current advertising allocation strategy from a preset pre-sale configuration file, calculate a current strategy effective time period according to the current strategy advertising pre-sale time period set and the current advertising allocation strategy time period;

[0049] a future matching module, configured to match a scheduled strategy advertising pre-sale time period set corresponding to the scheduled advertising information from the pre-sale configuration file, calculate a scheduled strategy effective time period of the scheduled advertising information according to the scheduled strategy advertising pre-sale time period set, and obtain the scheduled strategy effective time period;

[0050] an advertising allocation module, configured to perform advertising position allocation according to the current strategy effective time period and the scheduled strategy effective time period.

[0051] To solve the above problems, the present application also provides an electronic device, the electronic device comprises:

[0052] At least one processor; and,

[0053] The memory is in communication connection with the at least one processor; wherein,

[0054] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the time intersection-based ad slot allocation method described above.

[0055] To solve the above problems, the present application also provides a computer readable storage medium, the computer readable storage medium stores at least one computer program, and the at least one computer program is executed by a processor in an electronic device to implement the time intersection-based ad slot allocation method described above.

[0056] The embodiment of the present application can determine the subsequent ad arrangement of the system by extracting the current advertising information and the scheduled advertising information, prevent the conflict between the advertising to be allocated and the arranged advertising, thereby improving the flexibility of ad slot allocation, obtain the allocation strategy of the advertising being allocated by performing strategy analysis, thereby facilitating the realization of the strategy consistency of the allocated advertising, determine the effective time corresponding to the existing advertising allocation strategy by obtaining the current advertising allocation strategy time period, determine the corresponding pre-sale advertising time period of the current advertising being delivered by matching the current strategy advertising pre-sale time period set, determine the effective time period determined by the advertising strategy being delivered in the pre-sale configuration by calculating the current strategy effective time period, thereby facilitating the avoidance of the messy advertising strategy delivery and improving the flexibility of ad slot allocation.

[0057] By calculating the scheduled strategy effective time period, the time period in which the advertising to be delivered in the future is effective in the pre-sale configuration file can be determined, thereby facilitating the avoidance of the messy advertising strategy delivery and improving the flexibility of ad slot allocation, and by performing ad slot allocation according to the current strategy effective time period and the scheduled strategy effective time period, the user can be prevented from experiencing the fragmented advertising switching, so that switching different allocation strategies and modes will not affect the purchase of the user, achieving the non-sensing switching and improving the user experience, thereby improving the flexibility of ad slot allocation. Therefore, the time intersection-based ad slot allocation method, device, equipment and medium provided by the present application can solve the problem of low flexibility in ad slot allocation. BRIEF DESCRIPTION OF DRAWINGS

[0058] Figure 1 The flowchart of the time intersection-based ad slot allocation method provided by an embodiment of the present application is shown.

[0059] Figure 2 A flowchart for calculating a current policy effective time period provided by an embodiment of the present application is shown in the figure.

[0060] Figure 3 A scenario diagram for a scenario in which the intersection time period does not exist provided by an embodiment of the present application is shown in the figure.

[0061] Figure 4 A device architecture diagram of a time intersection-based ad slot allocation device provided by an embodiment of the present application is shown in the figure.

[0062] Figure 5 A structure diagram of an electronic device for implementing the time intersection-based ad slot allocation method provided by an embodiment of the present application is shown in the figure.

[0063] The purposes, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0064] It should be understood that the specific embodiments described herein are merely intended to explain the present application and not to limit the present application.

[0065] Embodiments of the present application provide a time intersection-based ad slot allocation method. The execution subject of the time intersection-based ad slot allocation method includes but is not limited to at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiments of the present application. In other words, the time intersection-based ad slot allocation method can be executed by software or hardware installed in a terminal device or a server device. The server includes but is not limited to a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be a stand-alone server, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (CDN), and big data and artificial intelligence platforms, etc. basic cloud computing services.

[0066] Referring to Figure 1 The figure shows a flowchart of a time intersection-based ad slot allocation method provided by an embodiment of the present application. In this embodiment, the time intersection-based ad slot allocation method includes:

[0067] S1, obtaining a current advertising name from a preset advertising delivery process, and extracting current advertising information and scheduled advertising information of an advertisement to be delivered after the current advertising from a preset advertising information database according to the current advertising name.

[0068] In detail, the current advertising name refers to a unique identifier of an advertising being currently launched, the advertising information database is a database storing advertising information of various advertisements to be launched, the advertising information refers to configuration information of a distribution strategy of the advertising, and the advertising information database can have two cases, a first case is that a valid start and end time of a database record contains a current time, that is, current advertising information currently in effect, and a second case is that a valid start time of a database record is greater than the current time, that is, scheduled advertising information to be launched in the future.

[0069] Specifically, the distribution strategy includes a time period strategy and a distribution mode, wherein the time period strategy includes distribution by time period, multi-time period packaging distribution, whole-day packaging distribution, multi-day packaging distribution, etc., and the distribution mode includes fixed-price rush purchase, bidding by auction, etc.

[0070] In detail, the current advertising information refers to advertising information of an advertising being currently launched, and the scheduled advertising information refers to advertising information of an advertising to be launched in the future after the advertising being currently launched is ended.

[0071] Specifically, the current advertising name can be obtained from an advertising launching process by using an API interface, a Google Ads, a Facebook Ads, or a Prometheus, a Grafana, etc., and the current advertising name is, for example, an advertising ID corresponding to a current state of "active" or "running", and the advertising launching process is a process for implementing advertising launching in an advertising system.

[0072] In the embodiment of the application, the current advertising information and the scheduled advertising information are extracted from the preset advertising information database according to the current advertising name, including: obtaining a current time, generating a current information query instruction according to the current advertising name and the current time; querying the current advertising information from the preset advertising information database according to the current information query instruction; generating a scheduled advertising query instruction according to the current time; querying a target scheduled start time from the advertising information database according to the scheduled advertising query instruction according to a nearest principle, and taking an advertising name corresponding to the target scheduled start time as a scheduled advertising name; generating a scheduled information query instruction according to the scheduled advertising name and the target scheduled start time; and querying the scheduled advertising information from the advertising information database according to the scheduled information query instruction.

[0073] In detail, the current time refers to a time corresponding to a current system time, the primary key in the advertisement information database is each advertisement ID requiring advertisement distribution, and the foreign key of the advertisement information database is each strategy effective time period requiring advertisement distribution, wherein the strategy effective time period contains an effective start time and an effective end time.

[0074] Specifically, the current information query instruction refers to an instruction for querying advertisement information corresponding to the current distribution advertisement name, the current information query instruction can be generated by using a SELECT statement, and the scheduled advertisement query instruction refers to an instruction for querying all strategy effective time periods located after the current time in the advertisement information database.

[0075] In detail, the target scheduled start time refers to a start time of a strategy effective time period closest to the current time in all strategy effective time periods queried by the scheduled advertisement query instruction, and the method for generating the scheduled information query instruction is the same as the method for generating the current information query instruction.

[0076] In the embodiment of the application, by extracting the current distribution advertisement information and the scheduled distribution advertisement information, subsequent advertisement arrangement of the system can be conveniently determined, and conflict between an advertisement requiring distribution and an arranged advertisement can be prevented, thereby improving the flexibility of advertisement position distribution.

[0077] S2, performing strategy analysis on the current distribution advertisement information to obtain a current advertisement distribution strategy, and acquiring a current advertisement distribution strategy time period corresponding to the current advertisement distribution strategy.

[0078] In detail, the current advertisement distribution strategy refers to a distribution form and a distribution mode of an advertisement in real-time distribution, wherein the distribution form includes time period distribution, multi-time period packaged distribution, whole-day packaged distribution, multi-day packaged distribution, etc., the distribution mode includes fixed-price rush purchase, bidding mode bidding, etc., and the current advertisement distribution strategy time period refers to an effective time period corresponding to the current advertisement distribution strategy, for example, the current advertisement distribution strategy is time period distribution and fixed-price rush purchase, and the current advertisement distribution strategy time period is from 2024-07-01 to 2024-07-30.

[0079] In the embodiment of the present application, the strategy analysis on the current advertising information is performed to obtain a current advertising distribution strategy, which comprises: performing format analysis on the current advertising information to obtain an advertising information format; performing information analysis on the current advertising information according to the advertising information format to obtain current advertising analysis information; performing time period strategy extraction on the current advertising analysis information to obtain a current advertising time period strategy; performing distribution mode extraction on the current advertising analysis information to obtain a current advertising distribution mode; and generating a current advertising distribution strategy according to the current advertising time period strategy and the current advertising distribution mode.

[0080] Specifically, the advertising information format refers to a configuration format corresponding to the current advertising information, which can be in a json or xml format, and can be analyzed by using a parsing library, which can be a json module or a json.load function in a Python standard library.

[0081] In detail, the time period strategy extraction refers to extracting a time period related strategy of advertising distribution in the current advertising analysis information, and the distribution mode extraction refers to extracting a mode related strategy of advertising distribution in the current advertising analysis information.

[0082] Specifically, the time period strategy extraction and the distribution mode extraction can be performed by using a keyword matching method, and the generation of the current advertising distribution strategy refers to combining the current advertising time period strategy and the current advertising time period strategy as the current advertising distribution strategy.

[0083] In detail, the acquisition of the current advertising distribution strategy time period corresponding to the current advertising distribution strategy refers to querying the strategy time period corresponding to the current advertising distribution strategy from the advertising information database, and taking the corresponding strategy time period as the current advertising distribution strategy time period.

[0084] In the embodiment of the present application, the distribution strategy of the advertising being distributed can be acquired by performing strategy analysis, so as to facilitate the realization of the strategy consistency of the distributed advertising, and the effective time of the existing advertising distribution strategy can be determined by acquiring the current advertising distribution strategy time period.

[0085] S3, a current strategy advertising pre-sale time period set corresponding to the current advertising distribution strategy is matched from a preset pre-sale configuration file, and a current strategy effective time period is calculated according to the current strategy advertising pre-sale time period set and the current advertising distribution strategy time period.

[0086] In detail, the pre-sale configuration file is information of each sold advertising position after pre-sale, and the pre-sale information includes a sales strategy, a valid start time, and a valid period of the pre-sold advertising position. The valid start time refers to a time when the pre-sold advertising position starts to be put into use, and the valid period refers to a put-into-use period of the pre-sold advertising position.

[0087] In the embodiment of the application, the matching of the current strategy advertising pre-sale time period set corresponding to the current advertising distribution strategy from the preset pre-sale configuration file includes: file analysis of the pre-sale configuration file to obtain pre-sale advertising information; matching of the current strategy pre-sale information corresponding to the current advertising distribution strategy from the pre-sale advertising information; pre-sale time matching of the current strategy pre-sale information to obtain a pre-sale valid start time set and a pre-sale valid period set; and generation of the current strategy advertising pre-sale time period set according to the pre-sale valid start time set and the pre-sale valid period set.

[0088] Specifically, the file analysis refers to analysis according to a file format of the pre-sale configuration file, the pre-sale advertising information refers to pre-sale information corresponding to the pre-sale configuration file, and the current strategy pre-sale information refers to pre-sale information of an advertising position with the same sales strategy as the current advertising distribution strategy in the pre-sale advertising information.

[0089] In detail, the current strategy pre-sale information can be matched by using a regular expression matching method, the pre-sale time matching refers to matching of information related to time in the current strategy pre-sale information, each pre-sale start time in the pre-sale valid start time set refers to a valid start time corresponding to the current strategy pre-sale information, and each pre-sale valid period in the pre-sale valid period set refers to a valid period corresponding to the current strategy pre-sale information.

[0090] Specifically, the generation of the pre-sale time period set refers to generation of a time period with the pre-sale valid start time set as a starting point and a total duration being a pre-sale valid period corresponding to the pre-sale valid period set, for example, when the current advertising distribution strategy is distribution by time period and fixed-price rush purchase, one pre-sale valid start time is 2024-07-08, and the corresponding pre-sale valid period is two weeks, the corresponding current strategy advertising pre-sale time period is 2024-07-08 to 2024-07-21.

[0091] In detail, the current strategy valid time period refers to an intersection time period of the current strategy advertising pre-sale time period set and the current advertising distribution strategy time period, that is, a time period in the pre-sale configuration file of an advertising to be put into use in real time.

[0092] Specifically, refer to Figure 2As shown, the current policy effective time period is calculated according to the current policy advertisement pre-sale time period set and the current advertisement distribution policy time period, comprising:

[0093] S21, extracting a current advertisement policy start time and a current advertisement policy end time from the current advertisement distribution policy time period;

[0094] S22, selecting a current policy advertisement pre-sale time period in the current policy advertisement pre-sale time period set one by one, and extracting a pre-sale effective start time and a pre-sale effective end time from the selected current policy advertisement pre-sale time period;

[0095] S23, judging whether the current advertisement policy end time is before the pre-sale effective start time;

[0096] S24, if yes, returning to the step of selecting a current policy advertisement pre-sale time period in the current policy advertisement pre-sale time period set one by one;

[0097] S25, if no, judging whether the current advertisement policy start time is after the pre-sale effective end time;

[0098] S26, if yes, returning to the step of selecting a current policy advertisement pre-sale time period in the current policy advertisement pre-sale time period set one by one;

[0099] S27, if no, generating a target effective time period according to the current advertisement policy start time, the current advertisement policy end time, the pre-sale effective start time and the pre-sale effective end time, and collecting target effective time periods corresponding to all current policy advertisement pre-sale time periods in the current policy advertisement pre-sale time period set into a current policy effective time period.

[0100] Specifically, the current advertisement policy start time refers to the start time of the current advertisement distribution policy time period, the current advertisement policy end time refers to the end time of the current advertisement distribution policy time period, the pre-sale effective start time refers to the start time of the current policy advertisement pre-sale time period, and the pre-sale effective end time refers to the end time of the current policy advertisement pre-sale time period.

[0101] In detail, referring to Figure 3 As shown, the target effective time period is an intersection time period of the current policy advertisement pre-sale time period and the current advertisement distribution policy time period. There are only two scenarios in which the current policy advertisement pre-sale time period and the current advertisement distribution policy time period do not have the intersection time period, i.e., the current policy advertisement pre-sale time period is before the current advertisement distribution policy time period or the current advertisement distribution policy time period is before the current policy advertisement pre-sale time period, for example:

[0102] If the current policy advertisement pre-sale time period is time period A, and the current advertisement distribution policy time period is time period B, the scenario of non-existence of the intersection time period is as shown in Figure 3 There are two, namely scenario 1: A before B and scenario 2: B before A, wherein for scenario 1, it can be realized by judging whether the current advertisement policy start time is after the pre-sale effective end time, and for scenario 2, it can be realized by judging whether the current advertisement policy end time is before the pre-sale effective start time.

[0103] Specifically, the judgment of the scenario of non-existence of the intersection time period can be implemented by using the following code:

[0104] private boolean isIntersection(Pair<Date,Date>datePair1,Pair<Date,Date>datePair2)

[0105] {return!(datePair1.getValue().getTime()<datePair2.getKey().getTime()||datePair1.getKey().getTime()>datePair2.getValue().getTime());}

[0106] Wherein,!isIntersection refers to calling the isIntersection method to check whether datePair1 and datePair2 have intersection, datePair1 refers to time period A, datePair2 refers to time period B,!(datePair1.getValue().getTime()<datePair2.getKey().getTime() refers to that the end time of time period A is before the start time of time period B, namely scenario 1: A before B; datePair1.getKey().getTime()>datePair2.getValue().getTime() refers to that the start of time period A is after the end time of time period B, namely scenario 2: B before A.

[0107] In detail, the generating the target effective time period according to the current advertising strategy start time, the current advertising strategy end time, the pre-sale effective start time and the pre-sale effective end time comprises: acquiring a current time, taking a time node farthest from the current time among the current advertising strategy start time and the pre-sale effective start time as a target effective start time; taking a time node closest to the current time among the current advertising strategy end time and the pre-sale effective end time as a target effective end time; and generating a target effective time period according to the target effective start time and the target effective end time.

[0108] Specifically, the target effective time period can be generated by the following code:

[0109] private Pair<Date, Date> getTimeIntersection(Pair<Date, Date> datePair1, Pair<Date, Date> datePair2) {

[0110] if (!isIntersection(datePair1, datePair2))

[0111] {return null;}

[0112] Date startTime = datePair1.getKey().getTime() > datePair2.getKey().getTime()? datePair1.getKey() : datePair2.getKey();

[0113] Date endTime = datePair1.getValue().getTime() < datePair2.getValue().getTime()? datePair1.getValue() : datePair2.getValue();

[0114] return new Pair<>(startTime, endTime);}

[0115] Wherein, getTimeIntersection is a function of taking intersection time period, datePair1 refers to time period A, datePair2 refers to time period B,!isIntersection refers to calling isIntersection method to check whether datePair1 and datePair2 have intersection, Date startTime is used to compare the start time of time period A and time period B, and select the farthest time node as the target effective start time, and Date endTime is used to compare the end time of time period A and time period B, and select the nearest time node as the target effective end time.

[0116] In the embodiment of the present application, by matching the current strategy advertisement pre-sale time period set, the corresponding pre-sale advertisement time period of the current delivered advertisement can be determined, and by calculating the current strategy effective time period, the effective time period of the current advertising strategy determined in the pre-sale configuration can be determined, so as to facilitate avoiding messy advertising strategy delivery and improving the flexibility of advertising position allocation.

[0117] S4, match the scheduling strategy advertisement pre-sale time period set corresponding to the scheduling delivery advertisement information from the pre-sale configuration file, calculate the scheduling strategy effective time period of the scheduling delivery advertisement information according to the scheduling strategy advertisement pre-sale time period set, and obtain the scheduling strategy effective time period.

[0118] In detail, the scheduling strategy effective time period refers to the time period in which the future advertisement to be delivered is effective in the pre-sale configuration file.

[0119] In the embodiment of the present application, the matching of the scheduling strategy advertisement pre-sale time period set corresponding to the scheduling delivery advertisement information from the pre-sale configuration file comprises: performing strategy analysis on the scheduling delivery advertisement information to obtain a future allocation strategy; and matching the scheduling strategy advertisement pre-sale time period set corresponding to the future allocation strategy from the pre-sale configuration file.

[0120] In detail, the method of strategy analysis is the same as the method of performing strategy analysis on the current delivery advertisement information to obtain the current advertising allocation strategy in step S1, the future allocation strategy refers to the allocation strategy of the future advertisement to be delivered, and the future strategy time period refers to the effective time period of the future advertisement to be delivered.

[0121] Specifically, the method of matching the future pre-sale time period set is consistent with the method of matching the current strategy advertisement pre-sale time period set in step S3, and the method of calculating the scheduling strategy effective time period is consistent with the method of calculating the current strategy effective time period in step S3.

[0122] In the embodiment of the present application, the time period of the current strategy is determined, and the time period of the scheduled strategy is determined, so that the time period of the future advertisement to be delivered in the pre-sale profile is determined, thereby avoiding messy advertisement strategy delivery and improving the flexibility of advertisement allocation.

[0123] S5, allocating the advertisement according to the current strategy effective time period and the scheduled strategy effective time period.

[0124] In the embodiment of the present application, the current strategy effective time period and the scheduled strategy effective time period are the real effective time periods of the pre-sale advertisement, so as to avoid the user from experiencing the split advertisement switching, and the advertisement allocation is avoided in the current strategy effective time period and the scheduled strategy effective time period.

[0125] In detail, the advertisement allocation according to the current strategy effective time period and the scheduled strategy effective time period is performed in the remaining time period other than the current strategy effective time period and the scheduled strategy effective time period.

[0126] In the embodiment of the present application, the advertisement allocation is performed according to the current strategy effective time period and the scheduled strategy effective time period, so as to avoid the user from experiencing the split advertisement switching, and the switching of different allocation strategies and modes does not affect the purchase of the user, the switching is realized without feeling, the user experience is improved, and the flexibility of advertisement allocation is improved.

[0127] In the embodiment of the present application, the current delivered advertisement information and the scheduled delivered advertisement information are extracted, so as to determine the subsequent advertisement arrangement of the system, prevent the conflict between the advertisement to be allocated and the arranged advertisement, improve the flexibility of advertisement allocation, obtain the allocation strategy of the delivered advertisement through the strategy analysis, realize the strategy consistency of the allocated advertisement, determine the effective time corresponding to the existing advertisement delivery strategy through the current advertisement allocation strategy time period, determine the corresponding pre-sale advertisement time period of the current delivered advertisement through the matching of the current strategy advertisement pre-sale time period set, determine the effective time period of the current delivered advertisement strategy in the pre-sale configuration through the current strategy effective time period, thereby avoiding messy advertisement strategy delivery, and improving the flexibility of advertisement allocation.

[0128] By calculating the scheduling strategy effective time period, the time period in which the future advertisement to be delivered is effective in the pre-sale configuration file can be determined, so as to facilitate avoiding messy advertisement strategy delivery, improving the flexibility of advertisement position allocation, and by performing advertisement position allocation according to the current strategy effective time period and the scheduling strategy effective time period, the user can be prevented from experiencing fragmented advertisement switching, so that switching different allocation strategies and modes will not affect the purchase of the user, the switching is achieved without feeling, the user experience is improved, and the flexibility of advertisement position allocation is improved. Therefore, the advertisement position allocation method based on time intersection provided by the present application can solve the problem of low flexibility when performing advertisement position allocation.

[0129] As Figure 4 shown, it is a device architecture diagram of an advertisement position allocation device based on time intersection provided by an embodiment of the present application.

[0130] The advertisement position allocation device based on time intersection 100 can be installed in an electronic device. According to the realized function, the advertisement position allocation device based on time intersection 100 can include an information acquisition module 101, a strategy analysis module 102, a real-time matching module 103, a future matching module 104, and an advertisement allocation module 105. The modules of the present application can also be referred to as units, which refer to a series of computer program segments that can be executed by an electronic device processor and can complete a fixed function, and are stored in the memory of the electronic device.

[0131] In the embodiment, the functions of each module / unit are as follows:

[0132] The information acquisition module 101 is used for acquiring a current delivery advertisement name from a preset advertisement delivery process, extracting current delivery advertisement information and scheduling delivery advertisement information of an advertisement to be delivered after the current delivery advertisement from a preset advertisement information database according to the current delivery advertisement name;

[0133] The strategy analysis module 102 is used for performing strategy analysis on the current delivery advertisement information to obtain a current advertisement allocation strategy, and acquiring a current advertisement allocation strategy time period corresponding to the current advertisement allocation strategy;

[0134] The real-time matching module 103 is used for matching a current strategy advertisement pre-sale time period set corresponding to the current advertisement allocation strategy from a preset pre-sale configuration file, and calculating a current strategy effective time period according to the current strategy advertisement pre-sale time period set and the current advertisement allocation strategy time period;

[0135] The future matching module 104 is configured to match the set of time periods of pre-selling of the strategy advertisement corresponding to the time period of placing the advertisement from the pre-selling profile, calculate the time period of the strategy of placing the advertisement according to the set of time periods of pre-selling of the strategy advertisement, and obtain the time period of the strategy of placing the advertisement.

[0136] The advertisement distribution module 105 is configured to distribute the advertisement position according to the current time period of the strategy and the time period of the strategy of placing the advertisement.

[0137] In detail, each module in the advertisement position distribution device 100 based on time intersection in the embodiment of the present application adopts the same technical means as the advertisement position distribution method based on time intersection in the above Figures 1 to 3 , and can produce the same technical effects, which will not be described here.

[0138] As shown in Figure 5 , it is a structural schematic diagram of an electronic device for implementing the advertisement position distribution method based on time intersection according to an embodiment of the present application.

[0139] The electronic device 1 can include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and can further include a computer program stored in the memory 11 and executable on the processor 10, such as an advertisement position distribution program based on time intersection.

[0140] In some embodiments, the processor 10 can be composed of an integrated circuit, for example, can be composed of a single packaged integrated circuit, or can be composed of multiple packaged integrated circuits with the same function or different functions, including one or more central processing units (CPU), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 10 is the control core of the electronic device, which connects all components of the electronic device through various interfaces and lines, executes programs or modules stored in the memory 11 (such as executing the advertisement position distribution program based on time intersection), and calls data stored in the memory 11 to perform various functions of the electronic device and process data.

[0141] The memory 11 includes at least one type of readable storage medium, such as a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 can also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 11 can include both an internal storage unit and an external storage device of the electronic device. The memory 11 can be used to store application software installed in the electronic device and various data, such as a code of a time intersection-based advertisement slot allocation program, and to temporarily store data that has been output or will be output.

[0142] The communication bus 12 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable connection and communication between the memory 11 and at least one processor 10, etc.

[0143] The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface can include a wired interface and / or a wireless interface (e.g., a WI-FI interface, a Bluetooth interface, etc.), and is typically used to establish a communication connection between the electronic device and other electronic devices. The user interface can be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface can also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display can be an LED display, a liquid crystal display, a touch liquid crystal display, an organic light-emitting diode (OLED) touch screen, etc. The display can also be appropriately referred to as a display screen or a display unit, and is used to display information processed in the electronic device and to display a visualized user interface.

[0144] The electronic device with components is shown in the figure, and those skilled in the art can understand that the structure shown in the figure does not constitute a limitation on the electronic device, and can include fewer or more components than the figure, or combine certain components, or different component arrangements.

[0145] For example, although not shown, the electronic device can also include a power supply (such as a battery) to power each component. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, so that functions such as charge management, discharge management, and power consumption management can be realized through the power management device. The power supply can also include one or more direct current or alternating current power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The electronic device can also include various sensors, Bluetooth modules, Wi-Fi modules, and the like, which are not described here.

[0146] It should be understood that the embodiments are only for illustration and are not limited in the scope of the patent application by the structure.

[0147] The length-based text analysis program stored in the memory 11 in the electronic device 1 is a combination of multiple instructions, which, when running in the processor 10, can realize:

[0148] Obtain the current advertising name from the preset advertising delivery process, and extract the current advertising information and the scheduled advertising information of the advertising to be delivered after the current advertising from the preset advertising information database according to the current advertising name;

[0149] Perform policy analysis on the current advertising information to obtain a current advertising distribution policy, and obtain a current advertising distribution policy time period corresponding to the current advertising distribution policy;

[0150] Match a current policy advertising pre-sale time period set corresponding to the current advertising distribution policy from the preset pre-sale configuration file, and calculate a current policy effective time period according to the current policy advertising pre-sale time period set and the current advertising distribution policy time period;

[0151] Match a scheduled policy advertising pre-sale time period set corresponding to the scheduled advertising information from the pre-sale configuration file, and calculate a scheduled policy effective time period of the scheduled advertising information according to the scheduled policy advertising pre-sale time period set;

[0152] According to the current policy effective time period and the scheduled policy effective time period, the advertising position is allocated.

[0153] Specifically, the processor 10 can refer to the description of the related steps in the corresponding embodiment of the accompanying drawings for the specific implementation method of the above instructions, and details are not described here.

[0154] Further, the modules / units integrated in the electronic device 1, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. The computer readable storage medium can be volatile or non-volatile. For example, the computer readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (Read-Only Memory, ROM).

[0155] The application also provides a computer readable storage medium, the readable storage medium stores a computer program, the computer program can realize the following when being executed by a processor of an electronic device:

[0156] obtaining a current advertising name from a preset advertising delivery process, extracting current advertising information and scheduled advertising information of an advertisement to be delivered after the current advertising from a preset advertising information database according to the current advertising name;

[0157] performing strategy analysis on the current advertising information to obtain a current advertising distribution strategy, and obtaining a current advertising distribution strategy time period corresponding to the current advertising distribution strategy;

[0158] matching a current strategy advertising pre-sale time period set corresponding to the current advertising distribution strategy from a preset pre-sale configuration file, and calculating a current strategy effective time period according to the current strategy advertising pre-sale time period set and the current advertising distribution strategy time period;

[0159] matching a scheduled strategy advertising pre-sale time period set corresponding to the scheduled advertising information from the pre-sale configuration file, and calculating a scheduled strategy effective time period of the scheduled advertising information according to the scheduled strategy advertising pre-sale time period set;

[0160] allocating an advertising position according to the current strategy effective time period and the scheduled strategy effective time period.

[0161] In several embodiments provided by the application, it should be understood that the disclosed devices, apparatuses and methods can be implemented by other means. For example, the above-described device embodiments are only illustrative, for example, the division of the modules is only a logical function division, and other division manners can be used in actual implementation.

[0162] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, i.e., may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiment of the present application according to actual needs.

[0163] In addition, each functional module in various embodiments of the present application can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of hardware plus software functional modules.

[0164] It is obvious for those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application.

[0165] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting, and the scope of the present application is defined by the appended claims rather than the above description, and therefore all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any additional reference signs in the claims should not be considered as limiting the claims involved.

[0166] The embodiments of the present application can acquire and process related data based on artificial intelligence technology. Among them, artificial intelligence (Artificial Intelligence, AI) is to use digital computers or digital computer controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Theory, method, technology and application device.

[0167] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The plurality of units or devices stated in the device embodiment can also be realized by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, not any specific order.

[0168] Finally, it should be pointed out that the above embodiments are only used to illustrate the technical solutions of the present application and not to limit it, although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application can be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A time intersection based ad placement method, characterized in that, The method comprises: obtaining a current advertising name from a preset advertising delivery process, extracting current advertising information and scheduled advertising information of an advertisement to be delivered from a preset advertising information database according to the current advertising name; performing strategy analysis on the current advertising information to obtain a current advertising distribution strategy, and obtaining a current advertising distribution strategy time period corresponding to the current advertising distribution strategy; matching a current strategy advertising pre-sale time period set corresponding to the current advertising distribution strategy from a preset pre-sale configuration file, and calculating a current strategy effective time period according to the current strategy advertising pre-sale time period set and the current advertising distribution strategy time period; matching a scheduled strategy advertising pre-sale time period set corresponding to the scheduled advertising information from the pre-sale configuration file, and calculating a scheduled strategy effective time period of the scheduled advertising information according to the scheduled strategy advertising pre-sale time period set; performing advertising position distribution according to the current strategy effective time period and the scheduled strategy effective time period. The method comprises: extracting a current advertising strategy start time and a current advertising strategy end time from the current advertising distribution strategy time period, selecting a current strategy advertising pre-sale time period in the current strategy advertising pre-sale time period set one by one, extracting a pre-sale effective start time and a pre-sale effective end time from the selected current strategy advertising pre-sale time period, and judging whether the current advertising strategy end time is before the pre-sale effective start time; if yes, returning to the step of selecting the current strategy advertising pre-sale time period in the current strategy advertising pre-sale time period set one by one, if no, judging whether the current advertising strategy start time is after the pre-sale effective end time; if yes, returning to the step of selecting the current strategy advertising pre-sale time period in the current strategy advertising pre-sale time period set one by one; if no, generating a target effective time period according to the current advertising strategy start time, the current advertising strategy end time, the pre-sale effective start time and the pre-sale effective end time, and collecting target effective time periods corresponding to all current strategy advertising pre-sale time periods in the current strategy advertising pre-sale time period set into a current strategy effective time period.

2. The time intersection based ad slot allocation method of claim 1, wherein, The method comprises: performing format analysis on the current advertising information to obtain an advertising information format; performing information analysis on the current advertising information according to the advertising information format to obtain current advertising analysis information; performing time period strategy extraction on the current advertising analysis information to obtain a current advertising time period strategy; performing distribution mode extraction on the current advertising analysis information to obtain a current advertising distribution mode; generating a current advertising distribution strategy according to the current advertising time period strategy and the current advertising distribution mode.

3. The time intersection based ad slot allocation method of claim 1, wherein, The step of matching the current strategy advertising pre-sale time period set corresponding to the current advertising allocation strategy from the preset pre-sale configuration file includes: The pre-sale configuration file is parsed to obtain pre-sale advertising information; Match the current strategy pre-sale information corresponding to the current advertising allocation strategy from the pre-sale advertising information; The pre-sale information of the current strategy is matched with the pre-sale time to obtain the set of pre-sale effective start time and the set of pre-sale effective period; The current strategy advertising pre-sale time period set is generated based on the pre-sale effective start time set and the pre-sale effective period set.

4. The time intersection based ad slot allocation method of claim 1, wherein, The step of generating the target effective time period based on the start time of the current advertising strategy, the end time of the current advertising strategy, the start time of the pre-sale effective period, and the end time of the pre-sale effective period includes: Get the current time, and take the time node that is furthest from the current time between the current advertising strategy start time and the pre-sale effective start time as the target effective start time; The time node closest to the current time between the current advertising strategy end time and the pre-sale effective end time shall be taken as the target effective end time; The target effective time period is generated based on the target effective start time and the target effective end time.

5. The time intersection based ad slot allocation method of claim 1, wherein, The step of matching the pre-sale period set of advertising pre-sale time slots corresponding to the scheduled advertising information from the pre-sale configuration file includes: The scheduled advertising information is analyzed to determine the future allocation strategy. Match the advertising pre-sale time period set corresponding to the future allocation strategy from the pre-sale configuration file.

6. The time intersection based ad slot allocation method of claim 1, wherein, The step of retrieving the currently displayed advertising information and scheduled advertising information from a preset advertising information database based on the currently displayed advertising name includes: Obtain the current time, and generate a current information query instruction based on the currently displayed advertisement name and the current time; The currently displayed advertising information is retrieved from the preset advertising information database according to the current information query instruction; Generate a scheduled advertising query instruction based on the current time; Based on the principle of proximity, the target schedule start time is retrieved from the advertising information database using the scheduled advertising query command, and the advertising name corresponding to the target schedule start time is used as the scheduled advertising name. Generate a schedule information query instruction based on the scheduled advertisement name and the target schedule start time; The scheduled advertising information is retrieved from the advertising information database according to the scheduling information query command.

7. A time intersection based ad placement device for implementing the time intersection based ad placement method according to any one of claims 1 to 6, characterized by, The device includes: The information acquisition module is used to obtain the name of the currently placed advertisement from the preset advertisement placement process, and extract the information of the currently placed advertisement and the schedule of the advertisements to be placed after the currently placed advertisement from the preset advertisement information database based on the name of the currently placed advertisement. The strategy analysis module is used to perform strategy analysis on the currently delivered advertising information, obtain the current advertising allocation strategy, and obtain the current advertising allocation strategy time period corresponding to the current advertising allocation strategy. The real-time matching module is configured to match a current strategy advertisement pre-sale time period set corresponding to the current advertisement distribution strategy from the preset pre-sale configuration file, and calculate a current strategy effective time period according to the current strategy advertisement pre-sale time period set and the current advertisement distribution strategy time period; The future matching module is configured to match a schedule strategy advertisement pre-sale time period set corresponding to the schedule advertisement information from the pre-sale configuration file, calculate a schedule strategy effective time period of the schedule advertisement information according to the schedule strategy advertisement pre-sale time period set, and obtain the schedule strategy effective time period. The advertisement distribution module is configured to distribute an advertisement position according to the current strategy effective time period and the schedule strategy effective time period.

8. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the time intersection-based advertisement position distribution method according to any one of claims 1 to 6.

9. A computer readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the time intersection-based advertisement position distribution method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Advertisement putting method and device

    CN114926205A

  • Advertisement plan generation method and device, equipment and storage medium

    CN118096260A