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

A resource occupation statistics method and device

A technology of resource occupation and statistical methods, applied in the computer field, can solve the problems of low statistical efficiency

Active Publication Date: 2018-07-31
新浪技术(中国)有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for counting resource occupancy, which is used to solve the problem in the prior art that the statistical efficiency is low when counting the storage space occupied by a large number of users

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
  • A resource occupation statistics method and device
  • A resource occupation statistics method and device
  • A resource occupation statistics method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] figure 1 The statistical process of resource occupation provided by the embodiment of the present invention specifically includes the following steps:

[0025] S101: Determine each data identifier of the user.

[0026] In the embodiment of the present invention, the statistics device first needs to determine the data identifier of the user whose resource ...

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 statistical method and device for resource occupation. The method includes: determining each data identifier of a user, and according to an index established for each data in a database in advance, among the determined data identifiers, determining The data identifier in the index determines the storage space occupied by the user according to the data identifier included in the index and the fixed-size storage space. Since each data identifier contained in the index corresponds to a fixed-size storage space, as long as the data identifier contained in the index is determined in the user's data identifier, the storage space occupied by the user can be determined without the need for a full disk Scanning the data in the database can improve the efficiency of statistical resource occupation, especially when it is necessary to perform statistics on the resources occupied by a large number of users, the statistical time can be greatly shortened.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a resource occupation statistics method and device. Background technique [0002] With the continuous development of the network, the method of providing services to users has changed from software as a service (saas) to platform as a service (paas). The hbase database is built on top of paas , which is mainly used to provide storage space for users. [0003] In practical applications, the service provider often needs to know the size of the storage space occupied by each user in the hbase database in order to manage users and servers. In the prior art, the method for counting the storage space occupied by the user is generally: the statistical device is for a user, and according to the user ID of the user, determines the custom ID used by the user (the data ID can be defined by the user himself), Then, according to the user ID and custom ID, determine the data ID use...

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
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