Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for processing data

A technology for processing data and processing modules, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., and can solve problems such as low database performance and multiple storage spaces

Active Publication Date: 2016-08-03
宁夏众志好活网络科技有限公司
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above statistical method will take up too much storage space, and because each user has a large number of request logs, a large amount of data calculation will be performed, resulting in low database performance

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
  • Device and method for processing data
  • Device and method for processing data
  • Device and method for processing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the purpose, technical solution and advantages of the present application clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0046] Bit (Bit) is the smallest unit of data in the current computer system, and 8 Bits are a byte (Byte). The value of a Bit is either 0 or 1; that is to say, the maximum information that a Bit can store is 2.

[0047] Bitmap (Bitmap) is a data structure that uses a Bit to mark the value (value) corresponding to an element, and the key (Key) is this element. Since Bit is the smallest unit of data, the data structure of Bitmap saves storage space very much. For example, a company has 8 employees, and now it is necessary to record the company's attendance records. The existi...

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 discloses a device and method for processing data. The device comprises a determination module, an acquisition module, a processing module and a counting module, wherein the determination module is used for determining each sub-counting time period according to preset counting duration; the acquisition module is used for acquiring user identities of online users in each sub-counting time period; the processing module is used for creating a bitmap corresponding to each sub-counting time period and setting bit sites corresponding to the acquired user identities to 1 in the created bitmaps; the counting module is used for counting the active user volume in the preset counting duration. According to the embodiments of the invention, the performance and efficiency of counting of the active user volume are improved, and the storage space is saved.

Description

technical field [0001] Embodiments of the present invention relate to, but are not limited to, smart terminal technology, especially a device and method for processing data. Background technique [0002] In daily life, the application server often needs to count the number of active users, such as the number of online users at a certain moment, daily active users, three-day active users, and seven-day active users. Existing methods for counting the number of active users all use the method of recording logs, that is, if the user has a request on the day, a log is recorded, and the log is stored in a relational database. When statistics are needed, Structured Query Language (SQL, StructuredQuery Language ) to count the number of logs. The above statistical method will occupy too much storage space, and because each user has a large number of request logs, a large amount of data calculation will be performed, resulting in low performance of the database. Contents of the inv...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2462
Inventor 刘孟焱
Owner 宁夏众志好活网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products