CN108647240A - A kind of method, apparatus, electronic equipment and the storage medium of statistics visit capacity - Google Patents

A kind of method, apparatus, electronic equipment and the storage medium of statistics visit capacity Download PDF

Info

Publication number
CN108647240A
CN108647240A CN201810300076.4A CN201810300076A CN108647240A CN 108647240 A CN108647240 A CN 108647240A CN 201810300076 A CN201810300076 A CN 201810300076A CN 108647240 A CN108647240 A CN 108647240A
Authority
CN
China
Prior art keywords
client
correspondence
caching
page
mark
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
CN201810300076.4A
Other languages
Chinese (zh)
Other versions
CN108647240B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810300076.4A priority Critical patent/CN108647240B/en
Publication of CN108647240A publication Critical patent/CN108647240A/en
Application granted granted Critical
Publication of CN108647240B publication Critical patent/CN108647240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Method, apparatus, electronic equipment and the storage medium of a kind of statistics visit capacity provided in an embodiment of the present invention, belong to computer realm.The access request sent by receiving client, the page iden-tity of mark and the page to be visited comprising client in access request, then the corresponding page data of page iden-tity is sent to client, judge the correspondence of the mark and page iden-tity in caching with the presence or absence of client, the cache-time of correspondence is equal to preset time value, if it is not, then increasing the visit capacity of the page to be visited according to preset amplification, and correspondence is stored in the caching., can be by the cache-time of the correspondence of the mark and page iden-tity of setting client come pilot brush visit capacity using the present invention, and in the statistic processes of visit capacity, what client can continue accesses the current page, improves user experience.

Description

A kind of method, apparatus, electronic equipment and the storage medium of statistics visit capacity
Technical field
The present invention relates to computer realm, more particularly to a kind of method, apparatus, electronic equipment and the storage of statistics visit capacity Medium.
Background technology
With the development of computer technology, more and more articles, product or other information can be opened up by network Show and promotes.The visit capacity of these webpages for being used to show and promote is typically to evaluate the important indicator of the included information of the webpage One of, usual visit capacity is higher, and to represent the attention rate that the webpage is subject to higher.
Currently, certain user in order to improve the attention rate of webpage, improves the visit of webpage by the way of brush visit capacity sometimes The amount of asking.For pilot brush visit capacity, current method typically presets a frequency values in the server, if server detects The frequency that some page is accessed to some client is more than preset frequency values, then judging the client, there are the rows of brush visit capacity For, and the client is forbidden to continue to access the page.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art:Using existing When technical controlling brush visit capacity, it is possible that the case where client cannot continue accession page, shortens the exhibition of the page in this way Show the time, reduces the experience that user checks the page.
Invention content
The be designed to provide a kind of statistics method, apparatus of visit capacity, electronic equipment and the storage of the embodiment of the present invention are situated between Matter pilot brush visit capacity and can improve user experience to realize when counting visit capacity.Specific technical solution is as follows:
In a first aspect, a kind of method of statistics visit capacity is provided, the method includes:
The access request that client is sent is received, includes the mark of the client and page to be visited in the access request The page iden-tity in face;
The corresponding page data of the page iden-tity is sent to the client;
Judge in caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity, the corresponding pass The cache-time of system is equal to preset time value;
If it is not, then increasing the visit capacity of the page to be visited according to preset amplification, and the correspondence is deposited Storage is in the caching.
Optionally, it is described the correspondence is stored in the caching after, further include:
Determine the first cache-time of the correspondence.
Optionally, after the first cache-time of the determination correspondence, further include:
It is more than default when detecting the client to send the number of the access request in first cache-time Threshold value when, the first cache-time of the correspondence is increased into preset second cache-time.
Optionally, described to judge that the mark in caching with the presence or absence of the client and the corresponding of the page iden-tity are closed System, including:
Judge the mark with the presence or absence of the client in caching;
If it is, judging that the corresponding of mark and the page iden-tity in the caching with the presence or absence of the client is closed System;
If it is, judging that there are the correspondences in the caching;
If it is not, then judging that the correspondence is not present in the caching.
Second aspect, provides a kind of device of statistics visit capacity, and described device includes:
Receiving module, the access request for receiving client transmission, comprising the client in the access request The page iden-tity of mark and the page to be visited;
Sending module, for the corresponding page data of the page iden-tity to be sent to the client;
Judgment module, for judging that the mark in caching with the presence or absence of the client is closed with the corresponding of the page iden-tity The cache-time of system, the correspondence is equal to preset time value;
Memory module, if judging that there is no the marks of the client and described in caching for the judgment module When the correspondence of page iden-tity, increase the visit capacity of the page to be visited according to preset amplification, and the correspondence is closed System is stored in the caching.
Optionally, described device further includes:
Determining module, the first cache-time for determining the correspondence.
Optionally, described device further includes:
Increase module, detects that the client sends the access request in first cache-time for working as When number is more than preset threshold value, the first cache-time of the correspondence is increased into preset second cache-time.
Optionally, the judgment module includes:
First judging submodule, for judging the mark in caching with the presence or absence of the client;
Second judgment submodule, if judging that there are the clients in caching for first judging submodule When mark, judge in the caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity;
First decision sub-module, if judging that there are the clients in the caching for the second judgment submodule When the correspondence of the mark and the page iden-tity at end, judge that there are the correspondences in the caching;
Second decision sub-module, if judging that the visitor is not present in the caching for the second judgment submodule When the correspondence of the mark and the page iden-tity at family end, judge that the correspondence is not present in the caching.
The third aspect, provides a kind of electronic equipment, the electronic equipment include processor, communication interface, memory and Communication bus, wherein the processor, the communication interface, the memory are completed each other by the communication bus Communication;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, is realized as described in above-mentioned first aspect Any statistics visit capacity method and step.
Fourth aspect, in order to achieve the above object, the embodiment of the invention also discloses a kind of computer readable storage medium, It is stored with computer program in the computer readable storage medium, when the computer program is executed by processor, realizes such as The method and step of any statistics visit capacity described in above-mentioned first aspect.
5th aspect, in order to achieve the above object, the embodiment of the invention also discloses a kind of computer journeys including instruction Sequence product, when described instruction is run on computers, the method for any statistics visit capacity of the realization as described in above-mentioned first aspect Step.
Method, apparatus, electronic equipment and the storage medium of statistics visit capacity provided in an embodiment of the present invention, by receiving visitor The access request that family end is sent, the page iden-tity of mark and the page to be visited comprising client in access request, then by page Face identifies corresponding page data and is sent to client, judges pair of the mark and page iden-tity in caching with the presence or absence of client It should be related to, the cache-time of correspondence is equal to preset time value, if it is not, then increasing page to be visited according to preset amplification The visit capacity in face, and correspondence is stored in the caching.
Method, apparatus, electronic equipment and the storage medium of statistics visit capacity provided in an embodiment of the present invention, access in statistics When amount, after not storing the mark of client and the correspondence of page iden-tity in determining caching, just increase the page to be visited Visit capacity, in this way can by be arranged client mark and page iden-tity correspondence cache-time come pilot brush visit The amount of asking, and in the statistic processes of visit capacity, what client can continue accesses the current page, improves user experience. Certainly, it implements any of the products of the present invention or method is not necessarily required to reach all the above advantage simultaneously.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described.
Fig. 1 is a kind of method flow diagram of statistics visit capacity provided in an embodiment of the present invention;
Fig. 2 is a kind of apparatus structure schematic diagram of statistics visit capacity provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
The embodiment of the invention discloses a kind of method, apparatus, electronic equipment and storage medium, the embodiment of the present invention is held Row main body can be the server for counting visit capacity, be described in detail separately below.
The method of a kind of statistics visit capacity provided in an embodiment of the present invention, as shown in Figure 1, this method may include walking as follows Suddenly:
S110:The access request that client is sent is received, includes the mark of client and the page to be visited in access request Page iden-tity.
In embodiments of the present invention, server can receive the access request message of client transmission, wherein access request In can include the client mark and the page to be visited page iden-tity.For example, can include client in request message (Internet Protocol, the Internet protocol) addresses IP and/or client product ID and the page to be visited ID (identification, identification number) and/or domain name.
S120:The corresponding page data of page iden-tity is sent to client.
In embodiments of the present invention, server can extract the page iden-tity in access request, then according to preset page Face identifies the correspondence with page data, obtains the corresponding page data of page iden-tity in access request message, then will The page data is sent to client.For example, when page iden-tity is the ID of the page, server can be according to preset corresponding pass System obtains the content information that the corresponding page IP Address of the ID and the page include, and is sent to client.
S130:Judge the correspondence of the mark and page iden-tity in caching with the presence or absence of client, wherein correspondence Cache-time be equal to preset time value;If not, executing S140;If it is, terminating.
In embodiments of the present invention, server receive client send access request when, can first judge caching in be No there are the correspondences of the mark of the client and page iden-tity, if the correspondence is not present in caching, server can The correspondence to be stored in the buffer;If there are the correspondences in caching, correspondence pass can be retained in the buffer System.Server can extract the mark and page iden-tity of the client in access request, then determine that the access request is corresponding The mark of client and the correspondence of page iden-tity.Server can be by the correspondence and each client stored in caching Mark and the correspondence of page iden-tity be compared, judge in caching with the presence or absence of the corresponding client of the access request The correspondence of mark and page iden-tity.
S140:Increase the visit capacity of the page to be visited according to preset amplification, and in the buffer by correspondence storage.
In embodiments of the present invention, there is no the corresponding visitors of client for sending access request in determining caching for server When the correspondence of the mark at family end and page iden-tity, show not accessing the page before the client, alternatively, showing this The time interval that the client last visit page accesses the page with this is more than cache-time.In this case, server The visit capacity of the page to be visited can be increased according to preset amplification.For example, server when increasing visit capacity, can incite somebody to action every time Visit capacity increases by 1 or increases by 10 every time.Server, can be by the mark and page of current client after increasing visit capacity The correspondence storage of face mark in the buffer, when to carry out next visit capacity statistics, judges in caching with the presence or absence of current Client mark and page iden-tity correspondence.If the server determine that it is corresponding to have existed access request in caching The mark of client and the correspondence of page iden-tity, then keep the visit capacity of the page to be visited constant.
The method of statistics visit capacity provided in an embodiment of the present invention does not store when counting visit capacity in determining caching After the mark of client and the correspondence of page iden-tity, just increase the visit capacity of the page to be visited, it in this way can be by setting The cache-time for setting the mark of client and the correspondence of page iden-tity carrys out pilot brush visit capacity, and in the statistics of visit capacity In the process, what client can continue accesses the current page, improves user experience.
Optionally, as a kind of embodiment of the embodiment of the present invention, server can also be performed after executing S140 Following steps:
S1401:Determine the first cache-time of correspondence.
In embodiments of the present invention, server can determine the caching of the mark of client and the correspondence of page iden-tity Cache-time herein (for convenience of explanation, is known as the first cache-time) by the time.For example, server is by each visitor in caching First cache-time of the mark at family end and the correspondence of each page iden-tity is arranged to the identical time, alternatively, according to difference Access time or different clients mark, by each correspondence setting at different cache-times.
In scheme provided in an embodiment of the present invention, the cache-time of each correspondence in caching can be arranged in server, lead to Cross the length pilot brush visit capacity of cache-time.
Optionally, as a kind of embodiment of the embodiment of the present invention, server can also be held after executing S1401 Row following steps:
S1402:It is more than preset threshold value when detecting client to send the number of access request in the first cache-time When, the first cache-time of correspondence is increased into preset second cache-time.
In embodiments of the present invention, server can count the number that client sends access request, when detecting client It, can be by the correspondence when number that end sends identical access request in the first cache-time is more than preset threshold value First cache-time increases to preset second cache-time.For example, some client is in the first cache-time (such as 5 minutes) The number that identical access request is sent to server is 21 times, it is assumed that preset threshold value is 20 times, since the client accesses Frequency is too high, is the possibility bigger of brush visit capacity, so server can be by corresponding first cache-time of the client It is the second cache-time (such as 8 minutes) to increase.According to the number for the access request that each client is sent in the first cache-time, Each second cache-time can also be arranged to different values.
In scheme provided in an embodiment of the present invention, the slow of the mark of client and the correspondence of page iden-tity can be adjusted It deposits the time, the cache-time of the big client of brush visit capacity probability can be arranged to higher value in this way, accessed with this pilot brush Amount.
Optionally, as a kind of embodiment of the embodiment of the present invention, S130 can be comprised the steps of:
S131:Judge the mark with the presence or absence of client in caching.If so, executing S132;If not, executing S134.
In embodiments of the present invention, after server receives access request, the mark of client therein can first be extracted Know, then whether there is the mark of the client in query caching.
S132:Judge the correspondence of the mark and page iden-tity in caching with the presence or absence of client.If so, executing S133;If not, executing S134.
After server inquires the mark of the corresponding client of access request in the buffer, it can continue in query caching Client storage whether corresponding with page iden-tity, that is, judge in preset cache-time interval, whether which visits Asked the page to be visited.If executing S133 there are the correspondence of the mark of client and page iden-tity in caching;Such as Fruit is not present, and executes S134.
S133:There are the correspondences in judgement caching.
S134:The correspondence is not present in judgement caching.
In scheme provided in an embodiment of the present invention, server whether there is the mark and the page of client in judging to cache When the correspondence of mark, it whether there is the mark of client in first query caching, if there is no the clients in caching Mark can directly judge the correspondence of the mark and page iden-tity in caching there is no the client, improve clothes in this way The efficiency for the correspondence being engaged in device judgement caching with the presence or absence of the mark and page iden-tity of the client.
Based on the same technical idea, embodiment of the method shown in Fig. 1 is corresponded to, the embodiment of the present invention additionally provides a kind of system The device for counting visit capacity, as shown in Fig. 2, the device includes:
Receiving module 201, the access request for receiving client transmission include the client in the access request Mark and the page to be visited page iden-tity;
Sending module 202, for the corresponding page data of the page iden-tity to be sent to the client;
Judgment module 203, for judging in caching with the presence or absence of the mark of the client and pair of the page iden-tity It should be related to, the cache-time of the correspondence is equal to preset time value;
Memory module 204, if for the judgment module judge caching in there is no the client mark and When the correspondence of the page iden-tity, increase the visit capacity of the page to be visited according to preset amplification, and will be described right It should be related to and be stored in the caching.
The device of statistics visit capacity provided in an embodiment of the present invention does not store when counting visit capacity in determining caching After the mark of client and the correspondence of page iden-tity, just increase the visit capacity of the page to be visited, it in this way can be by setting The cache-time for setting the mark of client and the correspondence of page iden-tity carrys out pilot brush visit capacity, and in the statistics of visit capacity In the process, what client can continue accesses the current page, improves user experience.
Optionally, described device further includes:
Determining module, the first cache-time for determining the correspondence.
In scheme provided in an embodiment of the present invention, the cache-time of each correspondence in caching can be arranged in server, lead to Cross the length pilot brush visit capacity of cache-time.
Optionally, described device further includes:
Increase module, detects that the client sends the access request in first cache-time for working as When number is more than preset threshold value, the first cache-time of the correspondence is increased into preset second cache-time.
In scheme provided in an embodiment of the present invention, the slow of the mark of client and the correspondence of page iden-tity can be adjusted It deposits the time, the cache-time of the big client of brush visit capacity probability can be arranged to higher value in this way, accessed with this pilot brush Amount.
Optionally, the judgment module 203 includes:
First judging submodule, for judging the mark in caching with the presence or absence of the client;
Second judgment submodule, if judging that there are the clients in caching for first judging submodule When mark, judge in the caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity;
First decision sub-module, if judging that there are the clients in the caching for the second judgment submodule When the correspondence of the mark and the page iden-tity at end, judge that there are the correspondences in the caching;
Second decision sub-module, if judging that the visitor is not present in the caching for the second judgment submodule When the correspondence of the mark and the page iden-tity at family end, judge that the correspondence is not present in the caching.
In scheme provided in an embodiment of the present invention, server whether there is the mark and the page of client in judging to cache When the correspondence of mark, it whether there is the mark of client in first query caching, if there is no the clients in caching Mark can directly judge the correspondence of the mark and page iden-tity in caching there is no the client, improve clothes in this way The efficiency for the correspondence being engaged in device judgement caching with the presence or absence of the mark and page iden-tity of the client.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in figure 3, including processor 301, communication interface 302, Memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 are complete by communication bus 304 At mutual communication;
Memory 303, for storing computer program;
Processor 301 when for executing the program stored on memory 303, realizes system provided in an embodiment of the present invention The method for counting visit capacity;
Specifically, the method for above-mentioned statistics visit capacity, including:
The access request that client is sent is received, includes the mark of the client and page to be visited in the access request The page iden-tity in face;
The corresponding page data of the page iden-tity is sent to the client;
Judge in caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity, the corresponding pass The cache-time of system is equal to preset time value;
If it is not, then increasing the visit capacity of the page to be visited according to preset amplification, and the correspondence is deposited Storage is in the caching.
Electronic equipment provided in an embodiment of the present invention does not store client when counting visit capacity in determining caching After the correspondence of mark and page iden-tity, just increase the visit capacity of the page to be visited, it in this way can be by the way that client be arranged Mark and the cache-time of correspondence of page iden-tity carry out pilot brush visit capacity, and in the statistic processes of visit capacity, What client can continue accesses the current page, improves user experience.
It should be noted that other realization methods of the method for above-mentioned statistics visit capacity and preceding method embodiment part phase Together, which is not described herein again.
The communication bus of above-mentioned electronic equipment can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, abbreviation RAM), can also include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (FieldProgrammable Gate Array, letter Claim FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with instruction in storage medium, when run on a computer so that computer executes any institute in above-described embodiment The method for the statistics visit capacity stated.
Readable storage medium storing program for executing provided in an embodiment of the present invention does not store client when counting visit capacity in determining caching After the mark at end and the correspondence of page iden-tity, just increase the visit capacity of the page to be visited, it in this way can be by the way that visitor be arranged The cache-time of the mark at family end and the correspondence of page iden-tity carrys out pilot brush visit capacity, and in the statistic processes of visit capacity In, what client can continue accesses the current page, improves user experience.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that the method that computer executes any statistics visit capacity in above-described embodiment.
Computer program product provided in an embodiment of the present invention does not store visitor when counting visit capacity in determining caching After the mark at family end and the correspondence of page iden-tity, just increase the visit capacity of the page to be visited, setting can be passed through in this way The cache-time of the mark of client and the correspondence of page iden-tity carrys out pilot brush visit capacity, and in the statistics of visit capacity Cheng Zhong, what client can continue accesses the current page, improves user experience.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, readable storage medium storing program for executing and computer program product embodiments, since it is substantially similar to the method embodiment, institute With the fairly simple of description, the relevent part can refer to the partial explaination of embodiments of method.

Claims (10)

1. a kind of method of statistics visit capacity, which is characterized in that the method includes:
The access request that client is sent is received, includes the mark of the client and the page to be visited in the access request Page iden-tity;
The corresponding page data of the page iden-tity is sent to the client;
Judge the correspondence of the mark and the page iden-tity in caching with the presence or absence of the client, the correspondence Cache-time is equal to preset time value;
If it is not, then increasing the visit capacity of the page to be visited according to preset amplification, and the correspondence is stored in In the caching.
2. according to the method described in claim 1, it is characterized in that, described be stored in it in the caching by the correspondence Afterwards, further include:
Determine the first cache-time of the correspondence.
3. according to the method described in claim 2, it is characterized in that, the first cache-time of the determination correspondence it Afterwards, further include:
It is more than preset threshold when detecting the client to send the number of the access request in first cache-time When value, the first cache-time of the correspondence is increased into preset second cache-time.
4. method according to claim 1 or 2, which is characterized in that whether there is the client in the judgement caching Mark and the page iden-tity correspondence, including:
Judge the mark with the presence or absence of the client in caching;
If it is, judging in the caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity;
If it is, judging that there are the correspondences in the caching;
If it is not, then judging that the correspondence is not present in the caching.
5. a kind of device of statistics visit capacity, which is characterized in that described device includes:
Receiving module, the access request for receiving client transmission include the mark of the client in the access request With the page iden-tity of the page to be visited;
Sending module, for the corresponding page data of the page iden-tity to be sent to the client;
Judgment module, the correspondence for judging mark and the page iden-tity in caching with the presence or absence of the client, The cache-time of the correspondence is equal to preset time value;
Memory module, if judging the mark there is no the client and the page in caching for the judgment module When the correspondence of mark, increase the visit capacity of the page to be visited according to preset amplification, and the correspondence is deposited Storage is in the caching.
6. device according to claim 5, which is characterized in that described device further includes:
Determining module, the first cache-time for determining the correspondence.
7. device according to claim 6, which is characterized in that described device further includes:
Increase module, detects that the client sends the number of the access request in first cache-time for working as When more than preset threshold value, the first cache-time of the correspondence is increased into preset second cache-time.
8. device according to claim 5 or 6, which is characterized in that the judgment module includes:
First judging submodule, for judging the mark in caching with the presence or absence of the client;
Second judgment submodule, if judging that there are the marks of the client in caching for first judging submodule When, judge in the caching with the presence or absence of the mark of the client and the correspondence of the page iden-tity;
First decision sub-module, if judging that there are the clients in the caching for the second judgment submodule When the correspondence of mark and the page iden-tity, judge that there are the correspondences in the caching;
Second decision sub-module, if judging that the client is not present in the caching for the second judgment submodule Mark and the page iden-tity correspondence when, judge in the caching be not present the correspondence.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes that processor, communication interface, memory and communication are total Line, wherein the processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any sides claim 1-4 Method step.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-4 any method and steps when the computer program is executed by processor.
CN201810300076.4A 2018-04-04 2018-04-04 Method and device for counting access amount, electronic equipment and storage medium Active CN108647240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810300076.4A CN108647240B (en) 2018-04-04 2018-04-04 Method and device for counting access amount, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810300076.4A CN108647240B (en) 2018-04-04 2018-04-04 Method and device for counting access amount, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108647240A true CN108647240A (en) 2018-10-12
CN108647240B CN108647240B (en) 2022-04-12

Family

ID=63745661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810300076.4A Active CN108647240B (en) 2018-04-04 2018-04-04 Method and device for counting access amount, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108647240B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557371A (en) * 2019-07-31 2019-12-10 中至数据集团股份有限公司 Access limiting method, system, readable storage medium and game server
CN111083430A (en) * 2018-10-18 2020-04-28 杭州海康威视系统技术有限公司 Image acquisition method and device, electronic equipment and storage medium
CN111368169A (en) * 2018-12-25 2020-07-03 卓望数码技术(深圳)有限公司 Method, device, equipment and storage medium for detecting brushing amount behavior
CN111506846A (en) * 2019-01-30 2020-08-07 杭州海康威视数字技术股份有限公司 Web page generation method and device, electronic equipment and storage medium
CN111523072A (en) * 2020-04-20 2020-08-11 咪咕文化科技有限公司 Page access data statistical method and device, electronic equipment and storage medium
CN115334154A (en) * 2022-10-12 2022-11-11 阿里健康科技(杭州)有限公司 Page access method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133880A (en) * 2014-07-25 2014-11-05 广东睿江科技有限公司 Method and device for setting file cache time
US20160103807A1 (en) * 2014-09-12 2016-04-14 Internatinal Business Machines Corporation Flexible Analytics-Driven Webpage Design and Optimization
CN105915510A (en) * 2016-04-12 2016-08-31 北京小米移动软件有限公司 Method and device for controlling service traffic
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus
US20170147225A1 (en) * 2015-11-24 2017-05-25 Sap Se Unified table delta dictionary memory size and load time optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133880A (en) * 2014-07-25 2014-11-05 广东睿江科技有限公司 Method and device for setting file cache time
US20160103807A1 (en) * 2014-09-12 2016-04-14 Internatinal Business Machines Corporation Flexible Analytics-Driven Webpage Design and Optimization
US20170147225A1 (en) * 2015-11-24 2017-05-25 Sap Se Unified table delta dictionary memory size and load time optimization
CN105915510A (en) * 2016-04-12 2016-08-31 北京小米移动软件有限公司 Method and device for controlling service traffic
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083430A (en) * 2018-10-18 2020-04-28 杭州海康威视系统技术有限公司 Image acquisition method and device, electronic equipment and storage medium
CN111083430B (en) * 2018-10-18 2021-04-23 杭州海康威视系统技术有限公司 Image acquisition method and device, electronic equipment and storage medium
CN111368169A (en) * 2018-12-25 2020-07-03 卓望数码技术(深圳)有限公司 Method, device, equipment and storage medium for detecting brushing amount behavior
CN111368169B (en) * 2018-12-25 2023-08-01 卓望数码技术(深圳)有限公司 Method, device, equipment and storage medium for detecting brushing amount behavior
CN111506846A (en) * 2019-01-30 2020-08-07 杭州海康威视数字技术股份有限公司 Web page generation method and device, electronic equipment and storage medium
CN111506846B (en) * 2019-01-30 2023-05-02 杭州海康威视数字技术股份有限公司 Web page generation method and device, electronic equipment and storage medium
CN110557371A (en) * 2019-07-31 2019-12-10 中至数据集团股份有限公司 Access limiting method, system, readable storage medium and game server
CN111523072A (en) * 2020-04-20 2020-08-11 咪咕文化科技有限公司 Page access data statistical method and device, electronic equipment and storage medium
CN111523072B (en) * 2020-04-20 2023-08-15 咪咕文化科技有限公司 Page access data statistics method and device, electronic equipment and storage medium
CN115334154A (en) * 2022-10-12 2022-11-11 阿里健康科技(杭州)有限公司 Page access method and device, computer equipment and storage medium
CN115334154B (en) * 2022-10-12 2023-05-02 阿里健康科技(杭州)有限公司 Page access method, page access device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108647240B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN108647240A (en) A kind of method, apparatus, electronic equipment and the storage medium of statistics visit capacity
CN108345642B (en) Method, storage medium and server for crawling website data by proxy IP
CN104391979B (en) Network malice reptile recognition methods and device
WO2019056721A1 (en) Information pushing method, electronic device and computer storage medium
CN104601601B (en) The detection method and device of web crawlers
CN108259425A (en) The determining method, apparatus and server of query-attack
CN103139193A (en) Phishing website processing method and system
CN110247986A (en) A kind of document transmission method, device and electronic equipment
CN106027595A (en) Access log processing method and system for CDN node
CN105337786A (en) Server performance detection method, apparatus and equipment
CN107992738A (en) A kind of account logs in method for detecting abnormality, device and electronic equipment
CN106294368A (en) Web spider identification method and device
CN104219230A (en) Method and device for identifying malicious websites
CN108804515B (en) Webpage loading method, webpage loading system and server
CN110191131A (en) A kind of file sharing method, device, system, server and storage medium
CN112019508A (en) Method, system and electronic device for detecting DDos attack based on Web log analysis
US10324956B1 (en) Automatically mapping organizations to addresses
CN110430070B (en) Service state analysis method, device, server, data analysis equipment and medium
CN104967632A (en) Webpage abnormal data processing method, data server and system
CN107426136A (en) A kind of recognition methods of network attack and device
EP4033717A1 (en) Distinguishing network connection requests
CN107239542A (en) A kind of data statistical approach, device, server and storage medium
CN105049452B (en) Switching method, device and the intelligent terminal of resource downloading mode
CN110311975A (en) A kind of data request processing method and device
CN110247823A (en) A kind of fault detection method, device 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
GR01 Patent grant
GR01 Patent grant