Algorithm execution method and device and electronic equipment

An execution method and algorithm technology, applied in the direction of execution paradigm, program control device, etc., can solve the problems of low stack space utilization, waste of processor memory resources, etc.

Active Publication Date: 2021-09-10
SPREADTRUM COMM (TIANJIN) INC
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the case of fewer complex algorithms, this method leads to low utilization of stack space, resulting in waste of processor memory resources

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
  • Algorithm execution method and device and electronic equipment
  • Algorithm execution method and device and electronic equipment
  • Algorithm execution method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0023] It should be clear that the described embodiments are only some of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0024] Terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0025] The embodiment of the present application m...

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

The invention provides an algorithm execution method and device and electronic equipment, and relates to the technical field of terminals. The algorithm execution method comprises the steps that firstly, a first algorithm is determined, and N functions to be executed included in the first algorithm comprise at least one pair of stack switching functions; then, N to-be-executed functions contained in the first algorithm are executed, the to-be-executed functions located between the stack switching functions are executed based on the first call stack, and the other to-be-executed functions are executed based on the second call stack. One of the first call stack and the second call stack is located in an external memory of the processor, and the other is located in an internal memory of the processor. Therefore, on the basis of ensuring the algorithm execution efficiency, the stack space utilization rate can be effectively improved, and memory resources are saved.

Description

【Technical field】 [0001] The present application relates to the technical field of terminals, and in particular to an algorithm execution method, device and electronic equipment. 【Background technique】 [0002] The algorithm execution process involves function calls, and the call parameters of related functions will be saved in the call stack. The more complex the algorithm and the more functions it calls, the larger the stack space required and the more processor memory it needs to occupy. [0003] Since the same processor will execute multiple algorithms, in order to meet the stack space requirements of complex algorithms, in the current technical solution, the call stack is usually configured to be large enough. However, in the case of fewer complex algorithms, this method leads to low utilization of stack space and wastes processor memory resources. 【Content of invention】 [0004] Embodiments of the present application provide an algorithm execution method, device, a...

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 Applications(China)
IPC IPC(8): G06F9/448
CPCG06F9/448
Inventor 唐永超杨子龙魏慧文
Owner SPREADTRUM COMM (TIANJIN) INC
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