Statistical method and device for used resources

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

Active Publication Date: 2015-07-08
新浪技术(中国)有限公司
View PDF2 Cites 4 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

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
  • Statistical method and device for used resources
  • Statistical method and device for used resources
  • Statistical method and device for used resources

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 used resources. The method comprises the steps of determining various data identifications of each user; determining the data identifications included in index built for each data in a database in advance from the various determined data identifications; determining the storage space used by the user according to the data identification included in the index and the size-fixed storage space. According to the method, each data identification included in the index is only corresponding to the size-fixed storage space, so that the data identification included in the index can be determined from the data identifications of the user, and then the storage space used by the user can be determined; the data in the database cannot be completely scanned; therefore, the statistical efficiency of the used resource can be increased; the statistical time can be particularly greatly reduced while performing statistics for a large amount of resources used by the user.

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 the basis for establishing paas The above 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 th...

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
IPC IPC(8): G06F17/30
Inventor 王阳
Owner 新浪技术(中国)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products