Patents by Inventor Ning Chu

Ning Chu has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).

  • Patent number: 12650857
    Abstract: This application discloses a program call stack creation method and apparatus, and an unwind stack method and apparatus. The call stack creation method includes: obtaining a first program, where the first program includes a first function, in a process of calling a runtime library to run the first program, adding a second function and creating a call stack, where the call stack includes a first stack frame, a second stack frame, and a third stack frame that are respectively corresponding to the first function, the second function, and a third function. An unwind stack performance can be improved to a maximum extent without affecting a non-stack trace scenario.
    Type: Grant
    Filed: March 8, 2024
    Date of Patent: June 9, 2026
    Assignee: HUAWEI TECHNOLOGIES CO., LTD.
    Inventor: Ning Chu
  • Patent number: 12260222
    Abstract: This application discloses an exception handling method, which may be applied to a processor. The method includes: The processor calls a second function according to a call instruction of a first function, where the first function is a high-level language function, and the second function is a runtime function. When an exception occurs in a process of executing the second function, the processor executes a return operation of the second function, where the return operation of the second function includes restoring a status of a first register used when the second function is executed to a status before the first function calls the second function. The processor performs exception handling based on the status of the first register. The method can improve running performance of the processor.
    Type: Grant
    Filed: August 24, 2023
    Date of Patent: March 25, 2025
    Assignee: HUAWEI TECHNOLOGIES CO., LTD.
    Inventor: Ning Chu
  • Publication number: 20240211277
    Abstract: This application discloses a program call stack creation method and apparatus, and an unwind stack method and apparatus. The call stack creation method includes: obtaining a first program, where the first program includes a first function, in a process of calling a runtime library to run the first program, adding a second function and creating a call stack, where the call stack includes a first stack frame, a second stack frame, and a third stack frame that are respectively corresponding to the first function, the second function, and a third function. An unwind stack performance can be improved to a maximum extent without affecting a non-stack trace scenario.
    Type: Application
    Filed: March 8, 2024
    Publication date: June 27, 2024
    Applicant: HUAWEI TECHNOLOGIES CO., LTD.
    Inventor: Ning Chu
  • Publication number: 20230401069
    Abstract: This application discloses an exception handling method, which may be applied to a processor. The method includes: The processor calls a second function according to a call instruction of a first function, where the first function is a high-level language function, and the second function is a runtime function. When an exception occurs in a process of executing the second function, the processor executes a return operation of the second function, where the return operation of the second function includes restoring a status of a first register used when the second function is executed to a status before the first function calls the second function. The processor performs exception handling based on the status of the first register. The method can improve running performance of the processor.
    Type: Application
    Filed: August 24, 2023
    Publication date: December 14, 2023
    Applicant: HUAWEI TECHNOLOGIES CO., LTD.
    Inventor: Ning Chu