CN108040118A - Visit capacity statistical method, device and storage medium - Google Patents

Visit capacity statistical method, device and storage medium Download PDF

Info

Publication number
CN108040118A
CN108040118A CN201711404939.4A CN201711404939A CN108040118A CN 108040118 A CN108040118 A CN 108040118A CN 201711404939 A CN201711404939 A CN 201711404939A CN 108040118 A CN108040118 A CN 108040118A
Authority
CN
China
Prior art keywords
address
client
ownership place
multiple client
visit capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711404939.4A
Other languages
Chinese (zh)
Inventor
王佳
宋健
高雪挺
梁鑫
张顺
唐杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xinghe World Group Co Ltd
Beijing Xinghe Nebula Information Technology Co Ltd
Original Assignee
Beijing Xinghe World Group Co Ltd
Beijing Xinghe Nebula Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xinghe World Group Co Ltd, Beijing Xinghe Nebula Information Technology Co Ltd filed Critical Beijing Xinghe World Group Co Ltd
Priority to CN201711404939.4A priority Critical patent/CN108040118A/en
Publication of CN108040118A publication Critical patent/CN108040118A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of visit capacity statistical method, device and storage medium.This method includes:Obtain multiple client to multiple servers where multiple applications send access request when request data, the IP address of the request data including multiple client and the domain name of multiple applications;The ownership place of the IP address of multiple client is inquired about in default IP address storehouse;The IP address of multiple client is sorted out according to the ownership place of the IP address of multiple client;And the visit capacity each applied in multiple applications is counted according to categorization results.The present invention can IP address-based ownership place realize the different application to being deployed on multiple servers visit capacity statistics, this improves statistical accuracy, saves timing statistics, and reduce human cost.

Description

Visit capacity statistical method, device and storage medium
Technical field
The present invention relates to computer LAN field, more particularly to a kind of visit capacity statistical method, device and storage medium.
Background technology
In the prior art, visit capacity statistics is mainly carried respectively by each network device services business and each application system provider The statistical management instrument of confession is realized, since these statistical management instruments are only applicable to each network device services business and each application system Provider unite in itself, statistics is carried out therefore, it is necessary to staff to collect integration, causes human cost to expend big;Into one Step ground, is likely to occur repetition statistics or omits the situation of statistics, therefore, cause the accurate of data statistics during data statistics Spend low.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of visit capacity statistical method, device and storage medium, it is possible to increase Statistical accuracy, and save timing statistics.
One aspect of the present invention provides a kind of visit capacity statistical method, including:Multiple client is obtained to multiple applications Multiple servers at place send request data during access request, which includes the IP address of multiple client and more The domain name of a application;The ownership place of the IP address of multiple client is inquired about in default IP address storehouse;According to multiple client The ownership place of IP address the IP address of multiple client is sorted out;And according to categorization results to every in multiple applications The visit capacity of a application is counted.
In one embodiment of the invention, request data further includes the corresponding port numbers of multiple applications, multiple obtaining Client to where multiple applications multiple servers send access request when request data after, in default IP address storehouse Before the ownership place of the IP address of middle inquiry multiple client, this method further includes:According to the corresponding port numbers pair of multiple applications The IP address of multiple client is sorted out.
In one embodiment of the invention, the IP according to the ownership place of the IP address of multiple client to multiple client Address is sorted out, including:When it is not same ownership place to determine the ownership place of IP address of multiple client, according to multiple visitors The ownership place of the IP address at family end sorts out the IP address of multiple client.
In one embodiment of the invention, the visit capacity each applied in multiple applications is carried out according to categorization results Statistics, including:The quantity of the IP address of same ownership place is calculated, and each application in multiple applications is determined based on result of calculation Visit capacity.
In one embodiment of the invention, obtain multiple client and send visit to multiple servers where multiple applications Ask request data during request, including:Multiple client is obtained by way of bypass to multiple services where multiple applications Device sends request data during access request.
Another aspect of the present invention provides a kind of visit capacity statistic device, including:Acquisition module, for obtaining multiple visitors Family end to multiple servers where multiple applications send access request when request data, which includes multiple clients The IP address at end and the domain name of multiple applications;Enquiry module, for inquiring about the IP of multiple client in default IP address storehouse The ownership place of address;Classifying module, the ownership place for the IP address according to multiple client is to the IP address of multiple client Sorted out;And statistical module, for being counted according to categorization results to the visit capacity each applied in multiple applications.
In one embodiment of the invention, request data further includes the corresponding port numbers of multiple applications, classifying module root The IP address of multiple client is sorted out using corresponding port numbers according to multiple.
In one embodiment of the invention, classifying module is not same in the ownership place for the IP address for determining multiple client During one ownership place, the IP address of multiple client is sorted out according to the ownership place of the IP address of multiple client.
In one embodiment of the invention, statistical module calculates the quantity of the IP address of same ownership place, and based on meter Calculation result determines the visit capacity each applied in multiple applications.
Another aspect of the invention provides a kind of storage medium, is stored thereon with computer executable instructions, wherein, can Method as described above is realized when execute instruction is executed by processor.
The technical solution provided according to embodiments of the present invention, by obtaining multiple client to multiple where multiple applications Server sends request data during access request, which includes the IP address of multiple client and the domain of multiple applications Name, inquires about the ownership place of the IP address of multiple client, according to the IP address of multiple client in default IP address storehouse Ownership place sorts out the IP address of multiple client, and according to categorization results to the visit each applied in multiple applications The amount of asking is counted, and realizes the statistics of the visit capacity of the different application to being deployed on multiple servers, this improves system The accuracy of meter, saves timing statistics, and reduces human cost.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not Can the limitation present invention.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of visit capacity statistical method shown in an exemplary embodiment according to the present invention.
Fig. 2 is a kind of flow chart of visit capacity statistical method shown in another exemplary embodiment according to the present invention.
Fig. 3 is a kind of block diagram of visit capacity statistic device shown in an exemplary embodiment according to the present invention.
Fig. 4 is a kind of block diagram of visit capacity statistic device shown in another exemplary embodiment according to the present invention.
Fig. 5 is the block diagram of the device for counting visit capacity shown in an exemplary embodiment according to the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.According to this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work Example is applied, belongs to the scope of protection of the invention.
Fig. 1 is a kind of flow chart of visit capacity statistical method shown in an exemplary embodiment according to the present invention.Such as Fig. 1 institutes Show, this method includes:
110:Obtain multiple client to where multiple applications multiple servers send access request when request data, The request data includes Internet protocol (Internet Protocol, the IP) address of multiple client and the domain of multiple applications Name.
In embodiments of the present invention, multiple client sends to multiple servers where multiple applications via interchanger and visits Ask request, after access request is received, interchanger sends the number of request that is included of access request to visit capacity statistics equipment According to copy;That is, interchanger by multiple client to where multiple applications multiple servers send access request when Request data copy replication (or mirror image) and send to visit capacity count equipment.
Here, client refers to the equipment with being interacted using the server at place, for example, smart mobile phone, tablet are electric Brain, PC or other intelligent terminals etc.;Further, client can be located at the country, can also be located at foreign countries, the present invention This is not restricted.Server can include but is not limited to the webserver, apps server, mail server, stream matchmaker Body server, download server, game server etc..Using can include but is not limited to Sina weibo, Sina's mailbox, Sohu joy Pleasure, Baidu's news etc..Request data refers to that client passes through such as hypertext transfer protocol (HyperText Transfer Protocol, HTTP) etc. send data caused by request to server, request data can include the IP of multiple client The domain name of location and multiple applications (domain name of application i.e. to be visited).
In addition, in order not to influence the network architecture of user, or in order to avoid causing because of addition visit capacity statistics equipment In LAN trouble point increase, visit capacity statistics equipment can use bypass by the way of be deployed in LAN exit and with Interchanger interconnects.It should be noted that visit capacity statistics equipment can also be disposed in a local network by the way of concatenation, this hair It is bright that this is not restricted.
It should be noted that the friendship being not limited to the described above to the equipment of visit capacity statistics equipment transmission request data copy Change planes, for example, it is also possible to for fire wall, router etc., the invention is not limited in this regard.
120:The ownership place of the IP address of multiple client is inquired about in default IP address storehouse.
In embodiments of the present invention, multiple client of the visit capacity statistics equipment in default IP address storehouse to getting IP address carry out ownership place inquiry, with determine multiple client in each client geographical location.
Specifically, visit capacity statistics equipment is by the IP address of the multiple client got and default IP address storehouse IP address is compared, to determine the ownership place of the IP address of each client in multiple client.It should be noted that IP Address base can include the IP address in the whole nation, can also include the IP address in the whole world, the invention is not limited in this regard.
130:The IP address of multiple client is sorted out according to the ownership place of the IP address of multiple client.
In embodiments of the present invention, ownership of the visit capacity statistics equipment according to query result to the IP address of multiple client Ground is judged, and the IP address of multiple client is sorted out based on judging result.
Specifically, visit capacity statistics equipment determines whether the ownership place of the IP address of multiple client is same ownership place, If the ownership place of the IP address of multiple client is same ownership place, show that these clients are all from identical area (for example, Beijing), therefore, visit capacity statistics equipment need not sort out the IP address of these clients;If multiple visitors The ownership place of the IP address at family end is not same ownership place (being different ownership place), then shows these clients from difference Area (for example, Beijing, Shanghai, Guangzhou etc.), therefore, visit capacity statistics equipment need according to ownership place to these clients IP address is sorted out, i.e., collects the IP address of same ownership place together.
140:The visit capacity each applied in multiple applications is counted according to categorization results.
In embodiments of the present invention, visit capacity statistics equipment according to categorization results to the multiple client of same ownership place The quantity of IP address is counted, and the visit capacity each applied in multiple applications is determined based on statistical result.
The technical solution provided according to embodiments of the present invention, by obtaining multiple client to multiple where multiple applications Server sends request data during access request, which includes the IP address of multiple client and the domain of multiple applications Name, inquires about the ownership place of the IP address of multiple client, according to the IP address of multiple client in default IP address storehouse Ownership place sorts out the IP address of multiple client, and according to categorization results to the visit each applied in multiple applications The amount of asking is counted, and realizes the statistics of the visit capacity of the different application to being deployed on multiple servers, this improves system The accuracy of meter, saves timing statistics, and reduces human cost.
In the following, (represented respectively with client 1, client 2, client 3, client 4 and client 5) with five clients Exemplified by, above-mentioned visit capacity statistical method is described in detail by an example.
First, client 1, client 2 and the client 3 that visit capacity statistics equipment desampler is sent are respectively to application The copy of request data during " Baidu " transmission access request, and client 4 and client 5 are sent to application " Sina " respectively The copy of request data during access request, the request data include the IP address " 123.125.71.38 " of client 1, client IP address " 202.96.128.68 ", the IP address " 36.110.14.226 " of client 3 and the domain name of " Sina " at end 2 " sina.com.cn ", and IP address " 124.65.80.242 ", the IP address of client 5 of client 4 The domain name of " 219.137.222.5 " and " Baidu " " baidu.com ".
Then, visit capacity statistics equipment belongs to the IP address of above-mentioned five clients in default IP address storehouse Ground is inquired about, and the ownership place for obtaining the IP address of client 1 is Beijing, the ownership place of IP address of client 2 is Guangzhou, client The ownership place of 3 IP address is Beijing, the ownership place of IP address of client 4 is that the IP address of Beijing and client 5 is returned Possession is Guangzhou;Further, the domain name that visit capacity statistics equipment is accessed according to query result and above-mentioned five clients is to upper The IP address for stating five clients is sorted out, and it is that Pekinese's IP address is summarised in that will access using for " Baidu " and ownership place Together, application will be accessed for " Baidu " and IP address that ownership place be Guangzhou to collect together, and application will be accessed as " newly Wave " and ownership place are that Pekinese's IP address collects together, will access the IP address that application is " Sina " and ownership place is Guangzhou Collect together.
Finally, visit capacity statistics equipment counts the quantity of the IP address of same ownership place according to categorization results, obtains It it is two to the quantity that application is " Baidu " and ownership place is Pekinese's IP address is accessed, it is " Baidu " and ownership place to access application Quantity for the IP address in Guangzhou is one, and accesses the quantity that application is " Sina " and ownership place is Pekinese's IP address and be One, the quantity for accessing the IP address that application is " Sina " and ownership place is Guangzhou is one.It can be seen from the above that using " Baidu " Visit capacity for three times, wherein, twice from Beijing (i.e. client 1 and client 3), once from Guangzhou (i.e. client 2);Should With the visit capacity of " Sina " for twice, wherein, once from Beijing (i.e. client 4), once from Guangzhou (i.e. client 5).
In another embodiment of the present invention, request data further includes the corresponding port numbers of multiple applications, more obtaining A client to where multiple applications multiple servers send access request when request data after, in default IP address Inquired about in storehouse before the ownership place of the IP address of multiple client, this method further includes:According to the corresponding port numbers of multiple applications The IP address of multiple client is sorted out.
Specifically, request data can also include the corresponding port numbers of multiple applications, and visit capacity statistics equipment can basis Port numbers determine the concrete application that each client in multiple client accesses.Further, visit capacity statistics equipment according to The domain name of multiple applications determines whether the corresponding port numbers of multiple applications are the same end slogan, and in the corresponding port of multiple applications The IP address of multiple client is sorted out using corresponding port numbers according to multiple when number not being the same end slogan, to determine The quantity of the corresponding IP address of accessed application.
Here, port is transport service access point (Transport Service Access Point, TSAP), port Effect is to allow the various application processes of application layer by port its data can be consigned to transport layer downwards, and allows transport layer Knowing should consign to the data in its message segment upwardly through port the process of application layer.For example, client is sent Data packet, IP by the data packet of reception be sent to such as transmission control protocol (Transmission Control Protocol, TCP) or User Datagram Protocol (User Datagram Protocol, UDP) transport protocol, transport protocol is according to data packet First header in protocol number and port numbers determine give the data packet to which application program (being also network service), also It is to say, " protocol number+port numbers " uniquely determines the network process of received data packet.
It should be noted that meaning of the same port in different agreement is different, for example, the end in Transmission Control Protocol The not same port that port 31 in mouth 31 and udp protocol refers to.In addition it is also necessary to explanation, for same agreement For, port numbers are unique, for example, the TCP of File Transfer Protocol (File Transfer Protocol, FTP) server Port numbers are all that the TCP port number of 21, HTTP server is all 80, Simple File Transfer Protocol (Trivial File Transfer Protocol, TFTP) UDP port number of server is all 69 etc..
Further, port can be divided into generally acknowledged port (Well-Known Ports), registered port (Registered Ports) and dynamic and/or privately owned port (Dynamic and/or Private Ports) three classes.The port numbers of port are only There is integer, and scope is from 0 to 65535.
Specifically, it is recognized that port is also referred to as well-known port, and the scope of its port numbers is from 0 to 1023, these port numbers are general Be allocated fixedly to some services, for example, 21 port assignments to FTP service, 25 port assignments to Simple Mail Transfer protocol (Simple Mail Transfer Protocol, SMTP) service, 80 port assignments are to HTTP service, 135 port assignments to remote The journey invocation of procedure (Remote Procedure Call, RPC) service etc..The scope of the port numbers of registered port be from 1024 to 49151, registered port is loosely bound to some most of services, these ports and does not define service object clearly, different Program (for example, remote control software and trojan horse program) can be self-defined according to progress is actually needed.Dynamic and/or privately owned port The scopes of port numbers be from 49152 to 65535, should not be service in theory and distribute these ports, but actually from 1024 Start to distribute dynamic port.For example, 1024 ports are just allocated to first program that application is sent to system, in bolt down procedure After process, shared port numbers can be discharged.In addition, dynamic port is also usually utilized by viral trojan horse program, for example, The port of YAI viruses is 1024 etc..
It should be noted that the port numbers that request data is not limited to the described above, for example, it is also possible to believe including timestamp Breath, service agreement etc., the invention is not limited in this regard.
The technical solution provided according to embodiments of the present invention, by the corresponding port numbers of multiple applications, can help to manage Member quickly and accurately knows the concrete application that each client in multiple client accesses, and this improves the accurate of statistics Degree, saves timing statistics, and reduce O&M cost.Further, by according to the corresponding port numbers pair of multiple applications The IP address of multiple client is sorted out, and can help administrator with quickly and accurately knowing the corresponding IP of accessed application The quantity of location so that administrator can more accurately understand access frequency and Access Interest of each department user to different application, Therefore, the upgrading for application server and the network equipment provides more preferable foundation.
In another embodiment of the present invention, according to the ownership place of the IP address of multiple client to multiple client IP address is sorted out, including:When it is not same ownership place to determine the ownership place of IP address of multiple client, according to multiple The ownership place of the IP address of client sorts out the IP address of multiple client.
Specifically, when it is not same ownership place to determine the ownership place of IP address of multiple client, visit capacity statistics is set The ownership place of the standby IP address according to multiple client collects the IP address of same ownership place together.
In another embodiment of the present invention, according to categorization results to the visit capacity each applied in multiple applications into Row statistics, including:The quantity of the IP address of same ownership place is calculated, and each should in multiple applications is determined based on result of calculation Visit capacity.
Specifically, visit capacity statistics equipment calculates the quantity of the IP address of same ownership place, and is determined based on result of calculation The visit capacity each applied in multiple applications.
Above-mentioned all optional technical solutions, can use any combination to form the alternative embodiment of the present invention, herein no longer Repeat one by one.
Fig. 2 is a kind of flow chart of visit capacity statistical method shown in another exemplary embodiment according to the present invention.Such as Fig. 2 Shown, this method includes:
210:Obtain multiple client to where multiple applications multiple servers send access request when request data, The request data includes the IP address, the domain name of multiple applications and the corresponding port numbers of multiple applications of multiple client.
220:Judge whether the corresponding port numbers of multiple applications are the same end slogan according to the domain name of multiple applications, if more The corresponding port numbers of a application are not the same end slogan, then perform 230;If the corresponding port numbers of multiple applications are same port Number, then perform 240.
230:The IP address of multiple client is sorted out using corresponding port numbers according to multiple.
240:The ownership place of the IP address of multiple client is inquired about in default IP address storehouse.
250:Whether the ownership place for judging the IP address of multiple client is same ownership place, if the IP of multiple client The ownership place of address is not same ownership place, then performs 260;If the ownership place of the IP address of multiple client is same ownership Ground, then perform 270.
260:The IP address of multiple client is sorted out according to the ownership place of the IP address of multiple client.
270:The visit capacity each applied in multiple applications is counted according to categorization results.
The technical solution provided according to embodiments of the present invention, by the corresponding port numbers of multiple applications, can help to manage Member quickly and accurately knows the concrete application that each client in multiple client accesses, and this improves the accurate of statistics Degree, saves timing statistics, and reduce O&M cost.Further, by according to the corresponding port numbers pair of multiple applications The IP address of multiple client is sorted out, and can help administrator with quickly and accurately knowing the corresponding IP of accessed application The quantity of location so that administrator can more accurately understand access frequency and Access Interest of each department user to different application, Therefore, the upgrading for application server and the network equipment provides more preferable foundation.
In the following, (represented respectively with client 1, client 2, client 3, client 4 and client 5) with five clients Exemplified by, above-mentioned visit capacity statistical method is described in detail by an example.
First, the client 1 of visit capacity statistics equipment desampler transmission, client 2, client 3,4 and of client The copy of request data when client 5 sends access request to " Sina " or " Baidu " respectively, the request data include client IP address " 123.125.71.38 ", domain name " sina.com.cn ", the port numbers " 80 " at end 1;The IP address of client 2 " 202.96.128.68 ", domain name " sina.com.cn ", port numbers " 25 ";The IP address " 36.110.14.226 " of client 3, Domain name " sina.com.cn ", port numbers " 80 ";The IP address " 124.65.80.242 " of client 4, domain name " baidu.com ", Port numbers " 25 ";IP address " 219.137.222.5 ", domain name " baidu.com ", the port numbers " 80 " of client 5.
Continue, visit capacity counts equipment and determines that the port numbers related with the domain name are according to domain name " sina.com.cn " " 80 " and " 25 ", are not the same end slogan, therefore, the IP address of client are sorted out according to port numbers, i.e., by client The IP address " 123.125.71.38 " at end 1 and the IP address " 36.110.14.226 " of client 3 are classified as one kind, and by client 2 IP address " 202.96.128.68 " is classified as another kind of.Similarly, visit capacity statistics equipment is true according to domain name " baidu.com " The fixed port numbers related with the domain name are " 80 " and " 25 ", nor the same end slogan, therefore, by the IP address of client 4 " 124.65.80.242 " is classified as one kind, and the IP address " 219.137.222.5 " of client 5 is classified as another kind of.Further Ground, visit capacity counts equipment is according to what the port numbers of client 1 and client 3 " 80 " determined that client 1 and client 3 access The HTTP service of Sina, for example, Sina weibo etc., and determine that client 2 accesses according to the port numbers " 25 " of client 2 is new The SMTP services of wave, for example, Sina's mailbox etc..Similarly, what visit capacity statistics equipment determined the access of client 4 is Baidu SMTP is serviced, for example, Baidu's mailbox etc., and it is the HTTP service of Baidu that client 5, which accesses, for example, Baidu search etc..
Renew, visit capacity statistics equipment returns the IP address of client 1 to client 5 in default IP address storehouse Possession is inquired about, and the ownership place for obtaining the IP address of client 1 is Beijing, the ownership place of IP address of client 2 is Guangzhou, client End 3 IP address ownership place be Beijing, client 4 IP address ownership place be Beijing and client 5 IP address Ownership place is Guangzhou.
Further, visit capacity statistics equipment carries out above-mentioned IP address according to query result (i.e. the ownership place of IP address) Sort out, i.e., the IP address of same ownership place is returned to the client 1 and client 3 of the HTTP service for together, obtaining accessing Sina Ownership place be Beijing, the ownership place of client 2 for accessing the SMTP services of Sina is Guangzhou.Similarly, Baidu is accessed The ownership place of the client 4 of SMTP services is Beijing, and the ownership place for accessing the client 5 of the HTTP service of Baidu is Guangzhou.
Finally, visit capacity statistics equipment counts the quantity of the IP address of same ownership place according to categorization results, obtains It is two to the HTTP service and quantity that ownership place is Pekinese's IP address for accessing Sina, accesses the SMTP services of Sina and return Possession is that the quantity of the IP address in Guangzhou is one, and the quantity that the SMTP of Baidu is serviced and ownership place is Pekinese's IP address is one It is a, access the HTTP service of Baidu and the quantity of IP address that ownership place is Guangzhou is one.Further, according to statistical result The visit capacity that can obtain the HTTP service of Sina is all from Pekinese's client to access twice and twice;The SMTP clothes of Sina The visit capacity of business is once and the client from Guangzhou;The visit capacity of the SMTP services of Baidu is once and from Pekinese visitor Family end, the visit capacity of the HTTP service of Baidu is once and the client from Guangzhou.
Following is apparatus of the present invention embodiment, can be used for performing the method for the present invention embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, refer to the method for the present invention embodiment.
Fig. 3 is a kind of block diagram of visit capacity statistic device 300 shown in an exemplary embodiment according to the present invention.Such as Fig. 3 Shown, which includes:
Acquisition module 310, access request is sent for obtaining multiple client to multiple servers where multiple applications When request data, the IP address of the request data including multiple client and the domain name of multiple applications;
Enquiry module 320, the ownership place of the IP address for inquiring about multiple client in default IP address storehouse;
Classifying module 330, for the IP address according to multiple client ownership place to the IP address of multiple client into Row is sorted out;And
Statistical module 340, for being counted according to categorization results to the visit capacity each applied in multiple applications.
The technical solution provided according to embodiments of the present invention, by obtaining multiple client to multiple where multiple applications Server sends request data during access request, which includes the IP address of multiple client and the domain of multiple applications Name, inquires about the ownership place of the IP address of multiple client, according to the IP address of multiple client in default IP address storehouse Ownership place sorts out the IP address of multiple client, and according to categorization results to the visit each applied in multiple applications The amount of asking is counted, and realizes the statistics of the visit capacity of the different application to being deployed on multiple servers, this improves system The accuracy of meter, saves timing statistics, and reduces human cost.
In another embodiment of the present invention, request data further includes the corresponding port numbers of multiple applications, the classification of Fig. 3 Module 330 sorts out the IP address of multiple client using corresponding port numbers according to multiple.
In another embodiment of the present invention, the classifying module 330 of Fig. 3 is determining returning for the IP address of multiple client When possession is not same ownership place, the IP address of multiple client is returned according to the ownership place of the IP address of multiple client Class.
In another embodiment of the present invention, the statistical module 340 of Fig. 3 calculates the number of the IP address of same ownership place Measure, and the visit capacity each applied in multiple applications is determined based on result of calculation.
In another embodiment of the present invention, the acquisition module 310 of Fig. 3 obtains multiple client by way of bypass Request data when sending from access request to multiple servers where multiple applications.
Fig. 4 is a kind of block diagram of visit capacity statistic device 400 shown in another exemplary embodiment according to the present invention.Such as figure Shown in 4, which includes:Acquisition module 410, judgment module 420, classifying module 430, enquiry module 440 and statistical module 450。
Acquisition module 410 be used for obtain multiple client to where multiple applications multiple servers send access request when Request data, the IP address, the domain name of multiple applications and the corresponding end of multiple applications of the request data including multiple client Slogan.
Judgment module 420 is used to judge whether the corresponding port numbers of multiple applications are the same end according to the domain name of multiple applications Slogan, if the corresponding port numbers of multiple applications are not the same end slogan, performs classifying module 430;If multiple applications pair The port numbers answered are the same end slogan, then perform enquiry module 440, and judge that the ownership place of the IP address of multiple client is No is same ownership place, if the ownership place of the IP address of multiple client is not same ownership place, performs classifying module 430;If the ownership place of the IP address of multiple client is same ownership place, statistical module 450 is performed.
Classifying module 430 is used to sort out the IP address of multiple client using corresponding port numbers according to multiple, And the IP address of multiple client is sorted out according to the ownership place of the IP address of multiple client.
Enquiry module 440 is used for the ownership place that the IP address of multiple client is inquired about in default IP address storehouse.
Statistical module 450 is used to count the visit capacity each applied in multiple applications according to categorization results.
The technical solution provided according to embodiments of the present invention, by the corresponding port numbers of multiple applications, can help to manage Member quickly and accurately knows the concrete application that each client in multiple client accesses, and this improves the accurate of statistics Degree, saves timing statistics, and reduce O&M cost.Further, by according to the corresponding port numbers pair of multiple applications The IP address of multiple client is sorted out, and can help administrator with quickly and accurately knowing the corresponding IP of accessed application The quantity of location so that administrator can more accurately understand access frequency and Access Interest of each department user to different application, Therefore, the upgrading for application server and the network equipment provides more preferable foundation.
The function of modules and effect realizes that process specifically refers to step is corresponded in the above method in above device Realize process, details are not described herein.
Fig. 5 is the block diagram of the device 500 for counting visit capacity shown in an exemplary embodiment according to the present invention.
With reference to Fig. 5, device 500 includes processing component 510, it further comprises one or more processors, and by depositing Memory resource representated by reservoir 520, can be by the instruction of the execution of processing component 510, such as application program for storing.Deposit The application program stored in reservoir 520 can include it is one or more each correspond to the module of one group of instruction.This Outside, processing component 510 is configured as execute instruction, to perform above-mentioned visit capacity statistical method.
Device 500 can also include a power supply module and be configured as the power management of executive device 500, one it is wired or Radio network interface is configured as device 500 being connected to network, and input and output (I/O) interface.Device 500 can be grasped Make based on the operating system for being stored in memory 520, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTMIt is or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is by the processing of above device 500 When device performs so that above device 500 is able to carry out a kind of visit capacity statistical method, including:Multiple client is obtained to multiple Request data during access request is sent using multiple servers at place, which includes the IP address of multiple client With the domain name of multiple applications;The ownership place of the IP address of multiple client is inquired about in default IP address storehouse;According to multiple visitors The ownership place of the IP address at family end sorts out the IP address of multiple client;And according to categorization results in multiple applications The visit capacity each applied counted.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of step of each embodiment the method for the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, ROM), arbitrary access are deposited Reservoir (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with the medium of storage program check code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.

Claims (10)

  1. A kind of 1. visit capacity statistical method, it is characterised in that including:
    Obtain multiple client to where multiple applications multiple servers send access request when request data, the request Data include the IP address of the multiple client and the domain name of the multiple application;
    The ownership place of the IP address of the multiple client is inquired about in default IP address storehouse;
    The IP address of the multiple client is sorted out according to the ownership place of the IP address of the multiple client;And
    The visit capacity each applied in the multiple application is counted according to categorization results.
  2. 2. according to the method described in claim 1, it is characterized in that, the request data further include it is the multiple application it is corresponding Port numbers, the request data when the acquisition multiple client sends access request to multiple servers where multiple applications Afterwards, before the ownership place of the IP address for inquiring about the multiple client in default IP address storehouse, the method is also Including:
    The IP address of the multiple client is sorted out using corresponding port numbers according to the multiple.
  3. 3. the according to the method described in claim 1, it is characterized in that, ownership of the IP address according to the multiple client The IP address of the multiple client is sorted out on ground, including:
    When it is not same ownership place to determine the ownership place of IP address of the multiple client, according to the multiple client The ownership place of IP address sorts out the IP address of the multiple client.
  4. 4. according to the method described in claim 3, it is characterized in that, it is described according to categorization results to every in the multiple application The visit capacity of a application is counted, including:
    The quantity of the IP address of the same ownership place is calculated, and each should in the multiple application is determined based on result of calculation Visit capacity.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that the acquisition multiple client is to multiple Request data during access request is sent using multiple servers at place, including:
    The multiple client is obtained by way of bypass please to multiple servers transmission access where the multiple application Request data when asking.
  6. A kind of 6. visit capacity statistic device, it is characterised in that including:
    Acquisition module, for obtain multiple client to where multiple applications multiple servers send access request when request Data, the request data include the IP address of the multiple client and the domain name of the multiple application;
    Enquiry module, the ownership place of the IP address for inquiring about the multiple client in default IP address storehouse;
    Classifying module, for the IP address according to the multiple client ownership place to the IP address of the multiple client into Row is sorted out;And
    Statistical module, for being counted according to categorization results to the visit capacity each applied in the multiple application.
  7. 7. device according to claim 6, it is characterised in that it is corresponding that the request data further includes the multiple application Port numbers, the classifying module return the IP address of the multiple client using corresponding port numbers according to the multiple Class.
  8. 8. device according to claim 6, it is characterised in that the classifying module is determining the IP of the multiple client When the ownership place of address is not same ownership place, according to the ownership place of the IP address of the multiple client to the multiple client The IP address at end is sorted out.
  9. 9. device according to claim 8, it is characterised in that the statistical module is with calculating the IP of the same ownership place The quantity of location, and determine based on result of calculation the visit capacity each applied in the multiple application.
  10. 10. a kind of storage medium, is stored thereon with computer executable instructions, it is characterised in that the executable instruction is located Manage the method realized when device performs as any one of claim 1 to 5.
CN201711404939.4A 2017-12-22 2017-12-22 Visit capacity statistical method, device and storage medium Pending CN108040118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711404939.4A CN108040118A (en) 2017-12-22 2017-12-22 Visit capacity statistical method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711404939.4A CN108040118A (en) 2017-12-22 2017-12-22 Visit capacity statistical method, device and storage medium

Publications (1)

Publication Number Publication Date
CN108040118A true CN108040118A (en) 2018-05-15

Family

ID=62100695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711404939.4A Pending CN108040118A (en) 2017-12-22 2017-12-22 Visit capacity statistical method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108040118A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900566A (en) * 2018-05-23 2018-11-27 中国科学院信息工程研究所 The location determining method and device of IP device in a kind of network
CN113228568A (en) * 2018-12-28 2021-08-06 阿里巴巴集团控股有限公司 Method, device and computer-readable storage medium for network optimization of cloud storage service
CN114040312A (en) * 2021-11-29 2022-02-11 四川虹美智能科技有限公司 Microphone detection method and system of voice air conditioner

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931559A (en) * 2010-09-02 2010-12-29 上海北塔软件股份有限公司 Method for demonstrating access traffic flow distribution
CN104506656A (en) * 2015-01-09 2015-04-08 中国联合网络通信集团有限公司 Method and system for placing content distribution network (CDN) node in mobile internet
CN104702618A (en) * 2015-03-26 2015-06-10 广东睿江科技有限公司 Method and device for determining network access information
CN105515921A (en) * 2016-01-25 2016-04-20 盛科网络(苏州)有限公司 Method and device for achieving real-time monitoring over network fragment message flow
CN106027272A (en) * 2016-04-26 2016-10-12 乐视控股(北京)有限公司 CDN (Content Delivery Network) node server traffic time deduction method and system
CN107094101A (en) * 2017-05-22 2017-08-25 山东浪潮商用系统有限公司 Computer network business real-time monitoring system based on network probe technology
CN107249049A (en) * 2017-07-21 2017-10-13 北京亚鸿世纪科技发展有限公司 A kind of method and apparatus screened to the domain name data that network is gathered

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931559A (en) * 2010-09-02 2010-12-29 上海北塔软件股份有限公司 Method for demonstrating access traffic flow distribution
CN104506656A (en) * 2015-01-09 2015-04-08 中国联合网络通信集团有限公司 Method and system for placing content distribution network (CDN) node in mobile internet
CN104702618A (en) * 2015-03-26 2015-06-10 广东睿江科技有限公司 Method and device for determining network access information
CN105515921A (en) * 2016-01-25 2016-04-20 盛科网络(苏州)有限公司 Method and device for achieving real-time monitoring over network fragment message flow
CN106027272A (en) * 2016-04-26 2016-10-12 乐视控股(北京)有限公司 CDN (Content Delivery Network) node server traffic time deduction method and system
CN107094101A (en) * 2017-05-22 2017-08-25 山东浪潮商用系统有限公司 Computer network business real-time monitoring system based on network probe technology
CN107249049A (en) * 2017-07-21 2017-10-13 北京亚鸿世纪科技发展有限公司 A kind of method and apparatus screened to the domain name data that network is gathered

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900566A (en) * 2018-05-23 2018-11-27 中国科学院信息工程研究所 The location determining method and device of IP device in a kind of network
CN108900566B (en) * 2018-05-23 2020-07-10 中国科学院信息工程研究所 Method and device for determining position of IP (Internet protocol) equipment in network
CN113228568A (en) * 2018-12-28 2021-08-06 阿里巴巴集团控股有限公司 Method, device and computer-readable storage medium for network optimization of cloud storage service
CN114040312A (en) * 2021-11-29 2022-02-11 四川虹美智能科技有限公司 Microphone detection method and system of voice air conditioner
CN114040312B (en) * 2021-11-29 2023-08-22 四川虹美智能科技有限公司 Microphone detection method and system of voice air conditioner

Similar Documents

Publication Publication Date Title
CN105554065B (en) Handle method, converting unit and the applying unit of message
CN109547517B (en) Method and device for scheduling bandwidth resources
CN113810438B (en) Service computing resource scheduling and requesting method, node equipment and terminal
EP2768181B1 (en) System and method for abstracting and orchestrating mobile data networks in a network environment
CN105635342B (en) Establish method, name server and the memory node of connection
CN107453900B (en) Cloud analysis parameter setting management system and method for realizing parameter setting
CN103324535B (en) Method and device for allocating computing resources
CN101501669A (en) Domain name resolution resource allocation
CN104145261A (en) Identity provider discovery service using a publish-subscribe model
CN108040118A (en) Visit capacity statistical method, device and storage medium
CN108989430B (en) Load balancing method, device and storage medium
CN110430274A (en) A kind of document down loading method and system based on cloud storage
CN108322502A (en) Method, gateway system and storage medium for equalization server load
CN109478147A (en) Adaptive resource management in distributed computing system
CN106067879B (en) The detection method and device of information
CN110381131A (en) Implementation method, mobile terminal, server and the storage medium of MEC node identification
Keat et al. Scheduling framework for bandwidth-aware job grouping-based scheduling in grid computing
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
CN109245933A (en) One kind calculating environmental resource towards cloud combination of edge and finds method
CN111615128A (en) Multi-access edge computing method, platform and system
CN105071965B (en) A kind of management system of the network equipment
CN110099142A (en) IP address distribution method, device, equipment and storage medium
CN104320488A (en) Proxy server system and proxy service method
CN109246078A (en) A kind of data interactive method and server
CN108924203A (en) Data copy self-adapting distribution method, distributed computing system and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180515