Batch data query method and apparatus

    公开(公告)号:US10769147B2

    公开(公告)日:2020-09-08

    申请号:US15600199

    申请日:2017-05-19

    Abstract: A batch data query method and apparatus are provided. According to the method, multiple logical query plan trees corresponding to multiple query statements are obtained. The multiple logical query plan trees are divided into multiple query groups according to operators of each logical query plan tree. Logical query plan trees in each query group have the following relationship: an inter-query write-read dependency relationship, an operator overlap relationship, or an operand overlap relationship. Then, inter-query optimization is performed on the logical query plan trees in each query group, and multiple corresponding physical query plan trees are generated according to the multiple optimized logical query plan trees. Finally, physical queries are executed according to the multiple physical query plan trees, to obtain query results of the multiple query statements.

    MEMORY RESOURCE OPTIMIZATION METHOD AND APPARATUS
    3.
    发明申请
    MEMORY RESOURCE OPTIMIZATION METHOD AND APPARATUS 有权
    存储资源优化方法和设备

    公开(公告)号:US20160239213A1

    公开(公告)日:2016-08-18

    申请号:US15135822

    申请日:2016-04-22

    Abstract: Embodiments of the present invention provide a memory resource optimization method and apparatus, relate to the computer field, solve a problem that existing multi-level memory resources affect each other, and optimize an existing single partitioning mechanism. A specific solution is: obtaining performance data of each program in a working set by using a page coloring technology, obtaining a category of each program in light of a memory access frequency, selecting, according to the category of each program, a page coloring-based partitioning policy corresponding to the working set, and writing the page coloring-based partitioning policy to an operating system kernel, to complete corresponding page coloring-based partitioning processing. The present invention is used to eliminate or reduce mutual interference of processes or threads on a memory resource in light of a feature of the working set, thereby improving overall performance of a computer.

    Abstract translation: 本发明的实施例提供了一种与计算机领域相关的存储器资源优化方法和装置,解决了现有多级存储器资源相互影响的问题,并优化了现有的单分区机制。 一个具体的解决方案是:通过使用页面着色技术在工作集中获取每个节目的演奏数据,根据存储器访问频率获得每个节目的类别,根据每个节目的类别选择一个页面着色 - 与工作集相对应的分区策略,并将基于页面着色的分区策略写入操作系统内核,完成相应的基于页面着色的分区处理。 本发明用于根据工作组的特征消除或减少存储器资源上的进程或线程的相互干扰,从而提高计算机的整体性能。

    METHOD AND DEVICE FOR DETERMINING PROGRAM PERFORMANCE INTERFERENCE MODEL
    4.
    发明申请
    METHOD AND DEVICE FOR DETERMINING PROGRAM PERFORMANCE INTERFERENCE MODEL 审中-公开
    用于确定程序性能干扰模型的方法和设备

    公开(公告)号:US20160188434A1

    公开(公告)日:2016-06-30

    申请号:US15066526

    申请日:2016-03-10

    CPC classification number: G06F11/3457 G06F11/3433 G06F11/3452 G06F2201/865

    Abstract: A method and a device for determining a program performance interference model is described. The method includes: selecting programs from a determined sample program set to form multiple subsets; acquiring a value of performance interference imposed on each program in each subset and a total occupancy rate of a shared resource occupied by all the programs in each subset; dividing all the subsets into multiple analytical units; performing a regression analysis on the value of performance interference on each sample program included in each analytical unit and a total occupancy rate corresponding to a subset in which the sample program is loaded, and acquiring a target function model; acquiring a performance interference model corresponding to a target program according to the target function model. The performance interference model may be used for preventing another program whose mutual interference is relatively strong from running together with the target program.

    Abstract translation: 描述了用于确定节目性能干扰模型的方法和装置。 该方法包括:从确定的样本程序集中选择程序以形成多个子集; 获取施加在每个子集中的每个节目的性能干扰的值以及每个子集中所有节目占用的共享资源的总占用率; 将所有子集划分为多个分析单元; 对每个分析单元中包括的每个样本程序的性能干扰值进行回归分析,以及对应于样本程序加载的子集的总占用率,并获取目标函数模型; 根据目标函数模型获取与目标程序相对应的性能干扰模型。 性能干扰模型可以用于防止相互干扰相对较强的另一个程序与目标程序一起运行。

    AUDIO PLAYING METHOD, ELECTRONIC DEVICE, AND SYSTEM

    公开(公告)号:US20240272865A1

    公开(公告)日:2024-08-15

    申请号:US18641047

    申请日:2024-04-19

    CPC classification number: G06F3/162

    Abstract: This application provide an audio playing method, an electronic device, and a system. The method is applied to a first device, and includes: obtaining first data when a first trigger condition is met, where the first trigger condition includes: a first instruction for playing an audio is received, or a connection to a device configured to play an audio is disconnected, and the first data is data obtained by at least one assisting device capable of communicating with the first device; and determining, based on the first data, that an audio playing manner of the first device is a first manner in a plurality of manners, where the plurality of manners include at least one of the following: playing the audio by using a loudspeaker of the first device, playing the audio by using a second device, or stopping playing the audio.

    Batch data query method and apparatus

    公开(公告)号:US10678789B2

    公开(公告)日:2020-06-09

    申请号:US15804346

    申请日:2017-11-06

    Abstract: A batch data query method and apparatus are provided. A data query server determines symbol identifiers of operands in N query statements according to operators and the operands in the N query statements, where the symbol identifiers include version numbers of the operands; determines dependency among the N query statements according to the version numbers of the operands in the N query statements; and then, performs inter-query optimization on the N query statements according to the dependency among the N query statements and a preset optimization rule.

    Method and device for determining program performance interference model

    公开(公告)号:US10430312B2

    公开(公告)日:2019-10-01

    申请号:US15066526

    申请日:2016-03-10

    Abstract: A method and a device for determining a program performance interference model is described. The method includes: selecting programs from a determined sample program set to form multiple subsets; acquiring a value of performance interference imposed on each program in each subset and a total occupancy rate of a shared resource occupied by all the programs in each subset; dividing all the subsets into multiple analytical units; performing a regression analysis on the value of performance interference on each sample program included in each analytical unit and a total occupancy rate corresponding to a subset in which the sample program is loaded, and acquiring a target function model; acquiring a performance interference model corresponding to a target program according to the target function model. The performance interference model may be used for preventing another program whose mutual interference is relatively strong from running together with the target program.

    Method and Apparatus for Allocating Hardware Acceleration Instruction to Memory Controller

    公开(公告)号:US20170351525A1

    公开(公告)日:2017-12-07

    申请号:US15687164

    申请日:2017-08-25

    Abstract: A method and an apparatus for allocating a hardware acceleration instruction to a memory controller to balance load of memory controllers, where the method includes, after dividing a plurality of hardware acceleration instructions into different instruction sets according to dependency relationships among the plurality of hardware acceleration instructions, a first mapping relationship between the instruction sets and memory controllers in a computer system is obtained according to a rule that different instruction sets whose hardware acceleration instructions do not have a dependency relationship are allocated to different memory controllers. After adjusting the first mapping relationship according to load of memory controllers in a first memory controller set to obtain a second mapping relationship between the instruction sets and the memory controllers, hardware acceleration instructions in the instruction sets are allocated to memory controllers in a second memory controller set according to the second mapping relationship.

Patent Agency Ranking