Unlock instant, AI-driven research and patent intelligence for your innovation.

Counting data writing method and device

A technology for counting data and data writing, applied in the Internet field, it can solve the problems of large write pressure, insufficient write performance, and server slowdown in network databases, so as to avoid data loss, reduce pressure, and reduce the number of writes. Effect

Active Publication Date: 2018-10-09
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For some web pages with a large number of visits, counting each access request one by one brings a greater writing pressure on the network database, which may cause some servers with insufficient writing performance to slow down or even crash

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Counting data writing method and device
  • Counting data writing method and device
  • Counting data writing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] figure 1 It is a schematic diagram of the application system architecture of the counting data writing device 100 according to an embodiment of the present invention. The application system may include: a user client 20 and a network server 10 connected to each other through a network 30, wherein the user client 20 may be, for example, installed on a workstation, a personal computer, a smart phone, a tablet computer, etc., w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a write-in method and device for count data.The write-in method for count data comprises following steps: acquiring access requests from a user's client; counting the access requests in the cache; determining the step size for write-in of data in accordance with cache-based count data; and writing count data into a network database when newly-added value of count data in the cache written-in last time reaches the write-in step size for data.The write-in method and device for count data have following beneficial effects: by utilization of the technical scheme, the number of writing data into the database is decreased so that pressure of the database is relieved; count data can satisfy the usage requirement for count data; and the number of write data in the database is effectively decreased.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for writing count data. Background technique [0002] With the increasingly widespread application of the Internet, facing the massive data on the network, users sometimes need to use the number of visits to make choices. For example, media pages such as Weibo, blogs, and news will display the number of visits, comments, and reposts. Some download pages will also provide statistical data such as downloads and clicks. [0003] In order to provide the above data, the network provider generally needs to count the hits and return the counting result to the client. The counting method in the prior art generally counts the requests, and every time an access request is received, the counting data stored in the network database is accumulated once. For some web pages with a large number of visits, counting each access request one by one brings a greater writing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/2358
Inventor 张平
Owner BEIJING QIHOO TECH CO LTD