CN112163895A - High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming - Google Patents

High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming Download PDF

Info

Publication number
CN112163895A
CN112163895A CN202011099428.8A CN202011099428A CN112163895A CN 112163895 A CN112163895 A CN 112163895A CN 202011099428 A CN202011099428 A CN 202011099428A CN 112163895 A CN112163895 A CN 112163895A
Authority
CN
China
Prior art keywords
advertisement
stage
advertisement processing
concurrent
phase
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.)
Pending
Application number
CN202011099428.8A
Other languages
Chinese (zh)
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.)
Guangdong Huanwang Technology Co Ltd
Original Assignee
Guangdong Huanwang 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 Guangdong Huanwang Technology Co Ltd filed Critical Guangdong Huanwang Technology Co Ltd
Priority to CN202011099428.8A priority Critical patent/CN112163895A/en
Publication of CN112163895A publication Critical patent/CN112163895A/en
Pending legal-status Critical Current

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/0277Online advertisement

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention relates to a high concurrent advertisement putting method, a device, equipment and a system based on asynchronous programming, by operating a plurality of concurrent advertisement processing threads, whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not is detected to be in an information acquisition stage, if the target advertisement processing thread exists, the target advertisement processing thread is in the information acquisition stage, establishing connection with a preset cache server, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads, after feedback data corresponding to the data request is acquired, the target advertisement processing thread is continuously executed, so that the concurrent execution of a plurality of threads is realized, and the whole process is asynchronous and non-blocking, and the response result does not need to be synchronously waited, thereby avoiding blocking and delaying in the advertisement putting process and improving the advertisement putting efficiency.

Description

High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming
Technical Field
The invention relates to the technical field of advertisement putting, in particular to a high-concurrency advertisement putting method, device, equipment and system based on asynchronous programming.
Background
In the process of advertisement putting, frequency control, quantity control and other forms of control are needed for the putting terminal, and the data of the frequency control and the quantity control are generally stored in a cache database. Therefore, data communication needs to be performed between the delivery system and the cache database through a network, so that the delivery system can obtain data such as frequency control, quantity control and the like in the cache database.
The prior art advertising systems are developed based on a synchronous programming language. For example, JAVA, PHP, etc. are traditional mainstream development languages. All data requests sent by the delivery system to the cache database are performed in a synchronized manner. However, as the advertisement delivery amount gradually increases, the synchronization method may block and delay the advertisement delivery, thereby affecting the advertisement delivery efficiency.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a device, and a system for high-concurrency advertisement delivery based on asynchronous programming, so as to overcome the problem that the advertisement delivery is blocked and delayed in a synchronous manner, which affects the advertisement delivery efficiency as the advertisement delivery amount gradually increases at present.
In order to achieve the purpose, the invention adopts the following technical scheme:
a high-concurrency advertisement putting method based on asynchronous programming comprises the following steps:
running a plurality of concurrent advertisement processing threads;
detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not and in an information acquisition stage;
if the target advertisement processing thread is in the information acquisition stage, establishing connection with a preset cache server, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads;
and after feedback data corresponding to the data request is acquired, continuing to execute the target advertisement processing thread.
Further, the asynchronous programming-based high concurrent advertisement delivery method described above, where the synchronously running multiple concurrent advertisement processing threads includes:
js-based, multiple concurrent ad processing threads are run in an asynchronous, non-blocking manner.
Further, in the asynchronous programming-based high-concurrency advertisement delivery method, the advertisement processing thread includes: an input request acquisition stage, a request verification stage, a material inquiry stage, an information acquisition stage and an input stage.
Further, in the above asynchronous programming-based high concurrent advertisement delivery method, the information acquisition stage at least includes: a matched crowd image sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage;
the detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not is in an information acquisition phase, and comprises:
detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads; wherein the target advertisement processing thread is one of the matching crowd portrayal sub-phase, the matching TA sub-phase, the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase.
Further, in the above asynchronous programming-based high-concurrency advertisement delivery method, the preset cache server is a redis cluster.
The invention also provides a high-concurrency advertisement putting device based on asynchronous programming, which comprises:
the operation module is used for operating a plurality of concurrent advertisement processing threads;
the detection module is used for detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not and is in an information acquisition stage;
the request module is used for establishing connection with a preset cache server if the target advertisement processing thread is in an information acquisition stage, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads;
the running module is further configured to continue to execute the target advertisement processing thread after the feedback data corresponding to the data request is acquired.
Further, the above high-concurrency advertisement delivery apparatus based on asynchronous programming, the running module is specifically configured to run multiple concurrent advertisement processing threads in an asynchronous non-blocking manner based on node.
Further, the above mentioned high concurrent advertisement delivery device based on asynchronous programming, the information obtaining phase at least includes: a matched crowd image sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage;
the detection module is specifically configured to detect whether a target advertisement processing thread exists in the multiple concurrent advertisement processing threads; wherein the target advertisement processing thread is one of the matching crowd portrayal sub-phase, the matching TA sub-phase, the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase.
The invention also provides a high-concurrency advertisement delivery device based on asynchronous programming, which comprises a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory is configured to store the program, and the program is at least configured to execute the asynchronous programming based high concurrent advertisement delivery method according to any one of the above.
The invention also provides a high-concurrency advertisement delivery system based on asynchronous programming, which comprises a cache server and the high-concurrency advertisement delivery device based on asynchronous programming.
The invention relates to a high concurrent advertisement putting method, a device, equipment and a system based on asynchronous programming, which detect whether a target advertisement processing thread exists in a plurality of concurrent advertisement processing threads and is in an information acquisition stage by operating the plurality of concurrent advertisement processing threads, if the target advertisement processing thread exists, the target advertisement processing thread is in the information acquisition stage, establishing connection with a preset cache server, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads, after feedback data corresponding to the data request is acquired, the target advertisement processing thread is continuously executed, so that the concurrent execution of a plurality of threads is realized, and the whole process is asynchronous and non-blocking, and the response result does not need to be synchronously waited, thereby avoiding blocking and delaying in the advertisement putting process and improving the advertisement putting efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart provided by an embodiment of a method for high concurrent advertisement delivery based on asynchronous programming according to the present invention;
FIG. 2 is a schematic structural diagram provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery apparatus of the present invention;
FIG. 3 is a schematic structural diagram provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery device of the present invention;
fig. 4 is a schematic structural diagram provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery system of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flowchart provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery method of the present invention. Referring to fig. 1, the present embodiment may include the following steps:
and S101, running a plurality of concurrent advertisement processing threads.
In this embodiment, multiple concurrent ad processing threads may be run in an asynchronous, non-blocking manner based on node. Js is a programming model based on asynchronous event call-back, when a network or IO is needed, the current thread is not blocked, but the subsequent code is continuously executed, and after the network or IO is completed, an event notification can be obtained to perform the next operation.
Wherein, a complete advertisement processing thread comprises: the method comprises an input request acquisition stage, a request verification stage, a material inquiry stage, an information acquisition stage and an input stage.
The delivery request acquisition stage comprises the steps of acquiring an advertisement delivery request from terminal equipment; the request checking stage comprises the steps of checking an advertisement putting request of the terminal equipment so as to determine the legality of the advertisement putting request; the material query stage is used for querying advertisement materials corresponding to the advertisement delivery request if the advertisement delivery request is determined to be legal after the verification is finished; the information acquisition stage comprises a matched crowd sketch sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage, wherein each sub-stage in the information acquisition stage needs to perform data interaction with a preset cache server, and a playing terminal for playing the advertisement is determined by matching the crowd sketch, the matched TA, the frequency control, the quantity control and the budget control; and the putting stage is used for putting the advertisement material at the playing terminal.
S102, detecting whether a target advertisement processing thread exists in a plurality of concurrent advertisement processing threads or not and in an information acquisition stage.
Detecting whether one or more target advertisement processing threads exist in a plurality of concurrent advertisement processing threads; the target advertisement processing thread is one of a crowd matching image sub-phase, a TA matching sub-phase, a frequency control sub-phase, a quantity control sub-phase and a budget control sub-phase.
S103, if the target advertisement processing thread is in the information acquisition stage, establishing connection with a preset cache server, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the multiple concurrent advertisement processing threads.
If one or more target advertisement processing threads exist after detection, connection can be established with a preset cache server, and a data request corresponding to the information acquisition stage is sent to the cache server.
Specifically, in a specific embodiment, if it is detected that there is a quantity control sub-phase of the target advertisement processing thread, data interaction may be performed with the cache server, and a data request of quantity control information, for example, a request for obtaining the number of times that the advertisement a has been played, is sent. If the target advertisement processing thread exists in the frequency control sub-stage after detection, data interaction can be performed with the cache server, and a data request of frequency control information is sent, for example, a request for acquiring the playing frequency of the advertisement a in the corresponding playing terminal is sent.
When data interaction is performed with the cache server and a data request is sent, the target advertisement processing thread may be suspended and other advertisement processing threads except the target advertisement processing thread among the multiple concurrent advertisement processing threads may be executed concurrently.
And S104, after feedback data corresponding to the data request is acquired, continuing to execute the target advertisement processing thread.
In this embodiment, the suspended target advertisement processing thread may be continuously executed by waiting for the feedback data sent by the cache server in combination with the feedback data.
Specifically, in a specific embodiment, during the running process of the advertisement processing thread corresponding to the advertisement a, a plurality of other advertisement processing threads are simultaneously run.
And entering a matching crowd picture sub-stage after the validity of the advertisement A is successfully checked and the corresponding advertisement material is inquired. And when the advertisement A is detected, the advertisement A can perform data interaction with the cache server, and send a data request matched with the crowd portrait, and in the process of waiting for feedback of the cache server, the advertisement processing thread corresponding to the advertisement A is suspended, and other advertisement processing threads which run concurrently are not in an information acquisition stage and continue to execute. After the matching crowd portrait information for the advertisement a fed back by the cache server is obtained, the advertisement processing thread corresponding to the advertisement a is continuously executed in combination with the matching crowd portrait information.
When the advertisement processing thread corresponding to the advertisement A enters the matching TA sub-stage, the advertisement A is detected at the moment, data interaction can be carried out with the cache server, a data request for matching the TA is sent, in the process of waiting for feedback of the cache server, the advertisement processing thread corresponding to the advertisement A is suspended, and other advertisement processing threads which run concurrently are not in the information acquisition stage and continue to execute. After the entry matching TA information for the advertisement a fed back by the cache server is obtained, the advertisement processing thread corresponding to the advertisement a is continuously executed in combination with the entry matching TA in the embodiment.
The execution processes of the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase are the same as those of the matching population imaging sub-phase and the matching TA sub-phase, and those skilled in the art can determine the execution processes of the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase without any creative loss by referring to the population imaging sub-phase or the matching TA sub-phase, which is not described herein.
It should be noted that the cache server stores the big data information of the playback terminal user. The sub-stage of matching the crowd pictures aims at determining the crowd pictures corresponding to the advertisement A and further screening out a part of terminals of the picture intentions for putting the advertisement; the purpose of the TA matching sub-stage is to determine a TA population corresponding to the advertisement A, further screen the image intention terminal and screen out the TA intention terminal; the quantity control sub-stage is used for determining the played quantity of the advertisement A and further determining the residual playing quantity according to the total number of the advertisement A; the frequency control sub-stage is used for further screening from the TA intention terminals, and screening out the TA intention terminals which have played the advertisement A and the playing quantity of the advertisement A reaches the upper limit to obtain frequency intention terminals; the budget control sub-stage is used for determining the playing mode which saves the flow cost most and screening out the final playing terminal from the frequency intention terminals.
In the asynchronous programming-based high-concurrency advertisement delivery method, by operating a plurality of concurrent advertisement processing threads, whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads and is in an information acquisition stage is detected, if the target advertisement processing thread exists, the target advertisement processing thread is in the information acquisition stage and is connected with a preset cache server, a data request corresponding to the information acquisition stage is sent to the cache server, other advertisement processing threads in the plurality of concurrent advertisement processing threads are operated, and after feedback data corresponding to the data request is acquired, the target advertisement processing thread is continuously executed, so that concurrent execution of the plurality of threads is realized, the whole process is asynchronous and non-blocked, a response result does not need to be synchronously waited, blocking and delay in the advertisement delivery process are avoided, and the advertisement delivery efficiency is improved.
The invention also provides a high-concurrency advertisement putting device based on asynchronous programming, which is used for realizing the method embodiment. Fig. 2 is a schematic structural diagram provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery apparatus of the present invention. As shown in fig. 2, the apparatus of the present embodiment includes:
the running module 11 is configured to run a plurality of concurrent advertisement processing threads; the advertisement processing thread comprises: an input request acquisition stage, a request verification stage, a material inquiry stage, an information acquisition stage and an input stage;
the detection module 12 is configured to detect whether a target advertisement processing thread exists in the multiple concurrent advertisement processing threads and is in an information obtaining stage;
the request module 13 is configured to establish a connection with a preset cache server if a target advertisement processing thread is in an information acquisition stage, send a data request corresponding to the information acquisition stage to the cache server, and run other advertisement processing threads of a plurality of concurrent advertisement processing threads;
the running module 11 is further configured to continue to execute the target advertisement processing thread after the feedback data corresponding to the data request is acquired.
In the asynchronous programming-based high-concurrency advertisement delivery device of the embodiment, the operation module 11 operates a plurality of concurrent advertisement processing threads, the detection module 12 detects whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads and is in an information acquisition stage, if the target advertisement processing thread exists, the request module 13 establishes connection with a preset cache server, sends a data request corresponding to the information acquisition stage to the cache server, operates other advertisement processing threads in the plurality of concurrent advertisement processing threads, and after feedback data corresponding to the data request is acquired, the operation module 11 continues to execute the target advertisement processing thread, so that concurrent execution of the plurality of threads is realized, the whole process is asynchronous and non-blocking, a synchronous waiting response result is not needed, and blocking and delay in the advertisement delivery process are avoided, the advertisement putting efficiency is improved.
Further, the running module 11 of the asynchronous programming-based high-concurrency advertisement delivery apparatus according to the present embodiment is specifically configured to run multiple concurrent advertisement processing threads in an asynchronous non-blocking manner based on node.
Further, the high-concurrency advertisement delivery device based on asynchronous programming of the embodiment includes, at least, an information acquisition phase: a matched crowd image sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage;
the detection module 12 is specifically configured to detect whether a target advertisement processing thread exists in multiple concurrent advertisement processing threads; the target advertisement processing thread is one of a crowd matching image sub-phase, a TA matching sub-phase, a frequency control sub-phase, a quantity control sub-phase and a budget control sub-phase.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The invention also provides high-concurrency advertisement putting equipment based on asynchronous programming, which is used for realizing the method embodiment. Fig. 3 is a schematic structural diagram provided by an embodiment of the asynchronous programming-based high-concurrency advertisement delivery device of the present invention. As shown in fig. 3, the high-concurrency advertisement delivery apparatus based on asynchronous programming of the present embodiment includes a processor 21 and a memory 22, and the processor 21 is connected to the memory 22. Wherein, the processor 21 is used for calling and executing the program stored in the memory 22; the memory 22 is used for storing a program for executing at least the asynchronous programming based high concurrent advertisement delivery method in the above embodiment.
For a specific implementation of the asynchronous programming based high-concurrency advertisement delivery device according to the embodiment of the present application, reference may be made to the implementation of the asynchronous programming based high-concurrency advertisement delivery method according to any of the above embodiments, and details are not described here.
The invention also provides a high-concurrency advertisement putting system based on asynchronous programming, which is used for realizing the method embodiment. Fig. 4 is a schematic structural diagram provided by an embodiment of the asynchronous programming based high-concurrency advertisement delivery system of the present invention, and as shown in fig. 4, the asynchronous programming based high-concurrency advertisement delivery system of the present embodiment includes a cache server 31 and the asynchronous programming based high-concurrency advertisement delivery device 32 of the above embodiment.
The cache server 31 and the asynchronous programming based high concurrent advertisement delivery device 32 may be connected through a bus or a wireless network, which is not limited in this embodiment.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A high concurrent advertisement putting method based on asynchronous programming is characterized by comprising the following steps:
running a plurality of concurrent advertisement processing threads;
detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not and in an information acquisition stage;
if the target advertisement processing thread is in the information acquisition stage, establishing connection with a preset cache server, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads;
and after feedback data corresponding to the data request is acquired, continuing to execute the target advertisement processing thread.
2. The asynchronous programming based high concurrent advertisement delivery method according to claim 1, wherein the synchronously running multiple concurrent advertisement processing threads comprises:
js-based, multiple concurrent ad processing threads are run in an asynchronous, non-blocking manner.
3. The asynchronous programming based high concurrent advertisement delivery method according to claim 1, wherein the advertisement processing thread comprises: an input request acquisition stage, a request verification stage, a material inquiry stage, an information acquisition stage and an input stage.
4. The asynchronous programming based high concurrent advertisement delivery method according to claim 1, wherein the information acquisition phase at least comprises: a matched crowd image sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage;
the detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not is in an information acquisition phase, and comprises:
detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads; wherein the target advertisement processing thread is one of the matching crowd portrayal sub-phase, the matching TA sub-phase, the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase.
5. The asynchronous programming based high concurrent advertisement delivery method according to claim 1, wherein the predetermined cache server is a redis cluster.
6. A high concurrency advertisement putting device based on asynchronous programming is characterized by comprising:
the operation module is used for operating a plurality of concurrent advertisement processing threads;
the detection module is used for detecting whether a target advertisement processing thread exists in the plurality of concurrent advertisement processing threads or not and is in an information acquisition stage;
the request module is used for establishing connection with a preset cache server if the target advertisement processing thread is in an information acquisition stage, sending a data request corresponding to the information acquisition stage to the cache server, and operating other advertisement processing threads in the plurality of concurrent advertisement processing threads;
the running module is further configured to continue to execute the target advertisement processing thread after the feedback data corresponding to the data request is acquired.
7. The asynchronous programming based high-concurrency advertisement delivery apparatus according to claim 6, wherein the running module is specifically configured to run multiple concurrent advertisement processing threads in an asynchronous non-blocking manner based on node.
8. The asynchronous programming based high concurrency advertising device according to claim 6, wherein the information obtaining phase comprises at least: a matched crowd image sub-stage, a matched TA sub-stage, a frequency control sub-stage, a quantity control sub-stage and a budget control sub-stage;
the detection module is specifically configured to detect whether a target advertisement processing thread exists in the multiple concurrent advertisement processing threads; wherein the target advertisement processing thread is one of the matching crowd portrayal sub-phase, the matching TA sub-phase, the frequency control sub-phase, the quantity control sub-phase and the budget control sub-phase.
9. A high concurrent advertisement delivery device based on asynchronous programming, characterized by comprising a processor and a memory, wherein the processor is connected with the memory:
the processor is used for calling and executing the program stored in the memory;
the memory for storing the program, the program at least for executing the asynchronous programming based high concurrent advertisement delivery method of any of claims 1-5.
10. A high-concurrency advertisement delivery system based on asynchronous programming, which comprises a cache server and the high-concurrency advertisement delivery device based on asynchronous programming of claim 9.
CN202011099428.8A 2020-10-14 2020-10-14 High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming Pending CN112163895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011099428.8A CN112163895A (en) 2020-10-14 2020-10-14 High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011099428.8A CN112163895A (en) 2020-10-14 2020-10-14 High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming

Publications (1)

Publication Number Publication Date
CN112163895A true CN112163895A (en) 2021-01-01

Family

ID=73866936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011099428.8A Pending CN112163895A (en) 2020-10-14 2020-10-14 High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming

Country Status (1)

Country Link
CN (1) CN112163895A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030003441A (en) * 2001-06-30 2003-01-10 홍병기 A advertisement system using mobile device network and method for employing the same
US20140150019A1 (en) * 2012-06-28 2014-05-29 Azuki Systems, Inc. Method and system for ad insertion in over-the-top live media delivery
CN106375837A (en) * 2016-11-14 2017-02-01 武汉斗鱼网络科技有限公司 Advertisement inter-cut method and device
CN110099035A (en) * 2018-01-31 2019-08-06 上海甚术网络科技有限公司 A kind of web advertisement data high concurrent access method of servicing
CN110602533A (en) * 2019-09-10 2019-12-20 四川长虹电器股份有限公司 Intelligent television advertisement recommendation system and method for time-sharing and crowd-sharing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030003441A (en) * 2001-06-30 2003-01-10 홍병기 A advertisement system using mobile device network and method for employing the same
US20140150019A1 (en) * 2012-06-28 2014-05-29 Azuki Systems, Inc. Method and system for ad insertion in over-the-top live media delivery
CN106375837A (en) * 2016-11-14 2017-02-01 武汉斗鱼网络科技有限公司 Advertisement inter-cut method and device
CN110099035A (en) * 2018-01-31 2019-08-06 上海甚术网络科技有限公司 A kind of web advertisement data high concurrent access method of servicing
CN110602533A (en) * 2019-09-10 2019-12-20 四川长虹电器股份有限公司 Intelligent television advertisement recommendation system and method for time-sharing and crowd-sharing

Similar Documents

Publication Publication Date Title
WO2019217479A1 (en) Multi-master architectures for distributed databases
CN110309161B (en) Data synchronization method and device and server
CN110618889A (en) Service availability detection method and device, computer equipment and storage medium
CN111181765A (en) Task processing method and device
CN111274325B (en) Platform automatic test method and system
CN110730197A (en) Service discovery method and system
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
CN113452770A (en) Data synchronization method and device, computer equipment and storage medium
CN111245939B (en) Data synchronization method, device and system
CN112363980A (en) Data processing method and device for distributed system
CN112163895A (en) High-concurrency advertisement putting method, device, equipment and system based on asynchronous programming
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN115629909A (en) Service data processing method and device, electronic equipment and storage medium
CN114130035A (en) User matching method, device, equipment and storage medium
CN109992384B (en) Service registration discovery coordination system and method thereof
CN111694628A (en) Page display method based on application program thread and related equipment
CN110750424A (en) Resource inspection method and device
CN111176679A (en) Application program updating method and device
CN113452777B (en) Message pushing method and device
CN112055057B (en) Method, system and equipment for dynamic expansion of Web system
CN113094082B (en) Method, device and storage medium for determining micro-service dependency relationship
CN113542348B (en) Image data transmission method and device
CN115630120A (en) Data synchronization method, device, equipment and storage medium
CN117608921A (en) Backup method, recovery method and related equipment of cloud database
CN114579322A (en) Method and device for synchronizing data between components

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