CN103139249A - Method, system and device for processing access request - Google Patents

Method, system and device for processing access request Download PDF

Info

Publication number
CN103139249A
CN103139249A CN2011103867471A CN201110386747A CN103139249A CN 103139249 A CN103139249 A CN 103139249A CN 2011103867471 A CN2011103867471 A CN 2011103867471A CN 201110386747 A CN201110386747 A CN 201110386747A CN 103139249 A CN103139249 A CN 103139249A
Authority
CN
China
Prior art keywords
access
client
access request
server
runtime server
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
Application number
CN2011103867471A
Other languages
Chinese (zh)
Other versions
CN103139249B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110386747.1A priority Critical patent/CN103139249B/en
Publication of CN103139249A publication Critical patent/CN103139249A/en
Application granted granted Critical
Publication of CN103139249B publication Critical patent/CN103139249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a system and a device for processing an access request. When a running server receives the access request sent from any client-end with the access request, the running server responds to the access request and records a corresponding relationship between identification data (ID) carried in the access request and an internet protocol (IP) address, and the ID is generated by the client-end and the only ID which corresponds with the access request. The technical scheme is applied, the method, the system and the device for processing the access request are capable of enabling the access request to be positioned to a specific server address.

Description

Access request processing method, system and device
Technical field
The present invention relates to computer technology, particularly access request processing method, system and device.
Background technology
In prior art, client (WEB client) visits runtime server according to domain name, and so-called runtime server refers to the server that the access to client responds.
Specifically, when requirements for access was arranged, client can send access request to the runtime server that will access, wherein carries the URL(uniform resource locator) (URL, Universal Resource Locator) of this access.
But can there be certain problem in aforesaid way in actual applications, such as:
After access finished, client can report statistical server with the access result, can comprise the domain name of access, the response speed of access etc. in described access result; Follow-up, when needs carry out statistical analysis, statistical server can gather the content that each client reports, thereby obtain the access situation of variant domain name, and then analysis obtains the performance situation of variant domain name, realize monitoring operation, that is to say, access request (the corresponding access result of each access request) can only be navigated to this aspect of domain name; But, the usually corresponding a plurality of different runtime servers of same domain name, and according to existing mode, can only obtain the performance situation of different domain names, can't obtain the performance situation of each concrete runtime server, but operation maintenance carries out for runtime server normally, therefore, existing mode is not easy to carry out subsequent treatment, and namely statistic analysis result is not accurate enough.
Summary of the invention
In view of this, the invention provides access request processing method, system and device, access request can be navigated to concrete server address.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of access request processing method comprises:
When runtime server receives the access request that arbitrary client of requirements for access sends, respond described access request, and record the corresponding relation between the IP address of the ID that carries in described access request and self; Described ID be client generate with the unique corresponding ID of this access.
A kind of access request treatment system comprises: client and runtime server, and wherein, the number of client and runtime server is more than two;
Each client is used for when requirements for access is arranged, generates and this accesses unique corresponding ID, and the ID that generates is carried at sends to the runtime server that will access in access request;
Each runtime server is used for the access request that response receives, and the corresponding relation between the IP address of the ID that wherein carries of record and self.
A kind of client comprises:
Access modules is used for when requirements for access is arranged, and generates and the unique corresponding ID of this access;
Sending module is used for that the ID that generates is carried at access request and sends to the runtime server that will access.
A kind of runtime server comprises:
Respond module is used for the access request that response is received from client;
Corresponding relation between logging modle, that be used for that access request that the recording responses module receives carries and the IP unique corresponding ID of this access and place runtime server address.
As seen, adopt technical scheme of the present invention, when receiving access request, runtime server can record the corresponding relation between that wherein carry and the IP unique corresponding ID of this access and self address, thereby access request has been navigated to concrete server address at every turn.
Description of drawings
Fig. 1 is the flow chart of access request processing method embodiment of the present invention.
Fig. 2 is the composition structural representation of access request treatment system embodiment of the present invention.
Fig. 3 is the composition structural representation of client implementation example of the present invention.
Fig. 4 is the composition structural representation of runtime server embodiment of the present invention.
Embodiment
For problems of the prior art, a kind of access request processing scheme is proposed: when runtime server receives the access request that arbitrary client of requirements for access sends in the present invention, respond this access request, and the corresponding relation between the ID that wherein carries of record and self IP address, described ID be client generate access unique corresponding ID with this.Use scheme of the present invention, access request can be navigated to concrete server address.
For make technical scheme of the present invention clearer, understand, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Fig. 1 is the flow chart of access request processing method embodiment of the present invention.As shown in Figure 1, comprise the following steps:
Step 11: for arbitrary client, when requirements for access is arranged, generate with this and access unique corresponding ID, and the ID that generates is carried at sends to the runtime server that to access in access request.
For arbitrary client, when requirements for access being arranged, all process in such a way at every turn:
1) client generates and the unique corresponding ID of this access, and the concrete form of ID is not restricted, and such as can be a character string, can comprise numeral and letter etc. in this character string;
2) client sends access request to the runtime server that will access, wherein carries at least the URL of this access and the ID that generates;
After the ID that generates can be positioned at URL, as: qq.com/1.flv? id=1231321317afhhjl.
Step 12: the access request that runtime server response receives, and the corresponding relation between the IP address of the ID that wherein carries of record and self.
How the access request that runtime server response receives responds and is prior art, and the corresponding relation between the IP address of the ID that carries in the access request that receives of record and self, how to record not to be restricted, as is recorded in daily record.
Like this, if a runtime server is repeatedly accessed, will record so the corresponding relation between the IP address of a plurality of ID and this runtime server.
After each access was complete, client can report access result and the ID that generates etc. to statistical server.
Correspondingly, when needs carried out statistical analysis, statistical server can obtain according to the content analysis that the content that records in each runtime server and each client report the variant IP address performance situation of corresponding runtime server respectively.
As a rule, for twice statistical analysis in front and back, before the data used when once carrying out statistical analysis can not re-use when statistical analysis next time, therefore after a front statistical analysis, if in-problem runtime server is arranged, its problem has been solved usually, if also use old data, can cause this statistic analysis result inaccurate.
For this reason, in step 12, in the time of corresponding relation between the IP address of the ID that carries in the access request that runtime server record receives and self, can further record writing time; In addition, when client reports to statistical server the ID that accesses result and generate, can further report and call time; Like this, when needs carried out statistical analysis, the content that the content that statistical server can be only records in each runtime server within front this time period of statistical analysis according to this statistical analysis and each client report was carried out statistical analysis.
Perhaps, statistical server also can be after statistical analysis be complete, namely obtain variant IP address respectively after the performance situation of corresponding server, notify each runtime server to empty the content that records, and empty the content that each client of self preserving reports, like this, namely need not the time of keeping records again and on call time.
Certainly, these are only two kinds of possible implementations, also be fine alternate manner if employing well known to a person skilled in the art.
For statistical server, in conjunction with the corresponding relation between variant ID and IP address, variant ID corresponding access result respectively, can obtain variant IP address corresponding access result respectively, and then analyze the variant IP address performance situation of corresponding runtime server respectively that obtains.
So far, namely completed introduction about the inventive method embodiment.
Based on above-mentioned introduction, Fig. 2 is the composition structural representation of access request treatment system embodiment of the present invention.As shown in Figure 2, comprising: client and runtime server, wherein, the number of client and runtime server is more than two, for simplifying accompanying drawing, has only expressed respectively one in Fig. 2.
Wherein, each client is used for when requirements for access is arranged, generates and this accesses unique corresponding ID, and the ID that generates is carried at sends to the runtime server that will access in access request;
Each runtime server is used for the access request that response receives, and the corresponding relation between the IP address of the ID that wherein carries of record and self.
Also can further comprise in system shown in Figure 2: statistical server;
Correspondingly, each client can be further used for, and after access is complete, reports the ID that accesses result and generate to statistical server;
Statistical server is used for when needs carry out statistical analysis, and the content analysis that reports according to the content that records in each runtime server and each client obtains the variant IP address performance situation of the runtime server of correspondence respectively.
Can further carry the URL of this access in above-mentioned access request, after the ID that generates is positioned at this URL.
Fig. 3 is the composition structural representation of client implementation example of the present invention.As shown in Figure 3, comprising:
Access modules is used for when requirements for access is arranged, and generates and the unique corresponding ID of this access;
Sending module is used for that the ID that generates is carried at access request and sends to the runtime server that will access.
Also can further comprise in client shown in Figure 3:
Reporting module is used for after access is complete, reports the ID that accesses result and generate to statistical server.
Fig. 4 is the composition structural representation of runtime server embodiment of the present invention.As shown in Figure 4, comprising:
Respond module is used for the access request that response is received from client;
Corresponding relation between logging modle, that be used for that access request that the recording responses module receives carries and the IP unique corresponding ID of this access and place runtime server address.
The specific works flow process of system shown in Fig. 2~4 and device embodiment please refer to the respective description in preceding method embodiment, repeats no more herein.
In a word, adopt technical scheme of the present invention, when receiving access request, runtime server can record the corresponding relation between that wherein carry and the IP unique corresponding ID of this access and self address, thereby access request has been navigated to concrete server address at every turn; And, after each access is complete, client can report statistical server with access result and the ID that generates, correspondingly, when needs carry out statistical analysis, statistical server can obtain according to the content analysis that the content that records in each runtime server and each client report the variant IP address performance situation of corresponding runtime server respectively, thereby has improved the accuracy of statistic analysis result; In addition, technical scheme of the present invention implements simple and convenient, is convenient to universal and promotes.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (9)

1. an access request processing method, is characterized in that, comprising:
When runtime server receives the access request that arbitrary client of requirements for access sends, respond described access request, and record the corresponding relation between the IP address of the ID that carries in described access request and self; Described ID be client generate with the unique corresponding ID of this access.
2. method according to claim 1, is characterized in that, the method further comprises:
Access completely, client reports access result and the ID that generates to statistical server;
When needs carried out statistical analysis, the content analysis that statistical server reports according to the content that records in each runtime server and each client obtained the variant IP address performance situation of corresponding runtime server respectively.
3. method according to claim 1 and 2, is characterized in that, further carries the uniform resource position mark URL of this access in described access request, after the ID that generates is positioned at described URL.
4. an access request treatment system, is characterized in that, comprising: client and runtime server, and wherein, the number of client and runtime server is more than two;
Each client is used for when requirements for access is arranged, generates and this accesses unique corresponding ID, and the ID that generates is carried at sends to the runtime server that will access in access request;
Each runtime server is used for the access request that response receives, and the corresponding relation between the IP address of the ID that wherein carries of record and self.
5. system according to claim 4, is characterized in that, this system further comprises: statistical server;
Each client is further used for, and after access is complete, reports the ID that accesses result and generate to statistical server;
Statistical server is used for when needs carry out statistical analysis, and the content analysis that reports according to the content that records in each runtime server and each client obtains the variant IP address performance situation of the runtime server of correspondence respectively.
6. according to claim 4 or 5 described systems, is characterized in that, further carries the uniform resource position mark URL of this access in described access request, after the ID that generates is positioned at described URL.
7. a client, is characterized in that, comprising:
Access modules is used for when requirements for access is arranged, and generates and the unique corresponding ID of this access;
Sending module is used for that the ID that generates is carried at access request and sends to the runtime server that will access.
8. client according to claim 7, is characterized in that, described client further comprises:
Reporting module is used for after access is complete, reports the ID that accesses result and generate to statistical server.
9. a runtime server, is characterized in that, comprising:
Respond module is used for the access request that response is received from client;
Corresponding relation between logging modle, that be used for that access request that the recording responses module receives carries and the IP unique corresponding ID of this access and place runtime server address.
CN201110386747.1A 2011-11-29 2011-11-29 Access request processing method, system and device Active CN103139249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110386747.1A CN103139249B (en) 2011-11-29 2011-11-29 Access request processing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110386747.1A CN103139249B (en) 2011-11-29 2011-11-29 Access request processing method, system and device

Publications (2)

Publication Number Publication Date
CN103139249A true CN103139249A (en) 2013-06-05
CN103139249B CN103139249B (en) 2016-01-06

Family

ID=48498550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110386747.1A Active CN103139249B (en) 2011-11-29 2011-11-29 Access request processing method, system and device

Country Status (1)

Country Link
CN (1) CN103139249B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789115B1 (en) * 1999-07-09 2004-09-07 Merrill Lynch & Company System for collecting, analyzing, and reporting high volume multi-web server usage
US20060265416A1 (en) * 2005-05-17 2006-11-23 Fujitsu Limited Method and apparatus for analyzing ongoing service process based on call dependency between messages
CN101192227A (en) * 2006-11-30 2008-06-04 阿里巴巴公司 Log file analytical method and system based on distributed type computing network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789115B1 (en) * 1999-07-09 2004-09-07 Merrill Lynch & Company System for collecting, analyzing, and reporting high volume multi-web server usage
US20060265416A1 (en) * 2005-05-17 2006-11-23 Fujitsu Limited Method and apparatus for analyzing ongoing service process based on call dependency between messages
CN101192227A (en) * 2006-11-30 2008-06-04 阿里巴巴公司 Log file analytical method and system based on distributed type computing network

Also Published As

Publication number Publication date
CN103139249B (en) 2016-01-06

Similar Documents

Publication Publication Date Title
JP6612949B2 (en) Method, apparatus and storage medium for sharing online media impression data
JP6328846B2 (en) Perform media monitoring for mobile platforms using adaptive bitrate streaming and associated messaging
CN105657003A (en) Information processing method and server
US20140278934A1 (en) Methods and apparatus to integrate tagged media impressions with panelist information
CN104104734A (en) Log analysis method and device
US11115483B2 (en) Methods and apparatus for census and panel matching using session identifiers positioned in an HTTP header
CN109656797B (en) Log data association method and device
CN105207832A (en) Server stress testing method and device
CN105610636A (en) Security log generation method for cloud computing environment
CN105530137A (en) Traffic data analysis method and traffic data analysis system
CN1971599A (en) Error monitoring method and system of software application
CN104468248A (en) Service performance monitoring method, reverse proxy server, statistical analysis server and system
CN104750717B (en) A kind of click volume recording method, server and client
CN103139249B (en) Access request processing method, system and device
US20190378161A1 (en) Methods and apparatus to integrate tagged media impressions with panelist information
US8825843B2 (en) System and methods for monitoring a geographic information system
CN109388686A (en) A kind of user identifier method and device
CN110912769A (en) CDN cache hit rate statistical method, system, network device and storage medium
JP6791567B2 (en) Devices, methods and storage media for sharing online media impression data
CN116260787A (en) Domain name backfilling method and device, electronic equipment and readable storage medium
KR101500704B1 (en) Method and apparatus for detecting session of vistor
CN113051508A (en) Method, system and medium for detecting click traffic of page elements in page
CN117492403A (en) Large instrument operation monitoring system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant