CN101226619B - System and method for implementing statistics of hyperlink URL clicking ratio of mail - Google Patents

System and method for implementing statistics of hyperlink URL clicking ratio of mail Download PDF

Info

Publication number
CN101226619B
CN101226619B CN2007100083216A CN200710008321A CN101226619B CN 101226619 B CN101226619 B CN 101226619B CN 2007100083216 A CN2007100083216 A CN 2007100083216A CN 200710008321 A CN200710008321 A CN 200710008321A CN 101226619 B CN101226619 B CN 101226619B
Authority
CN
China
Prior art keywords
mail
source code
template
url
hyperlink
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.)
Expired - Fee Related
Application number
CN2007100083216A
Other languages
Chinese (zh)
Other versions
CN101226619A (en
Inventor
张雪峰
姚志群
王定乾
谢保华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2007100083216A priority Critical patent/CN101226619B/en
Publication of CN101226619A publication Critical patent/CN101226619A/en
Priority to HK08113721.1A priority patent/HK1120906A1/en
Application granted granted Critical
Publication of CN101226619B publication Critical patent/CN101226619B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a system for realizing the count of clicking rate of hyperlink URL in mails and a process thereof. The process comprises that the operator hands in requirement to trace all the links via web terminal, after receiving the requirement, the first mail server treats the html source code of the mail module, analyzes all html elements, scans all the hyperlinks, then revises herf value and adds macro quotation. The first mail server adds macro definition in source code when the mail module task reaches the sending time, then sends to vecocity module engine to treat, the vecocity module engine replaces all the macro quotations and variations and finally generates mail content and sends to the client. When the URL in the mail is clicked by the user, the feedbacks comprising URL addresses and customer identification are returned, when the URL address of the customer identification is not calculated, the first mail server adds one for the relative URL address clicking calculator. The invention avoids writing wrong the code or forgetting to revise the herf value of a certain hyperlink, which increases the accuracy of count and reduces the leak of hand addition.

Description

Realize the system and method for hyperlink URL clicking ratio in the statistics mail
Technical field
The present invention relates to network field, relate in particular to the system and method for hyperlink URL (UniformResource Locator, web page address) clicking rate in the statistics mail.
Background technology
Email Marketing adopts the form of Email exactly, propagates a kind of marketing mode to the target audience of oneself to the information of oneself.For a long time, it is obvious with effect, cost and received most companies and individual's favor, and along with the fast development of cybertimes, increasing businessman begins to adopt this marketing mail to carry out the propaganda of company.Transmitting terminal (the service side that entrusts like marketing person or the marketing person) mail of normally will market sends to each user of correspondence in the mail tabulation that local terminal preserves; For the user is that it is deleted as spam or very interested in the marketing content of marketing in the mail, is the thing that marketing person is concerned about very much.At present, a kind of comparatively common means are to know the feedback of user to the marketing mail through each hyperlink URL clicking ratio in the statistics mail.So; Do you how can know the number of times that each hyperlink URL is clicked in the mail? Existing a kind of way is in mail, to embed existing tracing function, like trace (vestige), when the user clicks certain URL; This trace function just is activated; The URL address of returning user profile (addresses of items of mail corresponding like the user) and being clicked, transmitting terminal is counted the number of clicks of this URL address, obtains each URL clicking rate in the mail with this.
The system of hyperlink URL clicking ratio comprises transmitting terminal and at least one client in the existing statistics mail, and transmitting terminal is connected through the Internet with client.Wherein, transmitting terminal comprises first mail server and at least one web terminal, and many web terminals are connected with first mail server after can forming in-house network.And transmitting terminal can also comprise database server, and database server is mainly used in jumbo storage data, such as the mail tabulation of storage user mail information.Client comprises second mail server and some user terminals.User terminal comes receiving and dispatching mail through second mail server.
Based on above-mentioned system principle structure, the method for hyperlink URL clicking ratio is in the existing realization statistics mail:
At first: the operator is added into the trace function through the mode of craft in the source code of marketing mail.Usually; The operator can be connected to first mail server through a web terminal in advance; On this first mail server, create mail marketing task, and generate the template of marketing task mail, its template is generally the html source code; The operator checks its html source code subsequently, with the naked eye finds out the hyperlink element.As:
<a href=" http://china.alibaba.com " target=" _ blank ”>Chinese website</a>
The operator revises the value of href again through manual input mode, such as, it is revised as:<a href=" http://trace.alibaba.com/trace.html? memberId=$memberId&key=click&redirect=http: //china.alibaba.com " target=" _ blank ”>Chinese website</a>
Generally; Therefore the URL address of hyperlink has a plurality ofly in each mail, and the above-mentioned mode by hand number of times that in the source code of mail, is added into the trace function has repeatedly, for the operator; Especially in mail under the situation of a lot of of the URL address of hyperlink; Should find all hyperlink in the mail template source code, guarantee that again the href value modification of each hyperlink is correct, have suitable difficulty.
Then, first mail server begins each addresses of items of mail transmission mail in the mail tabulation of preserving in advance at the transmitting time point of this mail template task setting.
Subsequently, second mail server receives to its mail.
Subsequently; User terminal is read mail through visiting second mail server; If a certain URL in the mail is clicked by the user; Then the trace function just is activated, and returns user profile (like memberId) and by the URL address clicked etc., and transmitting terminal adds 1 to the hit counter of this URL address to be handled.
At last, transmitting terminal is checked each URL address hit counter of local terminal, knows each URL address number of clicks in this mail.When the href value of a certain hyperlink in the mail template source code was not modified or revises the appearance mistake, then the number of clicks of the URL address of this hyperlink just can not be added up.
That is to say; The operator is added into the trace function through the mode of craft in the source code of marketing mail; Because manual input is unreliable; Therefore wrongly writing the thing that the href value of code or a certain hyperlink is not modified often has generation, thereby causes follow-uply can not normally obtaining the URL address clicks that needs are monitored.And, makeing mistakes in order to prevent as far as possible, the operator needs repeatedly audit usually, and efficient is very low, nor can guarantee that the trace function that is added into is perfectly safe.
Summary of the invention
The object of the present invention is to provide a kind of system and method for realizing adding up hyperlink URL clicking ratio in the mail; Wrongly writing the thing that the href value of code or a certain hyperlink is not modified when solving existing manual input often has generation, thereby causes the follow-up technical matters that can not normally obtain the URL address clicks that needs monitor.
In order to achieve the above object; The invention provides a kind of system that realizes adding up hyperlink URL clicking ratio in the mail; Comprise transmitting terminal and at least one client, wherein transmitting terminal comprises first mail server, and said client comprises second mail server and user terminal; Said first mail server further comprises mail template processing unit, sends out mail treatment unit and feedback response unit, wherein:
Mail template processing unit comprises:
Resolver: parse all the hyperlink elements in the mail template source code;
Macro reference adds subelement: the href value in all hyperlink elements is made amendment, and adds predefined macro reference;
Sending out the mail treatment unit comprises:
Mail transmit queue subelement: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code is committed to Mail Contents generates subelement, send after Mail Contents generates the Mail Contents that subelement returns when receiving;
Mail Contents generates subelement: through the said predefined grand macro reference of replacing in the mail template, generate Mail Contents;
The feedback response unit comprises count sub-element: after receiving the feedback information that comprises the URL address that returns from client, corresponding URL address hit counter adds 1 to be handled.
Transmitting terminal also comprises web terminal and database, and wherein, the web terminal comprises mail template request unit and preservation unit,
Said mail template request unit is used for mail template source code is sent to first mail server, and request carries out in mail template source code, adding the processing of macro reference;
Preserve the unit: be used for the mail template source code that adds macro reference is saved in database.
Said database further comprises:
Mail Template Information storage unit: be used to store the mail Template Information that comprises mail template source code;
Mail tabulation information memory cell: the addresses of items of mail and the corresponding user totem information of each user that are used to store all users that said mail need send.
Database is the server of individual setting, or attaches troops to a unit on first mail server, and said web terminal is connected to first mail server through in-house network or is connected directly on first mail server.
The feedback response unit also comprises judgment sub-unit: when also comprising ID the feedback information that returns from client; To URL address hit counter add 1 the counting before; Prejudge this URL address of this ID earlier and whether carried out adding 1 counting processing; If not, just said URL address hit counter being added 1 handles.
The html resolver that said resolver adopts java software to carry, Mail Contents generate subelement and adopt java open source software velocity template engine.
A kind of method that realizes adding up hyperlink URL clicking ratio in the mail comprises:
(1) first mail server parses all the hyperlink elements in the mail template source code, and to adding predefined macro reference on the href value in all hyperlink elements;
(2) adding is predefined grand in said mail template source code;
(3) during every transmission one mail,, send after generating Mail Contents through the said predefined grand macro reference of replacing in the mail template source code;
(4) when the URL in the mail is clicked by the user, return the feedback information that comprises the URL address;
(5) first mail servers add 1 processing to the URL address hit counter of correspondence.
Step (3) also comprises: also comprise ID in said Mail Contents grand, said ID is set up the identification information of corresponding relation for the addresses of items of mail that needs to send or with the addresses of items of mail that needs send;
Also comprise between step (4) and the step (5): whether this URL address of judging the ID that from the feedback information that client is returned, comprises had carried out adding 1 counting processing, if not, just carried out step (5).
Also comprise between step (1) and the step (2): first mail server in said mail template source code, add predefined grand after, result is back to the web terminal; Web terminal request first mail server is preserved said mail template source code; First mail server is saved to said mail template source code in the database.
Step (3) further is: the mail transmit queue subelement of first mail server will add the velocity template engine that predefined grand and the parameter that comprises ID are sent to first mail server; The velocity template engine is through the said predefined grand macro reference of replacing in the mail template source code, and will comprise the parameter replacement of the ID variable in grand, generates Mail Contents.
A kind of system that realizes adding up hyperlink URL clicking ratio in the mail; Comprise transmitting terminal and at least one client; Wherein transmitting terminal comprises web terminal, first mail server and database; Said client comprises second mail server and user terminal, and said first mail server further comprises mail template processing unit, sends out mail treatment unit and feedback response unit, wherein:
Mail template processing unit comprises:
Resolver: parse all the hyperlink elements in the mail template source code that sends by the web terminal;
Macro reference adds subelement: the href value in all hyperlink elements is made amendment, and adds predefined macro reference;
Mutual subelement: be used to set up mutual with web terminal and database, comprise after the preservation request that receives the web terminal, the mail template source code of the said macro reference of adding is saved on the database;
Sending out the mail treatment unit comprises:
Mail transmit queue subelement: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code and the parameter that comprises ID are committed to Mail Contents generate subelement, send after Mail Contents generates the Mail Contents that subelement returns when receiving;
Mail Contents generates subelement: through the said predefined grand macro reference of replacing in the mail template, and with said parameter replacement the variable in grand, the generation Mail Contents;
Feedback response unit: after receiving the feedback information that comprises URL address and ID that returns from client; This URL address hit counter of this ID adds 1 to be handled; Perhaps if does not count when handling the corresponding said URL of this ID address, said URL address hit counter adds 1 to be handled.
A kind of method that realizes adding up hyperlink URL clicking ratio in the mail comprises:
(1) first mail server parses all the hyperlink elements in the mail template source code, and after adding predefined macro reference on the href value in all hyperlink elements, preserves;
(2) when this mail template need be sent, in said mail template source code, add predefined grand;
(3) during every transmission one mail, through the said predefined grand macro reference of replacing in the mail template source code, and with the parameter replacement that comprises ID the variable in grand, send after generating Mail Contents;
(4) when the URL in the mail is clicked by the user, return the feedback information that comprises URL address and ID;
(5) this URL address hit counter of this ID adds 1 processing.
Compared with prior art; The present invention utilizes existing html resolver and velocity technology; On first mail server, newly be provided with mail template process software, send out mail treatment software etc.; Realize the purpose of hyperlink URL clicking ratio in the statistics mail, avoided occurring wrongly writing the thing that the href value of code or a certain hyperlink is not modified, improved the omission that statistical accuracy and minimizing manually add.Simultaneously, also save operator's working time, improved work efficiency greatly.
Description of drawings
Fig. 1 realizes adding up an instance schematic diagram of the system of hyperlink URL clicking ratio in the mail for the present invention;
Fig. 2 realizes adding up a kind of realization flow figure of hyperlink URL clicking ratio in the mail for the present invention;
Fig. 3 is that first mail server is handled the particular flow sheet of following the trail of all hyperlink Request Processing subprocess;
Fig. 4 sends the particular flow sheet of subprocess for the mail template;
Fig. 5 is another instance schematic diagram of the system of hyperlink URL clicking ratio in the realization statistics mail of the present invention;
Fig. 6 realizes adding up the another kind of realization flow figure of hyperlink URL clicking ratio in the mail for the present invention.
Embodiment
Below in conjunction with accompanying drawing, specify the present invention.
See also Fig. 1, it realizes adding up an instance schematic diagram of the system of hyperlink URL clicking ratio in the mail for the present invention.It comprises transmitting terminal and at least one client, and wherein transmitting terminal comprises web terminal 11, first mail server 12 and database 13.Web terminal 11, first mail server 12 are connected to first mail server 12 through in-house network.Client comprises second mail server 14 and some user terminals 15.User terminal 15 carries out operations such as mail transmission/reception through second mail server 14.
Web terminal 11 comprises mail template request unit 111 at least and preserves unit 112.The operator creates a mail marketing task through Web terminal 11 on first mail server 12, promptly insert the mail template content.Through mail template request unit 111 mail template source code is sent to first mail server 12, request carries out in mail template source code, adding the processing of macro reference.Preserving unit 112 is to be used for after first mail server 12 returns the success of adding macro reference, on first mail server 12 sends mail Template Information to databases 13 such as preserving said mail template source code.The mail Template Information can also comprise this mail task transmitting time that the operator sets.Generally, preserving unit 112 and mail template request unit 111 is realized by software.
Said database 13 is mainly used in the preservation data.It further comprises:
Mail Template Information storage unit 131: be used to store the mail Template Information that comprises mail template source code.The mail Template Information also comprises the time that this mail task is sent, the mode of transmission etc.
Mail tabulation information memory cell 132: be used to store all users' that said mail need send addresses of items of mail and comprise the user profile of ID.ID can directly be user's a addresses of items of mail, also can be that the addresses of items of mail with the user identifies one to one.When user's addresses of items of mail when being a plurality of, ID can have only one.
Said first mail server 12 further comprises mail template processing unit 121, sends out mail treatment unit 122 and feedback response unit 123, wherein:
Mail template processing unit 121 comprises:
Resolver 21: parse all the hyperlink elements in the mail template source code that sends by web terminal 11.The html resolver that resolver 21 can adopt java to carry; Promptly adopt HTMLEditorKit and HTMLDocument in
Figure S07108321620070201D000091
ml software package that java carries; HTML, SimpleAttributeSet and associated class thereof process to accomplish resolves the html function.
Said super connection be meant with literal, picture, animation etc. as carrier with the URL hyperlink of other webpage in current web page.After " hyperlink " is clicked, just can jump to the webpage of appointment.It is a kind of grammer of html language, and its attribute generally comprises herf, target, and three of text, as
<a href=" http://china.alibaba.com " target=" _ blank ”>Chinese website</a>
The value of href and target is obvious, and the value of text is exactly " Chinese war ".<a></a>It is the label of hyperlink.
This resolver 21 decomposes html mail template according to html language standard label, promptly decomposes the html source code, obtains the html structure tree of whole mail template, and the label A according to hyperlink obtains all hyperlink elements then.
Resolver 21 also can be from the resolver of setting up, and promptly searches said html mail template and finds the label A of hyperlink promptly to obtain all hyperlink elements.
Macro reference adds subelement 22: be used to travel through all hyperlink elements, the href value in all hyperlink elements made amendment: add predefined macro reference.It is grand that to be meant that the order that automatically performs certain operation is referred to as grand.Adding macro reference is to add the trace function in this example.Such as,
Figure S07108321620070201D000092
After adding macro reference be:
Be about to add on the URL address among the href trace function.Macro reference adds subelement and can set through the mode of programming in advance.
Mutual subelement 23: be used to set up mutual with web terminal 11 and database 13, comprise when the preservation request that receives the web terminal after, the mail template source code of the said macro reference of adding is saved on the database.
Sending out mail treatment unit 122 comprises:
Mail transmit queue subelement 31: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code and the parameter that comprises ID are committed to Mail Contents generate subelement 32, send after Mail Contents generates the Mail Contents that subelement 32 returns when receiving.
First mail server 12 can scan marketing mail task by fixed cycle usually, after a certain mail task reaches the transmitting time of setting.Mail transmit queue subelement 31 takes out mail template source program from database 13, and adds predefined grand.Promptly add the trace function.Such as,
Figure S07108321620070201D000101
When comprising variable in the macro definition, like memberID.When whenever sending a mail to the user, mail transmit queue subelement 31 needs that also the variable corresponding parameters is sent to Mail Contents and generates subelement 32.That is, the corresponding ID of addresses of items of mail of this mail transmission is sent to Mail Contents and generates subelement.
Mail Contents generates subelement 32: through the said predefined grand macro reference of replacing in the mail template, and with said parameter replacement the variable in grand, the generation Mail Contents.Mail Contents generates subelement 32 and adopts the velocity template engine usually.When sending a mail whenever for a user, just this ID is sent to the velocity template engine, and calls the velocity template engine one time, send to this user's Mail Contents with generation.
Feedback response unit 123: after receiving the feedback information that comprises URL address and ID that returns from client, if does not count when handling this URL address of this ID, said URL address hit counter 41 adds 1 to be handled.Perhaps, this URL address hit counter 41 of 123 pairs of these ID in feedback response unit adds 1 processing.All URL address hit counters 41 can be arranged on the database.
Feedback response unit 123 also comprises judgment sub-unit 42: when also comprising ID the feedback information that returns from client; To URL address hit counter add 1 the counting before; Prejudge this URL address of this ID earlier and whether carried out adding 1 counting processing; If not, just said URL address hit counter being added 1 handles.
Above-mentioned unit is normally realized through software programming.
Based on above-mentioned disclosed system, the present invention also provides a kind of method that realizes adding up hyperlink URL clicking ratio in the mail.See also Fig. 2, it realizes adding up a kind of realization flow figure of hyperlink URL clicking ratio in the mail for the present invention.It comprises:
S110: first mail server parses all the hyperlink elements in the mail template source code, and after adding predefined macro reference on the href value in all hyperlink elements, preserves.
The concrete realization of step S110 can be as shown in Figure 3, comprising:
The request of following the trail of all hyperlink is sent at the S11:web terminal to first mail server;
S12: first mail server obtains all hyperlink with resolver, and travels through all hyperlink after obtaining mail template html source code, revises its herf value: add macro reference above that;
S13: the request responding result that first mail server is followed the trail of all hyperlink is back to the web terminal;
The S14:web terminal proposes to preserve the preservation request of said mail template source code to first mail server;
S15: first mail server sends the request of preservation to database;
S16: database is preserved said mail template source code, and will preserve request responding and be back to first mail server;
S17: first mail server is back to the web terminal with response.
S120: when this mail template need be sent, in said mail template source code, add predefined grand.
S130: during every transmission one mail, through the said predefined grand macro reference of replacing in the mail template source code, and with the parameter replacement that comprises ID grand in variable, send after generating Mail Contents.
Step S120 and step S130 can realize that please with reference to Fig. 4, it is a kind of implementation of step S120 and step S130 through following idiographic flow.
S21: the mail transmit queue subelement of first mail server sends the request of reading mail template source code to database;
S22: database returns reading mail template source code request responding, comprises said mail template source code in the said response;
S23: mail transmit queue subelement adds predefined grand in mail template source code;
S24: mail transmit queue subelement will add macrodefined mail template source code and user identification parameters is sent to the velocity template engine;
The S25:velocity template engine generates real Mail Contents, returns;
S26: mail transmit queue subelement is sent to the client with mail.
Step S24 to step S25 be every transmission one mail, all need repeat.
S140: when the URL in the mail is clicked by the user, return the feedback information that comprises URL address and ID;
S150: when this URL address of this ID was not counted, first mail server added 1 processing to the URL address hit counter of correspondence.Perhaps, first mail server adds 1 processing to this URL address hit counter of this ID.
The html source code of the mail template that obtains like the operator is:
Figure S07108321620070201D000121
Figure S07108321620070201D000131
The operator clicks and follows the tracks of all url, and the web terminal sends to first mail server with these html source codes and handles.First mail server calls the html resolver and handles, and revises the value of the attribute herf of hyperlink, returns the web terminal, and code is following:
Figure S07108321620070201D000132
The operator preserves template content then, preserves marketing mail task to database server, when first mail server detects this marketing task, and the time to situation under can open this subtask transmission work.At first take out template content (i.e. the html source code of the mail template of related this task), and add macro definition, as follows:
Figure S07108321620070201D000133
So just obtained containing macro definition and macro reference and the template that meets the velocity standard of parameter has been arranged.Call the velocity template engine, the velocity template engine combines the value (injecting its corresponding parameters value when calling simultaneously) of patameter to render the real content of mail. as follows:
Figure S07108321620070201D000134
Figure S07108321620070201D000141
Send to the user then; At last, when the URL in the mail is clicked by the user, return the feedback information that comprises URL address and ID; When this URL address of this ID was not counted, first mail server added 1 processing to the URL address hit counter of correspondence.
Can know through above-mentioned process, the invention solves the loaded down with trivial details property that manually adds trac in the mail page of html type, the most important thing is, prevent the generation that makes mistakes effectively.
The same URL of same subscriber repeat count not that is to say that when a certain user has clicked repeatedly the URL of hyperlink, only it is once counted, this mode can have been avoided the generation of click fraud situation to a certain extent during above-mentioned statistics URL.In addition; If first mail server adds 1 processing to this URL address hit counter of each ID; So just can count the click situation of each URL address of each user; Click fraud can not only be avoided to a certain extent, and more accurately targeted customer's information can be obtained.
In addition, the function that accomplish at the web terminal among the present invention can be integrated on first mail server, and database also can be to attach troops to a unit to first mail server, that is to say, web terminal and database all are omissible in the present invention.And the present invention also can carry out repeat count to the URL of a user's repeatedly hyperlink.
See also Fig. 5, it is a kind of theory structure synoptic diagram of realizing adding up the system of hyperlink URL clicking ratio in the mail of the present invention.Comprise transmitting terminal and at least one client; Wherein transmitting terminal comprises first mail server 61; Said client comprises second mail server 14 and user terminal 15; Said first mail server 61 further comprises mail template processing unit 121, sends out mail treatment unit 122 and feedback response unit 123, wherein:
Mail template processing unit 121 comprises:
Resolver 21: parse all the hyperlink elements in the mail template source code;
Macro reference adds subelement 22: the href value in all hyperlink elements is made amendment, and adds predefined macro reference;
Sending out mail treatment unit 122 comprises:
Mail transmit queue subelement 31: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code is committed to Mail Contents generates subelement, send after Mail Contents generates the Mail Contents that subelement returns when receiving;
Mail Contents generates subelement 32: through the said predefined grand macro reference of replacing in the mail template, generate Mail Contents;
Feedback response unit 123 comprises count sub-element 41: after receiving the feedback information that comprises the URL address that returns from client, corresponding URL address hit counter adds 1 to be handled.
Feedback response unit 123 also comprises judgment sub-unit 42: when also comprising ID the feedback information that returns from client; To URL address hit counter add 1 the counting before; Prejudge the corresponding said URL address of this ID earlier and whether carried out adding 1 counting processing; If not, just said URL address hit counter being added 1 handles.
The html resolver that said resolver 21 adopts java software to carry, Mail Contents generate subelement 22 and adopt java open source software velocity template engine.
See also Fig. 6, a kind of process flow diagram of realizing adding up the method for hyperlink URL clicking ratio in the mail, it comprises:
S210: first mail server parses all the hyperlink elements in the mail template source code, and to adding predefined macro reference on the href value in all hyperlink elements;
S220: in said mail template source code, add predefined grand;
S230: during every transmission one mail,, send after generating Mail Contents through the said predefined grand macro reference of replacing in the mail template source code;
S240: when the URL in the mail is clicked by the user, return the feedback information that comprises the URL address;
S250: first mail server adds 1 processing to the URL address hit counter of correspondence.
When above-mentioned URL address was added up, whether no matter be that same subscriber is clicked, the URL address counter was also counted processing.
Step S230 also comprises: also comprise ID in said Mail Contents grand, said ID is set up the identification information of corresponding relation for the addresses of items of mail that needs to send or with the addresses of items of mail that needs send; Also comprise between step S240 and the step S250: judge that whether this corresponding URL address of ID that from the feedback information that client is returned, comprises had been carried out adding 1 counting and handled, and if not, just carried out step S250.Through above-mentioned step, can realize that the identical URL of same subscriber address only counts purpose once, the situation that reduces click fraud thus takes place.
More than disclosedly be merely several specific embodiment of the present invention, but the present invention is not limited thereto, any those skilled in the art can think variation, all should drop in protection scope of the present invention.

Claims (10)

1. system that realizes adding up hyperlink URL clicking ratio in the mail; Comprise transmitting terminal and at least one client; Wherein transmitting terminal comprises first mail server, and said client comprises second mail server and user terminal, it is characterized in that; Said first mail server further comprises mail template processing unit, sends out mail treatment unit and feedback response unit, wherein:
Mail template processing unit comprises:
Resolver: parse all the hyperlink elements in the mail template source code;
Macro reference adds subelement: be used to travel through all hyperlink elements, the href value in all hyperlink elements is made amendment, add predefined macro reference, promptly add predefined trace function;
Sending out the mail treatment unit comprises:
Mail transmit queue subelement: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code is committed to Mail Contents generates subelement, send after Mail Contents generates the Mail Contents that subelement returns when receiving;
Mail Contents generates subelement: through the said predefined grand macro reference of replacing in the mail template, generate Mail Contents;
The feedback response unit comprises count sub-element: after receiving the feedback information that comprises the URL address that returns from client, corresponding URL address hit counter adds 1 to be handled;
Transmitting terminal also comprises web terminal and database; Wherein, the web terminal comprises mail template request unit and preserves unit, said mail template request unit; Be used for mail template source code is sent to first mail server, request carries out in mail template source code, adding the processing of macro reference; Preserve the unit: be used for the mail template source code that adds macro reference is saved in database.
2. the system of claim 1 is characterized in that, said database further comprises:
Mail Template Information storage unit: be used to store the mail Template Information that comprises mail template source code;
Mail tabulation information memory cell: the addresses of items of mail and the corresponding user totem information of each user that are used to store all users that said mail need send.
3. according to claim 1 or claim 2 system; It is characterized in that; Database is the server of individual setting, or attaches troops to a unit on first mail server, and said web terminal is connected to first mail server through in-house network or is connected directly on first mail server.
4. system as claimed in claim 2; It is characterized in that; The feedback response unit also comprises judgment sub-unit: when also comprising ID the feedback information that returns from client, URL address hit counter added 1 counting before, whether this URL address of prejudging this ID had earlier carried out adding 1 counting is handled; If not, just said URL address hit counter being added 1 handles.
5. the system of claim 1 is characterized in that, the html resolver that said resolver adopts java software to carry, Mail Contents generate subelement and adopt java open source software velocity template engine.
6. a method that realizes adding up hyperlink URL clicking ratio in the mail is characterized in that, comprising:
(1) first mail server parses all the hyperlink elements in the mail template source code, and to adding predefined macro reference on the href value in all hyperlink elements, promptly adds predefined trace function; First mail server in said mail template source code, add predefined grand after, result is back to the web terminal; Web terminal request first mail server is preserved said mail template source code; First mail server is saved to said mail template source code in the database;
(2) adding is predefined grand in said mail template source code;
(3) during every transmission one mail,, send after generating Mail Contents through the said predefined grand macro reference of replacing in the mail template source code;
(4) when the URL in the mail is clicked by the user, return the feedback information that comprises the URL address;
(5) first mail servers add 1 processing to the URL address hit counter of correspondence.
7. method as claimed in claim 6 is characterized in that,
Step (3) also comprises: also comprise ID in said Mail Contents grand, said ID is set up the identification information of corresponding relation for the addresses of items of mail that needs to send or with the addresses of items of mail that needs send;
Also comprise between step (4) and the step (5): whether this URL address of judging the ID that from the feedback information that client is returned, comprises had carried out adding 1 counting processing, if not, just carried out step (5).
8. method as claimed in claim 6 is characterized in that, step (3) further is:
The mail transmit queue subelement of first mail server will add the velocity template engine that predefined grand and the parameter that comprises ID are sent to first mail server;
The velocity template engine is through the said predefined grand macro reference of replacing in the mail template source code, and will comprise the parameter replacement of the ID variable in grand, generates Mail Contents.
9. system that realizes adding up hyperlink URL clicking ratio in the mail; Comprise transmitting terminal and at least one client; Wherein transmitting terminal comprises web terminal, first mail server and database, and said client comprises second mail server and user terminal, it is characterized in that; Said first mail server further comprises mail template processing unit, sends out mail treatment unit and feedback response unit, wherein:
Mail template processing unit comprises:
Resolver: parse all the hyperlink elements in the mail template source code that sends by the web terminal;
Macro reference adds subelement: the href value in all hyperlink elements is made amendment, and adds predefined macro reference, promptly adds predefined trace function;
Mutual subelement: be used to set up mutual with web terminal and database, comprise after the preservation request that receives the web terminal, the mail template source code of the said macro reference of adding is saved on the database;
Sending out the mail treatment unit comprises:
Mail transmit queue subelement: in the mail template source code of said adding macro reference, add predefined grand; During every transmission one mail; Said mail template source code and the parameter that comprises ID are committed to Mail Contents generate subelement, send after Mail Contents generates the Mail Contents that subelement returns when receiving;
Mail Contents generates subelement: through the said predefined grand macro reference of replacing in the mail template, and with said parameter replacement the variable in grand, the generation Mail Contents;
Feedback response unit: after receiving the feedback information that comprises URL address and ID that returns from client; This URL address hit counter of this ID adds 1 to be handled; Perhaps if does not count when handling the corresponding said URL of this ID address, said URL address hit counter adds 1 to be handled.
10. a method that realizes adding up hyperlink URL clicking ratio in the mail is characterized in that, comprising:
(1) first mail server parses all the hyperlink elements in the mail template source code, and to adding predefined macro reference on the href value in all hyperlink elements, promptly adds predefined trace function, preserves afterwards;
(2) when this mail template need be sent, in said mail template source code, add predefined grand;
(3) during every transmission one mail, through the said predefined grand macro reference of replacing in the mail template source code, and with the parameter replacement that comprises ID the variable in grand, send after generating Mail Contents;
(4) when the URL in the mail is clicked by the user, return the feedback information that comprises URL address and ID;
(5) this URL address hit counter of this ID adds 1 processing, and perhaps if does not count when handling the corresponding said URL of this ID address, said URL address hit counter adds 1 to be handled.
CN2007100083216A 2007-01-17 2007-01-17 System and method for implementing statistics of hyperlink URL clicking ratio of mail Expired - Fee Related CN101226619B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007100083216A CN101226619B (en) 2007-01-17 2007-01-17 System and method for implementing statistics of hyperlink URL clicking ratio of mail
HK08113721.1A HK1120906A1 (en) 2007-01-17 2008-12-17 System and method for counting click rate of hyperlink url in email

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100083216A CN101226619B (en) 2007-01-17 2007-01-17 System and method for implementing statistics of hyperlink URL clicking ratio of mail

Publications (2)

Publication Number Publication Date
CN101226619A CN101226619A (en) 2008-07-23
CN101226619B true CN101226619B (en) 2012-11-21

Family

ID=39858600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100083216A Expired - Fee Related CN101226619B (en) 2007-01-17 2007-01-17 System and method for implementing statistics of hyperlink URL clicking ratio of mail

Country Status (2)

Country Link
CN (1) CN101226619B (en)
HK (1) HK1120906A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103578014A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Method and device for determining sending frequency of periodic marketing mails
CN103455587B (en) * 2013-08-29 2017-09-26 百度在线网络技术(北京)有限公司 Obtain and push the method and device of content, receive the method and device for pushing content
CN104935492B (en) * 2014-03-18 2018-05-08 阿里巴巴集团控股有限公司 A kind of mail method of calibration, device and system
CN105099993B (en) * 2014-04-29 2019-08-02 阿里巴巴集团控股有限公司 A kind of data interactive method based on agent platform, device and system
CN105095625B (en) * 2014-05-14 2018-12-25 阿里巴巴集团控股有限公司 Clicking rate prediction model method for building up, device and information providing method, system
CN105450499B (en) * 2014-08-15 2018-11-06 阿里巴巴集团控股有限公司 A kind of mail behavior feedback method and device
CN105376142B (en) * 2015-11-25 2019-04-19 小米科技有限责任公司 E-mail processing method and device
CN107146095B (en) * 2016-03-01 2021-03-23 创新先进技术有限公司 Method and device for processing display information of mail and mail system
CN106372041A (en) * 2016-08-23 2017-02-01 上海创景计算机系统有限公司 Hypertext markup language customization system
CN108234277A (en) * 2016-12-21 2018-06-29 阿里巴巴集团控股有限公司 A kind of mail transmission, the method and device of editor
CN108304400A (en) * 2017-01-11 2018-07-20 阿里巴巴集团控股有限公司 To the method and apparatus of the tracking of the document function containing hypertext markup language
CN110969001B (en) * 2018-09-27 2023-05-02 阿里巴巴集团控股有限公司 Feedback information generation method and device, storage medium, processor and terminal
CN109597948A (en) * 2018-10-17 2019-04-09 深圳壹账通智能科技有限公司 Access method, system and the storage medium of URL link
CN111210261A (en) * 2019-12-25 2020-05-29 杭州龙席网络科技股份有限公司 Marketing management system suitable for export type cross-border trade
CN111324844A (en) * 2020-02-20 2020-06-23 重庆锐云科技有限公司 Data export control method and device, marketing management platform and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329407A (en) * 2000-06-14 2002-01-02 索尼公司 Information processing equipment and method, information management system and program storage medium
US20020032772A1 (en) * 2000-09-14 2002-03-14 Bjorn Olstad Method for searching and analysing information in data networks
CN1438595A (en) * 2002-02-10 2003-08-27 三慧科技股份有限公司 System for processing electronic onails

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329407A (en) * 2000-06-14 2002-01-02 索尼公司 Information processing equipment and method, information management system and program storage medium
US20020032772A1 (en) * 2000-09-14 2002-03-14 Bjorn Olstad Method for searching and analysing information in data networks
CN1438595A (en) * 2002-02-10 2003-08-27 三慧科技股份有限公司 System for processing electronic onails

Also Published As

Publication number Publication date
HK1120906A1 (en) 2009-04-09
CN101226619A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
CN101226619B (en) System and method for implementing statistics of hyperlink URL clicking ratio of mail
CN102317936B (en) Identifying comments to show in connection with a document
US10469424B2 (en) Network based data traffic latency reduction
CN100514337C (en) Association information generating system of key words and generation method thereof
US20050198180A1 (en) Method and system for providing automatic email address book
CN101796515A (en) Query statistic provides device
CN102891897A (en) Webpage sharing method, server and clients
CN102984270A (en) Message push server and method
CN101021890A (en) Method, system and server for checking page data
CN101916285A (en) Method and device for analyzing internet web page contents
US20110022528A1 (en) Method and system for transmitting information via a plurality of different formats
CN112637305B (en) Data storage and query method, device, equipment and medium based on cache
CN104217031A (en) Method and device for classifying users according to search log data of server
CN104750760A (en) Application software recommending method and device
CN102970377A (en) Message pushing system and method
CN102456044A (en) Method and system for pushing information
CN103414693A (en) Dotting method and dotting device
CN103412944A (en) Internet addressing method and device
CN103530389A (en) Method and device for improving stopword searching effectiveness
KR20120087220A (en) System and method for online customer response
CN104317796A (en) Multi-user interaction method, multi-user interaction server and multi-user interaction system based on searching
CN111064996B (en) Method, system and storage medium for identifying user watching video content preference
CN104778233A (en) Searching method and device based on click rate
CN102012913A (en) Global comment board system and realization method thereof
CN106528796A (en) Method for quickly identifying proper nouns in industrial product e-commerce search engine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1120906

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1120906

Country of ref document: HK

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121121

Termination date: 20210117