CN108647240B - Method and device for counting access amount, electronic equipment and storage medium - Google Patents
Method and device for counting access amount, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN108647240B CN108647240B CN201810300076.4A CN201810300076A CN108647240B CN 108647240 B CN108647240 B CN 108647240B CN 201810300076 A CN201810300076 A CN 201810300076A CN 108647240 B CN108647240 B CN 108647240B
- Authority
- CN
- China
- Prior art keywords
- cache
- client
- page
- identifier
- corresponding relation
- 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.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a method and a device for counting access amount, electronic equipment and a storage medium, and belongs to the field of computers. The method comprises the steps of receiving an access request sent by a client, wherein the access request comprises an identification of the client and a page identification of a page to be accessed, then sending page data corresponding to the page identification to the client, judging whether a corresponding relation between the identification of the client and the page identification exists in a cache, wherein the cache time of the corresponding relation is equal to a preset time value, if not, increasing the access amount of the page to be accessed according to a preset increment, and storing the corresponding relation in the cache. By adopting the method and the device, the access refreshing amount can be controlled by setting the cache time of the corresponding relation between the client-side identifier and the page identifier, and the client-side can continuously access the current page in the statistical process of the access refreshing amount, so that the user experience is improved.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for counting access amounts, an electronic device, and a storage medium.
Background
With the development of computer technology, more and more articles, products or other information can be displayed and popularized through networks. The visit volume of the web pages for presentation and promotion is usually one of the important indicators for evaluating the information contained in the web pages, and generally, the higher the visit volume is, the higher the attention degree of the web page is.
At present, in order to improve the attention of a webpage, some users sometimes adopt a mode of refreshing the access amount to improve the access amount of the webpage. In order to control the access amount of the brush, the current method generally presets a frequency value in the server, and if the server detects that the frequency of a certain client accessing a certain page is greater than the preset frequency value, the server determines that the client has the behavior of the access amount of the brush, and prohibits the client from continuing to access the page.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: when the access amount is controlled by adopting the prior art, the situation that the client cannot continuously access the page may occur, so that the display time of the page is shortened, and the experience of the user for checking the page is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a device for counting the access amount, electronic equipment and a storage medium, so that the access amount can be controlled and the user experience can be improved when the access amount is counted. The specific technical scheme is as follows:
in a first aspect, a method for counting access amount is provided, the method comprising:
receiving an access request sent by a client, wherein the access request comprises an identifier of the client and a page identifier of a page to be accessed;
sending the page data corresponding to the page identifier to the client;
judging whether a corresponding relation between the client identifier and the page identifier exists in a cache, wherein the cache time of the corresponding relation is equal to a preset time value;
and if not, increasing the access amount of the page to be accessed according to a preset increment, and storing the corresponding relation in the cache.
Optionally, after storing the corresponding relationship in the cache, the method further includes:
and determining the first cache time of the corresponding relation.
Optionally, after determining the first cache time of the corresponding relationship, the method further includes:
and when the fact that the number of times that the client sends the access request in the first cache time exceeds a preset threshold value is detected, increasing the first cache time of the corresponding relation to a preset second cache time.
Optionally, the determining whether the cache has a correspondence between the identifier of the client and the page identifier includes:
judging whether the cache has the identification of the client;
if so, judging whether the cache has the corresponding relation between the client identifier and the page identifier;
if yes, judging that the corresponding relation exists in the cache;
if not, judging that the corresponding relation does not exist in the cache.
In a second aspect, an apparatus for counting accesses is provided, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an access request sent by a client, and the access request comprises an identifier of the client and a page identifier of a page to be accessed;
the sending module is used for sending the page data corresponding to the page identifier to the client;
the judging module is used for judging whether a corresponding relation between the client-side identifier and the page identifier exists in a cache, and the cache time of the corresponding relation is equal to a preset time value;
and the storage module is used for increasing the access amount of the page to be accessed according to a preset increment if the judging module judges that the corresponding relation between the client identification and the page identification does not exist in the cache, and storing the corresponding relation in the cache.
Optionally, the apparatus further comprises:
and the determining module is used for determining the first cache time of the corresponding relation.
Optionally, the apparatus further comprises:
and the adding module is used for adding the first cache time of the corresponding relation to a preset second cache time when the condition that the number of times that the client sends the access request in the first cache time exceeds a preset threshold value is detected.
Optionally, the determining module includes:
the first judgment submodule is used for judging whether the client-side identification exists in the cache or not;
a second judging submodule, configured to, if the first judging submodule judges that the client identifier exists in the cache, judge whether a correspondence between the client identifier and the page identifier exists in the cache;
a first determining submodule, configured to determine that a correspondence relationship exists in the cache if the second determining submodule determines that the correspondence relationship exists between the client identifier and the page identifier in the cache;
a second determining submodule, configured to determine that the corresponding relationship does not exist in the cache if the second determining submodule determines that the corresponding relationship between the client identifier and the page identifier does not exist in the cache.
In a third aspect, an electronic device is provided, where the electronic device includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement any of the method steps for counting the access amount according to the first aspect when executing the program stored in the memory.
In a fourth aspect, to achieve the above object, an embodiment of the present invention further discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any one of the method steps for counting access volumes as described in the first aspect.
In a fifth aspect, to achieve the above object, an embodiment of the present invention further discloses a computer program product containing instructions, which when executed on a computer, implement any of the method steps for counting access volume as described in the first aspect above.
According to the method, the device, the electronic equipment and the storage medium for counting the access amount, the access request sent by the client is received, the access request comprises the identification of the client and the page identification of the page to be accessed, then page data corresponding to the page identification is sent to the client, whether the corresponding relation between the identification of the client and the page identification exists in the cache or not is judged, the cache time of the corresponding relation is equal to a preset time value, if not, the access amount of the page to be accessed is increased according to a preset increase, and the corresponding relation is stored in the cache.
According to the method, the device, the electronic equipment and the storage medium for counting the access amount, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the access amount counting process, the client can continuously access the current page, and the user experience is improved. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a method for counting access volumes according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for counting access volumes according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The embodiment of the invention discloses a method, a device, an electronic device and a storage medium, wherein an execution main body of the embodiment of the invention can be a server for counting access amount, and the following detailed description is respectively given.
As shown in fig. 1, the method for counting an access amount according to an embodiment of the present invention may include the following steps:
s110: and receiving an access request sent by a client, wherein the access request comprises an identifier of the client and a page identifier of a page to be accessed.
In the embodiment of the present invention, the server may receive an access request message sent by the client, where the access request may include an identifier of the client and a page identifier of a page to be accessed. For example, the request message may include an IP (Internet Protocol) address of the client and/or a product serial number of the client, and an ID (identification number) and/or a domain name of the page to be accessed.
S120: and sending the page data corresponding to the page identification to the client.
In the embodiment of the invention, the server can extract the page identifier in the access request, then obtain the page data corresponding to the page identifier in the access request message according to the preset corresponding relationship between the page identifier and the page data, and then send the page data to the client. For example, when the page identifier is an ID of a page, the server may obtain, according to a preset correspondence, an IP address of the page corresponding to the ID and content information included in the page, and send the IP address and the content information to the client.
S130: judging whether a corresponding relation between the client identifier and the page identifier exists in the cache, wherein the cache time of the corresponding relation is equal to a preset time value; if not, executing S140; if so, the process is ended.
In the embodiment of the invention, when the server receives an access request sent by a client, whether the corresponding relation between the identification of the client and the page identification exists in the cache or not can be judged firstly, and if the corresponding relation does not exist in the cache, the server can store the corresponding relation in the cache; if the correspondence exists in the cache, the correspondence may be retained in the cache. The server may extract the identifier of the client and the page identifier in the access request, and then determine a correspondence between the identifier of the client and the page identifier corresponding to the access request. The server may compare the correspondence with the correspondence between the identifier of each client and the page identifier stored in the cache, and determine whether the correspondence between the identifier of the client and the page identifier corresponding to the access request exists in the cache.
S140: and increasing the access amount of the page to be accessed according to the preset amplification, and storing the corresponding relation in a cache.
In the embodiment of the present invention, when determining that the corresponding relationship between the identifier of the client corresponding to the client that sends the access request and the page identifier does not exist in the cache, the server indicates that the client has not accessed the page before, or indicates that the time interval between the last time the client accesses the page and the current time the client accesses the page is greater than the cache time. In this case, the server may increase the access amount of the page to be accessed by a preset increase. For example, the server may increase the access amount by 1 each time or by 10 each time when increasing the access amount. After the access amount is increased, the server may store the corresponding relationship between the current client identifier and the page identifier in the cache, so as to determine whether the corresponding relationship between the current client identifier and the page identifier exists in the cache when performing next access amount statistics. And if the server determines that the corresponding relation between the client identifier and the page identifier corresponding to the access request exists in the cache, keeping the access amount of the page to be accessed unchanged.
According to the method for counting the access amount, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the counting process of the access amount, the client can continuously access the current page, and user experience is improved.
Optionally, as an implementation manner of the embodiment of the present invention, after the server executes S140, the server may further execute the following steps:
s1401: and determining the first cache time of the corresponding relation.
In the embodiment of the present invention, the server may determine the cache time of the correspondence between the identifier of the client and the page identifier (for convenience of description, the cache time herein is referred to as a first cache time). For example, the server sets the first caching time of the correspondence between the identifier of each client and the identifier of each page in the cache to be the same time, or sets each correspondence to be different caching times according to different access times or different identifiers of the clients.
In the scheme provided by the embodiment of the invention, the server can set the cache time of each corresponding relation in the cache, and the access amount of the brush is controlled according to the length of the cache time.
Optionally, as an implementation manner of the embodiment of the present invention, after the server executes S1401, the server may further execute the following steps:
s1402: and when the fact that the number of times that the client sends the access request in the first cache time exceeds a preset threshold value is detected, increasing the first cache time of the corresponding relation to a preset second cache time.
In the embodiment of the present invention, the server may count the number of times that the client sends the access request, and when it is detected that the number of times that the client sends the same access request in the first cache time exceeds a preset threshold, the first cache time of the correspondence may be increased to a preset second cache time. For example, the number of times that a certain client sends the same access request to the server within the first cache time (e.g. 5 minutes) is 21, and assuming that the preset threshold is 20 times, since the access frequency of the client is too high, the possibility that the client is a flushing access amount is higher, the server may increase the first cache time corresponding to the client to the second cache time (e.g. 8 minutes). According to the number of times of the access requests sent by each client in the first cache time, each second cache time can also be set to a different value.
In the scheme provided by the embodiment of the invention, the cache time of the corresponding relation between the identification of the client and the page identification can be adjusted, so that the cache time of the client with high access quantity brushing probability can be set to be a larger value, and the access quantity brushing is controlled.
Optionally, as an implementation manner of the embodiment of the present invention, S130 may include the following steps:
s131: and judging whether the cache has the identification of the client. If so, go to S132; if not, S134 is performed.
In the embodiment of the present invention, after receiving the access request, the server may first extract the identifier of the client therein, and then query whether the identifier of the client exists in the cache.
S132: and judging whether the cache has the corresponding relation between the client identifier and the page identifier. If yes, go to S133; if not, S134 is performed.
After the server queries the identifier of the client corresponding to the access request in the cache, the server may continue to query whether the client in the cache stores the page identifier, that is, whether the client has accessed the page to be accessed within a preset cache time interval is determined. If the corresponding relation between the client identifier and the page identifier exists in the cache, executing S133; if not, S134 is performed.
S133: and judging that the corresponding relation exists in the cache.
S134: and judging that the corresponding relation does not exist in the cache.
In the scheme provided by the embodiment of the invention, when the server judges whether the corresponding relation between the client identifier and the page identifier exists in the cache, the server firstly inquires whether the client identifier exists in the cache, and if the client identifier does not exist in the cache, the corresponding relation between the client identifier and the page identifier does not exist in the cache can be directly judged, so that the efficiency of judging whether the corresponding relation between the client identifier and the page identifier exists in the cache by the server is improved.
Based on the same technical concept, corresponding to the embodiment of the method shown in fig. 1, the embodiment of the present invention further provides an apparatus for counting access volumes, as shown in fig. 2, the apparatus includes:
a receiving module 201, configured to receive an access request sent by a client, where the access request includes an identifier of the client and a page identifier of a page to be accessed;
a sending module 202, configured to send the page data corresponding to the page identifier to the client;
the judging module 203 is configured to judge whether a corresponding relationship between the client identifier and the page identifier exists in a cache, where a cache time of the corresponding relationship is equal to a preset time value;
a storage module 204, configured to increase, according to a preset increase, an access amount of the page to be accessed if the determining module determines that the corresponding relationship between the client identifier and the page identifier does not exist in the cache, and store the corresponding relationship in the cache.
According to the device for counting the access amount, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the counting process of the access amount, the client can continuously access the current page, and user experience is improved.
Optionally, the apparatus further comprises:
and the determining module is used for determining the first cache time of the corresponding relation.
In the scheme provided by the embodiment of the invention, the server can set the cache time of each corresponding relation in the cache, and the access amount of the brush is controlled according to the length of the cache time.
Optionally, the apparatus further comprises:
and the adding module is used for adding the first cache time of the corresponding relation to a preset second cache time when the condition that the number of times that the client sends the access request in the first cache time exceeds a preset threshold value is detected.
In the scheme provided by the embodiment of the invention, the cache time of the corresponding relation between the identification of the client and the page identification can be adjusted, so that the cache time of the client with high access quantity brushing probability can be set to be a larger value, and the access quantity brushing is controlled.
Optionally, the determining module 203 includes:
the first judgment submodule is used for judging whether the client-side identification exists in the cache or not;
a second judging submodule, configured to, if the first judging submodule judges that the client identifier exists in the cache, judge whether a correspondence between the client identifier and the page identifier exists in the cache;
a first determining submodule, configured to determine that a correspondence relationship exists in the cache if the second determining submodule determines that the correspondence relationship exists between the client identifier and the page identifier in the cache;
a second determining submodule, configured to determine that the corresponding relationship does not exist in the cache if the second determining submodule determines that the corresponding relationship between the client identifier and the page identifier does not exist in the cache.
In the scheme provided by the embodiment of the invention, when the server judges whether the corresponding relation between the client identifier and the page identifier exists in the cache, the server firstly inquires whether the client identifier exists in the cache, and if the client identifier does not exist in the cache, the corresponding relation between the client identifier and the page identifier does not exist in the cache can be directly judged, so that the efficiency of judging whether the corresponding relation between the client identifier and the page identifier exists in the cache by the server is improved.
The embodiment of the present invention further provides an electronic device, as shown in fig. 3, including a processor 301, a communication interface 302, a memory 303 and a communication bus 304, where the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
a memory 303 for storing a computer program;
the processor 301 is configured to implement the method for counting the access amount according to the embodiment of the present invention when executing the program stored in the memory 303;
specifically, the method for counting the access amount includes:
receiving an access request sent by a client, wherein the access request comprises an identifier of the client and a page identifier of a page to be accessed;
sending the page data corresponding to the page identifier to the client;
judging whether a corresponding relation between the client identifier and the page identifier exists in a cache, wherein the cache time of the corresponding relation is equal to a preset time value;
and if not, increasing the access amount of the page to be accessed according to a preset increment, and storing the corresponding relation in the cache.
According to the electronic device provided by the embodiment of the invention, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the counting process of the access amount, the client can continuously access the current page, so that the user experience is improved.
It should be noted that other implementation manners of the method for counting the access amount are the same as those of the foregoing method embodiment, and are not described herein again.
The communication bus of the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to perform the method for counting the access amount according to any one of the above embodiments.
According to the readable storage medium provided by the embodiment of the invention, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the counting process of the access amount, the client can continuously access the current page, so that the user experience is improved.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for counting the amount of accesses as described in any of the above embodiments.
According to the computer program product provided by the embodiment of the invention, when the access amount is counted, the access amount of the page to be accessed is increased after the corresponding relation between the client identifier and the page identifier is determined not to be stored in the cache, so that the access amount can be controlled by setting the cache time of the corresponding relation between the client identifier and the page identifier, and in the counting process of the access amount, the client can continuously access the current page, so that the user experience is improved.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some of the description of the method embodiments.
Claims (6)
1. A method for counting visits, the method comprising:
receiving an access request sent by a client, wherein the access request comprises an identifier of the client and a page identifier of a page to be accessed;
sending the page data corresponding to the page identifier to the client;
judging whether a corresponding relation between the client identifier and the page identifier exists in a cache, wherein the cache time of the corresponding relation is equal to a preset time value;
if not, increasing the access amount of the page to be accessed according to a preset amplification, and storing the corresponding relation in the cache;
determining a first cache time of the corresponding relation;
when the fact that the number of times that the client sends the access request in the first cache time exceeds a preset threshold value is detected, increasing the first cache time of the corresponding relation to a preset second cache time;
the sending the page data corresponding to the page identifier to the client includes:
and extracting the page identifier in the access request, acquiring the page data corresponding to the page identifier in the access request message according to the preset corresponding relation between the page identifier and the page data, and then sending the page data to the client.
2. The method according to claim 1, wherein the determining whether the cache has a correspondence between the client identifier and the page identifier comprises:
judging whether the cache has the identification of the client;
if so, judging whether the cache has the corresponding relation between the client identifier and the page identifier;
if yes, judging that the corresponding relation exists in the cache;
if not, judging that the corresponding relation does not exist in the cache.
3. An apparatus for counting access amounts, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an access request sent by a client, and the access request comprises an identifier of the client and a page identifier of a page to be accessed;
the sending module is used for sending the page data corresponding to the page identifier to the client;
the judging module is used for judging whether a corresponding relation between the client-side identifier and the page identifier exists in a cache, and the cache time of the corresponding relation is equal to a preset time value;
the storage module is used for increasing the access amount of the page to be accessed according to a preset increment if the judging module judges that the corresponding relation between the client identification and the page identification does not exist in the cache, and storing the corresponding relation in the cache;
the determining module is used for determining the first cache time of the corresponding relation;
an increasing module, configured to increase the first cache time of the correspondence to a preset second cache time when it is detected that the number of times that the client sends the access request in the first cache time exceeds a preset threshold;
the sending module is specifically configured to:
and extracting the page identifier in the access request, acquiring the page data corresponding to the page identifier in the access request message according to the preset corresponding relation between the page identifier and the page data, and then sending the page data to the client.
4. The apparatus of claim 3, wherein the determining module comprises:
the first judgment submodule is used for judging whether the client-side identification exists in the cache or not;
a second judging submodule, configured to, if the first judging submodule judges that the client identifier exists in the cache, judge whether a correspondence between the client identifier and the page identifier exists in the cache;
a first determining submodule, configured to determine that a correspondence relationship exists in the cache if the second determining submodule determines that the correspondence relationship exists between the client identifier and the page identifier in the cache;
a second determining submodule, configured to determine that the corresponding relationship does not exist in the cache if the second determining submodule determines that the corresponding relationship between the client identifier and the page identifier does not exist in the cache.
5. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-2.
6. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-2.
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 CN108647240A (en) | 2018-10-12 |
CN108647240B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083430B (en) * | 2018-10-18 | 2021-04-23 | 杭州海康威视系统技术有限公司 | Image acquisition method and device, electronic equipment and storage medium |
CN111368169B (en) * | 2018-12-25 | 2023-08-01 | 卓望数码技术(深圳)有限公司 | Method, device, equipment and storage medium for detecting brushing amount behavior |
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 |
CN111523072B (en) * | 2020-04-20 | 2023-08-15 | 咪咕文化科技有限公司 | Page access data statistics method, device, electronic equipment and storage medium |
CN115334154B (en) * | 2022-10-12 | 2023-05-02 | 阿里健康科技(杭州)有限公司 | Page access method, page access device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104133880A (en) * | 2014-07-25 | 2014-11-05 | 广东睿江科技有限公司 | Method and device for setting file cache time |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9996513B2 (en) * | 2014-09-12 | 2018-06-12 | International Business Machines Corporation | Flexible analytics-driven webpage design and optimization |
US10521117B2 (en) * | 2015-11-24 | 2019-12-31 | Sap Se | Unified table delta dictionary memory size and load time optimization |
-
2018
- 2018-04-04 CN CN201810300076.4A patent/CN108647240B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104133880A (en) * | 2014-07-25 | 2014-11-05 | 广东睿江科技有限公司 | Method and device for setting file cache time |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN108647240A (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108647240B (en) | Method and device for counting access amount, electronic equipment and storage medium | |
CN109299144B (en) | Data processing method, device and system and application server | |
TWI614703B (en) | Information recommendation method and information recommendation device | |
CN107888716A (en) | Sorting method, terminal device and storage medium of domain name resolution server | |
CN113343088A (en) | Data processing method, system, device, equipment and storage medium | |
CN107301215B (en) | Search result caching method and device and search method and device | |
CN109213604B (en) | Data source management method and device | |
CN108156252B (en) | Data access method and device, server and client | |
CN112087644A (en) | Pull stream request processing method, device, system, electronic equipment and storage medium | |
CN111125240B (en) | Method, device, electronic device and storage medium for realizing distributed transaction | |
CN112866062B (en) | Distributed pressure test system, method, device, equipment and storage medium | |
CN111382206A (en) | Data storage method and device | |
CN108154024B (en) | Data retrieval method and device and electronic equipment | |
CN110677684B (en) | Video processing method, video access method, distributed storage method and distributed video access system | |
CN110222034A (en) | A kind of database maintenance method and device | |
CN111563199A (en) | Data processing method and device | |
CN111767481A (en) | Access processing method, device, equipment and storage medium | |
CN107239542A (en) | A kind of data statistical approach, device, server and storage medium | |
CN111522836B (en) | Data query method and device, electronic equipment and storage medium | |
CN110891090B (en) | Request method, device, server, system and storage medium | |
CN110311975B (en) | Data request processing method and device | |
CN110430070B (en) | Service state analysis method, device, server, data analysis equipment and medium | |
CN111416883A (en) | Address query method, device, terminal, and computer-readable storage medium | |
WO2021175221A1 (en) | Data processing method and device | |
CN112165466B (en) | Method and device for false alarm identification, electronic device and storage medium |
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 |