Method and device for optimizing data storage space in matrix inversion process

A technology of matrix inversion and data optimization, applied in the computer field, can solve the problems of inability to achieve precise control of disk capacity, indeterminate iterative calculation time, inability to guarantee disk space, etc., to reduce storage costs, reduce occupation, and maintain execution efficiency. Effect

Active Publication Date: 2021-12-03
北京寄云鼎城科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the later stage of the matrix block inversion algorithm, as the number of iterations increases, the calculation time of each iteration cannot be determined, and the disk increment cannot be determined, so that precise control of disk capacity cannot be achieved, and sufficient disk space cannot be guaranteed.
If the disk space is insufficient, the cached intermediate data will be eliminated, which will cause repeated calculations and affect computing 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
  • Method and device for optimizing data storage space in matrix inversion process
  • Method and device for optimizing data storage space in matrix inversion process
  • Method and device for optimizing data storage space in matrix inversion process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The embodiments of the present invention and all other embodiments obtained by persons of ordinary skill in the art without creative efforts all belong to the protection scope of the present invention.

[0038]In order to overcome the above-mentioned problems in the prior art, an embodiment of the present invention provides a method for optimizing data storage space in the process of matrix inversion. The inventive idea is to divide the subsequent rounds into blocks after the current round Both the used data cache and the block files generated by the ...

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

Embodiments of the present invention provide a method and device for optimizing data storage space during matrix inversion. Wherein, the method for optimizing the data storage space in the process of matrix inversion includes: for the i-th round of block, obtain After the first auxiliary matrix, the second auxiliary matrix, the third auxiliary matrix and the transition matrix of the i-th round of blocking, clear the block files generated by the shuffling operation in the i-th round of blocking; store the transition matrix of the i-th round For the data cache, the data cache for storing the transition matrix of the (i-2) round of block is cleared. The method and device for optimizing data storage space in the matrix inversion process provided by the embodiments of the present invention can reduce the occupation of data storage space in the current round of block process, and greatly reduce the total data storage space occupied by each round of block process.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a method and device for optimizing data storage space in a matrix inversion process. Background technique [0002] The Spark framework is an open source cluster computing framework based on memory computing that integrates batch processing and real-time processing, and can process large data sets in parallel. The Spark framework uses elastic distributed data sets for iterative calculations, which improves computational efficiency. [0003] As the scale of data continues to expand, the requirements for the amount of disk space used for calculations are also getting higher and higher. If the storage space is insufficient during calculation, the Resilient Distributed Datasets (RDD) cache will fail, the shuffle operation will fail, and eventually the calculation task will fail. [0004] When calculating the inverse matrix of a square matrix, the met...

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): G06F3/06
CPCG06F3/0608G06F3/064G06F3/067
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