首页> 外国专利> METHOD AND APPARATUS OF EXTERNAL QUICK SORT BASED ON MEMORY ARCHITECTURE

METHOD AND APPARATUS OF EXTERNAL QUICK SORT BASED ON MEMORY ARCHITECTURE

机译:基于内存架构的外部快速排序方法和装置

摘要

Disclosed are a method and a device for executing a sorting operation in consideration of a memory structure. A method for external quick sort based on a memory structure includes the steps of: searching for a maximum value and a minimum value in data regarding multiple sorting targets by scanning the data; determining pivots based on the number of memories used to execute a sorting operation by using the maximum value and the minimum value; moving the data regarding the sorting targets based on multiple sections set based on the pivots; and executing the sorting operation by allocating the data regarding the sorting targets to at least one memory in each section. The present invention can obtain a fast data writing speed, allocate and sort the data to at least one volatile memory having relatively low energy consumption for a write operation, and sort the data in an optimal method while taking the memory structure into account.
机译:公开了一种考虑到存储器结构来执行排序操作的方法和设备。一种基于存储器结构的外部快速排序的方法,包括以下步骤:通过扫描数据在与多个排序目标有关的数据中搜索最大值和最小值;通过使用最大值和最小值,基于用于执行排序操作的存储器的数量来确定枢轴;基于枢轴设置的多个部分移动与分类目标有关的数据;通过将关于分类目标的数据分配给每个部分中的至少一个存储器来执行分类操作。本发明可以获得快速的数据写入速度,将数据分配并分类到至少一个能耗较低的用于写操作的易失性存储器中,并且在考虑存储器结构的同时以最佳方法对数据进行分类。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号