CN108960894A - A kind of advertisement real-time charging method, device, server and storage medium - Google Patents
A kind of advertisement real-time charging method, device, server and storage medium Download PDFInfo
- Publication number
- CN108960894A CN108960894A CN201810573975.1A CN201810573975A CN108960894A CN 108960894 A CN108960894 A CN 108960894A CN 201810573975 A CN201810573975 A CN 201810573975A CN 108960894 A CN108960894 A CN 108960894A
- Authority
- CN
- China
- Prior art keywords
- advertisement
- link url
- time
- client
- real
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0273—Determination of fees for advertising
Abstract
A kind of advertisement real-time charging method encrypts the advertising rates character string in advertisement link URL, and the advertisement link URL is issued to client;The advertisement link URL for carrying counting identification strings that client is sent is received, the advertising rates character string encrypted in advertisement link URL is decrypted, and client-side ad page triggering mode is determined according to the agreement decryption type for counting identification strings;Charging mode corresponding to advertisement page triggering mode is parsed, and parsing data are stored in data processing shelf Kafka;It reads the advertisement link URL information stored in the data processing shelf Kafka and completes real time billing.By being issued to client after encrypting to the advertising rates character string in advertisement link URL, it is transmitted back to server end decryption again, the expired definition of row information of going forward side by side, overcoming current advertisement charging mode will not float as time point changes, and reduce the time of real time billing cost and the pressure of database server.
Description
Technical field
The present invention relates to technical field of network information, specifically a kind of advertisement real-time charging method, device, server
And storage medium.
Background technique
Advertisement is as a kind of business promotion mode, and covering surface is extremely wide in people's lives, and advertising resource is most again
The source of finance of number electric business, video, portal website etc., however, enterprise is improper for the advertisement progress value assessment mode of dispensing
When, it is easier that business economic is lost, therefore, it is very necessary for which kind of mode carrying out advertisement charging using.
Traditional advertisement charging mode mostly uses the mode for leasing or exposing definite value on time, and it is solid that former mode launches the period
Fixed constant, price is fixed;It is certain that latter approach refers to that a certain advertisement position exposes every time or click generation expense, will not be with the time
Point variation and float, aforementioned two kinds of charging modes are all difficult to facilitate the dispensing of business administration advertisement.
Summary of the invention
In view of the above-mentioned defects in the prior art, the present invention provides a kind of advertisement real-time charging method, device, server and deposits
Storage media can effectively handle the real-time non-equivalence advertising information of magnanimity, fully ensure that advertisement charging safety and rationally
Property, the management for facilitating enterprise to launch advertisement.
In a first aspect, providing a kind of advertisement real-time charging method, comprising:
Advertising rates character string in advertisement link URL is encrypted, and the advertisement link URL is issued to client
End;
Receive that client sends carries the advertisement link URL for counting identification strings, to encrypting in advertisement link URL
Advertising rates character string decryption, and according to count identification strings agreement decryption type determine the client-side ad page trigger
Mode;
Charging mode corresponding to advertisement page triggering mode is parsed, and parsing data are stored in data processing shelf
Kafka;
It reads the advertisement link URL information stored in the data processing shelf Kafka and completes real time billing.
Second aspect provides a kind of advertisement real time billing terminal installation, comprising:
Encryption unit: for the advertising rates character string in advertisement link URL to be encrypted;
Transmission unit: for the encrypted advertisement link URL of server end to be issued to client;
Receiving unit: for receiving the encrypted advertisement link URL of server end;
Decryption unit: for having the link URL for counting identification strings to decrypt client, the decryption is to wide
Accuse the advertising rates character string decryption in link URL;
Real time billing unit: real time billing is carried out for the advertisement link URL after decrypting.
The third aspect, provides a kind of server, including memory, processor and storage are in the memory and can
The computer program run on the processor is realized when the processor executes the computer program as first aspect mentions
The step of the method for confession.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter
The step of calculation machine program, the method that realization such as first aspect provides when the computer program is executed by processor.
5th aspect, provides a kind of computer program product, the computer program product includes computer program, institute
State the step of the method that the application first aspect provides is realized when computer program is executed by one or more processors.
In the embodiment of the present invention, by being encrypted to the advertising rates character string in advertisement link URL, and by advertisement chain
It meets URL and is issued to client;The advertisement link URL for carrying counting identification strings that client is sent is received, to advertisement chain
The advertising rates character string decryption encrypted in URL is connect, and client is determined according to the agreement decryption type for counting identification strings
Advertisement page triggering mode;Charging mode corresponding to advertisement page triggering mode is parsed, and parsing data are stored in data
Handle frame Kafka;It reads the advertisement link URL information stored in the data processing shelf Kafka and completes meter in real time
Take.Solve in the prior art because advertisement charging is fixed or advertisement expose or click every time generation expense it is certain, can't be with
The variation at time point and float so that enterprise is difficult to manage the problem of advertisement is launched;In advertisement release process, reduce reality
When charging spend time and database server pressure, and avoid extract price when, advertisement charging rate may become
Dynamic situation occurs;Meanwhile being tested by data verification on line and time, safety, timely progress advertisement is valuated in real time, is guaranteed
The safety and reasonability of advertisement charging promote the dispensing value of advertisement.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of one advertisement real-time charging method of embodiment;
Fig. 2 is the implementation flow chart of the real-time statistics that embodiment two provides and charging processing;
Fig. 3 is the structural schematic diagram for the advertisement real time billing device that embodiment three provides;
Fig. 4 is the structural schematic diagram for the server that example IV provides.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Embodiment one:
Referring to Fig. 1, a kind of implementation flow chart of advertisement real-time charging method provided in an embodiment of the present invention, including it is following
Step:
S110, server end encrypt the advertising rates character string in advertisement link URL, and by the advertisement link
URL is issued to client.
Preferably, the server is a container, and the inside is mounted with calculation procedure storm and data processing shelf Kafka,
Calculation procedure storm and data processing shelf Kafka is the Computational frame used;
The client is web, android, ios etc.;
The link URL is: advertisement link URL is pushed to client by advertisement promotion person, is then collected and is used by client
The information such as family click, exposure to pass through analysis advertisement in customer terminal webpage triggering mode, and then calculate the dispensing expense of advertisement
With;
The server end encrypts the advertising rates character string in advertisement link URL, generates the advertisement link of encryption
URL, and the advertisement link URL of encryption is issued to client;
The advertisement link URL at least while includes advertiser UID, popularization plan ID, advertisement ID, ad material ID, wide
Accuse five elements of the amount of money;
The advertiser UID refers to the mark of advertisement publishers, is unique number;
The popularization plan ID refers to one of the advertisement publishers' creation number for promoting instruction;
The advertisement ID refers to the number of multiple small business under popularization plan;
The ad material ID refers to the number of every advertising pictures or every section of copy;
The advertising expense refers to that advertisement is clicked or the sum of expense caused by exposing in customer terminal webpage.Further,
Encryption is to be encrypted using symmetric encipherment algorithm, and symmetric encipherment algorithm is DES algorithm, 3DES algorithm, TDEA algorithm, Blowfish
One of algorithm, RC5 algorithm, IDEA algorithm, aes algorithm;Due to AES encryption and relatively high effect is decrypted, not to system load
Greatly, so preferentially selecting aes algorithm.
Aes algorithm is the most common symmetric encipherment algorithm, encrypts, this cipher mode encryption identical as the key of decryption
Speed is very fast, is suitble to often send the occasion of data;
Specifically, the data structure of the advertisement link URL after encrypted is denoted as:
Info=(uid, planID, posID, adID, materialID, charge)
Wherein, charge field is the character string encrypted using symmetric encipherment algorithm, and key is denoted as K, and info is one
Advertising information is simultaneously generated by server-side;
Since the click of advertisement and the billing amount of exposure are unequal, for example primary charging 0.2 is clicked, exposure is primary
Charging 0.1, thus charge not only included click again comprising exposure price, charge advertising rates before unencryption be click with
The character string that exposure charging is separated using comma, shaped like " 0.2,0.1 ";
Each field meanings in above-mentioned data structure are as shown in table 1 below:
Table 1
Serial number | Field name | Data type | Meaning |
1 | uid | Long | Advertiser UID |
2 | planID | Long | Popularization plan ID |
3 | posID | Long | Advertisement position ID |
4 | adID | Long | Advertisement ID |
5 | materialID | Long | Ad material ID |
6 | charge | String | Encryption string |
7 | info | Tuple | One advertising information |
The info of advertisement link URL is issued to client with ad material ID after encryption;
Advertisement includes but is not limited to video, image, audio etc..
What S120, received server-side client were sent carries the advertisement link URL for counting identification strings, to advertisement
The advertising rates character string decryption encrypted in link URL, and client is determined according to the agreement decryption type for counting identification strings
Hold advertisement page triggering mode;
The advertisement link URL for carrying counting identification strings refers to: the JS script of client captures client end interface
Advertising pictures material be clicked or exposure behavior after, first ancestral of advertisement link URL (uid, planId, posId, adId,
MaterialId, charge) in can add a counting identification strings type (the counting identification strings type mark is a little
Hit or expose), and recombinate on first ancestral (uid, planId, posId, adId, materialId, charge), i.e. the client
Added with counting identification strings on the advertisement link URL at end (movement to label user is exposure or clicks);Then
The client will have the advertisement link URL for counting identification strings to be transmitted back to server end by http program, take at this time
Business device termination receives first ancestral (uid, planId, posId, adId, materialId, charge, type) of recombination.Every time by valence
Lattice message reaches client, then passes NGINX server back by client, is the time in order to reduce real time billing cost, otherwise
Each charging all goes the database of server end to extract price according to fields such as ad material ID, can persistently produce to data server
Raw biggish pressure, and when extracting price, advertisement charging rate may change;
The member ancestral is made of different elements, and all elements are comprised in a round parentheses, and each element can store
Different types of data, such as character string, number or first first edition body.
The client arranges the counting identification strings of generation, such as it is exposure that agreement type, which is 1, and 2 are
It clicks;
Preferably, the decryption is to be added key k combination symmetric encipherment algorithm in advertisement link URL using Lua script
Close advertising rates character string decryption;And type is decrypted according to the agreement for counting identification strings, to judge client-side ad
Page triggering mode is exposure or clicks;
Such as: the advertising rates character string decryption encrypted in advertisement link URL, then advertisement link URL is divided into two
That is info_click and info_show (i.e. click information or exposure information).
Charging mode corresponding to S130, parsing advertisement page triggering mode, and parsing data are stored in data processing
Frame Kafka;
It is " 0.2,0.1 " before charging mode, such as charge encryption, then is obtained after decrypting:
Info_click=(UID, planID, posID, adID, materialID, 0.2,1)
Info_show=(UID, planID, posID, adID, materialID, 0.1,2)
Specifically, the advertising rates character string after decryption is stored in Kafka, that is, refer to type clearly resolve to click information or
Exposure information (info_click information and info_show information), click decrypted in this way, exposure data are stored in Kafka.
S140, server end read the advertisement link URL information stored in the data processing shelf Kafka and complete
Real time billing.
The information after the decryption stored in data processing shelf Kafka is read (i.e. by the Storm program of server end
Info_click and info_show information);And after carrying out real-time statistics, by identical ad material ID in client-side ad page
Face is clicked or exposes generated expense and is added, and as generated expense is launched to the advertisement by enterprise, it can will count knot
Fruit is stored in Relational DBMS Mysql.
Embodiment two:
With embodiment one the difference is that:
A kind of further mode implementation process of advertisement real-time charging method provided in an embodiment of the present invention as shown in Figure 2
Figure:
When real time billing, an expansion processing is carried out to the displaying time of the ad material ID in every advertisement link URL,
And expired ad material ID is discarded, to count the number that effective ad material ID occurs.The displaying time, is database
Release time section of each ad material being pre-stored in Redis in client;The expired ad material ID refers to advertisement element
Material ID is showed in the period of customer terminal webpage not within the displaying time that ad material ID expands processing, then the advertisement element
Material ID is expired.
In step S140, include the following steps:
S141, ad material ID show the expansion processing of time, i.e., in database Redis that ad material ID is preparatory
Storage starts to show that the time is set as 2 minutes before the predetermined time, terminates to show that the time is set as 2 after the predetermined time
Minute;
The database Redis is located at server end.
Ad material ID is started to show time advance 2 minutes in the database Redis, terminates to show that the time is delayed
2 minutes, be that servicing, end data postpones and the server-side processing time carries out statistics and calculates by calculating client.
Because there is delay from client to server end in data, an expansion need to be done to the advertising display time:
As 2018.04.23 12:00:00-2018.04.23 12:30:00 needs to be extended for 2018.04.23 11:58:
00—2018.04.23 12:32:00。
S142, the corresponding ad material for being clicked or exposing with the client-side ad page is taken out from database Redis
The displaying time range of ID;
Expired ad material ID is abandoned during S143, real-time statistics, then effective ad material ID is carried out in real time
It counts and charging processing (is exposed advertisement link URL corresponding to effective ad material ID and carries out with the total degree clicked
Charging processing).
Preferably, when server-side processes generate counting compared to client from the time of client-side ad link URL
The time of identification strings, which is delayed, then judged that the ad material ID of server process at this time is expired more than 2 minutes.Specifically, it takes
End be engaged in after receiving the advertising information of client, the ad material ID in advertising information is extracted, then according to ad material
ID goes inside redis to search out this ad material ID default displaying time, if the current service end working time does not exist
The ad material ID was shown in the time, then it is assumed that this advertising information is invalid, selection discarding.
Further, the ad material ID in the time from client-side ad link URL and advertisement link URL
Time synchronization.
For example, the advertising display time is 2018.04.23 12:00:00-2018.04.23 12:30:00, and handles and arrive
Server time is 2018.04.23 13:00:00 when this message, then this advertising information may be considered malice brush data
, need to abandon;
Identical ad material ID is clicked or exposes generated expense in the client-side ad page and is added, such as original
Info_click, info_show are as shown in table 2:
Table 2
UID | planID | posID | adID | materialID | charge | type |
1 | 1 | 1 | 1 | 1 | 0.2 | 1 |
1 | 1 | 1 | 1 | 2 | 0.1 | 2 |
1 | 1 | 1 | 2 | 1 | 0.3 | 1 |
1 | 1 | 1 | 2 | 2 | 0.2 | 2 |
1 | 1 | 1 | 2 | 2 | 0.3 | 1 |
It is as shown in table 3 according to the statistics overall consumption of ad material ID dimension:
Table 3
UID | planID | posID | adID | materialID | charge_total |
1 | 1 | 1 | 1 | 1 | 0.2 |
1 | 1 | 1 | 1 | 2 | 0.1 |
1 | 1 | 1 | 2 | 1 | 0.3 |
1 | 1 | 1 | 2 | 2 | 0.5 |
That is (1,1,1,2,2) this ad material appearance (is shown in Table last two rows in 2) twice, needs to be added (up in table 3
Shown in last line), and other ad materials only occur once, do not need to be added.
It is as shown in table 4 according to the statistics overall consumption of advertisement position ID dimension:
Table 4
UID | planID | posID | Charge_total |
1 | 1 | 1 | 1.1 |
What is occurred is all that the advertisement position of (1,1,1) (is added by five-element's charge price in table 2 up in table 4
Charge_total)。
Among the above, the total price that charge is price, charge_total is exposure information and click information, uID,
The meanings such as planID, posID are identical as recorded meaning in above-mentioned steps S110.
Embodiment three:
Above-mentioned two embodiment mainly teaches a kind of advertisement real-time charging method, and a kind of following pairs of advertisement real time billings are whole
End device is described in detail description.
Fig. 3 shows a kind of structural schematic diagram of advertisement real time billing terminal installation of the present invention.
Encryption unit 31: for advertisement link URL character string to be encrypted;
Specific: server-side by symmetric cipher encryption, pushes away the advertising rates character string in advertisement link URL
It send to client;Transmission unit 32: for the encrypted advertisement link URL of server end to be issued to client;
Specifically the advertisement link URL formed after the advertising rates encryption in advertisement link URL is issued to client
End.
Receiving unit 33: for receiving the encrypted advertisement link URL of server end;Decryption unit 34: it is used for client
There is the link URL decryption for counting identification strings at end, and the decryption is to the advertising rates character string in advertisement link URL
Decryption;
Specifically, after client collects user's click, exposure information, advertisement is analyzed in customer terminal webpage triggering mode
Afterwards, server-side receive client described in analysis as a result, and according to count identification strings agreement decrypt type, to judge visitor
Family end advertisement page triggering mode is exposure or clicks, and finally parses charged party corresponding to the specific triggering mode of advertisement page
Formula;Real time billing unit 35: real time billing is carried out for the advertisement link URL after decrypting.
Specifically, the corresponding advertisement element for being clicked or exposing with the client-side ad page is taken out from database Redis
The displaying time range of material ID abandons expired ad material ID, then will show ad material ID is exposed in time range,
The summation of expense produced by clicking is added, the expense that the advertisement generates in as shown time range.
Example IV:
It referring to fig. 4, is the signal of the advertisement real-time charging method server provided in an embodiment of the present invention based on encryption string
Property block diagram, the server as shown in the figure may include: that memory 41, one or more processors 42 (only show one in figure
It is a), one or more input equipments 43 (one is only shown in figure), one or more output equipments 44 (only show one in figure
It is a) and network interface card 45, above-mentioned memory 41, processor 42, input equipment 43, output equipment 44, network interface card 45 are connected by bus 46
It connects.For storing instruction, processor 42 is used to execute the instruction of the storage of memory 41 to memory 41.Wherein:
The memory 41, for storing software program and unit.The processor 42 is stored in described by operation
The software program and module of memory 41, thereby executing various function application and data processing.
The processor 42, for the advertising rates character string in advertisement link URL to be encrypted, and by advertisement
Link URL is issued to client, and after the advertising pictures material in client is exposed or clicks, client has counting
Identification strings, and will there is the advertisement link URL for counting identification strings to pass server end back;Server end is to advertisement chain
The advertising rates character string decryption encrypted in URL is connect, and client is determined according to the agreement decryption type for counting identification strings
Advertisement page triggering mode;Charging mode corresponding to advertisement page triggering mode is parsed, and parsing data are stored in data
Handle frame Kafka;The advertisement link URL information that stores in the data processing shelf Kafka simultaneously completes real time billing;
Optionally, when real time billing, an expansion is carried out to the displaying time of the ad material ID in every advertisement link URL
Processing is filled, and discards expired ad material ID, to count the number that effective ad material ID occurs;
Specially following step: start to show that the time sets by ad material ID is pre-stored in database Redis
2 minutes be set to before the predetermined time terminate to show that the time is set as 2 minutes after the predetermined time;
Take out the corresponding ad material ID's for being clicked or exposing with the client-side ad page from database Redis again
Show time range;
Finally, during real-time statistics, when server-side processes compare visitor from the time of client-side ad link URL
The time that family end generates counting identification strings delays the ad material ID mistake that server process at this time was then judged more than 2 minutes
Phase need to abandon this ad material ID, then be exposed or click generated expense phase for satisfactory ad material ID
Add, is then denoted as the putting expense of ad material ID;
Further, the satisfactory ad material ID refers to, when server-side processes are from client-side ad
The time of link URL is delayed compared to the time that client generates counting identification strings no more than 2 minutes, then ad material ID
Meet billing requirements.The input equipment 43 for receiving administrator's setting, advertisement link URL, advertisement duration including acquisition,
Input, selection of advertisement of advertisement etc., the setting can be default or temporarily change according to actual needs.
The output equipment 44 is for watching ad content and real-time monitoring preview advertising display effect.
The network interface card 45 receives video flowing for being connected to the network, and according to user request to receive advertisement link URL and its
It is serviced.Optionally, necessary hardware device in 44 non-present invention embodiment of above-mentioned input equipment 43 and output equipment, Ke Yigen
It is accessed according to actual needs by hardware interface or partial function is realized with programming.
It should be appreciated that in embodiments of the present invention, the processor 42 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
The memory 41 can be the internal storage unit of the server, such as the advertisement exhibition during advertising display
The hard disk or memory of showing device.The memory 41 is also possible to the outside of the advertising device during the advertising display
The plug-in type hard disk being equipped on advertising device during storage equipment, such as the advertising display, intelligent memory card
(Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Into
One step, further, the memory 41 can also be both comprising the interior of the advertising device during the advertising display
Portion's storage unit also includes external memory unit.The memory 41 is for storing the computer program and the advertisement exhibition
Other programs and data needed for the advertising device shown.The memory 41 can be also used for temporarily storing defeated
Out or the data that will export.
The memory 41 may include read-only memory and random access memory, and provide instruction sum number to processor 42
According to.The a part of of memory 41 can also include nonvolatile RAM.It is set for example, memory 41 can also store
The information of standby type.
Network interface card 45 is the interface for connecting computer and transmission medium, and coding and decoding and the data that can be carried out data are slow
It deposits, may include wired network adapter and wireless network card, also may include other for type network interface card.It optionally, can also include using
In equipment such as the hardware devices of network communication, such as interchanger, router, hub, bridge, gateway.
Input equipment 43 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone, data receiver interface etc..Output equipment 44 may include display (LCD etc.), loudspeaker, data hair
Send interface etc..
Output equipment 44 may include display, projector, plotter etc., also may include data transmission interface.
In the specific implementation, memory 41 described in the embodiment of the present invention, processor 42, input equipment 43, output set
Standby 44, implementation described in the embodiment of real-time charging method provided in an embodiment of the present invention can be performed in network interface card 45,
Implementation described in server described in executable embodiment one, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that each embodiment described in conjunction with the examples disclosed in this document
Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of advertisement real-time charging method characterized by comprising
Advertising rates character string in advertisement link URL is encrypted, and the advertisement link URL is issued to client;
The advertisement link URL for carrying counting identification strings that client is sent is received, it is wide to being encrypted in advertisement link URL
The decryption of price character string is accused, and client-side ad page triggering side is determined according to the agreement decryption type for counting identification strings
Formula;
Charging mode corresponding to advertisement page triggering mode is parsed, and parsing data are stored in data processing shelf Kafka;
It reads the advertisement link URL information stored in the data processing shelf Kafka and completes real time billing.
2. a kind of advertisement real-time charging method according to claim 1, which is characterized in that the advertisement link URL is at least same
When include five advertiser UID, popularization plan ID, advertisement ID, ad material ID, advertising expense elements.
3. a kind of advertisement real-time charging method according to claim 1, which is characterized in that the advertising rates character string solution
When close, according to count identification strings agreement decrypt type, to judge client-side ad page triggering mode be exposure or
It clicks.
4. a kind of advertisement real-time charging method according to claim 2, which is characterized in that real time billing concrete mode is:
Generated expense is clicked or exposes in the client-side ad page for same advertisement material ID to be added.
5. a kind of advertisement real-time charging method according to claim 2, which is characterized in that when real time billing, to every advertisement
The displaying time of ad material ID in link URL carries out an expansion processing, and abandons expired ad material ID, with statistics
The number that effective ad material ID occurs;The displaying time is that pre-stored each ad material exists in database Redis
The release time section of client;The expired ad material ID, refers to that ad material ID is showed in the period of customer terminal webpage
Not within the displaying time that ad material ID expands processing, then the ad material ID is expired.
6. a kind of advertisement real-time charging method according to claim 5, which is characterized in that
Ad material ID shows the expansion of time, i.e., starts to open up by ad material ID is pre-stored in database Redis
Show time advance 2 minutes, terminates to show that the time is delayed 2 minutes.
7. a kind of advertisement real-time charging method according to claim 5, which is characterized in that when server-side processes are from visitor
The time of family end advertisement link URL is delayed compared to the time that client generates counting identification strings more than 2 minutes, then judges this
When server process ad material ID it is expired.
8. a kind of advertisement real time billing terminal installation characterized by comprising
Encryption unit: for the advertising rates character string in advertisement link URL to be encrypted;
Transmission unit: for the encrypted advertisement link URL of server end to be issued to client;
Receiving unit: for receiving the encrypted advertisement link URL of server end;
Decryption unit: for having the advertisement link URL for counting identification strings to decrypt client, the decryption is to wide
Accuse the advertising rates character string decryption in link URL;
Real time billing unit: real time billing is carried out for the advertisement link URL after decrypting.
9. a kind of server, including memory, processor and storage can transport in the memory and on the processor
Capable computer program, which is characterized in that the processor realizes such as claim 1 to 7 times when executing the computer program
A kind of the step of one advertisement real-time charging method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization a kind of advertisement real time billing as described in any one of claims 1 to 7 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810573975.1A CN108960894B (en) | 2018-06-06 | 2018-06-06 | Advertisement real-time charging method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810573975.1A CN108960894B (en) | 2018-06-06 | 2018-06-06 | Advertisement real-time charging method, device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108960894A true CN108960894A (en) | 2018-12-07 |
CN108960894B CN108960894B (en) | 2022-06-21 |
Family
ID=64493402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810573975.1A Active CN108960894B (en) | 2018-06-06 | 2018-06-06 | Advertisement real-time charging method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108960894B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083786A (en) * | 2019-05-14 | 2019-08-02 | 秒针信息技术有限公司 | A kind of link verification method and device |
CN110189181A (en) * | 2019-06-10 | 2019-08-30 | 深圳市云企汇财税顾问有限公司 | A kind of accounting system benefited for the advertisement browsing of Online Video APP |
CN112241899A (en) * | 2019-07-19 | 2021-01-19 | 上海哔哩哔哩科技有限公司 | Advertisement charging method, device and system and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859130A (en) * | 2005-11-14 | 2006-11-08 | 辛江 | Mode for charging advertisement according to communication time or times |
CN103679505A (en) * | 2012-09-17 | 2014-03-26 | 公共电视公司 | System and method for offering and billing advertisement opportunities |
CN107657486A (en) * | 2017-10-19 | 2018-02-02 | 厦门美柚信息科技有限公司 | A kind of advertisement placement method and device |
CN107749001A (en) * | 2017-10-18 | 2018-03-02 | 福建中金在线信息科技有限公司 | Advertisement management method, device and electronic equipment |
-
2018
- 2018-06-06 CN CN201810573975.1A patent/CN108960894B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859130A (en) * | 2005-11-14 | 2006-11-08 | 辛江 | Mode for charging advertisement according to communication time or times |
CN103679505A (en) * | 2012-09-17 | 2014-03-26 | 公共电视公司 | System and method for offering and billing advertisement opportunities |
CN107749001A (en) * | 2017-10-18 | 2018-03-02 | 福建中金在线信息科技有限公司 | Advertisement management method, device and electronic equipment |
CN107657486A (en) * | 2017-10-19 | 2018-02-02 | 厦门美柚信息科技有限公司 | A kind of advertisement placement method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083786A (en) * | 2019-05-14 | 2019-08-02 | 秒针信息技术有限公司 | A kind of link verification method and device |
CN110083786B (en) * | 2019-05-14 | 2021-04-30 | 秒针信息技术有限公司 | Link verification method and device |
CN110189181A (en) * | 2019-06-10 | 2019-08-30 | 深圳市云企汇财税顾问有限公司 | A kind of accounting system benefited for the advertisement browsing of Online Video APP |
CN112241899A (en) * | 2019-07-19 | 2021-01-19 | 上海哔哩哔哩科技有限公司 | Advertisement charging method, device and system and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108960894B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6694018B2 (en) | Method and apparatus for collecting distributed user information for media impressions and search terms | |
CA2873128C (en) | Methods and apparatus to collect distributed user information for media impressions and search terms | |
US9721256B2 (en) | System and method for providing secure product data collection, monitoring, and tracking | |
CN107124281B (en) | Data security method and related system | |
CN105959728A (en) | System and method for counting number of online users of live platform | |
CN107169364B (en) | A kind of data security method and related system | |
CN108960894A (en) | A kind of advertisement real-time charging method, device, server and storage medium | |
CN103714456A (en) | Software behavior monitor and verification system | |
CN106453303A (en) | Method and system for storing user login status for IOS client | |
CN101165717A (en) | Method and system for acquiring electronic evidence | |
CN107067321A (en) | Data security method, server, client and the system of payment beforehand business | |
CN107070942A (en) | A kind of data security method and related system | |
WO2023071133A1 (en) | Tagged network information service generation and application method and apparatus, device and medium | |
WO2014207632A1 (en) | Logging device and log aggregation device | |
CN111767582A (en) | Block chain-based electronic bidding method, device, equipment and storage medium | |
CN108768938B (en) | A kind of web data encryption and decryption method and device | |
CN109784987A (en) | A kind of picture copyright revenue method and device | |
CN107222473B (en) | Method and system for encrypting and decrypting API service data at transport layer | |
TW201414258A (en) | Chaotic image encryption method for cloud album | |
CN108900472A (en) | The transmission method and device of information | |
CN109525747B (en) | Picture uploading method, encryption and decryption method, device and system and electronic equipment | |
CN106254341A (en) | Data fingerprint extracting method and system for centralized electronic data safety system | |
CN110472128A (en) | Webpage evidence collecting method, device, storage medium and server based on image recognition | |
CN109218009A (en) | It is a kind of to improve the method for device id safety, client and server | |
CN104679865B (en) | Using the integrated method registered and monitored as service of Web page |
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 |