Method and Device for Processing Failure in at Least One Distributed Cluster, and System

    公开(公告)号:US20170339005A1

    公开(公告)日:2017-11-23

    申请号:US15674159

    申请日:2017-08-10

    Abstract: A method and a device for processing a failure in at least one distributed cluster, and a system, where the at least one distributed cluster includes a first distributed cluster. The first distributed cluster includes a first Master node, a first Slave node, a first reference node, and a first secondary node that serves as a backup of the first Master node. The first secondary node receives a heartbeat message that includes first indication information. The first secondary node determines, according to the first indication information, that the first reference node is disconnected from the first Master node. The first secondary node determines that the first secondary node is also disconnected from the first Master node when it is detected that a heartbeat message from the first Master node to the first secondary node is interrupted. The first secondary node determines the first Master node is faulty.

    Method and device for processing failure in at least one distributed cluster, and system

    公开(公告)号:US10560315B2

    公开(公告)日:2020-02-11

    申请号:US15674159

    申请日:2017-08-10

    Abstract: A method and a device for processing a failure in at least one distributed cluster, and a system, where the at least one distributed cluster includes a first distributed cluster. The first distributed cluster includes a first Master node, a first Slave node, a first reference node, and a first secondary node that serves as a backup of the first Master node. The first secondary node receives a heartbeat message that includes first indication information. The first secondary node determines, according to the first indication information, that the first reference node is disconnected from the first Master node. The first secondary node determines that the first secondary node is also disconnected from the first Master node when it is detected that a heartbeat message from the first Master node to the first secondary node is interrupted. The first secondary node determines the first Master node is faulty.

    Service registration method and usage method, and related apparatus

    公开(公告)号:US10979317B2

    公开(公告)日:2021-04-13

    申请号:US15876202

    申请日:2018-01-22

    Abstract: A service registration method and usage method, and a related apparatus are used to reduce risks generated when a service of an AP-type service providing node cannot be registered and a CP-type service providing node provides a service since distributed characteristics of a service providing node are not distinguished in a network partition scenario. The method is: obtaining, by a registration service node, network partition information, and receiving a registration request of a service providing node, where the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and partition tolerance; and determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed.

    Resource Leak Detection Method, Apparatus, and System

    公开(公告)号:US20170168886A1

    公开(公告)日:2017-06-15

    申请号:US15441837

    申请日:2017-02-24

    Abstract: Embodiments of the present disclosure disclose a resource leak detection method, apparatus, and system that includes obtaining a target resource called when target code of a program runs, where the target code is partial code in program code, determining a first storage resource amount occupied by the target resource, determining whether the first storage resource amount occupied by the target resource satisfies a first preset condition, and if the first storage resource amount occupied by the target resource satisfies the first preset condition, determining a storage location of the target code as a resource leak location. In the embodiments of the present disclosure, the target code of the program can be tracked, and further, by means of detection, the storage location of the target code can be determined as the resource leak location.

    Resource leak detection method, apparatus, and system

    公开(公告)号:US10289472B2

    公开(公告)日:2019-05-14

    申请号:US15441837

    申请日:2017-02-24

    Abstract: Embodiments of the present disclosure disclose a resource leak detection method, apparatus, and system that includes obtaining a target resource called when target code of a program runs, where the target code is partial code in program code, determining a first storage resource amount occupied by the target resource, determining whether the first storage resource amount occupied by the target resource satisfies a first preset condition, and if the first storage resource amount occupied by the target resource satisfies the first preset condition, determining a storage location of the target code as a resource leak location. In the embodiments of the present disclosure, the target code of the program can be tracked, and further, by means of detection, the storage location of the target code can be determined as the resource leak location.

    SERVICE REGISTRATION METHOD AND USAGE METHOD, AND RELATED APPARATUS

    公开(公告)号:US20180145890A1

    公开(公告)日:2018-05-24

    申请号:US15876202

    申请日:2018-01-22

    CPC classification number: H04L41/5041 H04L12/08 H04L41/00 H04L67/10

    Abstract: A service registration method and usage method, and a related apparatus are used to reduce risks generated when a service of an AP-type service providing node cannot be registered and a CP-type service providing node provides a service since distributed characteristics of a service providing node are not distinguished in a network partition scenario. The method is: obtaining, by a registration service node, network partition information, and receiving a registration request of a service providing node, where the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and partition tolerance; and determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed.

    Methods and Apparatuses for Determining a Leak of Resource and Predicting Usage Condition of Resource
    8.
    发明申请
    Methods and Apparatuses for Determining a Leak of Resource and Predicting Usage Condition of Resource 有权
    确定资源泄漏和预测资源使用情况的方法与装置

    公开(公告)号:US20160041848A1

    公开(公告)日:2016-02-11

    申请号:US14922595

    申请日:2015-10-26

    Abstract: A method and an apparatus for determining a leak of a program running resource are disclosed that relate to the field of computer applications. The method for predicting a usage condition of a program running resource includes collecting program running resource usage at least once within each program running resource usage period; decomposing the collected program running resource usage into different resource components; for data contained in each resource component, determining a prediction function for the resource component; determining an overall prediction function for a program running resource according to the determined prediction functions for all the resource components; and predicting a usage condition of the program running resource based on the determined overall prediction function.

    Abstract translation: 公开了一种与计算机应用领域相关的用于确定程序运行资源的泄漏的方法和装置。 用于预测程序运行资源的使用状况的方法包括在运行资源使用期间的每个程序内至少收集一次运行资源使用的程序; 将收集的程序将资源使用分解为不同的资源组件; 对于包含在每个资源组件中的数据,确定所述资源组件的预测函数; 根据所确定的所有资源分量的预测函数,确定程序运行资源的总体预测功能; 以及基于所确定的总体预测函数来预测所述程序运行资源的使用条件。

Patent Agency Ranking