The localization method and device of promotion messageTechnical field
The present invention relates to internet arena, in particular to the localization method and device of a kind of promotion message.
Background technology
Advertiser is when launching the advertisement of its product on webpage, it is desirable to which browsing user can be in webpage fast and accuratelyBrowse to the advertisement of oneself.But user is browsed when browsing some webpages, it is frequently encountered that content is more, contains much information, the pageThe webpage of length length, when opening uniform resource locator (URL) of no anchor point, it is only capable of meeting to jump to from current pageAnother page, it can not lead and browse user and navigate to corresponding position, i.e. the position is advertisement when institute in the front opening pageThe position at place, so as to cause viewer, can not accurately quickly to browse to the advertisement, cause the clicking rate and inversion quantity of advertisementReduce, wherein, inversion quantity refers to that viewer completes one-time-consumption i.e. advertiser and obtains the number of an income, so as to reachThe optimal dispensing effect of advertisement, even, can cause advertiser users to be lost.
The problem of for that can not be positioned in correlation technique to promotion message, effective solution party is not yet proposed at presentCase.
The content of the invention
It is a primary object of the present invention to provide the localization method and device of a kind of promotion message, to solve in the prior artThe problem of promotion message can not being positioned.
A kind of according to an aspect of the invention, there is provided localization method of promotion message.
Included according to the localization method of the promotion message of the present invention:Addition presets anchor point to the parameter of the promotion messageIn;The parameter of the encryption with the default anchor point, obtains the web page address of the promotion message;And tracking is described defaultAnchor point, display location of the promotion message on target pages is navigated to, wherein, the target pages are the web page addressThe corresponding page.
Further, the default anchor point includes keyword and the preset coordinate associated with the keyword, follows the trail of instituteDefault anchor point is stated, navigating to display location of the promotion message on target pages includes:Judge be on the target pagesIt is no that there is the keyword;And searched described pre- with the case of the keyword on the target pages are judgedIf coordinate, the display location is obtained.
Further, the keyword includes more sub- keywords, the multiple sub- keyword with the preset coordinateIt is associated, wherein, judge whether there is the keyword on the target pages, there is institute on the target pages are judgedIn the case of stating keyword, the preset coordinate is searched, obtaining the display location includes:First judgment step:Described in judgementWhether there is the sub- keyword of target on target pages, wherein, the sub- keyword of target is appointing in the multiple sub- keywordOne keyword;First finding step:In the case of there is the sub- keyword of the target on the target pages are judged, institute is searchedPreset coordinate is stated, obtains the display location;And first return to step:Without described on the target pages are judgedIn the case of the sub- keyword of target, the sub- keyword of the target is redefined from the multiple sub- keyword, and described in returnFirst judgment step, until obtaining the display location.
Further, the default anchor point include it is multiple preset sub- anchor points, preset sub- anchor point Di include keyword Ki, i according toSecondary to take 1 to n, n is the multiple number for presetting sub- anchor point, and keyword K1 to keyword Kn is related to the preset coordinateConnection, wherein, judge whether there is the keyword on the target pages, there is the pass on the target pages are judgedIn the case of keyword, the preset coordinate is searched, obtaining the display location includes:Second judgment step:Judge the targetWhether there is the keyword Ki ' included in the sub- anchor point Di ' of target on the page, wherein, the sub- anchor point Di ' of target is the multiplePreset any sub- anchor point in sub- anchor point;Second finding step:There is the sub- anchor point of the target on the target pages are judgedIn the case of the keyword Ki ' included in Di ', the preset coordinate associated with the keyword Ki ' is searched, is obtainedThe display location;And second return to step:Do not have on the target pages are judged in the sub- anchor point Di ' of the targetComprising the keyword Ki ' in the case of, from it is the multiple preset sub- anchor point in redefine the sub- anchor point Di ' of the target,And second judgment step is returned, until obtaining the display location.
According to another aspect of the present invention, there is provided a kind of positioner of promotion message.
Included according to the positioner of the promotion message of the present invention:Adding device, pushed away for adding default anchor point to describedIn the parameter of Guangxin breath;Ciphering unit, for encrypting the parameter with the default anchor point, obtain the promotion messageWeb page address;And tracing unit, for following the trail of the default anchor point, it is aobvious on target pages to navigate to the promotion messageShow position, wherein, the target pages are the page corresponding to the web page address.
Further, the default anchor point includes keyword and the preset coordinate associated with the keyword, described to chase afterTrack unit includes:First judge module, for judging whether there is the keyword on the target pages;And search mouldBlock, in the case of there is the keyword on the target pages are judged, the preset coordinate is searched, obtained describedDisplay location.
Further, the keyword includes more sub- keywords, the multiple sub- keyword with the preset coordinateIt is associated, wherein, first judge module includes the first judging submodule, for judging whether have on the target pagesThe sub- keyword of target, wherein, the sub- keyword of target is any keyword in the multiple sub- keyword;The lookup mouldBlock includes first and searches submodule, in the case of having the sub- keyword of the target on the target pages are judged, looks intoThe preset coordinate is looked for, obtains the display location;And first return submodule, for judging the target pagesIn the case of without the sub- keyword of the target, the sub- keyword of the target is redefined from the multiple sub- keyword,And first judging submodule is returned, until obtaining the display location.
Further, the default anchor point include it is multiple preset sub- anchor points, preset sub- anchor point Di include keyword Ki, i according toSecondary to take 1 to n, n is the multiple number for presetting sub- anchor point, and keyword K1 to keyword Kn is related to the preset coordinateConnection, wherein, first judge module includes the second judging submodule, for judging whether there is target on the target pagesThe keyword Ki ' included in sub- anchor point Di ', wherein, the sub- anchor point Di ' of target is the multiple any preset in sub- anchor pointSub- anchor point;The searching modul includes second and searches submodule, for having target on the target pages are judgedIn the case of the keyword Ki ' included in anchor point Di ', the preset coordinate associated with the keyword Ki ' is searched,Obtain the display location;And second return submodule, do not have the sub- anchor of the target on the target pages are judgedIn the case of the keyword Ki ' included in point Di ', the sub- anchor of the target is redefined from the multiple preset in sub- anchor pointPoint Di ', and second judging submodule is returned, until obtaining the display location.
In the present invention, using the default anchor point of addition into the parameter of promotion message;Parameter of the encryption with default anchor point,It is promoted the web page address of information;The default anchor point of tracking, navigates to display location of the promotion message on target pages, itsIn, target pages are the page corresponding to web page address.By the way that anchor point set in advance is added in the parameter of promotion message, andParameter of the encrypted packet containing default anchor point, the web page address of information is promoted, can be to presetting anchor when opening the web page addressPoint is tracked, and so as to which the position that browses of target pages is positioned on the display location of promotion message, solves prior artIn the problem of promotion message can not being positioned, and then improve the effect of ad click rate.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the inventionApply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the localization method of promotion message according to embodiments of the present invention;And
Fig. 2 is the schematic diagram of the positioner of promotion message according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present inventionAccompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill peopleThe every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protectsEnclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so useData can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein orOrder beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipmentThose steps or unit clearly listed, but may include not list clearly or for these processes, method, productOr the intrinsic other steps of equipment or unit.
In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.Below willThe present invention will be described in detail with reference to the accompanying drawings and embodiments.
Description below is done to technical term involved in the embodiment of the present invention:
Anchor point is one kind of hyperlink in webpage making, is called name anchor note, name anchor note is as a rapid locatorEqually it is the hyperlink in a kind of page.Mark can be set using name anchor note, these marks are normally placed in a documentAt the particular topic of document or top, the particular topic of document or the link at top can be created to, can be fast by these linksSpeed takes visitor to specified location.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method that can be used for implementing the application device embodiment,It should be noted that can be in the department of computer science of such as one group computer executable instructions the flow of accompanying drawing illustrates the step ofPerformed in system, although also, show logical order in flow charts, in some cases, can be with different from hereinOrder perform shown or described step.
According to embodiments of the present invention, there is provided a kind of localization method of promotion message, Fig. 1 are according to embodiments of the present inventionThe flow chart of the localization method of promotion message, as shown in figure 1, this method includes steps S102 to step S106:
S102:The default anchor point of addition is into the parameter of promotion message, specifically, in embodiments of the present invention, promotion messageCan be advertising message, advertising message includes multiple parameters, such as advertiser, advertised name, project name, time, presets anchorPoint can be the anchor point that any one can carry out tracking of information, and the specific addition manner added in anchor point to parameter can useAny addition manner of the prior art.
S104:Parameter of the encryption with default anchor point, it is promoted the web page address of information, the ginseng to including default anchor pointNumber is encrypted, web page address (also referred to as URL, the Uniform/ with default anchor point after being encryptedUniversal Resource Locator, abbreviation URL), the web page address after now encrypting is not easy to be cracked, and improvesThe security of web page address, wherein the mode encrypted can use the bit encryption modes of base 64, md5 encryption side can also be usedFormula, just do not do specifically describe herein.
S106:The default anchor point of tracking, navigates to display location of the promotion message on target pages, wherein, target pagesThe page of corresponding appearance during to open the web page address.Because include in the web page address related to the promotion message pre-If anchor point, so when opening the web page address, anchor point can be preset to this and be tracked, so as to which target pages are navigated toThe display location of promotion message.
In embodiments of the present invention, by the way that anchor point set in advance is added in the parameter of promotion message, and encrypted packetParameter containing default anchor point, the web page address of information is promoted, when opening the web page address, default anchor point can be carried outTracking, so as to which the position that browses of target pages is positioned on the display location of promotion message, solving can not be to promotion messageThe problem of being positioned, and then improve the effect of ad click rate.
Specifically, presetting anchor point includes keyword and the preset coordinate associated with keyword, and keyword can be promotedWhen parameter in information such as promotion message is advertising message, the keyword can be advertised name, advertiser etc.;Preset coordinateIncluding abscissa and ordinate, for representing display location of the promotion message in target pages.In the preferred embodiment of the present inventionIn, default anchor point is followed the trail of, navigates in display location of the promotion message on target pages and comprises the following steps:
Judge whether there is keyword on target pages, many contents are had, it is necessary to first judge page object on target pagesKeyword in the default anchor point whether included on face, that is, search whether target pages include this keyword.
In the case of there is keyword on target pages are judged, preset coordinate is searched, display location is obtained, works as judgementGo out on target pages in the case that there is this keyword, i.e., this keyword is included in the content of target pages, finds default seatMark, abscissa and ordinate in preset coordinate, determines display location of the promotion message in target pages.
Such as:When viewer wants to browse the webpage of the car of A brands, advertising user B launches in the webpage of the car of A brandsIts product, it is the car of C brands, it is assumed that the default anchor point for including the car on C brands is added in network address corresponding to the webpage, itsIn to preset the keyword that includes of anchor point be " car ", when webpage of user's opening on the car of A brands, now the webpage is targetThe page, can judge whether include keyword " car " in target pages, if comprising lookup has related pre- with keyword " car "If coordinate, and then by the location advertising for browsing the car that position navigates to C brands of target pages, viewer is improved to C productThe clicking rate of the car of board, the exposure rate and arrival rate of increase advertisement putting are reached.
In embodiments of the present invention, keyword and preset coordinate can also be set according to the demand of advertising user, be reachedImprove the effect of advertising user satisfaction.
Preferably, the embodiments of the invention provide following two progress keywords to judge to obtain the mode of display location:
Method one:Including more sub- keywords for keyword, more sub- keywords are associated with preset coordinate, andMore sub- keywords correspond to the situation of a preset coordinate, judge whether there is keyword on target pages, are judging meshMark in the case of there is keyword on the page, search preset coordinate, obtain to display location and specifically comprise the following steps S11 to stepS13:
Step S11 (that is, the first judgment step):Judge whether there is the sub- keyword of target on target pages, wherein, targetSub- keyword is any keyword in more sub- keywords, example:When keyword is D brand shampoos, more sub- keywordsCan be it is submissive, short-tempered and withered, now the sub- keyword of target can be it is submissive, short-tempered and withered in any one, it is assumed thatThe sub- keyword of target is submissive, then judges whether have the sub- keyword of target submissive on target pages.
Step S12 (that is, the first finding step):In the case of there is the sub- keyword of target on target pages are judged, look intoPreset coordinate is looked for, obtains display location, still illustrating using the example above:Assuming that the sub- keyword of target is submissive, work as meshWhen marking keyword comprising this submissive target on the page, then by lookup and submissive corresponding preset coordinate, obtain on the meshMark the display location of the promotion message of sub- keyword, and then by the display for browsing position and being positioned at the promotion message of target pagesOn position.
Step S13 (that is, the first return to step):Do not have the situation of the sub- keyword of target on target pages are judgedUnder, the sub- keyword of target, and return to step S11 (that is, returning to the first judgment step) are redefined from more sub- keywords, directlyTo obtaining display location.
Method two:Include multiple default sub- anchor points for default anchor point, each presetting sub- anchor point includes a keyword, moreThe individual multiple keywords preset sub- anchor point and just included, multiple keywords all correspond to the situation of same preset coordinate, it is assumed that multiple pre-If the number of sub- anchor point is n, n takes more than 2 natural number, preset sub- anchor point Di included by keyword for keyword Ki, i successively1 to n is taken, it is that keyword K1 to keyword Kn corresponds to same preset coordinate that multiple keywords, which all correspond to same preset coordinate,Then judge whether there is keyword on target pages, in the case of there is keyword on target pages are judged, search defaultCoordinate, obtain to display location and specifically comprise the following steps S21 to step S23:
Step S21 (that is, the second judgment step):Judge whether there is what is included in the sub- anchor point Di ' of target on target pagesKeyword Ki ', wherein, the sub- anchor point Di ' of target is multiple any sub- anchor points preset in sub- anchor point, i.e. i ' belongs to set 1 to n.
Step S22 (that is, the second finding step):There is the pass included in the sub- anchor point Di ' of target on target pages are judgedIn the case of keyword Ki ', the preset coordinate associated with keyword Ki ' is searched, obtains display location.
Step S23 (that is, the second return to step):Do not have on target pages are judged in the sub- anchor point Di ' of target and includeKeyword Ki ' in the case of, redefine the sub- anchor point Di ' of target from multiple preset in sub- anchor points, and return to step S21 is (i.e.,Second judgment step), until obtaining display location, i.e. i ' specific value is redefined, until judging to wrap in target pagesWhen including the keyword in which default sub- anchor point, the page is just navigated into the display location on the promotion message.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series ofCombination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement becauseAccording to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also knowKnow, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the inventionIt is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lotIn the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existingThe part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storageIn medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculateMachine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of monitoring dress for being used to implement the process of the monitoring method of above-mentioned process is additionally providedPut, the monitoring device is mainly used in performing the monitoring method that the above of the embodiment of the present invention is provided, below to of the invention realThe monitoring device for applying the process that example is provided does specific introduction:
According to an embodiment of the invention, there is provided a kind of positioner of promotion message, Fig. 2 are according to embodiments of the present inventionPromotion message positioner schematic diagram, as shown in Fig. 2 the device mainly include adding device 10, the and of ciphering unit 20Tracing unit 30.
Adding device 10 is used to add default anchor point into the parameter of promotion message, specifically, in embodiments of the present invention,Promotion message can be advertising message, and advertising message includes multiple parameters, such as advertiser, advertised name, project name, timeIt can be the anchor point that any one can carry out tracking of information Deng, default anchor point, add the specific addition side in anchor point to parameterFormula can use any addition manner of the prior art.
Ciphering unit 20 is used to encrypt the parameter with default anchor point, the web page address of information is promoted, to comprising pre-If the parameter of anchor point is encrypted, after being encrypted with default anchor point web page address (also referred to as URL,Uniform/Universal Resource Locator, abbreviation URL), the web page address after now encrypting is not easy to be brokenSolution, improves the security of web page address, wherein the mode encrypted can use the bit encryption modes of base 64, can also useMd5 encryption mode, just do not do specifically describe herein.
Tracing unit 30 is used to follow the trail of default anchor point, navigates to display location of the promotion message on target pages, wherein,Target pages are the page corresponding to web page address.Because include the default anchor related to the promotion message in the web page addressPoint, so when opening the web page address, anchor point can be preset to this and be tracked, so as to which target pages are navigated into popularizationThe display location of information.
In embodiments of the present invention, by the way that anchor point set in advance is added in the parameter of promotion message, and encrypted packetParameter containing default anchor point, the web page address of information is promoted, when opening the web page address, default anchor point can be carried outTracking, so as to which the position that browses of target pages is positioned on the display location of promotion message, solving can not be to promotion messageThe problem of being positioned, and then improve the effect of ad click rate.
Specifically, presetting anchor point includes keyword and the preset coordinate associated with keyword, and keyword can be promotedWhen parameter in information such as promotion message is advertising message, the keyword can be advertised name, advertiser etc.;Preset coordinateIncluding abscissa and ordinate, for representing display location of the promotion message in target pages.In embodiments of the present invention, chase afterTrack unit 30 includes the first judge module and the second judge module, wherein, the first judge module, it is on target pages for judgingIt is no that there is keyword, in having many contents on target pages, it is necessary to first judge the default anchor point that whether is included on target pagesKeyword, that is, search target pages whether include this keyword;Searching modul, which is used to have on target pages are judged, closesIn the case of keyword, i.e., this keyword is included in the content of target pages, search preset coordinate, the horizontal seat in preset coordinateMark and ordinate, determine display location of the promotion message in target pages.
Such as:When viewer wants to browse the webpage of the car of A brands, advertising user B launches in the webpage of the car of A brandsIts product, it is the car of C brands, it is assumed that the default anchor point for including the car on C brands is added in network address corresponding to the webpage, itsIn to preset the keyword that includes of anchor point be " car ", when webpage of user's opening on the car of A brands, now the webpage is targetThe page, can judge whether include keyword " car " in target pages, if comprising lookup has related pre- with keyword " car "If coordinate, and then by the location advertising for browsing the car that position navigates to C brands of target pages, viewer is improved to C productThe clicking rate of the car of board, the exposure rate and arrival rate of increase advertisement putting are reached.
In embodiments of the present invention, keyword and preset coordinate can also be set according to the demand of advertising user, be reachedImprove the effect of advertising user satisfaction.
Preferably for the first judge module and searching modul, the embodiments of the invention provide following two concrete structuresComposition:
Structure one, the first judge module mainly include the first judging submodule, and searching modul mainly includes first and searches sonModule and first returns to submodule, includes more sub- keywords for keyword, more sub- keywords are related to preset coordinateConnection, and more sub- keywords correspond to the situation of a preset coordinate, and the first judging submodule is used to judge target pagesWhether there is the sub- keyword of target, wherein, the sub- keyword of target is any keyword in more sub- keywords, example:Work as keyWhen word is D brand shampoos, more sub- keywords can be submissive, short-tempered and withered, and now the sub- keyword of target can be softAny one in suitable, short-tempered and withered, it is assumed that the sub- keyword of target is submissive, then judges whether there is target on target pagesSub- keyword is submissive;In the case where the first judging submodule judges to have the sub- keyword of target on target pages, first searchesSubmodule is used to search preset coordinate, obtains display location, still illustrating using the example above:Assuming that the sub- keyword of targetTo be submissive, when keyword comprising this submissive target on target pages, then by lookup and submissive corresponding preset coordinate, obtainThe popularization is positioned to the display location of the promotion message on the sub- keyword of the target, and then by the position that browses of target pagesOn the display location of information;In the case where the first judging submodule is judged not having the sub- keyword of target on target pages,First return submodule is used to from more sub- keywords redefine the sub- keyword of target, and returns to the first judging submodule,Until obtaining display location.
Structure two, the first judge module mainly include the second judging submodule, and searching modul mainly includes second and searches sonModule and second returns to submodule, includes multiple default sub- anchor points for default anchor point, each presetting sub- anchor point includes a passKeyword, multiple multiple keywords preset sub- anchor point and just included, multiple keywords all correspond to the situation of same preset coordinate, it is assumed thatMultiple numbers for presetting sub- anchor point are n, and n takes more than 2 natural number, and the keyword preset included by sub- anchor point Di is keywordKi, i take 1 to n successively, multiple keywords all correspond to same preset coordinate be keyword K1 to keyword Kn correspond to it is same pre-If coordinate, wherein, the second judging submodule is used to judge whether have the key included in the sub- anchor point Di ' of target on target pagesWord Ki ', wherein, the sub- anchor point Di ' of target is multiple any sub- anchor points preset in sub- anchor point, i.e. i ' belongs to set 1 to n;SentencingIn the case of having the keyword Ki ' included in the sub- anchor point Di ' of target on disconnected target pages, the second lookup submodule is used to searchThe preset coordinate associated with keyword Ki ', obtains display location;Judge do not have on target pages in the second judging submoduleIn the case of having the keyword Ki ' included in the sub- anchor point Di ' of target, second, which returns to submodule, is used to preset in sub- anchor point from multipleThe sub- anchor point Di ' of target is redefined, and returns to the second judgment step, until obtaining display location, i.e. redefine the specific of i 'Value, until when judging that target pages include the keyword in which default sub- anchor point, just the page is navigated on thisThe display location of promotion message.
As can be seen from the above description, the present invention can solve the problem that the problem of can not being positioned to promotion message, enterAnd the effect for improving ad click rate is reached.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with generalComputing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formedNetwork on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are storedPerformed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by theyIn multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specificHardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this areaFor art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiiesChange, equivalent substitution, improvement etc., should be included in the scope of the protection.