CN115409547B - Advertisement information management method, device, equipment and storage medium of multi-advertisement platform - Google Patents

Advertisement information management method, device, equipment and storage medium of multi-advertisement platform Download PDF

Info

Publication number
CN115409547B
CN115409547B CN202210997940.7A CN202210997940A CN115409547B CN 115409547 B CN115409547 B CN 115409547B CN 202210997940 A CN202210997940 A CN 202210997940A CN 115409547 B CN115409547 B CN 115409547B
Authority
CN
China
Prior art keywords
advertisement
platform
interface
task
advertisement information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210997940.7A
Other languages
Chinese (zh)
Other versions
CN115409547A (en
Inventor
张星亮
罗凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Workec Technology Co ltd
Original Assignee
Shenzhen Workec Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Workec Technology Co ltd filed Critical Shenzhen Workec Technology Co ltd
Priority to CN202210997940.7A priority Critical patent/CN115409547B/en
Publication of CN115409547A publication Critical patent/CN115409547A/en
Application granted granted Critical
Publication of CN115409547B publication Critical patent/CN115409547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0242Determining effectiveness of advertisements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention is applicable to the technical field of Internet, and provides an advertisement information management method, device, equipment and storage medium of a multi-advertisement platform, wherein the method comprises the following steps: responding to an operation instruction of an advertiser, and acquiring clue acquisition permission from an advertisement platform indicated by the operation instruction; advertisement information data is periodically acquired from an advertisement platform associated with the cue acquisition authority. The advertising information data dispersion, centralized and unified management and follow-up aiming at the multi-advertising platform are realized.

Description

Advertisement information management method, device, equipment and storage medium of multi-advertisement platform
Technical Field
The invention belongs to the technical field of Internet, and particularly relates to an advertisement information management method, device, equipment and storage medium of a multi-advertisement platform.
Background
With the development of internet technology, more and more advertisers invest in funds to deliver advertisements on an internet network platform. If an advertiser puts advertisements on a plurality of different advertisement platforms, in order to know the effect of follow-up advertisement putting in time, the advertiser usually needs to log in each advertisement platform to independently manage and view advertisement information data. Because the advertisement information data are scattered on different advertisement platforms, when an advertiser wants to uniformly manage the advertisement information data, the advertisement information data of different platforms are required to be exported locally and then manually integrated, the whole process is time-consuming and easy to make mistakes, and uniform management and follow-up are not convenient.
Disclosure of Invention
The embodiment of the invention provides an advertisement information management method, device and equipment of a multi-advertisement platform and a storage medium, aiming at solving the problem that the advertisement information data of the multi-advertisement platform is scattered, so that the centralized and unified management and follow-up cannot be realized.
The application provides an advertisement information management method of a multi-advertisement platform, which is applied to the advertisement information management platform and comprises the following steps:
responding to an operation instruction of an advertiser, and acquiring clue acquisition permission from an advertisement platform indicated by the operation instruction;
advertisement information data is periodically acquired from an advertisement platform associated with the cue acquisition authority.
Still further, the thread obtaining permission includes thread pulling permission, and the timing of obtaining advertisement information data from an advertisement platform associated with the thread obtaining permission includes:
if the timing trigger event is monitored, judging whether a first interface corresponding to a scheduling task to be executed is current-limited, wherein the first interface is an interface for requesting to pull advertisement information data from an advertisement platform;
executing a target scheduling task corresponding to the first interface without current limitation; the scheduling task is generated according to the advertisement release information and is used for transmitting a wire pulling request task to the advertisement platform for the authorized advertiser through the first interface; the advertisement release information comprises advertisement platform information and line pull permission; the advertisement platform information is used for indicating the advertisement platform which corresponds to the advertisement put by the authorized advertiser and is authorized;
Taking a first interface of which the frequency of the transmission line cable pulling request does not accord with a preset current limiting rule as a current limiting first interface; and/or after receiving the feedback message that the second interface needs to be limited in current sent by the advertisement platform, taking the first interface corresponding to the second interface as the first interface for limiting current; the second interface is an interface which is called by the advertisement platform by other platforms and used for pulling advertisement information data;
intercepting the continuous execution of a scheduling task corresponding to the current limiting first interface to stop sending a wire rope pulling request;
putting the intercepted dispatching task into a message queue in a message mode to wait for consumption, and recording the execution progress of the intercepted dispatching task;
and if the second trigger event is monitored, consuming the message in the message queue, and continuously executing the intercepted dispatching task according to the execution progress.
Further, executing the target scheduling task corresponding to the first interface without flow limitation, including:
judging whether a target task identifier of a target scheduling task exists in a first cache; the method comprises the steps that task identifiers of incomplete scheduling tasks are stored in a first cache; the incomplete scheduling task comprises stopping the current scheduling round, and in the previous scheduling round, the scheduling task which is not performed is caused by the time length required by the task to be performed exceeding the time length of one scheduling round, or the scheduling task corresponding to the first interface is limited;
If the target task identification exists in the first cache, not delivering the scheduled task to be executed to the corresponding first thread in the current scheduling round;
if the target task identification does not exist in the first cache, the scheduling task to be executed is transmitted to a corresponding first thread as a new scheduling task, and the scheduling task to be executed is executed by the first thread in the current scheduling round.
Still further, the method further comprises:
if the completion of the execution of the incomplete scheduling task in the previous scheduling round is monitored, the corresponding target task identification is cleared from the first cache;
if the scheduled task executed in the current scheduling round is not executed to be completed, the task identification of the scheduled task which is not executed to be completed is stored in the first cache when the next scheduling round starts.
Further, if the second trigger event is monitored, consuming the message in the message queue, and continuing to execute the intercepted scheduling task according to the execution progress, including:
if the intercepted dispatching task is detected to be thrown into the message queue for a first preset time length or the availability of a second interface corresponding to the first interface of the current limit is detected,
and consuming the message in the message queue, acquiring unfinished nodes in the execution progress of the intercepted scheduling task, and continuously executing the intercepted scheduling task from the unfinished nodes.
Still further, after acquiring the advertisement information data, the method further comprises:
and distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing according to the configured circulation rule.
Further, distributing the acquired advertisement information data to corresponding processing personnel for follow-up and processing according to the configured circulation rule, including:
distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing in a polling mode;
or alternatively, the first and second heat exchangers may be,
according to the weight ratio corresponding to each processor, distributing advertisement information data with the quantity corresponding to the weight ratio to each processor;
or alternatively, the first and second heat exchangers may be,
and classifying each processor according to the working capacity of each processor, and distributing corresponding quantity of advertisement information data to each processor according to the classified level.
Still further, after acquiring the advertisement information data, the method further comprises:
and carrying out data cleaning and format specification on the acquired advertisement information data through unified standards.
Still further, in response to an operation instruction of an advertiser, obtaining thread acquisition permission from an advertisement platform indicated by the operation instruction includes: sending a clue receiving permission acquisition request to the corresponding advertisement platform according to an operation instruction of an advertiser, wherein the clue receiving permission acquisition request is used for acquiring clue receiving permission which allows receiving advertisement information data pushed by the corresponding advertisement platform;
The timing of acquiring advertisement information data from the advertisement platform associated with the cue acquisition permission comprises the following steps: and receiving advertisement information data which are pushed by the advertisement platform at regular time, wherein the advertisement platform marks the advertiser as an authorized advertiser after receiving the clue receiving permission acquisition request, and pushes the advertisement information data of the authorized advertiser in the advertisement platform to the advertisement information management platform at regular time.
The embodiment of the invention also provides an advertisement information management device of the multi-advertisement platform, which is applied to the advertisement information management platform and comprises:
the authorization request module is used for responding to the operation instruction of the advertiser and acquiring clue acquisition permission from the advertisement platform indicated by the operation instruction;
and the acquisition module is used for acquiring the advertisement information data from the advertisement platform associated with the clue acquisition authority at regular time.
The embodiment of the invention also provides a computer device, which comprises a memory, a processor and computer readable instructions stored on the memory and capable of running on the processor, wherein the processor executes the steps of the advertisement information management method of the multi-advertisement platform according to any one of the previous steps when executing the computer readable instructions.
The embodiment of the invention also provides a computer readable storage medium, wherein computer readable instructions are stored on the computer readable storage medium, and when the computer readable instructions are executed by a processor, the processor is caused to execute the steps of the advertisement information management method of the multi-advertisement platform as in any one of the previous steps.
According to the advertising information management platform, the advertising information data is acquired for the advertising platform corresponding to the authorized advertising master-slave according to the authority timing of the authority of the advertising platform application, so that the advertising information management platform gathers the advertising information data of each large advertising platform, and an advertiser can uniformly check and manage advertising cues of different advertising platforms through the advertising information management platform, so that the problem of data dispersion is solved, and meanwhile, integration, duplication removal and timely follow-up of the advertising information data by the advertiser are facilitated. The method and the system realize centralized, unified and efficient management and follow-up of the advertising information data distributed on a plurality of different advertising platforms.
Drawings
FIG. 1 is an application scenario diagram of an advertising information management method for a multiple advertising platform provided herein;
FIG. 2 is a flowchart of an advertisement information management method for a multiple advertisement platform according to an embodiment of the present invention;
FIG. 3 is a block diagram of an advertisement information management apparatus of a multiple advertisement platform according to an embodiment of the present invention;
fig. 4 is a block diagram showing an internal structure of a computer device according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
According to the method and the system, the advertisement information management platform helps an advertiser to automatically pull corresponding advertisement information data to different advertisement platforms, so that the advertiser can centrally manage the advertisement information data on different advertisement platforms through the advertisement information management platform.
The advertisement information management method of the multi-advertisement platform provided by the application can be applied to the application scene of fig. 1. The advertising information management platform 10 communicates with different advertising platforms (e.g., advertising platform 21, advertising platform 22, advertising platform 23..advertising platform 2 n) respectively.
The advertisement information management platform 10 is a self-research service that can be deployed in a machine room alone or on a cloud host such as a messenger cloud or an ali cloud, and specifically is a management application (applicable as WEB, PC, app). The advertisement information management platform 10 is divided into functional modules, including micro services such as authorization management, data pull collection, current limiting degradation, data circulation, ROI conversion analysis, data cleaning, rule configuration, and the like.
The advertisement platform comprises a third party advertisement platform, and is a third party media platform for an advertiser to put advertisements and obtain advertisement information data. The third party advertising platform has developed an API interface that allows advertisers to authorize the acquisition of advertising information to the advertising information management platform 10.
The advertisement information management platform 10 responds to the operation instruction of the advertiser, and obtains clue acquisition permission from the advertisement platform indicated by the operation instruction (for example, one or more of the advertisement platform 21, the advertisement platform 22, and the advertisement platform 23.. the advertisement platform 2 n); advertisement information data is periodically acquired from an advertisement platform associated with the cue acquisition authority.
Example 1
Referring to fig. 2, the present application provides an advertisement information management method of a multi-advertisement platform, which is applied to an advertisement information management platform, and the method includes:
s100: and responding to the operation instruction of the advertiser, and acquiring clue acquisition permission from the advertisement platform indicated by the operation instruction.
Specifically, the cue acquisition authority is used for acquiring advertisement information data from the advertisement platform. The cue acquisition authority is cue pull authority for pulling advertisement information data from the advertisement platform, or cue receiving authority for allowing receiving the advertisement information data pushed by the corresponding advertisement platform.
Under the condition that the clue acquisition permission is clue pull permission, the advertiser is used as a user to register an account number of the advertisement information management platform, and under the condition that the advertisement information management platform is logged in by using the registered account number and the password, the advertiser can operate the account number of the advertisement information management platform at the front end of the advertisement information management platform.
The operation instruction is specifically an instruction generated according to the operation of the advertiser at the front end of the advertisement information management platform. The advertiser can send a first operation instruction to the advertisement information management platform by operating the front end of the advertisement information management platform, the advertisement information management platform skips and logs on to the advertisement platform after obtaining a skip link of the advertisement platform according to the first operation instruction, after successfully logging in the advertisement platform, the advertiser selects an advertisement account number needing to be authorized and opens a corresponding permission point on the advertisement platform, and the advertisement platform returns a pre-authorization code to the advertisement information management platform. The advertisement information management platform sends a second authorization request to the advertisement platform according to the pre-authorization code to request the token (token) for acquiring the advertisement account number from the advertisement platform, wherein the second authorization request carries the pre-authorization code. And the advertisement platform returns a token corresponding to the advertisement account number of the advertiser in the advertisement platform to the advertisement information management platform according to the pre-authorization code in the second authorization request. The advertisement information management platform acquires the token and acquires the cable pulling authority. The line drawing authority specifically comprises the authority for allowing to log in an advertisement account number of an advertiser on the advertisement platform and allowing to access a target page in the background of the advertisement account number, and drawing specified data from the target page.
If the same advertiser has advertisement account numbers on different advertisement platforms, the advertisement information management platform is required to apply for clue pulling authorities which authorize the pulling of advertisement information data from the advertisement platforms to the different advertisement platforms respectively. Wherein each advertising platform authorized by each authorized advertiser corresponds to a cue pull authority.
In addition, the advertiser of the line drawing authority is authorized in the advertisement information management platform.
Under the condition that the cue acquisition permission is the cue receiving permission, the advertisement information management platform sends a cue receiving permission acquisition request to the corresponding advertisement platform according to an operation instruction of an advertiser, wherein the cue receiving permission acquisition request is used for acquiring cue receiving permission which allows receiving advertisement information data pushed by the corresponding advertisement platform; the advertisement platform marks the advertiser as an authorized advertiser after receiving the clue receipt permission acquisition request.
S200: advertisement information data is periodically acquired from an advertisement platform associated with the cue acquisition authority.
Specifically, when the thread obtaining permission is the thread pulling permission, the advertisement information data is pulled to the corresponding advertisement platform at regular time according to the thread pulling permission.
There are many advertisers registered in the advertisement information management platform and authorized advertisers, and each authorized advertiser may have more than one authorized advertisement platform, and the advertisement information management platform needs to pull corresponding advertisement information data for each authorized advertiser to the corresponding authorized advertisement platform according to the line pull permission. The advertisement information data includes feedback information of users who click on the advertisement, such as feedback data of data filled in an interface form displayed by the advertisement by the users who click on the advertisement.
For example, if the authorized advertiser a authorizes the cue pull permission of the advertisement platform 1 and the advertisement platform 2, the advertisement information management platform needs to pull the advertisement information data to the advertisement platform 1 according to the cue pull permission of the authorized advertiser a on the advertisement platform 1; the advertisement information management platform needs to pull the advertisement information data to the advertisement platform 2 according to the cue pull authority of the authorized advertiser A on the advertisement platform 2.
Similarly, the authorized advertiser B is authorized to have cue pulling authorities of the advertisement platform 1, the advertisement platform 2 and the advertisement platform 4, and then the advertisement information management platform needs to pull advertisement information data to the advertisement platform 1 according to the cue pulling authorities of the authorized advertiser B on the advertisement platform 1; the advertisement information management platform needs to pull the advertisement information data to the advertisement platform 2 according to the cue pull authority of the authorized advertiser B on the advertisement platform 2; the advertisement information management platform needs to pull the advertisement information data to the advertisement platform 4 according to the cue pull authority of the authorized advertiser B on the advertisement platform 4.
Under the condition that the cue acquisition permission is the cue receiving permission, the advertisement platform can push advertisement information data of an authorized advertiser in the advertisement platform to the advertisement information management platform at regular time. Thus, the advertisement information management platform receives advertisement information data that the advertisement platform pushes at regular time.
In addition, the timing pulling can be flexibly configured according to the requirements, such as minutes, hours, days and the like.
According to the advertising information management platform, the advertising information data is pulled to the corresponding advertising platform by the authorized advertiser according to the authority acquisition timing of the authority applied to the advertising platform, so that the advertising information management platform gathers the advertising information data of each large advertising platform, the advertiser can uniformly check and manage the advertising cues of different advertising platforms through the advertising information management platform, the problem of data dispersion is solved, and meanwhile, the integration, the duplication removal and the timely follow-up of the advertising information data by the advertiser are facilitated.
Example two
Because the same advertisement platform has more different advertisers, if the advertisers accessing the advertisement platform at the same time are more, the requested advertisement information data is easy to be lost due to the current limitation of the advertisement platform when the request for acquiring the advertisement information data is requested.
After the advertiser authorizes the advertisement account number to the advertisement information management platform, the advertisement information management platform can pull advertisement information data of the advertisement platform at regular time. However, if the authorized advertisers are many, or the interval time of the timing task calling the advertisement platform is short, the access amount of the advertisement platform may be too large, and the interface current limit of the advertisement platform is triggered, so that the advertisement information data is pulled to fail, and if the retry is performed after the failure, the interface current limit is aggravated. In order to solve the problem of interface current limiting, a second embodiment is provided.
In one embodiment, the thread obtaining authority includes a thread pulling authority, and step S200 specifically includes:
if the timing trigger event is monitored, judging whether a first interface corresponding to a scheduling task to be executed is current-limited, wherein the first interface is an interface for requesting to pull advertisement information data from an advertisement platform;
executing a target scheduling task corresponding to the first interface without current limitation; the scheduling task is generated according to the advertisement release information and is used for transmitting a wire pulling request task to the advertisement platform for the authorized advertiser through the first interface; the advertisement release information comprises advertisement platform information and line pull permission; the advertisement platform information is used for indicating the advertisement platform which corresponds to the advertisement put by the authorized advertiser and is authorized;
taking a first interface of which the frequency of the transmission line cable pulling request does not accord with a preset current limiting rule as a current limiting first interface; and/or after receiving the feedback message that the second interface needs to be limited in current sent by the advertisement platform, taking the first interface corresponding to the second interface as the first interface for limiting current; the second interface is an interface which is called by the advertisement platform by other platforms and used for pulling advertisement information data;
intercepting the continuous execution of a scheduling task corresponding to the current limiting first interface;
Putting the intercepted dispatching task into a message queue in a message mode to wait for consumption, and recording the execution progress of the intercepted dispatching task;
and if the second trigger event is monitored, consuming the message in the message queue, and continuously executing the intercepted dispatching task according to the execution progress.
Specifically, the advertisement platform information is used to indicate an advertisement platform that corresponds to the advertisement and is authorized by the authorized advertiser. The advertisement information management platform is provided with a current limiting component, and engineering personnel can perform operations such as current limiting rule configuration, updating and the like on a first interface corresponding to the third-party advertisement platform according to current limiting information (including current limiting frequency) of the third-party advertisement platform through the current limiting component.
The flow restricting assembly may be, but is not limited to, a sendinel flow restricting assembly. The current limit rule may specifically be QPS current limit. The current limit frequency of the advertisement platform is modified and then dynamically modified and validated in the current limit rule configured by the advertisement information management platform. The current limit rule of the advertisement information management platform can be stored in a configuration center, the configuration center can adopt Apollo, and the rule can be dynamically modified and the application can be validated based on the characteristic that Apollo can be pushed.
The first interface is an interface of the advertisement information management platform for requesting to pull advertisement information data from the corresponding advertisement platform. The request of pulling advertisement information data from different advertisement platforms at the advertisement information management platform is executed by different application function modules, and thus corresponds to different first interfaces.
The advertisement information management platform is a timing task to pull advertisement information data to the advertisement platform. For example, the task is executed once every half an hour, 1 hour, 2 hours, etc., so that the purpose of automatically collecting the pulled data on time can be achieved. The timing trigger event is the current timing task arrival time.
The advertisement information management platform monitors the sending frequency of the cue pull request of each first interface, so that each time a timing trigger event arrives, the advertisement information management platform judges whether the local first interface is in a current limiting state or not, namely whether the local first interface is the current limiting first interface or not according to whether the sending frequency exceeds the corresponding current limiting frequency. In addition, the advertisement platform is also provided with a current limiting mechanism, and the advertisement platform can actively inform the advertisement information management platform when the second interface for calling by other platforms needs to be limited. Or when the second interface needs to be limited, the advertisement platform returns the error reporting information or the current limiting information to the advertisement information management platform, so that the advertisement information management platform can determine whether the first interface corresponding to the second interface is limited, namely whether the first interface is limited, according to the error reporting information or the current limiting information or the notification information of the monitoring of the advertisement platform or the feedback of the advertisement platform. The second interface of the advertisement platform is limited in flow, and the first interface of the advertisement information management platform is limited in flow, so that the traffic pressure of the second interface of the advertisement platform is prevented from being increased by sending a request to the advertisement platform.
The advertisement platform is also used for being called by other platforms to provide other micro-service functions. The current limit mechanism is activated when the total access request of the advertising platform is too large, and the second interface is also limited because the advertising platform is limited. In addition, the time length executed by each scheduling task is different, there may be a scheduling task that is still not executed after the end of one round of timing time length and is still executed when the next round of timing arrives, so the corresponding second interface is not idle. Thus, a current limit condition may occur for the second interface upon the monitoring of the timed trigger event, with a corresponding current limit condition occurring for the first interface.
And for the first interface which is not limited by the streaming, executing a corresponding scheduling task, wherein one scheduling task is used for pulling advertisement information data for an authorized advertiser on an authorized advertisement platform. Therefore, the first interface and the second interface corresponding to one scheduling task are determined. The scheduling task is generated according to advertisement release information, and the advertisement release information comprises advertisement platform information of a third-party advertisement platform which corresponds to the advertisement released by the authorized advertiser and is authorized and the obtained cue pull permission of the third-party advertisement platform. The advertisement platform information includes, for example, interface information of the second interface to be invoked.
Each first interface has a corresponding current limiting rule, and a corresponding current limiting frequency is set in the current limiting rule, wherein the current limiting frequency is the maximum request number of allowed sending requests per second.
And for the first interface with the unrestricted flow, normally executing the corresponding scheduling task, wherein the process of executing the scheduling task is the process of sending the wire rope pulling request. Specifically, because the number of advertisement information data of each authorized advertiser is different, the request amount cannot be calculated in advance, the paging inquiry can only be performed by calling the second interface of the advertisement platform, and whether the next page inquiry needs to be performed or not is judged according to whether the returned response data is empty, namely, a clue pull request of the next page inquiry is sent. If the response data is empty, the advertiser does not need to continue to send the request, and the query of the advertiser at the advertising platform is completed; if the response data is not null, then the thread pull request for the next page query needs to continue to be sent until the response data is null. Thus, executing a scheduled task sends at least one hint pull request, the number of requests being determined based on the number of pages queried. The purpose of paging and pulling data is achieved through paging inquiry.
Monitoring of the frequency of transmission of the first interface is performed locally by the advertising information management platform. The reason that the first interface is limited in current includes locally monitoring that the sending frequency of the wire rope pulling request sent from the first interface exceeds the corresponding current limiting frequency, or determining that the second interface of the advertising platform corresponding to the first interface needs to be limited in current according to the feedback information sent by the advertising platform.
After the first interface is limited in current, the scheduling task is not executed continuously, namely, the wire pulling request is stopped to be sent to the corresponding second interface, namely, the calling of the corresponding second interface is stopped. The first interface which is limited in current is the first interface which limits the current.
As the authorized advertisers have a plurality of tasks, the number of the scheduled tasks is also large, and the scheduled tasks are sequentially transmitted to the first thread for execution. After the first interface is limited, the scheduling tasks that are not available for delivery and execution are put into a Message Queue (MQ) for waiting consumption.
Since some scheduled tasks may be partially executed to trigger current limiting, in order to not repeatedly send a request when the scheduled tasks are executed next time, the execution progress of the intercepted scheduled tasks needs to be recorded so as to be executed from a node which is not executed next time.
The intercepted scheduling task is performed after the second trigger event is monitored, and the message in the MQ is consumed to continue sending the unsent thread pull request.
The current limiting in this embodiment may be implemented by a sendnel current limiting technique.
The intercepted dispatching task exists in the MQ instead of the local queue, so that the problem of data loss caused by downtime or restarting of the application can be solved, and the intercepted dispatching task can be finally consumed and executed.
The embodiment solves the problem that advertisement information data is not completely pulled due to the fact that requests are lost due to current limiting in the pulling process by using the current limiting technology and the distributed queue technology. And carrying out current limiting configuration according to the current limiting frequency of the advertisement platform, and intercepting execution of the task when the first interface corresponding to the timing scheduling task reaches the current limiting frequency of the current limiting rule configuration, so that interface calling failure caused by triggering the current limiting of the advertisement platform is prevented from affecting the calling of other service interfaces. And after the task is intercepted, the unexecuted scheduling task is put into a queue for delayed consumption, so that the request is ensured not to be lost, and the completeness of advertisement information data is further ensured.
Example III
In one embodiment, executing a target scheduling task corresponding to an unrestricted flow first interface includes:
Judging whether a target task identifier of a target scheduling task exists in a first cache; the method comprises the steps that task identifiers of incomplete scheduling tasks are stored in a first cache; the incomplete scheduling task comprises stopping the current scheduling round, and in the previous scheduling round, the scheduling task which is not performed is caused by the time length required by the task to be performed exceeding the time length of one scheduling round, or the scheduling task corresponding to the first interface is limited;
if the target task identification exists in the first cache, not delivering the scheduled task to be executed to the corresponding first thread in the current scheduling round;
if the target task identification does not exist in the first cache, the scheduling task to be executed is transmitted to a corresponding first thread as a new scheduling task, and the scheduling task to be executed is executed by the first thread in the current scheduling round.
Specifically, because the scheduled tasks are all performed at regular intervals, i.e., once every predetermined period of time, the time taken for each scheduled task to be performed is different. Some scheduled tasks take longer and are not completely executed within the duration of one scheduled round, which results in that the scheduled task executed in the previous round is still continuously executed in the next round when the timing moment of the next round arrives, and if the new round of execution of the scheduled task is restarted from the beginning in the next round, the scheduled task is inevitably executed twice at the same moment, and the data is repeated and disordered.
In addition, due to the first interface throttling, the intercepted scheduling tasks are put into the MQ, and the intercepted scheduling tasks in the MQ are also continuously executed at a proper time. If the intercepted scheduled task is not executed yet, the next round of timing moment is reached, in order to avoid repeated execution, a new round of execution of the intercepted scheduled task is not started again from the beginning in the next round, i.e. the intercepted scheduled task is not started from the beginning node, but the intercepted scheduled task is continuously executed from the node which is not executed.
In order to facilitate identifying scheduled tasks of all nodes that are not completed in a previous scheduling round, i.e., a historical scheduling round, a target task identification of an incomplete scheduled task is added to the first cache every time the incomplete scheduled task is determined. Judging which scheduling tasks do not start the execution of a new round in the current round of scheduling according to the target task identification in the first cache, and continuing to execute unfinished nodes; and determines which scheduled tasks start a new round of execution in the current round of scheduling.
For example, the target task identifiers of the scheduled task 1 and the scheduled task 2 are both in the first cache, so that the scheduled task 1 and the scheduled task 2 do not restart new execution in the current round of scheduling, but continue to execute from the node that has not completed.
If the target task identification of the scheduled task 4 is not in the first cache, the scheduled task 4 starts a new execution in the current round of scheduling, i.e. starts execution from the node at the beginning.
The method further comprises the steps of:
if the completion of the execution of the incomplete scheduling task in the previous scheduling round is monitored, the corresponding target task identification is cleared from the first cache;
if the scheduled task executed in the current scheduling round is not executed to be completed, the task identification of the scheduled task which is not executed to be completed is stored in the first cache when the next scheduling round starts.
Specifically, for an incomplete scheduled task whose target task identification is in the first cache, if execution is completed at a certain time, its target task identification is cleared from the first cache, so that the scheduled task can start new execution at the next time of task scheduling.
And for the scheduled task which is newly executed in the current round and is not executed in the next scheduling round, adding the target task identification thereof into the first buffer, and not restarting the execution of the new round of the scheduled task in the next scheduling round.
In addition, the first thread is a thread in a thread pool, and in the application, an advertisement clue is pulled for an authorized advertiser in an asynchronous thread pool mode, and the thread pool size is configured according to the limit flow number per second of a corresponding advertisement platform, mainly for preventing the excessive number of parallel requests, so that the limit flow is triggered quickly.
The target task identification in the first cache can be cleared timely, so that the corresponding scheduling task can be guaranteed to be normally executed as a new scheduling task in next scheduling. The target task identification is timely added into the first buffer memory, so that the corresponding scheduling task can be prevented from being executed as a new scheduling task in next scheduling, and the same scheduling task is prevented from being repeatedly executed.
Example IV
In one embodiment, if the second trigger event is monitored, consuming the message in the message queue, and continuing to execute the intercepted scheduling task according to the execution progress, including:
and if the intercepted scheduling task is detected to be put into the message queue for a first preset time length or the second interface corresponding to the first interface for limiting the flow is detected to be available, consuming the message in the message queue, acquiring unfinished nodes in the execution progress of the intercepted scheduling task, and continuing to execute the intercepted scheduling task from the unfinished nodes.
Specifically, the second trigger event includes a first preset duration after the intercepted scheduling task is detected to be put into the message queue and a second interface corresponding to the first interface for limiting the current is detected to be available.
And consuming the messages in the message queue after the first preset time length is spaced, and continuously executing the intercepted dispatching task from the unfinished nodes of the intercepted dispatching task according to the execution progress, or consuming the messages in the message queue if the second interface corresponding to the current limiting first interface is detected to be available, and continuously executing the intercepted dispatching task from the unfinished nodes of the intercepted dispatching task according to the execution progress.
And each interval of the second preset time period is used for attempting to send a request to a second interface needing current limiting to acquire a feedback result, and if the feedback result is a response result of the request, the second interface is available. And judging whether the sensing detection second interface is available or not through trial interface call. And under the condition that the availability of the second interface is detected, the message can be consumed successfully, and the success rate of message consumption is improved.
The message in the MQ can be consumed at intervals of a first preset time length after being added into the MQ, if the response returned by the corresponding second interface when the message in the MQ is consumed to execute the intercepted dispatching task is error reporting or feedback information indicating that the second interface needs to be limited, the message is paused, and the message which is not consumed successfully is still reserved and is not cleared to wait for the next consumption. And then the message in the MQ is consumed again after the first preset time length. And so on. The message of the completion of the consumption is cleared from the MQ in time.
The consume message is to pass the intercepted scheduled task to the first thread such that the first thread performs the intercepted scheduled task.
In addition, intercepted scheduled tasks may also be intercepted again.
When the advertisement platform interface requests to report errors or is not available, failed requests are put into a queue, the availability of a second interface of the advertisement platform is detected when the queue information is processed, if the second interface is available, the call is triggered, and the queue information is not pulled when the second interface is continuously unavailable, so that the current requests are not lost.
Example five
In one embodiment, after the advertisement information data is acquired in step S200, the method further includes: and distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing according to the configured circulation rule.
Specifically, in order to solve the problem of efficient circulation after the advertisement information data is pulled back, the embodiment introduces the QLExpress rule engine technology, performs circulation rule configuration according to any one of polling, weighting and user definition, triggers the circulation rule configured by the circulation rule engine after the advertisement information management platform collects the advertisement information data, automatically distributes the advertisement information data to selected processing personnel, and simultaneously touches the processing personnel in a notification mode.
The QLExpress is utilized to dynamically configure the circulation rules of the advertiser and can take effect in real time, the change of the circulation rules is reflected in an automatic distribution mode and the selection of the to-be-distributed processing personnel, and the to-be-distributed processing personnel are selected according to different circulation rules through the QLExpress rule template.
More specifically, a QLExpress rule template file is defined first, and the template file is deployed together with the application; the advertisement information management platform can support a polling distribution circulation mode, a circulation mode distributed according to weights and a self-defined distribution circulation mode. Each circulation mode has a corresponding rule template file.
Taking a polling template as an example: after logging in the account number of the advertisement information management platform, the advertiser selects a polling rule in the operation of an application page, configures a processor needing polling, loads a QLExpress rule template when automatic allocation logic is triggered after the advertisement information data is acquired, analyzes a polling branch in the template, and executes a polling method to acquire the processor for the advertisement information data allocation.
Different advertisers can configure the polling rules according to the actual demands of the advertisers and select corresponding processing personnel.
And configuring a circulation rule by using the QLExpress rule engine, so that the acquired advertisement information data is circulated to a processor more efficiently.
According to the embodiment, the advertisement information data is pulled, and can be timely distributed to the processing personnel, so that the acquired advertisement information data can be more efficiently transferred to the corresponding processing personnel, the new advertisement information data acquired by advertisement delivery can be efficiently followed, and the advertisement owner can conduct business development timely according to the delivered advertisement.
Example six
In one embodiment, distributing the acquired advertisement information data to corresponding processing personnel for follow-up and processing according to the configured circulation rule, including:
Distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing in a polling mode;
or alternatively, the first and second heat exchangers may be,
according to the weight ratio corresponding to each processor, distributing advertisement information data with the quantity corresponding to the weight ratio to each processor;
or alternatively, the first and second heat exchangers may be,
and classifying each processor according to the working capacity of each processor, and distributing corresponding quantity of advertisement information data to each processor according to the classified level.
Specifically, based on configured circulation rules, the advertisement information data can automatically select the processing personnel to be distributed according to the rules after the advertisement information data are collected. The polling rule is a mode of orderly alternating according to the advertisement information data, so that each processor can acquire the advertisement information data; the weight rule distributes advertisement information data according to percentages, so that specified processing personnel can acquire the advertisement information data with the corresponding weight ratio and the corresponding quantity; the custom rule can be judged according to the traffic volume of the processing personnel, the processing personnel are divided into sections according to the traffic volume to obtain different levels, and the advertising information data distributed by the processing personnel with high traffic volume can be more.
In addition, the processing personnel can follow the distributed advertisement information data, for example, the processing personnel can visit the user back according to the user information of the user who clicks the advertisement provided in the advertisement information data, so as to promote the order, and the volume of the deal is reached.
Example seven
In one embodiment, after pulling the advertising information data, the method further comprises: and carrying out data cleaning and format specification on the acquired advertisement information data through unified standards.
Specifically, since there may be differences in definition rules of advertisement information data of each advertisement platform, meaning, use, and format of fields are not necessarily consistent.
The advertisement information management platform of the embodiment cleans and converts advertisement information data pulled from different advertisement platforms through a unified standard.
For example, names, sexes, phone numbers, QQs, weChats, mailboxes, web addresses, country regions, industry, company names, information times, etc. in different advertising platforms are filtered for cleansing and format conversion.
Specifically, for example, the formats returned by the platform interfaces of the content in the country region are different, and the returned content in the same region may be different, for example: shenzhen in Guangdong, shenzhen in Shenzhen. Such advertising information data representing the same meaning but in a non-uniform format is disadvantageous for data integration and management, and does not meet the requirements of user cascade screening. Therefore, the content with the same meaning in different formats needs to be converted into the same value so as to realize linkage screening of the advertisement information data.
In one embodiment, the advertising information management platform may also automatically calculate the conversion rate of advertising. More specifically, the total amount of advertisement information data and the amount of advertisement delivery consumption in a certain time range are calculated; and drawing a statistical graph to enable an advertiser to intuitively analyze the throwing effect, so as to improve the follow-up throwing strategy.
In one embodiment, the present application further provides an advertisement information management method of a multi-advertisement platform, applied to the advertisement information management platform, where the method includes:
sending a clue receiving permission acquisition request to the corresponding advertisement platform according to an operation instruction of an advertiser, wherein the clue receiving permission acquisition request is used for acquiring clue receiving permission which allows receiving advertisement information data pushed by the corresponding advertisement platform;
and receiving advertisement information data which are pushed by the advertisement platform at regular time, wherein the advertisement platform marks the advertiser as an authorized advertiser after receiving the clue receiving permission acquisition request, and pushes the advertisement information data of the authorized advertiser in the advertisement platform to the advertisement information management platform at regular time.
Specifically, the advertiser logs in the advertisement information management platform to send an operation instruction by operating the advertisement information management platform at the front end, and the advertisement information management platform applies for obtaining clue receiving permission to the indicated advertisement platform according to the operation instruction, so that the advertisement information management platform can regularly receive advertisement information data of advertisements put on the advertisement platform by the advertiser pushed by the advertisement platform.
The technical effect of centralized management of the advertisement information data by the advertisement information management platform is achieved through the pushing mode of the advertisement platform.
In addition, the advertisement platform can also set a current limiting mechanism as the advertisement information management platform, and when the pushing frequency exceeds the corresponding pushing frequency threshold value, the advertisement information data is suspended to be pushed. The advertisement information management platform can also set a current limiting mechanism, and the advertisement platform is informed to pause pushing after the receiving frequency exceeds the corresponding receiving frequency threshold value.
In one embodiment, the present application further provides an advertisement information management method of a multi-advertisement platform, applied to an advertisement platform, the method comprising:
receiving a clue receiving permission acquisition request sent by an advertisement information management platform;
the advertisement information management platform is authorized to obtain the request for the authority of receiving the clue according to the authority of receiving the clue, and the advertiser is marked as an authorized advertiser with respect to the authority of receiving the clue of the corresponding advertiser in the advertisement platform;
and pushing advertisement information data of the authorized advertiser in the advertisement platform to the advertisement information management platform at fixed time.
Referring to fig. 3, the present application further provides an advertisement information management apparatus of a multiple advertisement platform, applied to the advertisement information management platform, the apparatus comprising:
An authorization request module 100, configured to respond to an operation instruction of an advertiser, and obtain clue acquisition permission from an advertisement platform indicated by the operation instruction;
and the acquisition module 200 is used for acquiring the advertisement information data from the advertisement platform associated with the clue acquisition authority at fixed time.
In one embodiment, the obtaining module 200 specifically includes:
the first judging module is used for judging whether a first interface corresponding to a scheduling task to be executed is current-limited or not if a timing trigger event is monitored, wherein the first interface is an interface for requesting to pull advertisement information data from an advertisement platform;
the task execution module is used for executing a target scheduling task corresponding to the first interface which is not limited in flow; the scheduling task is generated according to the advertisement release information and is used for transmitting a wire pulling request task to the advertisement platform for the authorized advertiser through the first interface; the advertisement release information comprises advertisement platform information and line pull permission;
the monitoring module is used for taking a first interface, the frequency of which does not accord with a preset current limiting rule, of a transmission cable pulling request as a current limiting first interface; and/or after receiving the feedback message that the second interface needs to be limited in current sent by the advertisement platform, taking the first interface corresponding to the second interface as the first interface for limiting current; the second interface is an interface which is called by the advertisement platform by other platforms and used for pulling advertisement information data;
The interception module is used for intercepting the continuous execution of the scheduling task corresponding to the current limiting first interface;
the message delivery module is used for delivering the intercepted scheduling task into a message queue in a message mode to wait for consumption and recording the execution progress of the intercepted scheduling task;
and the message consumption module is used for consuming the messages in the message queue if the second trigger event is monitored, and continuously executing the intercepted dispatching task according to the execution progress.
In one embodiment, the task execution module includes:
the second judging module is used for judging whether the target task identifier of the target scheduling task exists in the first cache; the method comprises the steps that task identifiers of incomplete scheduling tasks are stored in a first cache; the incomplete scheduling task comprises stopping the current scheduling round, and in the previous scheduling round, the scheduling task which is not performed is caused by the time length required by the task to be performed exceeding the time length of one scheduling round, or the scheduling task corresponding to the first interface is limited;
the first execution module is used for not delivering the scheduled task to be executed to the corresponding first thread in the current scheduling round if the target task identifier exists in the first cache; if the target task identification does not exist in the first cache, the scheduling task to be executed is transmitted to a corresponding first thread as a new scheduling task, and the scheduling task to be executed is executed by the first thread in the current scheduling round.
In one embodiment, the apparatus further comprises:
the clearing module is used for clearing the corresponding target task identifier from the first cache if the completion of the execution of the incomplete scheduling task in the previous scheduling round is monitored;
and adding a buffer memory module, wherein the buffer memory module is used for storing the task identification of the scheduled task which is not executed to be completed in the first buffer memory when the next scheduling round starts if the scheduled task which is executed in the current scheduling round is not executed to be completed.
In one embodiment, the message consumption module is specifically configured to consume a message in the message queue if a first preset duration is passed after the intercepted scheduled task is detected to be put into the message queue, or a second interface corresponding to the first interface is detected to be available, obtain an incomplete node in an execution progress of the intercepted scheduled task, and continue to execute the intercepted scheduled task from the incomplete node.
In one embodiment, the apparatus further comprises:
and the circulation module is used for distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing according to the configured circulation rule.
In one embodiment, the circulation module specifically includes:
the first streaming module is used for distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing in a polling mode;
The second circulation module is used for distributing advertisement information data with the quantity corresponding to the weight ratio to each processor according to the weight ratio corresponding to each processor;
and the third circulation module is used for classifying each processor according to the working capacity of each processor and distributing corresponding quantity of advertisement information data to each processor according to the classified level.
In one embodiment, the apparatus further comprises:
and the data cleaning module is used for cleaning the data and standardizing the format of the acquired advertisement information data through a unified standard.
In one embodiment, the authorization request module 100 is specifically configured to send a thread receiving permission obtaining request to a corresponding advertisement platform according to an operation instruction of an advertiser, where the thread receiving permission obtaining request is used to obtain thread receiving permission that allows receiving advertisement information data pushed by the corresponding advertisement platform;
the obtaining module 200 is specifically configured to receive advertisement information data that is pushed by the advertisement platform at regular time, where the advertisement platform marks the advertiser as an authorized advertiser after receiving the request for receiving authority of clue, and pushes the advertisement information data of the authorized advertiser on the advertisement platform to the advertisement information management platform at regular time.
The method and the device realize unified collection, management and duplication removal of the advertisement information data of different advertisement platforms through the advertisement information management platform; the problem of request loss caused by overlarge interface flow is solved by utilizing a current limiting technology and a distributed queue technology; the acquired advertisement information data is transferred to a processor more efficiently by using the configured transfer rule, so that the data can be followed in time; the amount of advertisement delivery and the amount of the obtained advertisement information data automatically calculate the ROI to provide data support for the subsequent advertisement delivery.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.
The meaning of "first" and "second" in the above modules/units is merely to distinguish different modules/units, and is not used to limit which module/unit has higher priority or other limiting meaning. Furthermore, the terms "comprises," "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules that are expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or modules that may not be expressly listed or inherent to such process, method, article, or apparatus, and the partitioning of such modules by means of such elements is only a logical partitioning and may be implemented in a practical application.
The specific limitation of the advertisement information management apparatus of the multi-advertisement platform may be referred to the limitation of the advertisement information management method of the multi-advertisement platform hereinabove, and will not be described herein. The various modules in the advertising information management apparatus of the multi-advertising platform described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 4 is a block diagram showing an internal structure of a computer device according to an embodiment of the present application. The computer device may be in particular the advertising information management platform of fig. 1. As shown in fig. 4, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory includes a storage medium and an internal memory. The storage medium may be a nonvolatile storage medium or a volatile storage medium. The storage medium stores an operating system and may further store computer readable instructions that, when executed by the processor, cause the processor to implement a method of advertisement information management for a multiple advertisement platform. The internal memory provides an environment for the execution of an operating system and computer-readable instructions in the storage medium. The internal memory may also store computer readable instructions that, when executed by the processor, cause the processor to perform a method of advertisement information management for a multiple advertisement platform. The network interface of the computer device is for communicating with an external server via a network connection. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer device is provided that includes a memory, a processor, and computer readable instructions (e.g., a computer program) stored on the memory and executable on the processor, which when executed by the processor implement the steps of the advertising information management method of the multiple advertising platform of the above embodiments, such as steps S100 through S200 shown in fig. 2 and other extensions of the method and extensions of related steps. Alternatively, the processor, when executing the computer readable instructions, implements the functions of each module/unit of the advertisement information management apparatus of the multi-advertisement platform in the above embodiment, such as the functions of the modules 100 to 200 shown in fig. 3. In order to avoid repetition, a description thereof is omitted.
The processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being a control center of the computer device, and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer-readable instructions and/or modules that, by being executed or executed by the processor, implement various functions of the computer device by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc.
The memory may be integrated with the processor or may be separate from the processor.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer readable storage medium is provided, on which computer readable instructions are stored, which when executed by a processor, implement the steps of the advertising information management method of the multi-advertisement platform in the above embodiment, such as steps S100 to S200 shown in fig. 2 and other extensions of the method and extensions of related steps. Alternatively, the computer readable instructions, when executed by a processor, implement the functions of the modules/units of the advertising information management apparatus of the multi-advertisement platform in the above embodiment, such as the functions of the modules 100 to 200 shown in fig. 3. In order to avoid repetition, a description thereof is omitted.
Those of ordinary skill in the art will appreciate that implementing all or part of the processes of the above described embodiments may be accomplished by instructing the associated hardware by way of computer readable instructions stored in a computer readable storage medium, which when executed, may comprise processes of embodiments of the above described methods. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments. From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. An advertisement information management method of a multi-advertisement platform, applied to an advertisement information management platform, is characterized in that the method comprises the following steps:
responding to an operation instruction of an advertiser, and acquiring clue acquisition permission from an advertisement platform indicated by the operation instruction;
regularly acquiring advertisement information data from the advertisement platform associated with the clue acquisition permission;
if the thread obtaining permission includes a thread pulling permission, the timing of obtaining advertisement information data from an advertisement platform associated with the thread obtaining permission includes:
if the timing trigger event is monitored, judging whether a first interface corresponding to a scheduling task to be executed is current-limited or not, wherein the first interface is an interface for requesting to pull advertisement information data from an advertisement platform;
executing a target scheduling task corresponding to the first interface without current limitation; the scheduling task is generated according to the advertisement release information and is used for transmitting a wire pulling request task to the advertisement platform for the authorized advertiser through the first interface; the advertisement release information comprises advertisement platform information and the clue pulling authority;
Taking a first interface of which the frequency of the transmission line cable pulling request does not accord with a preset current limiting rule as a current limiting first interface; and/or after receiving a feedback message that the second interface needs to be limited in current, which is sent by the advertisement platform, taking a first interface corresponding to the second interface as a first interface for limiting the current; the second interface is an interface which is called by the advertisement platform by other platforms to pull advertisement information data;
intercepting the continuous execution of a scheduling task corresponding to the current limiting first interface;
putting the intercepted dispatching task into a message queue in a message mode for waiting consumption, and recording the execution progress of the intercepted dispatching task;
if the second trigger event is monitored, consuming the message in the message queue, and continuing to execute the intercepted dispatching task according to the execution progress;
if the thread obtaining permission includes thread receiving permission, the responding to the operation instruction of the advertiser obtains the thread obtaining permission from the advertisement platform indicated by the operation instruction, including: sending a clue receiving permission acquisition request to the corresponding advertisement platform according to an operation instruction of an advertiser, wherein the clue receiving permission acquisition request is used for acquiring clue receiving permission which allows receiving advertisement information data pushed by the corresponding advertisement platform;
The timing of acquiring advertisement information data from the advertisement platform associated with the cue acquisition permission comprises the following steps: and receiving advertisement information data pushed by the advertisement platform at fixed time, wherein the advertisement platform marks the advertiser as an authorized advertiser after receiving the clue receiving permission acquisition request, and pushes the advertisement information data of the authorized advertiser in the advertisement platform to the advertisement information management platform at fixed time.
2. The advertising information management method of claim 1, wherein the performing the target scheduling task corresponding to the unrestricted first interface comprises:
judging whether a target task identifier of the target scheduling task exists in a first cache; the first cache is used for storing task identifiers of incomplete scheduling tasks; the incomplete scheduling task comprises a scheduling task which is not completely executed because the time length required by task execution exceeds the time length of one scheduling round in the previous scheduling round or the scheduling task corresponding to the current limiting first interface;
if the target task identifier exists in the first cache, not delivering the scheduled task to be executed to a corresponding first thread in the current scheduling round;
And if the target task identifier does not exist in the first cache, the scheduling task to be executed is transmitted to a corresponding first thread as a new scheduling task, and the scheduling task to be executed is executed by the first thread in the current scheduling round.
3. The advertising information management method of the multi-advertising platform as claimed in claim 2, wherein the method further comprises:
if the completion of the execution of the incomplete scheduling task in the previous scheduling round is monitored, the corresponding target task identification is cleared from the first cache;
and if the scheduled task executed in the current scheduling round is not executed to be completed, storing the task identification of the scheduled task which is not executed to be completed in the first cache when the next scheduling round starts.
4. The method for managing advertisement information on a multiple advertisement platform according to claim 1, wherein if the second trigger event is monitored, consuming the message in the message queue, and continuing to execute the intercepted scheduling task according to the execution progress, comprises:
and if the intercepted scheduling task is detected to be put into the message queue for a first preset time length or the second interface corresponding to the current limiting first interface is detected to be available, consuming the message in the message queue, acquiring an unfinished node in the execution progress of the intercepted scheduling task, and continuing to execute the intercepted scheduling task from the unfinished node.
5. The advertising information management method of the multi-advertising platform as claimed in claim 1, wherein after acquiring the advertising information data, the method further comprises:
and distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing according to the configured circulation rule.
6. The advertising information management method of multiple advertising platforms according to claim 5, wherein distributing the acquired advertising information data to corresponding processing personnel for follow-up processing according to the configured circulation rule comprises:
distributing the acquired advertisement information data to corresponding processing personnel for follow-up processing in a polling mode;
or alternatively, the first and second heat exchangers may be,
according to the weight ratio corresponding to each processor, distributing advertisement information data with the quantity corresponding to the weight ratio to each processor;
or alternatively, the first and second heat exchangers may be,
and classifying each processor according to the working capacity of each processor, and distributing corresponding quantity of advertisement information data to each processor according to the classified level.
7. The advertising information management method of claim 1, wherein the performing the target scheduling task corresponding to the unrestricted first interface comprises:
And sending a clue pulling request for pulling the advertisement information data of different target pages to a second interface of the advertisement platform corresponding to the first interface without limitation in a paging query mode until the advertisement information data of all the target pages are obtained.
8. An advertisement information management apparatus of a multi-advertisement platform, applied to an advertisement information management platform, characterized in that the apparatus comprises:
the authorization request module is used for responding to an operation instruction of an advertiser and acquiring clue acquisition permission from an advertisement platform indicated by the operation instruction;
the acquisition module is used for acquiring advertisement information data from the advertisement platform associated with the clue acquisition permission at regular time;
if the thread obtaining permission includes a thread pulling permission, the obtaining module includes:
the first judging module is used for judging whether a first interface corresponding to a scheduling task to be executed is current-limited or not if a timing trigger event is monitored, wherein the first interface is an interface for requesting to pull advertisement information data from an advertisement platform;
the task execution module is used for executing a target scheduling task corresponding to the first interface which is not limited in flow; the scheduling task is generated according to the advertisement release information and is used for transmitting a wire pulling request task to the advertisement platform for the authorized advertiser through the first interface; the advertisement release information comprises advertisement platform information and the clue pulling authority;
The monitoring module is used for taking a first interface, the frequency of which does not accord with a preset current limiting rule, of a transmission cable pulling request as a current limiting first interface; and/or after receiving a feedback message that the second interface needs to be limited in current, which is sent by the advertisement platform, taking a first interface corresponding to the second interface as a first interface for limiting the current; the second interface is an interface which is called by the advertisement platform by other platforms to pull advertisement information data;
the interception module is used for intercepting the continuous execution of the scheduling task corresponding to the current limiting first interface;
the message delivery module is used for delivering the intercepted dispatching task into a message queue in a message mode to wait for consumption and recording the execution progress of the intercepted dispatching task;
the message consumption module is used for consuming the messages in the message queue if the second trigger event is monitored, and continuously executing the intercepted dispatching task according to the execution progress;
if the thread acquisition permission includes thread receiving permission, then
The authorization request module is specifically configured to send a cue receiving permission acquisition request to a corresponding advertisement platform according to an operation instruction of an advertiser, where the cue receiving permission acquisition request is used to acquire a cue receiving permission that allows receiving advertisement information data pushed by the corresponding advertisement platform;
The acquisition module is specifically configured to receive advertisement information data that is pushed by the advertisement platform at regular time, where the advertisement platform marks the advertiser as an authorized advertiser after receiving the request for receiving authority of clue, and pushes the advertisement information data of the authorized advertiser on the advertisement platform to the advertisement information management platform at regular time.
9. A computer device comprising a memory, a processor and computer readable instructions stored on the memory and executable on the processor, wherein the processor, when executing the computer readable instructions, performs the steps of the advertising information management method of the multiple advertising platform as claimed in any one of claims 1-7.
10. A computer readable storage medium having computer readable instructions stored thereon, which when executed by a processor, cause the processor to perform the steps of the advertising information management method of the multiple advertising platform as claimed in any one of claims 1-7.
CN202210997940.7A 2022-08-19 2022-08-19 Advertisement information management method, device, equipment and storage medium of multi-advertisement platform Active CN115409547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210997940.7A CN115409547B (en) 2022-08-19 2022-08-19 Advertisement information management method, device, equipment and storage medium of multi-advertisement platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210997940.7A CN115409547B (en) 2022-08-19 2022-08-19 Advertisement information management method, device, equipment and storage medium of multi-advertisement platform

Publications (2)

Publication Number Publication Date
CN115409547A CN115409547A (en) 2022-11-29
CN115409547B true CN115409547B (en) 2023-06-06

Family

ID=84160046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210997940.7A Active CN115409547B (en) 2022-08-19 2022-08-19 Advertisement information management method, device, equipment and storage medium of multi-advertisement platform

Country Status (1)

Country Link
CN (1) CN115409547B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290070A (en) * 2019-05-15 2019-09-27 北京三快在线科技有限公司 A kind of flow control methods, device, equipment and readable storage medium storing program for executing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2009212838B1 (en) * 2009-08-27 2010-03-18 Lee Namir Data Aggregation System
US11790382B2 (en) * 2016-09-15 2023-10-17 Circlesx Llc Method to transmit geolocation exchange based markets
CN109257293B (en) * 2018-08-01 2022-02-18 北京明朝万达科技股份有限公司 Speed limiting method and device for network congestion and gateway server
CN111953635B (en) * 2019-05-15 2022-09-06 福建天晴数码有限公司 Interface request processing method and computer-readable storage medium
CN114298759A (en) * 2021-12-30 2022-04-08 深圳优优互联网络科技有限公司 Advertisement platform integrated management method and device, electronic equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290070A (en) * 2019-05-15 2019-09-27 北京三快在线科技有限公司 A kind of flow control methods, device, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN115409547A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
US20140052624A1 (en) Correlation of asynchronous business transactions
CN107451853B (en) Method, device and system for real-time red packet distribution and storage medium
US20110078297A1 (en) Job processing system, method and program
CN111585867A (en) Message processing method and device, electronic equipment and readable storage medium
US10305724B2 (en) Distributed scheduler
CN112016030B (en) Message pushing method, device, server and computer storage medium
CN112579692A (en) Data synchronization method, device, system, equipment and storage medium
CN109117280A (en) The method that is communicated between electronic device and its limiting process, storage medium
CN114629883B (en) Service request processing method and device, electronic equipment and storage medium
CN111917659A (en) Concurrent data transmission method, system, device and computer readable storage medium
CN111282263A (en) Event message processing method and device, electronic equipment and readable storage medium
CN111192070B (en) Storage service metering method and system, computer system and readable storage medium
CN115409547B (en) Advertisement information management method, device, equipment and storage medium of multi-advertisement platform
CN106097056A (en) A kind of method for processing business in intelligent robot supermarket
CN111182479B (en) Information sending control method and device
CN110750350B (en) Large resource scheduling method, system, device and readable storage medium
JP6279816B2 (en) Storage monitoring system and monitoring method thereof
CN110262955A (en) Application performance monitoring tools based on pinpoint
CN109495544A (en) A kind of message data treating method and apparatus and computer equipment
CN111600771B (en) Network resource detection system and method
CN108874923B (en) Virtual article distribution method, server, and computer-readable storage medium
CN113687945A (en) Management method, device, equipment and storage medium for locomotive data intelligent analysis algorithm
CN113055493A (en) Data packet processing method, device, system, scheduling device and storage medium
JP3736680B2 (en) Access control apparatus and computer program
CN112306681A (en) Resource control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant